/* ==========================================================================
   Statuswalla — Landing site styles
   Operated by StudX Management Private Limited
   ========================================================================== */

/* ----------------------------- Design tokens ---------------------------- */
:root {
  /* Brand — Indigo (primary) */
  --indigo-50:  #eff0fb;
  --indigo-100: #ccd1f3;
  --indigo-200: #b4bee8;
  --indigo-300: #919de6;
  --indigo-400: #7c89e1;
  --indigo-500: #5b6cd9;
  --indigo-600: #5362c5;
  --indigo-700: #414d9a;
  --indigo-800: #323b77;
  --indigo-900: #262d5b;

  /* Brand — Violet (gradient partner) */
  --violet-400: #8f6ef0;
  --violet-500: #7b5fe0;
  --violet-600: #6a4fce;

  /* Brand — Orange (accent) */
  --orange-300: #fa9274;
  --orange-400: #f97d59;
  --orange-500: #f75c2f;
  --orange-600: #e1542b;

  /* Brand — Yellow (accent) */
  --yellow-200: #fdf4ca;
  --yellow-300: #fceeb2;
  --yellow-400: #fbeba3;
  --yellow-500: #fae68c;

  /* Neutrals */
  --white: #ffffff;
  --ink-900: #15183a;
  --ink-700: #353a63;
  --ink-500: #5f648c;
  --ink-400: #878cb0;
  --line: #e7e8f5;
  --bg-soft: #f6f7fe;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #6a78e0 0%, #7b5fe0 48%, #414d9a 100%);
  --grad-primary-soft: linear-gradient(135deg, #5b6cd9, #414d9a);
  --grad-warm: linear-gradient(135deg, #f97d59 0%, #fbbf57 100%);
  --grad-sunrise: linear-gradient(160deg, #fbbf57 0%, #f97d59 60%, #f75c2f 100%);
  --grad-hero-bg: radial-gradient(1200px 600px at 80% -10%, #6f7ee6 0%, transparent 55%),
                  radial-gradient(900px 500px at 0% 10%, #7b5fe0 0%, transparent 50%),
                  linear-gradient(160deg, #414d9a 0%, #2c356e 100%);

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(38, 45, 91, .06);
  --shadow-md: 0 12px 28px rgba(38, 45, 91, .10);
  --shadow-lg: 0 28px 60px rgba(38, 45, 91, .16);
  --shadow-brand: 0 18px 40px rgba(91, 108, 217, .35);
  --shadow-warm: 0 16px 34px rgba(247, 92, 47, .32);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  --container: 1160px;
  --header-h: 76px;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink-900); line-height: 1.15; font-weight: 700; }
:focus-visible { outline: 3px solid var(--violet-400); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------- Utilities ------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  padding: 7px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--indigo-100);
}
.eyebrow--light { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 18px 0 14px; letter-spacing: -.02em; }
.section-head p { font-size: 1.08rem; color: var(--ink-500); }
.gradient-text {
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gradient-text--warm { background: var(--grad-sunrise); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(91,108,217,.45); }
.btn-warm { background: var(--grad-sunrise); color: #fff; box-shadow: var(--shadow-warm); }
.btn-warm:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(247,92,47,.42); }
.btn-ghost { background: var(--white); color: var(--indigo-700); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--indigo-300); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--indigo-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(0,0,0,.18); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }

/* Store-style download button */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #15183a; color: #fff; padding: 11px 22px; border-radius: 16px;
  box-shadow: var(--shadow-md); transition: transform .18s ease, box-shadow .18s ease;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .bs-top { display: block; font-size: .68rem; letter-spacing: .04em; opacity: .8; }
.btn-store .bs-main { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.1; }

/* Official Google Play badge */
.gp-badge { display: inline-flex; align-items: center; transition: transform .18s ease, opacity .2s ease; }
.gp-badge:hover { transform: translateY(-2px); opacity: .92; }
.gp-badge img { display: block; height: 54px; width: auto; }
.gp-badge--sm img { height: 44px; }

/* Download source toggle — driven by static/js/config.js (DOWNLOAD_MODE).
   !important keeps the active variant authoritative over component display
   rules (e.g. .mobile-panel a { display:block }). */
.dl-cta--apk { display: none !important; }        /* default / no-JS: show Play, hide APK */
html.dl-apk .dl-cta--play { display: none !important; }
html.dl-apk .dl-cta--apk { display: inline-flex !important; }

/* ------------------------------- Header -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(38,45,91,.07); }
.nav { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: var(--ink-900); }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand span b { color: var(--indigo-600); }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { font-family: var(--font-display); font-weight: 500; font-size: .98rem; color: var(--ink-700); padding: 9px 14px; border-radius: 10px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--indigo-600); background: var(--indigo-50); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink-900); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ------------------------------- Hero ---------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero-bg);
  color: #fff;
  padding: 72px 0 96px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 38%, 0 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); color: #fff; letter-spacing: -.025em; margin: 20px 0 18px; }
.hero-copy h1 .hl { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead { font-size: 1.16rem; color: rgba(255,255,255,.86); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: .92rem; color: rgba(255,255,255,.78); }
.hero-note svg { width: 18px; height: 18px; color: #8affc1; flex: none; }

.hero-stats { display: flex; gap: 30px; margin-top: 38px; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.hero-stats .stat span { font-size: .86rem; color: rgba(255,255,255,.72); }
.hero-stats .divider { width: 1px; background: rgba(255,255,255,.2); }

/* floating decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 1; pointer-events: none; }
.blob-1 { width: 120px; height: 120px; background: var(--orange-400); top: 14%; right: 44%; animation: float 7s ease-in-out infinite; }
.blob-2 { width: 70px; height: 70px; background: var(--yellow-500); bottom: 22%; left: 6%; animation: float 5.5s ease-in-out infinite reverse; }

/* ------------------------- Phone mockup -------------------------------- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.phone {
  position: relative; z-index: 3;
  width: 290px; height: 590px;
  background: #11142e; border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 80px rgba(15,18,46,.5), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotate(-4deg);
  animation: phoneIn 1s cubic-bezier(.2,.9,.3,1) both;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px; background: #11142e; border-radius: 0 0 16px 16px; z-index: 4;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative;
  background: linear-gradient(165deg, #5b6cd9, #414d9a);
  display: flex; flex-direction: column;
}
.ps-top { padding: 30px 18px 12px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.ps-top .ps-hi { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.ps-top .ps-hi small { display: block; font-weight: 400; font-size: .72rem; opacity: .8; }
.ps-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad-warm); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: .95rem; }
.ps-feed { flex: 1; background: #f3f4fc; border-radius: 26px 26px 0 0; margin-top: 8px; padding: 16px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.status-card { border-radius: 18px; padding: 18px 16px; color: #fff; box-shadow: 0 10px 22px rgba(38,45,91,.18); position: relative; overflow: hidden; }
.status-card h4 { color: #fff; font-size: 1.18rem; margin-bottom: 4px; }
.status-card p { font-size: .82rem; opacity: .92; line-height: 1.4; }
.status-card .sc-foot { display: flex; gap: 8px; margin-top: 12px; }
.status-card .sc-foot span { font-size: .68rem; background: rgba(255,255,255,.22); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.sc-morning { background: var(--grad-sunrise); }
.sc-motivate { background: linear-gradient(135deg, #5b6cd9, #7b5fe0); }
.sc-festival { background: linear-gradient(135deg, #16a34a, #0e7c52); }

/* mini cards behind/around the phone */
.float-card {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: .82rem;
}
.float-card .fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card b { font-family: var(--font-display); color: var(--ink-900); display: block; font-size: .88rem; }
.float-card span { color: var(--ink-500); font-size: .74rem; }
.fc-1 { top: 60px; right: -6px; animation: float 6s ease-in-out infinite; }
.fc-1 .fc-icon { background: var(--grad-sunrise); }
.fc-2 { bottom: 78px; left: -18px; animation: float 5s ease-in-out infinite reverse; }
.fc-2 .fc-icon { background: linear-gradient(135deg,#16a34a,#0e7c52); }

/* ------------------------- Logos / trust strip ------------------------- */
.trust { padding: 30px 0 8px; }
.trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--ink-500); font-weight: 500; font-size: .98rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--indigo-500); flex: none; }
.trust-item .stars { color: #f5a623; letter-spacing: 2px; }

/* ------------------------------ Features ------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.24rem; margin-bottom: 9px; }
.feature-card p { color: var(--ink-500); font-size: .98rem; }
.fi-indigo { background: var(--grad-primary); }
.fi-warm { background: var(--grad-sunrise); }
.fi-green { background: linear-gradient(135deg,#16a34a,#0e7c52); }
.fi-violet { background: linear-gradient(135deg,#8f6ef0,#6a4fce); }
.fi-pink { background: linear-gradient(135deg,#f56a9e,#e0457f); }
.fi-blue { background: linear-gradient(135deg,#36b6f0,#2b7fd0); }

/* --------------------------- Categories chips -------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
  position: relative; border-radius: var(--radius); padding: 26px 20px; color: #fff; overflow: hidden;
  min-height: 130px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-lg); }
.cat-card .cat-emoji { font-size: 1.7rem; position: absolute; top: 16px; left: 18px; }
.cat-card h4 { color: #fff; font-size: 1.12rem; }
.cat-card p { font-size: .82rem; opacity: .9; }

/* ----------------------------- How it works ---------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { text-align: center; position: relative; }
.step-num {
  width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 22px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  color: #fff; background: var(--grad-primary); box-shadow: var(--shadow-brand); position: relative; z-index: 2;
}
.step:nth-child(2) .step-num { background: var(--grad-sunrise); box-shadow: var(--shadow-warm); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg,#16a34a,#0e7c52); box-shadow: 0 18px 40px rgba(22,163,74,.32); }
.step h3 { font-size: 1.22rem; margin-bottom: 8px; }
.step p { color: var(--ink-500); font-size: .98rem; max-width: 300px; margin-inline: auto; }
.steps .step-line { display: none; }

/* ------------------------------ Showcase ------------------------------- */
.showcase { background: var(--grad-hero-bg); color: #fff; border-radius: var(--radius-xl); padding: 60px 50px; overflow: hidden; position: relative; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.showcase h2 { color: #fff; font-size: clamp(1.8rem,3.2vw,2.5rem); margin: 16px 0 14px; }
.showcase p { color: rgba(255,255,255,.85); font-size: 1.06rem; margin-bottom: 26px; }
.showcase-list { display: grid; gap: 14px; }
.showcase-list li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.92); }
.showcase-list svg { width: 24px; height: 24px; flex: none; color: #8affc1; margin-top: 1px; }
.showcase-visual { display: flex; justify-content: center; gap: 16px; }

/* ------------------------------ Pricing -------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; max-width: 820px; margin-inline: auto; }
.price-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: transparent; background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-brand); }
.price-card.featured h3, .price-card.featured .price b { color: #fff; }
.price-badge { position: absolute; top: 18px; right: 18px; background: var(--grad-sunrise); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .72rem; padding: 5px 13px; border-radius: 999px; letter-spacing: .03em; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .plan-sub { font-size: .92rem; color: var(--ink-500); margin-bottom: 18px; }
.price-card.featured .plan-sub { color: rgba(255,255,255,.8); }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price b { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--ink-900); line-height: 1; }
.price .per { font-size: .98rem; color: var(--ink-500); }
.price-card.featured .price .per { color: rgba(255,255,255,.8); }
.price-list { display: grid; gap: 12px; margin-bottom: 28px; }
.price-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .96rem; }
.price-list svg { width: 20px; height: 20px; flex: none; color: var(--indigo-500); margin-top: 2px; }
.price-card.featured .price-list svg { color: var(--yellow-500); }
.price-fine { text-align: center; color: var(--ink-400); font-size: .86rem; margin-top: 22px; max-width: 680px; margin-inline: auto; }
.price-fine a { color: var(--indigo-600); font-weight: 600; }

/* ----------------------------- Testimonials ---------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.testi-stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.testi-card p { color: var(--ink-700); font-size: .98rem; margin-bottom: 18px; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; }
.testi-user b { font-family: var(--font-display); color: var(--ink-900); display: block; font-size: .98rem; }
.testi-user span { font-size: .84rem; color: var(--ink-400); }

/* -------------------------------- FAQ ---------------------------------- */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--indigo-200); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink-900); }
.faq-q .faq-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--indigo-50); color: var(--indigo-600); display: grid; place-items: center; flex: none; transition: transform .25s ease, background .2s; }
.faq-q .faq-icon svg { width: 18px; height: 18px; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--grad-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-500); font-size: .98rem; }

/* ------------------------------ Final CTA ------------------------------ */
.cta-band { position: relative; overflow: hidden; background: var(--grad-primary); border-radius: var(--radius-xl); padding: 64px 50px; text-align: center; color: #fff; box-shadow: var(--shadow-brand); }
.cta-band::before { content:""; position:absolute; width:340px; height:340px; background: var(--orange-400); opacity:.25; border-radius:50%; top:-120px; right:-80px; filter: blur(10px); }
.cta-band::after { content:""; position:absolute; width:260px; height:260px; background: var(--violet-400); opacity:.3; border-radius:50%; bottom:-120px; left:-60px; filter: blur(10px); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem,3.6vw,2.8rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ------------------------------- Footer -------------------------------- */
.site-footer { background: #1a1e42; color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: .94rem; max-width: 320px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--indigo-500); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: .94rem; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-legal { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
.footer-legal p { font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-company { margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-company b { color: rgba(255,255,255,.72); font-weight: 600; }

/* ----------------------------- Legal pages ----------------------------- */
.page-hero { background: var(--grad-hero-bg); color: #fff; padding: 64px 0 56px; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem,4vw,3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.8); }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: .88rem; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.legal { max-width: 860px; margin-inline: auto; padding: 70px 22px 90px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 14px; color: var(--ink-900); }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.18rem; margin: 26px 0 10px; color: var(--indigo-700); }
.legal p { margin-bottom: 16px; color: var(--ink-600, #4a4f78); }
.legal ul.bullets { display: grid; gap: 10px; margin: 0 0 18px; padding-left: 0; }
.legal ul.bullets li { position: relative; padding-left: 30px; color: var(--ink-700); }
.legal ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--grad-primary); }
.legal ol { padding-left: 22px; display: grid; gap: 10px; margin-bottom: 18px; }
.legal a { color: var(--indigo-600); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal .callout { background: var(--indigo-50); border: 1px solid var(--indigo-100); border-left: 4px solid var(--indigo-500); border-radius: var(--radius-sm); padding: 18px 22px; margin: 20px 0; }
.legal .callout.warn { background: #fff7ed; border-color: #fed7aa; border-left-color: var(--orange-500); }
.legal .callout p:last-child { margin-bottom: 0; }
.legal .updated { display: inline-block; background: var(--bg-soft); color: var(--ink-500); font-size: .88rem; padding: 7px 16px; border-radius: 999px; margin-bottom: 8px; }

/* info / detail table */
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: .96rem; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { background: var(--indigo-50); color: var(--indigo-800); font-family: var(--font-display); width: 38%; font-weight: 600; }
.info-table tr:last-child td, .info-table tr:last-child th { border-bottom: none; }

/* pricing table in legal */
.plan-table { width: 100%; border-collapse: collapse; margin: 16px 0 22px; font-size: .95rem; box-shadow: var(--shadow-sm); border-radius: var(--radius-sm); overflow: hidden; }
.plan-table th, .plan-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.plan-table th { background: var(--grad-primary); color: #fff; font-family: var(--font-display); font-weight: 600; }
.plan-table td:first-child { font-weight: 600; color: var(--ink-900); }

/* contact cards on about page */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 8px 0 10px; }
.contact-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align:center; box-shadow: var(--shadow-sm); }
.contact-card .ci { width: 52px; height:52px; border-radius:15px; background: var(--grad-primary); color:#fff; display:grid; place-items:center; margin:0 auto 14px; }
.contact-card .ci svg { width:26px; height:26px; }
.contact-card h4 { margin-bottom:6px; font-size:1.05rem; }
.contact-card a, .contact-card p { color: var(--ink-500); font-size:.94rem; word-break: break-word; }
.contact-card a:hover { color: var(--indigo-600); }

/* ---------------------------- Reveal anim ------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ----------------------------- Keyframes ------------------------------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes phoneIn { from { opacity: 0; transform: rotate(-4deg) translateY(40px); } to { opacity: 1; transform: rotate(-4deg) translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------- Mobile nav panel -------------------------- */
.mobile-panel { display: none; }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-note { justify-content: center; }
  .hero-visual { margin-top: 30px; min-height: 520px; }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-visual { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .site-header .nav-cta .dl-cta, .nav-cta .btn-ghost { display: none !important; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: inline-flex; }
  .section { padding: 70px 0; }
  .feature-grid, .testi-grid, .price-grid { grid-template-columns: 1fr; }
  .showcase { padding: 40px 26px; }
  .cta-band { padding: 48px 26px; }
  body { font-size: 16px; }

  /* mobile slide-down nav */
  .mobile-panel {
    display: block; position: fixed; inset: var(--header-h) 0 auto 0; z-index: 55;
    background: #fff; box-shadow: var(--shadow-lg); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease; padding: 14px 22px 24px;
  }
  .mobile-panel.open { transform: translateY(0); }
  .mobile-panel a { display: block; padding: 14px 8px; font-family: var(--font-display); font-weight: 500; color: var(--ink-800,#2a2f57); border-bottom: 1px solid var(--line); }
  .mobile-panel a:last-of-type { border-bottom: none; }
  .mobile-panel .btn { width: 100%; margin-top: 14px; }
}
@media (max-width: 460px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .phone { width: 260px; height: 540px; }
  .float-card { display: none; }
}
