/* ===== Kovaa Landing Page ===== */

:root {
  --bg: #F2ECE3;
  --bg-alt: #EBE3D6;
  --accent: #AB2400;
  --accent-dark: #8A1D00;
  --accent-light: #F3D9CE;
  --accent-lighter: #F8E8E0;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #6B6560;
  --border: rgba(26, 26, 26, 0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -18px rgba(26, 26, 26, 0.18);
  --shadow-card: 0 12px 30px -14px rgba(26, 26, 26, 0.14);
  --container: 1180px;
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.08;
}

p { margin: 0; }

section { position: relative; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(171, 36, 0, 0.55);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-dark {
  background: var(--text);
  color: var(--white);
}
.btn-dark:hover { background: #000; }

.btn-outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { box-shadow: var(--shadow-card); }

.btn-store {
  background: var(--text);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.82rem;
  gap: 10px;
}
.btn-store.btn-store-accent { background: var(--accent); }
.btn-store.btn-store-accent:hover { background: var(--accent-dark); }
.btn-store svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-store .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-store .store-text small { font-size: 0.6rem; opacity: 0.75; font-weight: 400; }
.btn-store .store-text span { font-size: 0.82rem; font-weight: 600; }

.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Badges / pills ===== */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

/* ===== Decorative dots / waves ===== */
.dot-grid {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--text) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  opacity: 0.12;
  pointer-events: none;
}

.wave-deco {
  position: absolute;
  opacity: 0.35;
  pointer-events: none;
}

/* ===== Nav ===== */
.sticky-top-stack {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  background: rgba(242, 236, 227, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand img.brand-icon { height: 30px; width: auto; }
.nav-brand img.brand-text { height: 16px; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}
.nav-links a { opacity: 0.75; transition: opacity 0.2s ease; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn-primary { display: none; }
.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (min-width: 620px) {
  .nav-actions .btn-primary { display: inline-flex; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ===== Announcement bar ===== */
.announce-bar {
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.announce-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  animation: announce-scroll 28s linear infinite;
}

.announce-bar:hover .announce-track {
  animation-play-state: paused;
}

.announce-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 40px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.announce-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.announce-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.announce-close:hover { opacity: 1; }

@keyframes announce-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track {
    animation: none;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .announce-item {
    padding: 10px 24px;
    font-size: 0.8rem;
  }
}

/* ===== Hero ===== */
.hero {
  padding: 64px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  margin: 0 auto 24px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  max-width: 820px;
  margin: 0 auto 22px;
}
.hero h1 .accent-word { color: var(--accent); }

.hero-subtitle {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---- Floating phone ---- */
.hero-visual {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  perspective: 1200px;
}

.phone-glow {
  position: absolute;
  top: 40px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(171, 36, 0, 0.16) 0%, rgba(171, 36, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.phone-shadow {
  position: absolute;
  bottom: 18px;
  width: 260px;
  height: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(26,26,26,0.30) 0%, rgba(26,26,26,0) 72%);
  border-radius: 50%;
  animation: shadow-breathe 5s ease-in-out infinite;
  filter: blur(2px);
}

.phone-mockup-wrap {
  position: relative;
  z-index: 2;
  animation: float 5s ease-in-out infinite;
  will-change: transform;
}

.phone-mockup {
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(26, 26, 26, 0.22));
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-4deg); }
  50% { transform: translateY(-16px) rotate(-4deg); }
}

@keyframes shadow-breathe {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.35; transform: translateX(-50%) scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-mockup-wrap, .phone-shadow { animation: none; }
}

.hero-chip {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 3;
}
.hero-chip .chip-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.hero-chip small { display: block; font-weight: 500; color: var(--text-secondary); font-size: 0.7rem; }
.chip-left { top: 60px; left: calc(50% - 300px); display: none; }
.chip-right { top: 220px; right: calc(50% - 320px); display: none; }

@media (min-width: 860px) {
  .chip-left, .chip-right { display: flex; }
}

/* ===== Stats bar ===== */
.stats {
  padding: 0 0 80px;
}
.stats-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px;
}
@media (min-width: 720px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
}
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.i1 { background: var(--accent-light); }
.stat-icon.i2 { background: #E7EFD8; }
.stat-icon.i3 { background: var(--accent-lighter); }
.stat-value { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; }
.stat-label { color: var(--text-secondary); font-size: 0.88rem; }

/* ===== Section heading ===== */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}
.section-head p {
  color: var(--text-secondary);
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ===== How it works ===== */
.how-it-works { padding: 40px 0 100px; }

.how-it-works .section-head {
  max-width: none;
  margin: 0 0 52px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 860px) {
  .how-it-works-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 32px; }
}

.how-it-works-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  min-height: 280px;
  overflow: hidden;
}
@media (min-width: 860px) {
  .how-it-works-visual { aspect-ratio: 1 / 1; }
}
.how-it-works-visual img { width: 100%; height: 100%; object-fit: cover; }
.how-it-works-visual.placeholder {
  border: 2px dashed rgba(107, 101, 96, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  color: var(--text-secondary);
  padding: 32px;
}
.how-it-works-visual.placeholder .placeholder-icon { font-size: 2.4rem; opacity: 0.6; }
.how-it-works-visual.placeholder p { font-size: 0.9rem; max-width: 260px; line-height: 1.5; }

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.step-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
  display: block;
}
.step-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--accent-lighter);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.step-card p { color: var(--text-secondary); font-size: 0.94rem; line-height: 1.6; }

/* ===== Pro / Client sections ===== */
.feature-section { padding: 60px 0 100px; }
.feature-section.alt { background: var(--bg-alt); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .features-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  background: var(--accent-light);
}
.feature-card:nth-child(2n) .feature-icon { background: var(--accent-lighter); }
.feature-card:nth-child(3n) .feature-icon { background: #E7EFD8; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

.cols-5 .feature-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cols-5 .feature-top .feature-icon { margin-bottom: 0; flex-shrink: 0; }
.cols-5 .feature-top h3 { margin-bottom: 0; }

.section-cta { text-align: center; margin-top: 44px; }

/* ---- Pro section: main grid (title + baseline | 2x2 feature grid) ---- */
.pro-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 56px;
}
@media (min-width: 900px) {
  .pro-main-grid { grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
}
.pro-main-left .section-label { justify-content: flex-start; }
.pro-main-left h2 { text-align: left; font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.pro-baseline {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--text-secondary);
  margin-top: 20px;
  line-height: 1.35;
}

.pro-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 560px) {
  .pro-features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Pro section: problem / solution comparison ---- */
.pro-compare { display: flex; flex-direction: column; gap: 40px; margin-bottom: 48px; }

.compare-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.compare-title { order: -1; }
.compare-title h3 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  line-height: 1.2;
}
.compare-cards { display: flex; flex-direction: column; gap: 18px; }

@media (min-width: 860px) {
  .compare-block { grid-template-columns: 1fr 1.2fr; align-items: center; gap: 48px; }
  .compare-problem .compare-title { order: 0; }
  .compare-problem .compare-cards { order: 1; }
  .compare-solution { grid-template-columns: 1.2fr 1fr; }
  .compare-solution .compare-cards { order: 0; }
  .compare-solution .compare-title { order: 1; }
}

.compare-card {
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}
.compare-card .compare-icon { display: inline-flex; font-size: 1.3rem; margin-bottom: 10px; }
.compare-card h4 { font-size: 1rem; margin-bottom: 8px; }
.compare-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

.problem-card { background: #F7E4DB; }
.problem-card p { color: #7A4230; }
.problem-card h4 { color: var(--accent-dark); }

.solution-card { background: #E7EFD8; }
.solution-card p { color: #43593F; }
.solution-card h4 { color: #3C6B40; }

/* ===== KrenoPay section ===== */
.krenopay-section {
  padding: 30px 0 100px;
}
.krenopay-panel {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.krenopay-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1.4px, transparent 1.4px);
  background-size: 18px 18px;
  opacity: 0.5;
  pointer-events: none;
}
.krenopay-head { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto 48px; }
.krenopay-head .section-label { color: var(--accent-lighter); justify-content: center; }
.krenopay-head h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.krenopay-head p { color: rgba(255,255,255,0.85); margin-top: 12px; margin-bottom: 26px; }

.btn-krenopay-cta {
  background: var(--white);
  color: var(--accent);
}
.btn-krenopay-cta:hover { background: var(--accent-lighter); }

.krenopay-columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 900px) {
  .krenopay-columns { grid-template-columns: 1fr 0.85fr 1fr; align-items: center; gap: 24px; }
}

.kp-col { display: flex; flex-direction: column; gap: 26px; order: 0; }
.kp-col-center { order: -1; }
.kp-col-right { order: 1; }
@media (min-width: 900px) {
  .kp-col-left { order: 0; text-align: right; }
  .kp-col-center { order: 1; }
  .kp-col-right { order: 2; text-align: left; }
}

.kp-mini-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.kp-mini-icon { display: inline-flex; font-size: 1.5rem; margin-bottom: 0; }
.kp-mini h4 { color: var(--white); font-size: 1rem; margin-bottom: 0; }
.kp-mini p { color: rgba(255,255,255,0.82); font-size: 0.88rem; line-height: 1.6; margin: 0; }

@media (min-width: 900px) {
  .kp-col-left .kp-mini-head { justify-content: flex-end; }
}

.wallet-card-wrap { display: flex; justify-content: center; position: relative; }
.wallet-glow {
  position: absolute;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.wallet-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  background: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.wallet-card.floaty-card { animation: floatSmall 6s ease-in-out infinite; }
@keyframes floatSmall {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .wallet-card.floaty-card { animation: none; }
}
.wallet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.wallet-top span { font-weight: 700; letter-spacing: 0.04em; font-size: 0.8rem; opacity: 0.8; }
.wallet-chip { width: 34px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, var(--accent-light), var(--accent)); }
.wallet-balance { font-size: 2.1rem; font-weight: 800; margin-bottom: 4px; }
.wallet-sub { font-size: 0.85rem; opacity: 0.7; margin-bottom: 22px; }
.wallet-foot { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; opacity: 0.75; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 16px; }

/* ===== Referral section ===== */
.referral-section { padding: 20px 0 100px; }
.referral-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 780px) {
  .referral-grid { grid-template-columns: repeat(3, 1fr); }
}
.referral-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}
.referral-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.referral-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.referral-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* ===== Footer ===== */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 28px;
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img.brand-icon { height: 28px; width: auto; }
.footer-brand img.brand-text { height: 15px; width: auto; }
.footer-tagline { font-size: 0.92rem; max-width: 260px; line-height: 1.6; margin-bottom: 20px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }

/* ===== Mobile nav drawer ===== */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 24px; font-size: 1.3rem; font-weight: 700; margin-bottom: 40px; }
.mobile-drawer .close-btn { background: none; border: none; cursor: pointer; }
.mobile-drawer .close-btn svg { width: 26px; height: 26px; }

/* ===== Fonctionnalités & Tarifs page ===== */
.fx-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .fx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .fx-grid { grid-template-columns: repeat(3, 1fr); } }

.fx-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.fx-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-lighter) 100%);
}
.fx-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.fx-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; flex: 1; }

/* ---- Pricing ---- */
.pricing-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}

.pricing-subhead {
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}
.pricing-group + .pricing-group { margin-top: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 620px) {
  .pricing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
}
@media (min-width: 900px) {
  .pricing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.pricing-price { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.pricing-price span { font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); }
.pricing-tagline { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 20px; }
.pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-features li::before {
  content: "✔";
  color: var(--accent);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.pricing-features li.included-all { color: var(--text-secondary); font-style: italic; }
.pricing-features li.included-all::before { content: "＋"; }

.pricing-ultimate {
  margin: 32px auto 0;
  background: var(--accent-lighter);
  border: 2px dashed var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 640px;
  text-align: center;
}
.pricing-ultimate .pricing-tagline { margin-bottom: 24px; }
.pricing-variants { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.pricing-variant {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: left;
  font-size: 0.9rem;
}
.pricing-variant strong { color: var(--accent); white-space: nowrap; }

.pricing-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 40px auto 0;
  max-width: 700px;
  line-height: 1.6;
}

/* ---- Launch section ---- */
.launch-section { background: var(--bg-alt); }
.launch-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.6;
}
.launch-flags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin: 28px auto 40px;
  max-width: 720px;
}
.launch-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 14px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
}
.launch-highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-soft);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
}
.launch-rules {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  max-width: 780px;
  margin: 0 auto;
}
.launch-rules h3 { font-size: 1rem; margin-bottom: 16px; }
.launch-rules ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.launch-rules li {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.launch-rules li::before { content: "•"; color: var(--accent); flex-shrink: 0; }
.launch-cta { text-align: center; margin-top: 40px; }
.launch-counter { margin-top: 14px; color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; }

/* ===== Reveal on scroll ===== */
/* Content is visible by default; only animated once JS confirms IntersectionObserver support (see script.js). This keeps the page fully usable with JS disabled/blocked. */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.has-io .reveal { opacity: 0; transform: translateY(24px); }
.has-io .reveal.in-view { opacity: 1; transform: translateY(0); }
