:root{
      /* section backgrounds */
  --amp-how-it-works-bg: linear-gradient(135deg, #ff5f5f, #f8d3b6);
  --amp-why-bg: linear-gradient(135deg, #7753e4, #ff4ecd);
  --amp-visual-demo-bg: linear-gradient(135deg, #00c9ff, #92fe9d);
  --amp-customize-bg: linear-gradient(135deg, #f9ed69, #f08a5d);
  --amp-linkinbio-bg: linear-gradient(135deg, #ff9a9e, #fad0c4);
  --amp-profile-demo-bg: linear-gradient(135deg, #43cea2, #185a9d);

  /* text blocks (overlay style) */
  --amp-text-dark-1: rgba(45, 53, 134, 0.84);
  --amp-text-dark-2: rgba(6, 8, 24, 0.82);
  --amp-text-dark-3: rgba(0, 0, 0, 0.82);
  --amp-text-dark-4: rgba(10, 8, 32, 0.84);

  /* list item highlights (optional, all IDs) */
  --amp-item-bg-1: rgba(255, 255, 255, 0.08);
  --amp-item-bg-2: rgba(255, 255, 255, 0.12);

    --color-primary: #2c3e50;
  --color-secondary: #3498db;
  --color-accent: #2980b9;

  /* Slightly brighter versions for hero/feature blocks: */
  --hero-bg: #3498db;              /* primary blue accent */
  --hero-text: #ffffff;
  --hero-btn: #58af7b;
  --hero-btn-hover: #00940c;
  --feature-bg: #99ff5e;           /* very light, fresh */
  --feature-text: #2c3e50;
  --feature-btn: #2980b9;

  --color-background: #ecf0f1;
  --color-text-primary: #2c3e50;
  --color-text-secondary: #7f8c8d;
  --color-white: #ffffff;
  --color-light-main: #f3ffff;
  --color-pastel-pink: #58af7b;
  --color-pastel-purple: #00940c;
  --color-pastel-blue: #5f7188;



}

/* initial state for reveal-on-scroll */
.hero-section,
.feature-section,
.info-block,
.info-block-reverse {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* revealed state */
.hero-section.visible,
.feature-section.visible,
.info-block.visible,
.info-block-reverse.visible {
  opacity: 1;
  transform: translateY(0);
}

/* base state for scroll animation: start smaller */
.hero-link-img,
.info-image img,
.content-image img {
  transform: scale(0.9);                  /* was 0.96 */
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* when section is revealed (scroll), grow more and stay there */
.hero-link-img.img-revealed,
.info-image img.img-revealed,
.content-image img.img-revealed {
  transform: scale(1.12);                 /* was 1.04 */
}


@media (hover: hover) {
  .hero-link-img:hover,
  .info-image:hover img,
  .content-image:hover img {
    transform: scale(1.18);               /* small step above 1.12 */
  }
}


.info-block {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 54px 0 44px 0;
  background: var(--block-bg, #58af7b); /* sets the background per block */
  color: var(--block-color, #fff);
  border-radius: 0; /* removes card look */
}


.info-block-reverse {
  flex-direction: row-reverse;
}

/* Increased left/right padding for inner containers */
.info-image, .info-text {
  padding-left: 5vw;
  padding-right: 5vw;
 
}

.info-image img {
  max-width: 230px;
  width: 85vw;
 
  box-shadow: 0 2px 18px rgba(44,62,80,0.11);
  background: var(--color-white, #fff);
}
.info-text {
  flex: 2 1 390px;
  min-width: 265px;
  text-align: left;
}
.info-text h2 {
  font-size: 2em;
  margin-bottom: 14px;
  font-weight: 800;
  color: inherit;
}
.info-text p {
  font-size: 1.14em;
  margin-bottom: 12px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 7px;
}
.info-list div {
  list-style: none;
  background: rgba(255,255,255,0.15);
  border-radius: 7px;
  padding: 11px 13px 11px 16px;
  color: inherit;
  font-size: 1.11em;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(44,62,80,0.07);
}

/* SECTIONS */
#how-it-works-section {
  background: var(--amp-how-it-works-bg);
}

#how-it-works-text .info-list {
  margin-bottom: 0;
  margin-top: 8px;
}
#how-it-works-list div:last-child {
  margin-bottom: 20px;}

#why-amp-section {
  background: var(--amp-why-bg);
}

#visual-demo-section {
  background: var(--amp-visual-demo-bg);
}

#customize-section {
  background: var(--amp-customize-bg);
}

/* extra unnamed sections you showed */
.info-block-reverse:nth-of-type(5) {
  background: var(--amp-linkinbio-bg);
}

.info-block:nth-of-type(6) {
  background: var(--amp-profile-demo-bg);
}

/* TEXT CONTAINERS (only background) */
#how-it-works-text {
  background-color: var(--amp-text-dark-1);
}

#why-amp-text {
  background-color: var(--amp-text-dark-2);
}

#visual-demo-text {
  background-color: var(--amp-text-dark-3);
}

#customize-text {
  background-color: var(--amp-text-dark-4);
}

/* IMAGES (optional, if you want a tint) */
#how-it-works-image {
  background-color: rgba(0, 0, 0, 0.18);
}

#why-amp-image {
  background-color: rgba(0, 0, 0, 0.18);
}

#visual-demo-image {
  background-color: rgba(0, 0, 0, 0.18);
}

#customize-image {
  background-color: rgba(0, 0, 0, 0.18);
}

/* LIST WRAPPERS */
#how-it-works-list {
  background-color: var(--amp-item-bg-1);
}

#why-amp-list {
  background-color: var(--amp-item-bg-1);
}

#customize-list {
  background-color: var(--amp-item-bg-1);
}

/* INDIVIDUAL ITEMS (all IDs get a bg) */
#how-it-works-step1,
#how-it-works-step2,
#how-it-works-step3,
#how-it-works-step4,
#how-it-works-step5,
#how-it-works-step6 {
  background-color: var(--amp-item-bg-2);
}

#why-amp-benefit1,
#why-amp-benefit2,
#why-amp-benefit3,
#why-amp-benefit4,
#why-amp-benefit5,
#why-amp-benefit6 {
  background-color: var(--amp-item-bg-2);
}

#customize-step1 {
  background-color: var(--amp-item-bg-2);
}



.content-block {
width: 100vw;
margin-left: calc(50% - 50vw);
margin-right: calc(50% - 50vw);
background: var(--block-bg, #58af7b); /* Example vibrant background */
color: var(--block-color, #fff);

}

.content-block.reverse {
  flex-direction: row-reverse;
}


/* Inner image and text */
.content-image {
  flex: 1 1 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
}
.content-image img {
  max-width: 230px;
  width: 85vw;

  box-shadow: 0 2px 18px rgba(44,62,80,0.11);
  background: var(--color-white, #fff);
}
.content-text {
  flex: 2 1 390px;
  padding: 0 32px;
  min-width: 265px;
  text-align: left;
}
.content-text h2 {
  font-size: 2em;
  margin-bottom: 14px;
  font-weight: 800;
  color: inherit;
}
.content-text p {
  font-size: 1.14em;
  margin-bottom: 12px;
  color: inherit;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 7px;
}
.feature-list li,
.feature-list div {
  list-style: none;
  background: rgba(255,255,255,0.12);
  border-radius: 7px;
  padding: 11px 13px 11px 16px;
  color: inherit;
  font-size: 1.11em;
  font-weight: 500;
  box-shadow: 0 1px 8px rgba(44,62,80,0.07);
}

.info-image img,
.content-image img {
  max-width: 220px;
  width: 80vw;
 
  box-shadow: 0 2px 18px rgba(44,62,80,0.11);
  background: var(--color-white, #fff);
}

/* lighten text blocks and force readable text */
#how-it-works-text,
#why-amp-text,
#visual-demo-text,
#customize-text {
  background-color: rgba(0, 0, 0, 0.45);   /* lighter than before */
  color: #ffffff;                          /* force white text */
}

/* also ensure list items use white text on mobile & desktop */
#how-it-works-text .info-list div,
#why-amp-text .info-list div,
#customize-text .info-list div {
  color: #ffffff;
}


/* More breathing room for the VISUAL DEMO text block */
#visual-demo-text {
  padding-top: 24px;
  padding-bottom: 24px;
}

/* slightly more space between heading and paragraph */
#visual-demo-text h2 {
  margin-bottom: 12px;
}

/* and between paragraph and next section edge */
#visual-demo-text p {
  margin-bottom: 8px;
}

#profile-demo-section {
  background-color: var(--color-secondary);
  padding-bottom: 24px;   /* instead of 44px */
}

.demo-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #2c3e50;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18);
}

.demo-btn:hover,
.demo-btn:focus {
  background: #f3ffff;
  color: #000;
}


/* HOW IT WORKS text block – better readability */
#how-it-works-text {
  background: linear-gradient(
    145deg,
    rgba(15, 10, 40, 0.92),
    rgba(25, 18, 70, 0.88)
  );
  color: #f9fcff;
  padding: 26px 5vw 24px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

/* heading stands out more */
#how-it-works-text h2 {
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  text-align: center;
}

/* list wrapper spacing */
#how-it-works-list {
  background-color: transparent;      /* let gradient show through */
  padding: 0;
  margin: 0;
}

/* individual steps – pill cards */
#how-it-works-list div {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 10px 18px 11px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fdfdfd;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background 0.18s ease;
}

/* subtle hover / tap feedback */
#how-it-works-list div:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* emphasize first step slightly */
#how-it-works-step1 {
  background: rgba(255, 255, 255, 0.20);
  font-weight: 600;
}

.hero-link-img {
  display: block;
  max-width: 420px;
  width: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
}

.hero-link-img:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

/* remove grey square behind section images */
#how-it-works-image,
#why-amp-image,
#visual-demo-image,
#customize-image {
  background-color: transparent;
}


/* === unified rounded look for sections and images === */



/* round the text panels inside */
.info-text,
.content-text {
  border-radius: 18px;
}

/* round every main promo image */
.info-image img,
.content-image img,
.hero-link-img {
  border-radius: 18px;
}

/* round HOW IT WORKS text card (keeps existing gradient) */
#how-it-works-text {
  border-radius: 22px;
}

.info-block > .info-image,
.info-block > .info-text,
.info-block-reverse > .info-image,
.info-block-reverse > .info-text,
.content-block > .content-image,
.content-block > .content-text {
  border-radius: 24px;
}

/*======================================================================================================================================================



  Different screens Layout




======================================================================================================================================================*/
/* ===== Desktop layout (≥ 900px) ===== */
@media (min-width: 900px) {

  /* default layout for all info/content blocks */
  .info-block,
  .info-block-reverse,
  .content-block,
  .content-block.reverse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }

  /* image = hero */
  .info-image,
  .content-image {
    flex: 0 0 420px;              /* larger image column */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 32px;
  }

  .info-image img,
  .content-image img {
    max-width: 420px;
    width: 100%;
    height: auto;
    
    box-shadow: 0 2px 18px rgba(44,62,80,0.11);
    background: var(--color-white);
  }

  /* text column */
  .info-text,
  .content-text {
    flex: 0 0 540px;
    max-width: 540px;
    padding: 0 24px;
    text-align: left;
  }

  /* HOW IT WORKS – extra big image */
  #how-it-works-section.info-block-reverse {
    flex-direction: row-reverse;
  }

  #how-it-works-section #how-it-works-image {
    flex: 0 0 460px;
   
    overflow: hidden;
  }

  #how-it-works-section #how-it-works-image img {
    max-width: 460px;
  }

  #how-it-works-section #how-it-works-text {
    flex: 0 0 520px;
  }

  /* Link in Bio */
  #linkinbio-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
  }

  #linkinbio-section .info-image {
    flex: 0 0 440px;
    padding: 0 32px;
  }

  #linkinbio-section .info-image img {
    max-width: 440px;
  }

  #linkinbio-section .info-text {
    flex: 0 0 520px;
    max-width: 520px;
    padding: 0 24px;
  }
}

/* ===== Tablet & mobile (< 900px) ===== */
@media (max-width: 900px) {
  .content-block,
  .content-block.reverse,
  .info-block,
  .info-block-reverse {
    flex-direction: column;
    padding: 33px 0 23px;
  }

  .content-image,
  .info-image {
    padding: 0;
    justify-content: center;
  }

  .content-image img,
  .info-image img {
    max-width: 200px;
    width: 70vw;
  }

  .content-text,
  .info-text {
    padding: 0 7vw;
    text-align: center;
  }

  .info-list {
    padding: 0;
  }

  /* slightly bigger HOW IT WORKS image on mobile */
  #how-it-works-section #how-it-works-image img {
    max-width: 220px;
   
  }
.content-block,
  .content-block.reverse,
  .info-block,
  .info-block-reverse {
    flex-direction: column;
    padding: 33px 0 23px;
  }

  .content-image,
  .info-image {
    padding: 0;
    display: flex;              /* ensure flex on mobile */
    justify-content: center;    /* horizontal center */
    align-items: center;        /* vertical center */
    width: 100%;                /* take full row */
  }

  .content-image img,
  .info-image img {
    max-width: 220px;
    width: 70vw;
    margin: 0 auto;             /* extra safety centering */
  }

  .content-text,
  .info-text {
    padding: 0 7vw;
    text-align: center;
  }
  
    #how-it-works-text h2,
  #why-amp-text h2,
  #visual-demo-text h2,
  #customize-text h2 {
    font-size: 1.6rem;
  }

  #how-it-works-text p,
  #why-amp-text p,
  #visual-demo-text p,
  #customize-text p,
  #how-it-works-text .info-list div,
  #why-amp-text .info-list div,
  #customize-text .info-list div {
    font-size: 1.05rem;
  }

  #how-it-works-image .hero-link-img {
    min-width: 80%;
    display: block;
  }

  .info-image {
    margin-bottom: 35px;
  }

}

/* Extra small phones (< 600px) */
@media (max-width: 600px) {
  .content-block,
  .content-block.reverse {
    flex-direction: column;
  }
}

