/* =========================================================
   Earn Circle — Design Tokens
========================================================= */
:root{
  --ec-forest:      #0F3D2E;
  --ec-forest-deep: #0A2A20;
  --ec-green:       #1F7A4D;
  --ec-green-light: #E7F4EC;
  --ec-gold:        #E8912B;
  --ec-gold-light:  #F4C55A;
  --ec-orange:      #F2703C;
  --ec-cream:       #FBF8F1;
  --ec-cream-dim:   #F3EEE1;
  --ec-ink:         #14231C;
  --ec-ink-soft:    #4C5A53;
  --ec-line:        rgba(15,61,46,0.12);

  /* Extra accent colors for category & feature variety */
  --ec-pink:        #E84D8A;
  --ec-pink-light:  #FCE4EE;
  --ec-blue:        #2E7BE0;
  --ec-blue-light:  #E4EEFC;
  --ec-purple:      #8B5CF6;
  --ec-purple-light:#F0E9FE;
  --ec-red:         #EF4444;
  --ec-red-light:   #FDEAEA;
  --ec-teal:        #14B8A6;
  --ec-teal-light:  #E1F7F4;

  --ec-font-head: 'Sora', Arial, sans-serif;
  --ec-font-body: 'Inter', Arial, sans-serif;

  --ec-radius: 20px;
  --ec-radius-sm: 12px;
  --ec-shadow: 0 20px 45px -20px rgba(15,61,46,0.35);
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; scroll-padding-top: 90px; }

body{
  font-family: var(--ec-font-body);
  color: var(--ec-ink);
  background-color: var(--ec-cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,61,46,0.09) 1px, transparent 0);
  background-size: 24px 24px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5{ font-family: var(--ec-font-head); color: var(--ec-forest); margin: 0; }

a{ text-decoration: none; }

:focus-visible{
  outline: 3px solid var(--ec-gold);
  outline-offset: 3px;
}

.container{ max-width: 1180px; }

/* =========================================================
   Buttons
========================================================= */
.ec-btn-primary{
  background: linear-gradient(135deg, var(--ec-green) 0%, var(--ec-forest) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-family: var(--ec-font-head);
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 24px -10px rgba(15,61,46,0.55);
}
.ec-btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(15,61,46,0.6);
  color: #fff;
}

.ec-btn-ghost{
  background: transparent;
  color: var(--ec-forest);
  border: 1.5px solid var(--ec-line);
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-family: var(--ec-font-head);
  transition: border-color .25s ease, background .25s ease;
}
.ec-btn-ghost:hover{
  border-color: var(--ec-green);
  background: var(--ec-green-light);
  color: var(--ec-forest);
}

.ec-btn-gold{
  background: linear-gradient(135deg, var(--ec-gold-light) 0%, var(--ec-gold) 100%);
  color: var(--ec-forest-deep);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.1rem;
  font-weight: 700;
  font-family: var(--ec-font-head);
  box-shadow: 0 14px 28px -10px rgba(232,145,43,0.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ec-btn-gold:hover{
  transform: translateY(-2px);
  color: var(--ec-forest-deep);
}

/* =========================================================
   Header / Nav
========================================================= */
.ec-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, rgba(251,248,241,0.92) 0%, rgba(231,244,236,0.92) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ec-line);
}
.ec-navbar{ padding: 0.9rem 0; }

.ec-brand{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ec-brand-text{
  font-family: var(--ec-font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ec-forest);
  line-height: 1;
  white-space: nowrap;
}
.ec-brand-accent{ color: var(--ec-gold); }

.ec-nav-links{
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ec-nav-links .nav-link{
  color: var(--ec-ink);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.ec-nav-links .nav-link:hover{
  background: var(--ec-green-light);
  color: var(--ec-forest);
}

.ec-nav-panel{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.ec-nav-cta{ white-space: nowrap; padding: 0.6rem 1.4rem; }

.navbar-toggler{
  border: none;
  background: none;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggler span{
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ec-forest);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.navbar-toggler:focus{ box-shadow: none; }

@media (max-width: 991.98px){
  .navbar-toggler{ display: flex; }
  .ec-nav-panel{
    position: fixed;
    inset: 72px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    background: linear-gradient(160deg, var(--ec-green-light) 0%, #FDECE2 100%);
    border: 1px solid var(--ec-line);
    border-radius: var(--ec-radius);
    padding: 1.25rem;
    box-shadow: 0 30px 60px -20px rgba(15,61,46,0.4);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .ec-nav-panel.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .ec-nav-links{ flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .ec-nav-links .nav-link{
    padding: 0.85rem 1rem;
    font-weight: 600;
    border-radius: var(--ec-radius-sm);
  }
  .ec-nav-links .nav-link:active{ background: rgba(255,255,255,0.6); }
  .ec-nav-cta{ margin-top: 0.85rem; text-align: center; padding: 0.85rem; }
  .navbar-toggler.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .navbar-toggler.is-active span:nth-child(2){ opacity: 0; }
  .navbar-toggler.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   Eyebrow / Headings
========================================================= */
.ec-eyebrow{
  font-family: var(--ec-font-head);
  color: var(--ec-green);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.ec-eyebrow-light{ color: var(--ec-gold-light); }
.ec-eyebrow-pill{
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, var(--ec-green-light) 130%);
  border: 1px solid rgba(31,122,77,0.18);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  box-shadow: 0 8px 18px -10px rgba(31,122,77,0.4);
}

.ec-h1{
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.ec-h2{
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
}
.ec-h2-light{
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.ec-gold-text{
  background: linear-gradient(135deg, var(--ec-gold-light), var(--ec-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ec-lead{ color: var(--ec-ink-soft); font-size: 1.08rem; max-width: 46ch; }
.ec-lead-light{ color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 50ch; }

.ec-section-head{ max-width: 640px; margin: 0 auto 2.75rem; text-align: center; }
.ec-section-head .ec-eyebrow{ display: block; }

/* =========================================================
   Hero
========================================================= */
.ec-hero{
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(15,61,46,0.10) 1px, transparent 0),
    radial-gradient(760px 460px at 88% -8%, rgba(244,197,90,0.42), transparent 60%),
    radial-gradient(700px 540px at -8% 15%, rgba(232,77,138,0.24), transparent 55%),
    radial-gradient(560px 420px at 30% 105%, rgba(46,123,224,0.16), transparent 60%),
    radial-gradient(900px 560px at 60% 100%, rgba(31,122,77,0.22), transparent 60%),
    var(--ec-cream);
  background-size: 24px 24px, auto, auto, auto, auto, auto;
  overflow: hidden;
  position: relative;
}
.ec-hero::before{
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(244,197,90,0.35), rgba(232,77,138,0.25), rgba(46,123,224,0.2), rgba(244,197,90,0.35));
  filter: blur(50px);
  opacity: 0.8;
  pointer-events: none;
}

.ec-hero-logo{
  height: 64px;
  width: auto;
  margin-bottom: 1.25rem;
}

.ec-hero-stats{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 1.75rem 0 0.9rem;
}

.ec-stat-pill{
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #fff 0%, var(--ec-green-light) 130%);
  border: 1px solid rgba(31,122,77,0.18);
  border-radius: var(--ec-radius-sm);
  padding: 0.7rem 1.25rem;
  box-shadow: 0 14px 28px -14px rgba(31,122,77,0.45);
}
.ec-stat-num{
  font-family: var(--ec-font-head);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--ec-green) 0%, var(--ec-forest) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ec-stat-label{ font-size: 0.82rem; color: var(--ec-ink-soft); margin-top: 0.2rem; }

.ec-week-strip{
  display: flex;
  gap: 0.4rem;
}
.ec-week-strip .ec-day{
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ec-font-head);
  font-weight: 700;
  font-size: 0.8rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(150deg, var(--ec-green) 0%, var(--ec-forest) 100%);
  border: 1px solid transparent;
  box-shadow: 0 8px 16px -8px rgba(31,122,77,0.55);
}
.ec-week-strip .ec-day.is-off{
  color: #B5502C;
  background: linear-gradient(150deg, #FBDDCF 0%, #F6C6AE 100%);
  box-shadow: none;
}
.ec-week-strip-dark .ec-day{
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ec-green), var(--ec-forest));
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(0,0,0,0.4);
}
.ec-week-strip-dark .ec-day.is-off{
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  box-shadow: none;
}

.ec-week-note{
  color: var(--ec-ink-soft);
  font-size: 0.92rem;
  margin-bottom: 1.9rem;
}
.ec-week-note i.bi-check-circle-fill{ color: var(--ec-green); margin-right: 0.2rem; }
.ec-week-note i.bi-x-circle-fill{ color: #C85A34; margin-right: 0.2rem; }
.ec-dot{ color: var(--ec-line); }

.ec-hero-cta{ display: flex; flex-wrap: wrap; gap: 1rem; }

.ec-hero-visual{ position: relative; padding: 1rem; }

.ec-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}
.ec-blob-hero{
  width: 340px;
  height: 340px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(244,197,90,0.35) 0%, rgba(232,77,138,0.18) 45%, transparent 72%);
  filter: blur(18px);
}

.ec-hero-card{
  position: relative;
  background: #fff;
  border-radius: var(--ec-radius);
  box-shadow: var(--ec-shadow);
  padding: 1.75rem;
  max-width: 380px;
  margin-inline: auto;
  animation: ecFloat 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes ecFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.ec-hero-card-top{
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ec-ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.ec-hero-card-top i{ color: var(--ec-green); font-size: 1.1rem; }

.ec-hero-card-amount{
  font-family: var(--ec-font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ec-forest);
  margin-top: 0.6rem;
}
.ec-hero-card-arrow{
  color: var(--ec-gold);
  font-size: 1.2rem;
  margin: 0.35rem 0;
}
.ec-hero-card-cashback{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ec-green-light);
  border-radius: var(--ec-radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
}
.ec-hero-card-cashback span{ color: var(--ec-forest); font-size: 0.9rem; }
.ec-hero-card-cashback strong{ font-family: var(--ec-font-head); color: var(--ec-forest); font-size: 1.3rem; }

.ec-hero-card-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ec-hero-card-tags span{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.ec-hero-card-tags span:nth-child(1){ color: #fff; background: linear-gradient(135deg, var(--ec-green), var(--ec-forest)); }
.ec-hero-card-tags span:nth-child(2){ color: #fff; background: linear-gradient(135deg, var(--ec-pink), #C73372); }
.ec-hero-card-tags span:nth-child(3){ color: #fff; background: linear-gradient(135deg, var(--ec-blue), #1C57A8); }
.ec-hero-card-tags span:nth-child(4){ color: #fff; background: linear-gradient(135deg, var(--ec-orange), #C8471C); }
.ec-hero-card-tags i{ font-size: 0.85rem; }

.ec-coin{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  z-index: 2;
  animation: ecSpin 8s linear infinite;
}
.ec-coin-1{
  top: -6px;
  right: 8%;
  background: linear-gradient(135deg, var(--ec-gold-light), var(--ec-gold));
  box-shadow: 0 16px 30px -10px rgba(232,145,43,0.55);
}
.ec-coin-2{
  bottom: 6%;
  left: -4%;
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--ec-pink), #C73372);
  box-shadow: 0 16px 30px -10px rgba(232,77,138,0.55);
  animation-duration: 7s;
  animation-delay: .5s;
}
.ec-coin-3{
  top: 38%;
  right: -6%;
  width: 46px;
  height: 46px;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--ec-blue), #1C57A8);
  box-shadow: 0 16px 30px -10px rgba(46,123,224,0.55);
  animation-duration: 9s;
  animation-delay: 1s;
}
.ec-coin-1{ top: -6px; right: 8%; }
@keyframes ecSpin{
  0%,100%{ transform: rotate(0deg) translateY(0); }
  50%{ transform: rotate(8deg) translateY(-6px); }
}

/* =========================================================
   Cashback highlight section
========================================================= */
.ec-cashback-section{
  background: linear-gradient(160deg, var(--ec-forest) 0%, var(--ec-forest-deep) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.ec-cashback-section::before{
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(244,197,90,0.22), transparent 65%);
}
.ec-cashback-section::after{
  content: "";
  position: absolute;
  inset: auto auto -25% -12%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(232,77,138,0.18), transparent 65%);
}
.ec-grid-overlay{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.ec-cashback-section .container,
.ec-final-cta .container{ position: relative; z-index: 1; }
.ec-off-note{
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ec-off-note i{ color: var(--ec-orange); }

.ec-calc-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--ec-radius);
  padding: 2rem;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}
.ec-calc-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
}
.ec-calc-label{ color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.ec-calc-value{ font-family: var(--ec-font-head); color: #fff; font-weight: 700; font-size: 1.4rem; }
.ec-calc-op{
  text-align: center;
  color: var(--ec-gold-light);
  font-family: var(--ec-font-head);
  font-weight: 700;
  padding: 0.5rem 0;
  border-top: 1px dashed rgba(255,255,255,0.2);
  border-bottom: 1px dashed rgba(255,255,255,0.2);
  margin: 0.5rem 0;
}
.ec-calc-row-result .ec-calc-value{ font-size: 2rem; }
.ec-calc-highlight{ color: var(--ec-gold-light); }
.ec-calc-days{ margin-top: 1.5rem; }
.ec-calc-days-label{
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}

/* =========================================================
   Generic section spacing
========================================================= */
.ec-section{ padding: 5.5rem 0; }
.ec-section-tint{
  background-color: var(--ec-cream-dim);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(15,61,46,0.10) 1px, transparent 0),
    radial-gradient(900px 420px at 15% 0%, rgba(232,77,138,0.06), transparent 60%),
    radial-gradient(900px 420px at 85% 100%, rgba(31,122,77,0.08), transparent 60%);
  background-size: 24px 24px, auto, auto;
}

/* =========================================================
   Category cards
========================================================= */
.ec-cat-card{
  background: linear-gradient(165deg, #fff 0%, var(--ec-cream-dim) 145%);
  border-radius: var(--ec-radius);
  padding: 2rem 1.5rem;
  height: 100%;
  border: 1px solid var(--ec-line);
  border-top: 4px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.ec-cat-card::after{
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}
.ec-cat-card > *{ position: relative; z-index: 1; }
.ec-cat-card:hover{
  transform: translateY(-8px);
}
.ec-cat-icon{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  color: #fff;
}
.ec-cat-card h3{ font-size: 1.15rem; margin-bottom: 0.5rem; }
.ec-cat-card p{ color: var(--ec-ink-soft); font-size: 0.92rem; margin: 0; }

.ec-cat-card--grocery{ border-top-color: var(--ec-green); background: linear-gradient(165deg, #fff 0%, var(--ec-green-light) 145%); }
.ec-cat-card--grocery::after{ background: rgba(31,122,77,0.16); }
.ec-cat-card--grocery .ec-cat-icon{ background: linear-gradient(135deg, var(--ec-green), var(--ec-forest)); }
.ec-cat-card--grocery:hover{ box-shadow: 0 22px 40px -18px rgba(31,122,77,0.5); }

.ec-cat-card--cosmetics{ border-top-color: var(--ec-pink); background: linear-gradient(165deg, #fff 0%, var(--ec-pink-light) 145%); }
.ec-cat-card--cosmetics::after{ background: rgba(232,77,138,0.18); }
.ec-cat-card--cosmetics .ec-cat-icon{ background: linear-gradient(135deg, var(--ec-pink), #C73372); }
.ec-cat-card--cosmetics:hover{ box-shadow: 0 22px 40px -18px rgba(232,77,138,0.5); }

.ec-cat-card--clothing{ border-top-color: var(--ec-blue); background: linear-gradient(165deg, #fff 0%, var(--ec-blue-light) 145%); }
.ec-cat-card--clothing::after{ background: rgba(46,123,224,0.16); }
.ec-cat-card--clothing .ec-cat-icon{ background: linear-gradient(135deg, var(--ec-blue), #1C57A8); }
.ec-cat-card--clothing:hover{ box-shadow: 0 22px 40px -18px rgba(46,123,224,0.5); }

.ec-cat-card--electronics{ border-top-color: var(--ec-orange); background: linear-gradient(165deg, #fff 0%, #FDECE2 145%); }
.ec-cat-card--electronics::after{ background: rgba(242,112,60,0.18); }
.ec-cat-card--electronics .ec-cat-icon{ background: linear-gradient(135deg, var(--ec-orange), #C8471C); }
.ec-cat-card--electronics:hover{ box-shadow: 0 22px 40px -18px rgba(242,112,60,0.5); }

/* =========================================================
   Steps
========================================================= */
.ec-step-card{
  background: linear-gradient(165deg, #fff 0%, var(--ec-cream-dim) 145%);
  border-radius: var(--ec-radius);
  padding: 2.2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--ec-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ec-step-card:hover{ transform: translateY(-6px); }
.ec-step-num{
  display: inline-block;
  font-family: var(--ec-font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1rem;
}
.ec-step-card h3{ font-size: 1.2rem; margin-bottom: 0.5rem; }
.ec-step-card p{ color: var(--ec-ink-soft); margin: 0; font-size: 0.95rem; }

.ec-step-card--1{ background: linear-gradient(165deg, #fff 0%, var(--ec-green-light) 145%); }
.ec-step-card--1 .ec-step-num{ background: linear-gradient(135deg, var(--ec-green), var(--ec-forest)); }
.ec-step-card--1:hover{ box-shadow: 0 22px 40px -18px rgba(31,122,77,0.45); }
.ec-step-card--2{ background: linear-gradient(165deg, #fff 0%, #FBF1DF 145%); }
.ec-step-card--2 .ec-step-num{ background: linear-gradient(135deg, var(--ec-gold-light), var(--ec-gold)); }
.ec-step-card--2:hover{ box-shadow: 0 22px 40px -18px rgba(232,145,43,0.45); }
.ec-step-card--3{ background: linear-gradient(165deg, #fff 0%, var(--ec-pink-light) 145%); }
.ec-step-card--3 .ec-step-num{ background: linear-gradient(135deg, var(--ec-pink), #C73372); }
.ec-step-card--3:hover{ box-shadow: 0 22px 40px -18px rgba(232,77,138,0.45); }

/* =========================================================
   About
========================================================= */
.ec-about-card{
  background: linear-gradient(150deg, var(--ec-pink) 0%, var(--ec-purple) 100%);
  color: #fff;
  border-radius: var(--ec-radius);
  padding: 2.5rem;
  box-shadow: 0 24px 44px -20px rgba(139,92,246,0.45);
}
.ec-about-card i{ font-size: 2rem; color: #fff; }
.ec-about-card h4{ color: #fff; margin: 0.85rem 0 0.6rem; }
.ec-about-card p{ color: rgba(255,255,255,0.9); margin: 0; }

/* =========================================================
   Mission / Vision
========================================================= */
.ec-mv-card{
  background: linear-gradient(165deg, #fff 0%, #FBF1DF 145%);
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  padding: 2.4rem;
  height: 100%;
}
.ec-mv-card-alt{ background: linear-gradient(150deg, var(--ec-blue) 0%, #1C3F8C 100%); border: none; box-shadow: 0 24px 44px -20px rgba(46,123,224,0.45); }
.ec-mv-icon{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ec-gold-light), var(--ec-gold));
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.ec-mv-card-alt .ec-mv-icon{ background: rgba(255,255,255,0.2); color: #fff; }
.ec-mv-card h3{ margin-bottom: 0.75rem; }
.ec-mv-card p{ color: var(--ec-ink-soft); margin: 0; }
/* Alt (blue) card overrides — must come after the base rules above so equal-specificity cascade resolves correctly */
.ec-mv-card-alt h3{ color: #fff; }
.ec-mv-card-alt p{ color: rgba(255,255,255,0.9); }

/* =========================================================
   Feature cards
========================================================= */
.ec-feature-card{
  background: linear-gradient(165deg, #fff 0%, var(--ec-cream-dim) 145%);
  border-radius: var(--ec-radius);
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--ec-line);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.ec-feature-card:hover{ transform: translateY(-4px); }
.ec-feature-card i{
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
}
.ec-feature-card h4{ font-size: 1.08rem; margin-bottom: 0.5rem; }
.ec-feature-card p{ color: var(--ec-ink-soft); font-size: 0.92rem; margin: 0; }

.ec-feature-card--1{ background: linear-gradient(165deg, #fff 0%, #FBF1DF 145%); }
.ec-feature-card--1 i{ background: linear-gradient(135deg, var(--ec-gold-light), var(--ec-gold)); }
.ec-feature-card--1:hover{ box-shadow: 0 20px 38px -18px rgba(232,145,43,0.4); }
.ec-feature-card--2{ background: linear-gradient(165deg, #fff 0%, var(--ec-blue-light) 145%); }
.ec-feature-card--2 i{ background: linear-gradient(135deg, var(--ec-blue), #1C57A8); }
.ec-feature-card--2:hover{ box-shadow: 0 20px 38px -18px rgba(46,123,224,0.4); }
.ec-feature-card--3{ background: linear-gradient(165deg, #fff 0%, var(--ec-purple-light) 145%); }
.ec-feature-card--3 i{ background: linear-gradient(135deg, var(--ec-purple), #6C34D6); }
.ec-feature-card--3:hover{ box-shadow: 0 20px 38px -18px rgba(139,92,246,0.4); }
.ec-feature-card--4{ background: linear-gradient(165deg, #fff 0%, var(--ec-green-light) 145%); }
.ec-feature-card--4 i{ background: linear-gradient(135deg, var(--ec-green), var(--ec-forest)); }
.ec-feature-card--4:hover{ box-shadow: 0 20px 38px -18px rgba(31,122,77,0.4); }
.ec-feature-card--5{ background: linear-gradient(165deg, #fff 0%, var(--ec-pink-light) 145%); }
.ec-feature-card--5 i{ background: linear-gradient(135deg, var(--ec-pink), #C73372); }
.ec-feature-card--5:hover{ box-shadow: 0 20px 38px -18px rgba(232,77,138,0.4); }
.ec-feature-card--6{ background: linear-gradient(165deg, #fff 0%, var(--ec-teal-light) 145%); }
.ec-feature-card--6 i{ background: linear-gradient(135deg, var(--ec-teal), #0D8E80); }
.ec-feature-card--6:hover{ box-shadow: 0 20px 38px -18px rgba(20,184,166,0.4); }

/* =========================================================
   Final CTA
========================================================= */
.ec-final-cta{
  background: linear-gradient(135deg, var(--ec-forest-deep) 0%, var(--ec-forest) 35%, var(--ec-green) 70%, #0F8F63 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.ec-final-cta::before{
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,77,138,0.25), transparent 65%);
}
.ec-final-cta::after{
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,197,90,0.28), transparent 65%);
}
.ec-final-cta .container{ position: relative; z-index: 1; }
.ec-final-lead{ margin: 1.1rem auto 2rem; }

/* =========================================================
   Footer
========================================================= */
.ec-footer{
  background: var(--ec-forest-deep);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.75rem;
}
.ec-footer h5{ color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.ec-footer-text{ font-size: 0.92rem; color: rgba(255,255,255,0.65); max-width: 40ch; }
.ec-footer-links{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; }
.ec-footer-links a{ color: rgba(255,255,255,0.75); transition: color .2s ease; }
.ec-footer-links a:hover{ color: var(--ec-gold-light); }
.ec-footer-links i{ color: var(--ec-gold-light); margin-right: 0.4rem; }
.ec-footer-rule{ border-color: rgba(255,255,255,0.12); margin: 2.5rem 0 1.5rem; }
.ec-footer-bottom{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.ec-disclaimer{ max-width: 46ch; }

/* =========================================================
   Scroll to top
========================================================= */
.ec-scroll-top{
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ec-forest);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px -10px rgba(15,61,46,0.55);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 999;
}
.ec-scroll-top.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }

/* =========================================================
   Scroll reveal
========================================================= */
.ec-reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.ec-reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive tweaks
========================================================= */
@media (max-width: 767.98px){
  .ec-hero-visual{ margin-top: 1rem; }
  .ec-hero-card{ max-width: 320px; }
  .ec-calc-card{ padding: 1.5rem; }
}

@media (max-width: 575.98px){
  .ec-hero{ padding: 2.75rem 0 2.25rem; }
  .ec-section{ padding: 3.25rem 0; }
  .ec-cashback-section, .ec-final-cta{ padding: 3.25rem 0; }

  .container{ padding-inline: 1.1rem; }

  .ec-h1{ font-size: 2rem; letter-spacing: -0.01em; }
  .ec-h2, .ec-h2-light{ font-size: 1.55rem; }
  .ec-lead, .ec-lead-light{ font-size: 1rem; max-width: none; }
  .ec-section-head{ margin-bottom: 2rem; }

  .ec-hero-logo{ height: 52px; }

  .ec-brand img{ height: 34px; }
  .ec-brand-text{ font-size: 1.02rem; }
  .ec-hero-stats{ gap: 0.75rem; }
  .ec-stat-pill{ padding: 0.6rem 1rem; }
  .ec-stat-num{ font-size: 1.4rem; }
  .ec-week-strip{ gap: 0.3rem; }
  .ec-week-strip .ec-day{ width: 30px; height: 30px; font-size: 0.72rem; }
  .ec-week-note{ font-size: 0.85rem; }

  .ec-hero-cta{ flex-direction: column; }
  .ec-hero-cta .btn{ width: 100%; text-align: center; }

  .ec-hero-visual{ padding: 0.5rem 0 0; margin-top: 1.5rem; }
  .ec-hero-card{ max-width: 100%; padding: 1.4rem; }
  .ec-hero-card-amount{ font-size: 1.65rem; }
  .ec-coin{ width: 46px; height: 46px; font-size: 1.15rem; }
  .ec-coin-1{ top: -10px; right: 4%; }
  .ec-coin-2{ width: 38px; height: 38px; font-size: 1rem; bottom: -4%; left: -2%; }
  .ec-coin-3{ display: none; }
  .ec-blob-hero{ width: 240px; height: 240px; }

  .ec-calc-card{ padding: 1.35rem; }
  .ec-calc-row-result .ec-calc-value{ font-size: 1.6rem; }

  .ec-cat-card{ padding: 1.5rem 1.1rem; }
  .ec-cat-icon{ width: 46px; height: 46px; font-size: 1.25rem; border-radius: 13px; margin-bottom: 0.85rem; }
  .ec-cat-card h3{ font-size: 1.02rem; }
  .ec-cat-card p{ font-size: 0.85rem; }

  .ec-step-card, .ec-feature-card, .ec-mv-card, .ec-about-card{ padding: 1.65rem; }

  .ec-final-cta .btn{ width: 100%; }

  .ec-footer{ padding: 3rem 0 1.5rem; text-align: center; }
  .ec-footer-text{ margin-inline: auto; }
  .ec-footer [class*="col-"]{ text-align: center; }
  .ec-footer-links{ align-items: center; }
  .ec-footer-bottom{ flex-direction: column; text-align: center; }

  .ec-scroll-top{ width: 46px; height: 46px; right: 1rem; bottom: 1rem; }
}
