/* ==========================================================
   Fono Agency India - fonoofficial.in
   style.css - shared design system for every page
   Plain CSS3, no frameworks. Mobile-first.
   ========================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg: #0b0820;
  --bg-2: #110c2c;
  --bg-3: #181139;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(196, 181, 253, 0.35);

  --text: #ece9ff;
  --muted: #b9b2d9;
  --heading: #ffffff;

  --blue: #3b82f6;
  --violet: #8b5cf6;
  --purple: #7c3aed;
  --magenta: #db2777;
  --pink: #ec4899;
  --lavender: #c4b5fd;
  --gold: #fcd34d;
  --success: #34d399;
  --danger: #f87171;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4b;

  --grad: linear-gradient(135deg, #3b82f6 0%, #7c3aed 48%, #db2777 100%);
  --grad-soft: linear-gradient(145deg, rgba(124, 58, 237, 0.18), rgba(219, 39, 119, 0.08));
  --grad-text: linear-gradient(90deg, #93c5fd 0%, #c4b5fd 45%, #f9a8d4 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px rgba(5, 2, 20, 0.45);
  --shadow-glow: 0 10px 30px rgba(124, 58, 237, 0.35);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --header-h: 70px;
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(900px 600px at 0% -10%, rgba(124, 58, 237, 0.20), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(219, 39, 119, 0.12), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--lavender); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }
ul, ol { padding-left: 1.2rem; }
button, input { font: inherit; color: inherit; }
strong { color: #fff; font-weight: 650; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.4vw, 1.3rem); font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }
p { color: var(--muted); }
p, li, td, dd { overflow-wrap: break-word; }
.url { word-break: break-all; }
p + p { margin-top: .9rem; }

:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: #fff; color: #1e1050; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #1e1050; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-align: center;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 36px rgba(219, 39, 119, 0.4); }
.btn-outline { border-color: var(--border-strong); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-outline:hover { color: #fff; border-color: var(--lavender); background: rgba(196, 181, 253, 0.1); }
.btn-wa { background: var(--whatsapp); color: #062b15; }
.btn-wa:hover { color: #062b15; background: #3be27a; box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element so the fixed mobile menu is not trapped by it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 8, 32, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .65rem; color: #fff; font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand-text span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); }
.brand:hover { color: #fff; }

.nav-toggle {
  display: inline-flex; margin-left: auto; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  background: #0e0a26;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border);
  padding: 1rem 16px 1.5rem;
  display: none;
}
.site-nav.open { display: block; animation: navIn .25s var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-nav ul { list-style: none; padding: 0; }
.site-nav li a {
  display: block; padding: .85rem .6rem; color: var(--text); font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: #fff; }
.site-nav li a[aria-current="page"] { color: var(--lavender); }

/* Without JavaScript the menu stays reachable */
html:not(.js) .site-nav { position: static; display: block; }
html:not(.js) .site-header { height: auto; position: relative; }
html:not(.js) .header-inner { flex-wrap: wrap; padding: .8rem 16px; }
html:not(.js) .nav-toggle { display: none; }

/* Tablets: three-line menu opens as a dropdown panel */
@media (min-width: 640px) and (max-width: 959.98px) {
  .site-nav {
    left: auto; width: 320px;
    right: max(16px, calc((100vw - var(--container)) / 2 + 24px));
    top: calc(var(--header-h) + 6px);
    max-height: calc(100vh - var(--header-h) - 24px);
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    padding: .8rem 1rem 1.2rem;
  }
  .site-nav li a { border-radius: 10px; }
  .site-nav li a:hover { background: var(--surface-2); }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* ---------- 5. Sections & layout ---------- */
.section { padding: 72px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section-head { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.section-head p { margin-top: .9rem; font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lavender); background: rgba(139, 92, 246, 0.14); border: 1px solid rgba(139, 92, 246, 0.35); border-radius: 999px;
}

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 2.2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.center { align-items: center; } }

.prose > * + * { margin-top: 1rem; }
.prose ul, .prose ol { color: var(--muted); }
.prose li + li { margin-top: .4rem; }
.prose h3 { margin-top: 1.8rem; }

/* ---------- 6. Cards ---------- */
.card {
  position: relative; height: 100%;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.06); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .97rem; }
.card ul { margin-top: .8rem; color: var(--muted); font-size: .96rem; }
.card ul li + li { margin-top: .35rem; }

.icon {
  width: 52px; height: 52px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  border-radius: 14px; background: var(--grad); color: #fff;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.35);
}
.icon svg { width: 26px; height: 26px; }

.feature-card { background: var(--grad-soft); border-color: rgba(139, 92, 246, 0.3); padding: 2rem; }
.feature-card h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
.feature-card .btn { margin-top: 1.4rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.check-list li + li { margin-top: .55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(52, 211, 153, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.cross-list li::before {
  background: rgba(248, 113, 113, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 64% no-repeat;
}

.rule-card h3 { display: flex; align-items: center; gap: .6rem; }
.tag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.tag-warn { background: rgba(248, 113, 113, .15); color: #fecaca; border: 1px solid rgba(248, 113, 113, .35); }
.tag-ok { background: rgba(52, 211, 153, .12); color: #a7f3d0; border: 1px solid rgba(52, 211, 153, .35); }

/* ---------- 7. Hero ---------- */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { font-size: clamp(1.02rem, 2.2vw, 1.18rem); max-width: 620px; }
.hero-media { position: relative; max-width: 680px; margin: 0 auto; }
.hero-media picture { display: block; }
.hero-media::before {
  content: ""; position: absolute; inset: 8% 6%; z-index: -1;
  background: var(--grad); filter: blur(70px); opacity: .45; border-radius: 50%;
}
.hero-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow), var(--shadow-glow); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; margin-top: 1.6rem; list-style: none; padding: 0; }
.trust-row li { display: flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--muted); }
.trust-row svg { width: 18px; height: 18px; color: var(--success); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; }
}

.page-hero { padding: 40px 0 56px; text-align: center; }
.page-hero h1 { max-width: 900px; margin: 0 auto 1.1rem; }
.page-hero .lead { max-width: 760px; margin: 0 auto; font-size: clamp(1rem, 2.2vw, 1.15rem); }
.page-hero .btn-row { justify-content: center; }
@media (min-width: 900px) { .page-hero { padding: 64px 0 80px; } }

.breadcrumb { margin-bottom: 1.6rem; font-size: .88rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }

.quick-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; list-style: none; padding: 0; }
.quick-links a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; font-size: .85rem; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.quick-links a:hover { border-color: var(--border-strong); }

/* ---------- 8. Notes, tables, steps ---------- */
.note {
  display: flex; gap: .85rem; align-items: flex-start;
  margin-top: 1.6rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm);
  background: rgba(252, 211, 77, 0.07); border: 1px solid rgba(252, 211, 77, 0.3);
  font-size: .93rem; color: #f5e6b3;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: .1rem; }
.note p { color: inherit; }
.note strong { color: #fde68a; }
.note-info { background: rgba(59, 130, 246, 0.08); border-color: rgba(59, 130, 246, 0.35); color: #cfe0ff; }
.note-info svg { color: #93c5fd; }
.note-info strong { color: #fff; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.wide { min-width: 540px; }
caption { text-align: left; padding: 1rem 1.1rem .4rem; font-weight: 700; color: #fff; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
th { color: var(--lavender); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; background: rgba(139, 92, 246, 0.08); }
td { color: var(--text); }
tbody th { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 650; color: #fff; background: none; white-space: nowrap; }
tr.total th { background: rgba(219, 39, 119, 0.12); }
tbody tr:last-child td { border-bottom: 0; }
tr.total td { font-weight: 800; color: #fff; background: rgba(219, 39, 119, 0.12); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.2rem 1.2rem 1.2rem 4.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.steps li::before {
  content: counter(step); position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800;
}
.steps li strong { display: block; margin-bottom: .2rem; }
@media (min-width: 640px) { .steps.steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps.steps-row { grid-template-columns: repeat(3, 1fr); } }

.flow { list-style: none; padding: 0; display: grid; gap: .8rem; }
.flow li { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: .95rem; }
.flow li strong { display: block; }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, 1fr); }
  .flow li { position: relative; }
  .flow li:not(:last-child)::after { content: "\2192"; position: absolute; right: -.7rem; top: 50%; transform: translateY(-50%); color: var(--lavender); font-weight: 800; z-index: 1; }
}

.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(1.3rem, 3vw, 1.7rem); color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- 9. Calculator ---------- */
.calc {
  padding: 1.6rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(59,130,246,.12), rgba(124,58,237,.14) 50%, rgba(219,39,119,.12));
  border: 1px solid rgba(139, 92, 246, 0.35); box-shadow: var(--shadow);
}
.calc-fields { display: grid; gap: 1rem; }
@media (min-width: 700px) { .calc-fields { grid-template-columns: repeat(3, 1fr); } .calc-fields.two { grid-template-columns: repeat(2, 1fr); } }
.field label { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; color: #fff; }
.field small { display: block; margin-top: .35rem; font-size: .8rem; color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap span { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-weight: 600; }
.input-wrap .pre { left: .9rem; }
.input-wrap .suf { right: .9rem; }
.field input {
  width: 100%; min-height: 50px; padding: .7rem 2.2rem .7rem .9rem;
  border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgba(11, 8, 32, 0.7); color: #fff; font-size: 1.05rem; font-variant-numeric: tabular-nums;
}
.field .has-pre input { padding-left: 1.9rem; }
.field input:focus { outline: none; border-color: var(--lavender); box-shadow: 0 0 0 3px rgba(196, 181, 253, 0.25); }
.calc-result {
  margin-top: 1.3rem; padding: 1.2rem; border-radius: var(--radius);
  background: rgba(11, 8, 32, 0.65); border: 1px dashed var(--border-strong);
}
.calc-result .label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); }
.calc-result output { display: block; margin: .25rem 0; font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.calc-result p { font-size: .9rem; }

/* ---------- 10. FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.faq-list details { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s; }
.faq-list details[open] { border-color: var(--border-strong); background: rgba(139, 92, 246, 0.07); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3.2rem 1.1rem 1.2rem; font-weight: 700; color: #fff;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); color: var(--lavender); font-size: 1.2rem; font-weight: 600; transition: transform .2s;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .answer { padding: 0 1.2rem 1.2rem; }
.faq-list .answer p { font-size: .97rem; }

/* ---------- 11. CTA band & contact ---------- */
.cta-band {
  position: relative; overflow: hidden;
  padding: 2.4rem 1.6rem; border-radius: var(--radius-lg); text-align: center;
  background: var(--grad); box-shadow: var(--shadow-glow);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 200px at 15% 0%, rgba(255,255,255,.25), transparent 70%);
}
.cta-band h2, .cta-band p { position: relative; color: #fff; }
.cta-band p { max-width: 640px; margin: .8rem auto 0; opacity: .92; }
.cta-band .btn-row { position: relative; justify-content: center; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.1); }
@media (min-width: 900px) { .cta-band { padding: 3.4rem 3rem; } }

.contact-card { text-align: center; padding: 2.2rem 1.6rem; }
.contact-card .icon { margin: 0 auto 1rem; background: var(--whatsapp); box-shadow: 0 10px 22px rgba(37, 211, 102, .3); }
.contact-number { display: block; margin: .4rem 0 1.2rem; font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; color: #fff; letter-spacing: .02em; }

/* ---------- 12. Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .post-top {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: 1rem;
}
.post-card .post-top .icon { margin: 0; width: 46px; height: 46px; }
.post-card .cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); }
.post-card p { flex: 1; }
.post-card .read-more { margin-top: 1.2rem; align-self: flex-start; }
.post-card h3 a { color: #fff; }
.post-card h3 a:hover { color: var(--lavender); }

.article { max-width: 820px; margin: 0 auto; padding: 1.6rem 1.1rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.article + .article { margin-top: 2rem; }
.article header { margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.article .meta { margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.article-foot { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
@media (min-width: 700px) { .article { padding: 2.6rem 2.6rem; } }

/* ---------- 13. Footer ---------- */
.site-footer { margin-top: 0; padding: 64px 0 96px; background: #07051a; border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 2.2rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 1rem; margin-bottom: 1rem; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: .55rem; }
.site-footer li a { color: var(--muted); font-size: .95rem; }
.site-footer li a:hover { color: #fff; }
.site-footer p { font-size: .93rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-contact .btn { margin-top: 1rem; }
.disclaimer { margin-top: 2.6rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.03); border: 1px solid var(--border); font-size: .84rem; }
.disclaimer p { font-size: .84rem; }
.footer-bottom {
  display: flex; flex-direction: column; gap: .7rem; align-items: center; justify-content: space-between;
  margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: .88rem; color: var(--muted); text-align: center;
}
.footer-bottom ul { display: flex; gap: 1.2rem; }
.footer-bottom li + li { margin-top: 0; }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* ---------- 14. Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); color: #fff;
  box-shadow: 0 10px 28px rgba(18, 140, 75, 0.5);
  transition: transform .2s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.07); }
.wa-float svg { width: 34px; height: 34px; position: relative; z-index: 1; }

.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); z-index: 0; animation: waPulse 2.4s ease-out infinite;
}
.wa-float::after { animation-delay: 1.2s; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 900px) { .wa-float { right: 26px; bottom: 26px; width: 64px; height: 64px; } }

/* ---------- 15. Legal pages & 404 ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); margin-top: 2.2rem; }
.legal ul { margin-top: .8rem; color: var(--muted); }
.legal li + li { margin-top: .4rem; }
.legal .updated { color: var(--muted); font-size: .9rem; }

/* ---------- 16. Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .site-footer, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  p, li, td { color: #000; }
}

/* ---------- 17. Fono additions ---------- */
/* Desktop: inline six-item navigation */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: block; background: none; box-shadow: none; border: 0; padding: 0; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav li a { position: relative; padding: .5rem .85rem; border: 0; border-radius: 999px; font-size: .95rem; color: var(--muted); transition: color .2s, background .2s; }
  .site-nav li a:hover { color: #fff; background: var(--surface-2); }
  .site-nav li a[aria-current="page"], .site-nav li a.is-active { color: #fff; background: rgba(139, 92, 246, 0.18); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, 0.4); }
}
.site-nav li a.is-active { color: var(--lavender); }
.brand img { background: transparent; }

/* Hero CTAs */
.btn-lg { min-height: 56px; padding: .95rem 1.9rem; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.btn-light { background: #fff; color: #4c1d95; box-shadow: 0 10px 28px rgba(255, 255, 255, 0.14); }
.btn-light:hover { color: #4c1d95; background: #f5f3ff; box-shadow: 0 14px 34px rgba(196, 181, 253, 0.35); }
.hero-ctas { display: grid; gap: .8rem; margin-top: 1.8rem; }
@media (min-width: 480px) { .hero-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 540px; } }
.hero-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.hero .lead + .lead { margin-top: .8rem; }

/* Policy badge */
.policy-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-top: 1.2rem; padding: .5rem 1rem; border-radius: 999px; font-size: .85rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.policy-meta b { color: #fff; font-weight: 700; }
.page-hero .policy-meta { margin-top: 1.4rem; }

/* Tables */
.table-wrap + .table-wrap, .table-wrap + p, p + .table-wrap, .prose .table-wrap { margin-top: 1.2rem; }
.table-note { margin-top: .7rem; font-size: .86rem; }
.tables-2 { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .tables-2 { grid-template-columns: 1fr 1fr; } }
td.hl { color: #fff; font-weight: 700; }

/* Tags on rule cards */
.tag-verify { background: rgba(252, 211, 77, .12); color: #fde68a; border: 1px solid rgba(252, 211, 77, .35); }
.rule-card .rule-no { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); display: block; margin-bottom: .4rem; }

/* Section links */
.text-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1.1rem; font-weight: 700; color: var(--lavender); }
.text-link::after { content: "\2192"; transition: transform .2s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }

/* Example / calculation box */
.example { margin-top: 1.4rem; padding: 1.3rem 1.4rem; border-radius: var(--radius); background: rgba(11, 8, 32, 0.6); border: 1px dashed var(--border-strong); }
.example .label { display: block; margin-bottom: .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lavender); }
.example .calc-line { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.example p { margin-top: .5rem; font-size: .9rem; }

/* Article pages */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; max-width: 1080px; margin: 0 auto; }
.article-layout > *, .split > *, .grid > *, .tables-2 > * { min-width: 0; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; } }
.article-layout .article { max-width: none; margin: 0; }
.article h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); margin-top: 2.2rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.5rem; }
.article .prose > h2 + p, .article .prose > h3 + p { margin-top: .7rem; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.toc h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lavender); margin-bottom: .8rem; }
.toc ol { padding-left: 1.1rem; color: var(--muted); font-size: .92rem; }
.toc li + li { margin-top: .45rem; }
.toc a { color: var(--text); }
.toc a:hover { color: #fff; }
@media (max-width: 1023.98px) { .toc { position: static; } }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.1rem; margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.related { margin-top: 3rem; }
.related h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: 1.2rem; }

/* Blog cards */
.post-card .post-meta { margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.cat-agency { color: #93c5fd !important; }
.cat-hosting { color: #f9a8d4 !important; }
.cat-earnings { color: var(--gold) !important; }
.cat-app { color: #6ee7b7 !important; }

/* Download section */
.download-box { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .download-box { grid-template-columns: 1.2fr .8fr; } }

/* Floating WhatsApp tooltip */
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  padding: .5rem .85rem; border-radius: 10px; white-space: nowrap; pointer-events: none;
  background: #fff; color: #0b3d20; font-size: .85rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .2s, transform .2s var(--ease); z-index: 2;
}
.wa-tip::after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translateY(-50%); }
@media (hover: none) { .wa-tip { display: none; } }

/* Home: about / contact */
.contact-grid { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.contact-list { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--lavender); margin-top: .2rem; }

/* 404 */
.big-404 { font-size: clamp(5rem, 22vw, 9rem); line-height: 1; font-weight: 900; }

/* ---------- 18. Referral code on app buttons + popup ---------- */
.btn-ref { flex-direction: column; gap: .15rem; }
.btn-ref .btn-ref-label { line-height: 1.15; }
.btn-ref .btn-ref-code { font-size: .7rem; font-weight: 600; letter-spacing: .04em; text-transform: none; opacity: .92; }
.btn-ref .btn-ref-code b { color: inherit; font-weight: 800; letter-spacing: .08em; }
.btn-lg.btn-ref { padding-top: .7rem; padding-bottom: .7rem; }
.ref-inline { display: inline-block; padding: .05rem .5rem; border-radius: 6px; background: rgba(252, 211, 77, .14); border: 1px dashed rgba(252, 211, 77, .5); color: #fde68a; font-weight: 800; letter-spacing: .08em; }
.ref-tagline { font-weight: 700; color: #fff; }
.ref-tagline span { display: block; margin-top: .15rem; color: var(--lavender); font-weight: 600; }
.hero-tagline { margin-top: 1rem; font-size: .98rem; }
.ref-box { max-width: 640px; margin: 1.4rem auto 0; padding: 1rem 1.2rem; border-radius: var(--radius); background: rgba(252, 211, 77, .06); border: 1px solid rgba(252, 211, 77, .3); }
.ref-box p { font-size: .95rem; }
.ref-box p + p { margin-top: .5rem; }

.ref-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.ref-modal[hidden] { display: none; }
.ref-backdrop { position: absolute; inset: 0; background: rgba(5, 2, 20, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ref-dialog {
  position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 1.8rem 1.4rem 1.5rem; border-radius: var(--radius-lg); text-align: center;
  background: linear-gradient(160deg, #1a1240, #120c30 60%, #1f0f33); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), var(--shadow-glow); animation: navIn .25s var(--ease);
}
.ref-dialog h2 { font-size: 1.4rem; margin: .6rem 0 .4rem; }
.ref-dialog p { font-size: .93rem; }
.ref-kicker { font-weight: 700; color: #fff !important; font-size: .9rem !important; }
.ref-kicker span { color: var(--lavender); }
.ref-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.ref-code-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem; margin: 1.1rem 0; }
.ref-code { padding: .55rem 1.1rem; border-radius: 12px; border: 2px dashed var(--gold); background: rgba(252, 211, 77, .1); color: #fde68a; font-size: 1.6rem; font-weight: 900; letter-spacing: .14em; font-variant-numeric: tabular-nums; user-select: all; }
.ref-steps { text-align: left; margin: 0 0 1.2rem 1.2rem; color: var(--muted); font-size: .92rem; }
.ref-steps li + li { margin-top: .3rem; }
body.modal-open { overflow: hidden; }
