/* ============================================================
           BASE RESET & VARIABLES
           ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --bg: #050608;
  --white: #f5f7fa;
  --muted: #737b87;
  --blue: #3b82f6;
  --green: #22c55e;
  --card: #0c0f12;
  --card2: #050505;
  --card3: #000;
  --iconbg: #15191e;
  --line: #1c2127;
  --cardborder: #242931;
  /* artistic accent gradients */
  --glow-blue: rgba(59, 130, 246, .18);
  --glow-purple: rgba(99, 102, 241, .12);
  --glow-cyan: rgba(14, 165, 233, .10);
}

body.light {
  --bg: #f3f5f8;
  --white: #111827;
  --muted: #6b7280;
  --blue: #2563eb;
  --green: #16a34a;
  --card: #fff;
  --card2: #fff;
  --card3: #f8fafc;
  --iconbg: #e8edf4;
  --line: #d6dde6;
  --cardborder: #d8e0ea;
  --glow-blue: rgba(37, 99, 235, .10);
  --glow-purple: rgba(99, 102, 241, .08);
  --glow-cyan: rgba(14, 165, 233, .06);
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at top center, rgba(59, 130, 246, .16), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(14, 165, 233, .10), transparent 25%),
    radial-gradient(circle at left, rgba(99, 102, 241, .08), transparent 35%),
    var(--bg);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  transition: background .35s, color .35s;
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* ============================================================
           APP WRAPPER
           ============================================================ */
.app {
  width: 100%;
  max-width: 100vw;        /* prevent it from being wider than the viewport */
  overflow: clip;          /* clip effects without creating a nested scroller */
  padding: 30px 24px 100px;
}

/* ============================================================
           HERO
           ============================================================ */
.hero {
  position: relative;
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 25px 0 60px;
}

.hero-logo {
  height: 100px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
  max-width: 100%;
}

.logo-for-dark {
  display: none;
}

body:not(.light) .logo-for-light {
  display: none;
}

body:not(.light) .logo-for-dark {
  display: block;
}

#themeBtn {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.small-text {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  margin-top: 36px;
}

.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border-radius: 20px;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(59, 130, 246, .35);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(59, 130, 246, .45);
}

.primary-btn:active {
  transform: scale(.97);
}

.intro {
  text-align: center;
  margin-bottom: 38px;
}

.intro h2 {
  font-size: clamp(24px, 7vw, 30px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--white), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(59, 130, 246, .25);
  overflow-wrap: anywhere;
}

.intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
           PLANS (payment showcase)
           ============================================================ */
.plans {
  position: relative;
  margin: 0 calc(-18px);
  padding: 70px 24px 80px;
  border-radius: 48px 48px 0 0;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, .20), transparent 45%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, .08), transparent 40%),
    linear-gradient(180deg, rgba(37, 99, 235, .14) 0%, rgba(37, 99, 235, .08) 55%, transparent 100%);
  /* artistic overflow glow at top */
  overflow: visible;
  isolation: isolate;
}

/* soft bridge glow from hero into plans */
.plans::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, .15), transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(20px);
}

.plans h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 26px;
}

.plans-subtitle {
  text-align: center;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.billing-toggle {
  display: flex;
  width: fit-content;
  margin: 0 auto 24px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}

.billing-toggle-option {
  min-width: 104px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.billing-toggle-option.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 18px rgba(37, 99, 235, .28);
}

/* payment cards */
.plan-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(420px, 90vw);
  height: 310px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03)),
    linear-gradient(145deg, var(--card2), var(--card3));
  backdrop-filter: blur(18px);
  overflow: hidden;
  transform: translate(-50%, -50%) translateZ(-250px) rotateY(55deg) scale(.72);
  opacity: 0;
  pointer-events: none;
  transition: transform .65s cubic-bezier(.2, .8, .2, 1), opacity .45s, box-shadow .35s;
}

.plan-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -60px;
  bottom: -80px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .12;
  filter: blur(35px);
}

.plan-card.active {
  opacity: .9;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateZ(0) rotateY(0deg) scale(1);
  z-index: 5;
  animation: paymentFloating 3.5s ease-in-out infinite;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 50px rgba(37, 99, 235, .25);
}

.plan-card.left {
  opacity: .42;
  transform: translate(-50%, -50%) translateX(-155px) translateZ(-100px) rotateY(35deg) scale(.78);
  z-index: 2;
}

.plan-card.right {
  opacity: .42;
  transform: translate(-50%, -50%) translateX(155px) translateZ(-100px) rotateY(-35deg) scale(.78);
  z-index: 2;
}

.plan-card.behind {
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(-300px) rotateY(-55deg) scale(.65);
  z-index: 1;
}

.plan-card.recommended {
  border: 2px solid var(--blue);
}

.custom-plan-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(52, 211, 153, .55);
  background: linear-gradient(145deg, rgba(16, 185, 129, .2), rgba(15, 23, 42, .78));
}

.custom-plan-copy {
  max-width: 270px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.custom-plan-cta {
  display: inline-flex;
  align-self: flex-start;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #06281d;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 14px;
  border-radius: 0 20px 0 14px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 28px;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}

.plan-price {
  margin: 13px 0 8px;
  color: var(--white);
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -1px;
}

.plan-price span {
  vertical-align: top;
  font-size: 18px;
}

.plan-price small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-framing,
.yearly-comparison {
  margin: -3px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.yearly-comparison {
  white-space: nowrap;
}

.price-was {
  margin-right: 4px;
  text-decoration: line-through;
  opacity: .7;
}

.save-badge,
.best-value-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .16);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.best-value-badge {
  position: absolute;
  top: 38px;
  right: 14px;
  margin: 0;
  background: rgba(251, 191, 36, .18);
  color: #fbbf24;
}

.plan-members {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.plan-members strong {
  color: var(--white);
}

.plan-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.plan-card li {
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  margin-left: -20px;
  margin-right: 8px;
  color: var(--green);
  font-weight: 800;
}

.whatsapp-note {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

@keyframes paymentFloating {

  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -9px;
  }
}

.payment-showcase {
  position: relative;
  height: 410px;
  perspective: 1000px;
  touch-action: pan-y;
  user-select: none;
}

.payment-showcase-stage {
  position: relative;
  width: 100%;
  height: 350px;
  transform-style: preserve-3d;
}

.payment-showcase-dots {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.payment-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #3a3f47;
  cursor: pointer;
  transition: .3s;
}

.payment-dot.active {
  width: 20px;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, .7);
}

.payment-swipe-hint {
  position: absolute;
  bottom: 8px;
  width: 100%;
  color: #515964;
  font-size: 11px;
  letter-spacing: .4px;
  text-align: center;
}

/* ============================================================
           LANDING SECTIONS — unified artistic card stack
           ============================================================ */
.landing-content {
  width: 100%;
}

.section {
  position: relative;
  margin: 0 calc(-18px);
  padding: 80px 24px;
  overflow: visible;
  border-radius: 48px 48px 0 0;
  margin-top: -14px;
  isolation: isolate;
  /* each section gets a subtle inner glow at top */
}

/* bridge glow between sections — shared */
.section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 700px);
  height: 80px;
  background: radial-gradient(ellipse at center, var(--glow-blue), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(18px);
  border-radius: 50%;
  opacity: .6;
  transition: opacity .5s;
}

/* each section gets a soft decorative blob at bottom-right */
.section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(70px);
  opacity: .25;
  transition: transform .6s ease;
}

.section:hover::after {
  transform: scale(1.08);
}

.section-content {
  position: relative;
  max-width: 1100px;
  margin: auto;
  z-index: 2;
}

/* --- individual section backgrounds + decorative blobs --- */

/* intro-section (quick highlights) */
.intro-section {
  background:
    radial-gradient(circle at 20% 20%, var(--glow-blue), transparent 50%),
    radial-gradient(circle at 80% 80%, var(--glow-purple), transparent 50%),
    linear-gradient(180deg, rgba(37, 99, 235, .04), rgba(37, 99, 235, .10));
}

.intro-section::after {
  right: -80px;
  bottom: -80px;
  background: var(--blue);
  opacity: .15;
}

/* whatsapp-section */
.whatsapp-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(37, 211, 102, .09), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(18, 140, 126, .09), transparent 45%),
    var(--bg);
}

.whatsapp-section::after {
  right: -60px;
  bottom: -100px;
  background: #25d366;
  opacity: .12;
}

/* features-section */
.features-section {
  background: var(--card);
}

.features-section::after {
  right: -80px;
  bottom: -100px;
  background: var(--blue);
  opacity: .10;
}

/* benefits-section */
.benefits-section {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #fff;
}

.benefits-section::after {
  right: -100px;
  bottom: -100px;
  background: #60a5fa;
  opacity: .20;
}

.benefits-section::before {
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .12), transparent 70%);
}

/* cta-section */
.cta-section {
  background: linear-gradient(180deg, var(--card), var(--bg));
}

.cta-section::after {
  right: -80px;
  bottom: -100px;
  background: var(--blue);
  opacity: .12;
}

/* ============================================================
           SECTION TYPOGRAPHY
           ============================================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

body.light .benefits-section .section-tag {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.section h2 {
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
  font-weight: 800;
}

.section-description {
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
  max-width: 420px;
}

.benefits-section h2 {
  color: #fff;
  text-align: center;
}

.benefits-section .section-tag {
  display: flex;
  width: max-content;
  margin: 0 auto 20px;
}

/* ============================================================
           QUICK HIGHLIGHTS
           ============================================================ */
.quick-highlights {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.highlight {
  position: relative;
  padding: 26px 16px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--card), var(--card3));
  text-align: center;
  overflow: hidden;
  transition: .35s;
  border: 1px solid rgba(59, 130, 246, .10);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.highlight::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .14);
  top: -55px;
  right: -45px;
  filter: blur(10px);
}

.highlight span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin: auto auto 18px;
  border-radius: 22px;
  font-size: 30px;
  background: linear-gradient(145deg, rgba(59, 130, 246, .18), rgba(59, 130, 246, .05));
}

.highlight h3 {
  font-size: 17px;
  font-weight: 700;
}

.highlight:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, .4);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .18);
}

.highlight:nth-child(1) {
  animation: float1 4s ease-in-out infinite;
}

.highlight:nth-child(2) {
  animation: float2 4.5s ease-in-out infinite;
}

.highlight:nth-child(3) {
  animation: float2 5s ease-in-out infinite;
}

.highlight:nth-child(4) {
  animation: float1 5.2s ease-in-out infinite;
}

@keyframes float1 {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes float2 {
  50% {
    transform: translateY(6px);
  }
}

@media(max-width:370px) {
  .quick-highlights {
    gap: 12px;
  }

  .highlight {
    padding: 22px 12px;
  }

  .highlight span {
    width: 58px;
    height: 58px;
    font-size: 26px;
  }
}

/* ============================================================
           FEATURES
           ============================================================ */
.features-section {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.feature-row {
  position: relative;
  overflow: hidden;
  padding: 32px 30px;
  min-height: 160px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--card2), var(--card3));
  border: 1px solid rgba(59, 130, 246, .08);
  transition: transform .35s, box-shadow .35s, border-color .35s;
}

.feature-row::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: rgba(59, 130, 246, .10);
  filter: blur(18px);
  transition: .4s;
  pointer-events: none;
}

.feature-row:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, .30);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}

.feature-row:hover::before {
  transform: scale(1.2);
}

.feature-emoji-bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: min(32vh, 320px);
  line-height: 1;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
  user-select: none;
  transition: opacity .3s, transform .3s;
  transform-origin: center;
}

.feature-row:hover .feature-emoji-bg {
  opacity: .32;
  transform: translateY(-50%) scale(1.04);
}

body.light .feature-emoji-bg {
  opacity: .28;
}

body.light .feature-row:hover .feature-emoji-bg {
  opacity: .38;
}

.feature-content {
  position: relative;
  z-index: 2;
  max-width: 75%;
}

.feature-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--white), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.feature-content p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.feature-row:nth-child(even) {
  flex-direction: unset;
  text-align: unset;
}

@media (max-width: 700px) {
  .feature-row {
    padding: 24px 20px;
    min-height: 140px;
  }

  .feature-content {
    max-width: 70%;
  }

  .feature-content h3 {
    font-size: 24px;
  }

  .feature-content p {
    font-size: 15px;
  }

  .feature-emoji-bg {
    font-size: min(25vh, 180px);
    right: 2%;
  }
}

@media (max-width: 480px) {
  .feature-content {
    max-width: 65%;
  }

  .feature-emoji-bg {
    font-size: min(20vh, 140px);
    right: 0;
  }
}

/* ============================================================
           FEATURES CATALOG PAGE
           ============================================================ */
.features-page .about-intro-copy h1 {
  font-size: clamp(42px, 10vw, 72px);
  line-height: 1;
  margin-bottom: 18px;
}

.features-page .about-intro-copy p + p {
  margin-top: 14px;
  font-size: 15px;
}

.feature-catalog {
  gap: 0;
  padding-top: 86px;
}

.feature-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
  padding: 72px 0;
  border-bottom: 1px solid rgba(59, 130, 246, .14);
}

.feature-detail:first-child {
  padding-top: 0;
}

.feature-detail-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.feature-detail-reverse .feature-detail-copy {
  order: 2;
}

.feature-detail-reverse .feature-screenshot {
  order: 1;
}

.feature-detail-wide-copy {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.feature-detail-copy {
  min-width: 0;
}

.feature-detail-copy .section-tag {
  margin-bottom: 16px;
}

.feature-detail-copy h2 {
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 22px;
}

.feature-detail-copy p:not(.section-tag) {
  color: var(--muted);
  line-height: 1.85;
  font-size: 16px;
}

.feature-detail-copy ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-detail-copy li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.feature-detail-copy li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  left: 2px;
  top: .65em;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .12);
}

.feature-gallery,
.feature-screenshot {
  width: 100%;
  margin: 0;
}

.feature-gallery {
  display: grid;
  gap: 14px;
}

.feature-gallery-triple {
  grid-template-columns: repeat(3, 1fr);
}

.member-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.member-gallery figure:last-child {
  grid-column: 1 / -1;
  width: min(58%, 100%);
  justify-self: center;
}

.feature-gallery-dual {
  grid-template-columns: repeat(2, 1fr);
}

.feature-gallery figure,
.feature-screenshot {
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, .18);
  border-radius: 14px;
  background: var(--card2);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .12);
}

.feature-gallery img,
.feature-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.feature-screenshot-placeholder {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: 30px;
  background: linear-gradient(145deg, #dcfce7, #f0fdf4);
}

.message-illustration {
  display: grid;
  gap: 9px;
  width: min(100%, 260px);
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  color: #166534;
  box-shadow: 0 14px 30px rgba(22, 101, 52, .14);
}

.message-illustration span {
  color: #16a34a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.message-illustration strong {
  color: #14532d;
  font-size: 20px;
}

.message-illustration small {
  color: #4b5563;
  line-height: 1.5;
}

.feature-closing {
  border-bottom: 0;
  padding-bottom: 10px;
}

.feature-closing .feature-detail-copy {
  max-width: 760px;
}

@media (max-width: 760px) {
  .feature-catalog {
    padding-top: 58px;
  }

  .feature-detail,
  .feature-detail-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 52px 0;
  }

  .feature-detail-reverse .feature-detail-copy,
  .feature-detail-reverse .feature-screenshot {
    order: initial;
  }

  .feature-detail-copy h2 {
    font-size: 34px;
  }

  .feature-gallery-triple {
    grid-template-columns: 1fr 1fr;
  }

  .member-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .feature-gallery-triple figure:last-child {
    grid-column: 1 / -1;
    max-width: 58%;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .feature-gallery-triple,
  .feature-gallery-dual {
    grid-template-columns: 1fr;
  }

  .feature-gallery-triple figure:last-child {
    grid-column: auto;
    max-width: none;
  }

  .member-gallery {
    grid-template-columns: 1fr;
  }

  .member-gallery figure:last-child {
    grid-column: auto;
    width: 100%;
  }

  .feature-screenshot-placeholder {
    min-height: 210px;
  }
}

/* ============================================================
           BENEFITS
           ============================================================ */
.benefits-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefits-grid div {
  padding: 20px 16px;
  border-radius: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .3s, background .3s;
}

.benefits-grid div:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .18);
}

/* ============================================================
           CTA
           ============================================================ */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 22px;
}

.cta-section p {
  max-width: 420px;
  margin: 0 auto 38px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.cta-section .primary-btn {
  max-width: 280px;
  margin: auto;
  height: 68px;
  font-size: 20px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(37, 99, 235, .35);
  transition: transform .3s, box-shadow .3s;
}

.cta-section .primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 60px rgba(37, 99, 235, .45);
}

.cta-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -140px;
  transform: translateX(-50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(59, 130, 246, .18);
  filter: blur(90px);
  pointer-events: none;
}

/* ============================================================
           WHATSAPP SECTION
           ============================================================ */
.wa-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.wa-glow-1 {
  background: #25d366;
  opacity: .30;
  top: -150px;
  right: -110px;
}

.wa-glow-2 {
  background: #128c7e;
  opacity: .22;
  bottom: -170px;
  left: -130px;
}

.whatsapp-section .section-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: center;
}

.whatsapp-section .section-tag {
  background: rgba(37, 211, 102, .12);
  color: #1fa855;
}

body.light .whatsapp-section .section-tag {
  color: #0f8a45;
}

.wa-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  max-width: 420px;
}

.wa-points div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--cardborder);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.wa-points .tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(37, 211, 102, .15);
  color: #1fa855;
  font-size: 11px;
}

/* chat mockup */
.wa-right {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

.chat-window {
  position: relative;
  width: 300px;
  height: 606px;
  display: flex;
  flex-direction: column;
  border: 9px solid #0c0c0c;
  border-radius: 40px;
  background: #0b141a;
  overflow: hidden;
  box-shadow: 0 40px 80px -18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .05) inset;
  transform: rotate(-5deg);
  transition: transform .4s ease;
}

.whatsapp-section:hover .chat-window {
  transform: rotate(-2deg);
}

.chat-window::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 20px;
  background: #0c0c0c;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.status-bar {
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #202c33;
}

.status-icons {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 10px;
  filter: grayscale(1) brightness(2);
}

.chat-header {
  flex: 0 0 58px;
  background: #202c33;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.chat-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.chat-header span {
  font-size: 11px;
  color: #8696a0;
}

.chat-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  padding: 16px 14px;
  overflow: hidden;
  background: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 16px 16px;
}

.today {
  width: max-content;
  margin: 0 auto 16px;
  padding: 4px 12px;
  border-radius: 8px;
  background: #182229;
  color: #8696a0;
  font-size: 10.5px;
  letter-spacing: .5px;
  text-align: center;
}

.message.incoming {
  position: relative;
  max-width: 85%;
  width: fit-content;
  margin-right: auto;
  padding: 10px 12px 8px;
  background: #202c33;
  color: #e9edef;
  border-radius: 1px 14px 14px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  transition: opacity .35s ease, transform .35s ease;
}

.message.incoming strong {
  display: block;
  color: #25d366;
  font-size: 12.5px;
  margin-bottom: 4px;
  text-align: left;
}

.message.incoming .time {
  display: block;
  text-align: left;
  font-size: 10px;
  color: #8696a0;
  margin-top: 6px;
}

.typing {
  display: none;
  align-items: center;
  gap: 4px;
  width: max-content;
  margin-right: auto;
  padding: 10px 14px;
  background: #202c33;
  border-radius: 1px 14px 14px 14px;
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696a0;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: .15s;
}

.typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typingBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .5;
  }

  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-input {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  background: #1f2c34;
}

.chat-input .field {
  flex: 1;
  height: 32px;
  border-radius: 20px;
  background: #2a3942;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 11.5px;
  color: #8696a0;
}

.chat-input .send {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

@media(prefers-reduced-motion:reduce) {
  .typing span {
    animation: none;
  }

  .message.incoming {
    transition: none;
  }

  .chat-window {
    transition: none;
  }
}

@media(max-width:900px) {
  .whatsapp-section {
    padding: 70px 20px 64px;
  }

  .whatsapp-section .section-content {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .wa-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .wa-left .section-description {
    margin: 0 auto;
  }

  .wa-points {
    margin-left: auto;
    margin-right: auto;
  }

  .wa-right {
    padding: 6px 0 20px;
  }

  .chat-window {
    width: min(58vw, 240px);
    height: calc(min(58vw, 240px) * 2.05);
    border-width: 7px;
    border-radius: 32px;
    transform: rotate(-6deg) scale(.98);
  }

  .whatsapp-section:hover .chat-window {
    transform: rotate(-6deg) scale(.98);
  }

  .chat-window::before {
    width: 82px;
    height: 16px;
  }

  .status-bar {
    font-size: 9.5px;
    padding: 5px 14px 0;
  }

  .chat-header {
    flex-basis: 50px;
    gap: 8px;
    padding: 0 10px;
  }

  .avatar {
    width: 29px;
    height: 29px;
    font-size: 14px;
  }

  .chat-header h3 {
    font-size: 11.5px;
  }

  .chat-header span {
    font-size: 9.5px;
  }

  .chat-body {
    padding: 10px 9px;
  }

  .today {
    font-size: 9px;
    padding: 3px 9px;
    margin-bottom: 10px;
  }

  .message.incoming {
    font-size: 10px;
    padding: 8px 9px 6px;
  }

  .message.incoming strong {
    font-size: 10px;
  }

  .message.incoming .time {
    font-size: 8.5px;
  }

  .chat-input {
    flex-basis: 40px;
    padding: 0 8px;
    gap: 6px;
  }

  .chat-input .field {
    height: 25px;
    font-size: 9.5px;
    padding: 0 10px;
  }

  .chat-input .send {
    width: 23px;
    height: 23px;
    font-size: 9.5px;
  }
}

@media(max-width:420px) {
  .chat-window {
    width: 56vw;
    height: 114.8vw;
    max-height: 400px;
  }
}

/* ============================================================
           FOOTER
           ============================================================ */
footer {
  padding: 15px 0 30px;
  text-align: center;
}

footer h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

footer p,
footer small {
  color: var(--muted);
}

footer p {
  margin-bottom: 18px;
  line-height: 1.7;
}

footer small {
  font-size: 12px;
}

/* ============================================================
           SCROLL REVEAL
           ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* ============================================================
           RESPONSIVE — section padding
           ============================================================ */
@media (max-width: 700px) {
  .section {
    padding: 60px 20px;
    border-radius: 32px 32px 0 0;
    margin-top: -8px;
  }

  .plans {
    padding: 50px 20px 60px;
    border-radius: 32px 32px 0 0;
  }

  .features-section {
    gap: 18px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .app {
    padding: 20px 16px 80px;
  }

  .section {
    padding: 50px 16px;
    margin: 0 calc(-16px);
    border-radius: 28px 28px 0 0;
    margin-top: -6px;
  }

  .plans {
    margin: 0 calc(-16px);
    padding: 40px 16px 50px;
    border-radius: 28px 28px 0 0;
  }

  .section::before {
    width: 90%;
    height: 60px;
    top: -30px;
  }
}