/* ==========================================================
   INVEN360 — styles
   1. Tokens & themes   2. Base   3. Layout   4. Components
   5. Sections          6. Motion  7. Responsive
   ========================================================== */

/* ---------- 1. Tokens & themes ---------- */
:root {
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", "Nirmala UI", "Noto Sans Devanagari", system-ui, -apple-system, "SF Pro Text", "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --font-display: "Inter", "Segoe UI Variable Display", "Segoe UI", "Nirmala UI", "Noto Sans Devanagari", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --gutter: clamp(18px, 4vw, 32px);
  --section-y: clamp(76px, 10.5vw, 132px);

  /* Brand palette (exact values from the brand brief) */
  --brand-navy: #071329;
  --brand-gold: #FFB800;
  --brand-purple: #8B5CF6;
  --brand-green: #22C55E;
  --brand-white: #F8FAFC;
  --brand-slate: #94A3B8;
}

/* Dark theme (default) */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--brand-navy);
  --bg-alt: #0A1A36;
  --surface: #0D1D3C;
  --surface-2: #122650;
  --line: rgba(148, 163, 184, 0.2);
  --heading: var(--brand-white);
  --text: var(--brand-slate);
  --text-strong: #CBD5E1;
  --gold: var(--brand-gold);
  --gold-text: #FFB800;
  --on-gold: #071329;
  --purple: var(--brand-purple);
  --purple-text: #B8A4FC;
  --green: var(--brand-green);
  --green-text: #4ADE80;
  --focus: #FFB800;
  --header-bg: rgba(7, 19, 41, 0.84);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --glow-a: rgba(139, 92, 246, 0.22);
  --glow-b: rgba(255, 184, 0, 0.10);
  --dot: rgba(148, 163, 184, 0.16);
}

/* Light theme */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FFFBF2;
  --bg-alt: #F7F1E4;
  --surface: #FFFFFF;
  --surface-2: #FBF5E8;
  --line: rgba(11, 22, 48, 0.13);
  --heading: #0B1630;
  --text: #3A4559;          /* darker than the dark-theme slate so it stays readable on light */
  --text-strong: #1F2A40;
  --gold: var(--brand-gold);
  --gold-text: #8F5200;     /* deep amber for text on light backgrounds */
  --on-gold: #071329;
  --purple: #7C3AED;
  --purple-text: #6D28D9;   /* deeper violet */
  --green: #16A34A;
  --green-text: #15803D;
  --focus: #6D28D9;
  --header-bg: rgba(255, 251, 242, 0.88);
  --shadow: 0 24px 50px -30px rgba(11, 22, 48, 0.35);
  --glow-a: rgba(124, 58, 237, 0.12);
  --glow-b: rgba(255, 184, 0, 0.18);
  --dot: rgba(11, 22, 48, 0.09);
}

/* Dark "band" sections keep their own palette in both themes */
.band-dark {
  --bg: #071329;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --heading: #F8FAFC;
  --text: #B4C0D3;
  --text-strong: #E2E8F0;
  --gold-text: #FFB800;
  --purple-text: #B8A4FC;
  --green-text: #4ADE80;
  --focus: #FFB800;
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "calt";
  color: var(--text);
  background: var(--bg);
  transition: background-color .25s ease, color .25s ease;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--purple-text); text-underline-offset: 3px; }
a:hover { color: var(--heading); }
ul { margin: 0; padding: 0; list-style: none; }
strong { color: var(--text-strong); font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 68px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-strong); }
.muted-note { font-size: .92rem; }
.muted-note.center { text-align: center; max-width: 760px; margin-inline: auto; }

/* ---------- 4. Components ---------- */
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .ic { width: 20px; height: 20px; }
.btn-primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 24px -12px rgba(255, 184, 0, .65); }
.btn-primary:hover { background: #FFC933; color: var(--on-gold); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--heading); transform: translateY(-2px); }
.btn-sm { --pad-y: 10px; --pad-x: 18px; font-size: .95rem; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; line-height: 1.3;
  border: 1px solid var(--line); background: var(--surface); color: var(--text-strong);
}
.chip.gold { color: var(--gold-text); border-color: currentColor; background: transparent; }
.chip.green { color: var(--green-text); border-color: currentColor; background: transparent; }
.chip.violet { color: var(--purple-text); border-color: currentColor; background: transparent; }

.icon-badge {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--purple) 16%, transparent);
  color: var(--purple-text);
}
.icon-badge.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-text); }
.icon-badge.green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green-text); }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-sm);
  border: 1px dashed color-mix(in srgb, var(--gold) 70%, transparent);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  color: var(--text-strong); font-size: .98rem;
}
.callout .ic { color: var(--gold-text); margin-top: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--heading); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--heading); }
.brand-mark {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: background-color .25s ease, border-color .25s ease;
}
.brand-mark svg { width: 30px; height: 30px; }
/* Logo image: transparent artwork, no tile, border or shadow. Ink colour follows the theme. */
.brand-mark.has-img { width: auto; height: 46px; padding: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
.brand-mark .brand-img { height: 46px; width: auto; max-width: none; display: block; }
.brand-mark .is-light { display: none; }
:root[data-theme="light"] .brand-mark .is-light { display: block; }
:root[data-theme="light"] .brand-mark .is-dark { display: none; }
.site-footer .brand-mark .is-light { display: none !important; }
.site-footer .brand-mark .is-dark { display: block !important; }
.brand-text { display: grid; gap: 5px; }
.brand-name { font-size: 1.3rem; line-height: 1; }
.brand-sub { font-family: var(--font); font-size: .56rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--text); white-space: nowrap; }
.brand-sub em { font-style: normal; color: var(--gold-text); }
.site-footer .brand-sub { color: #94A3B8; } .site-footer .brand-sub em { color: #FFB800; }
@media (max-width: 400px) { .brand-sub { font-size: .5rem; letter-spacing: .1em; } .brand-mark.has-img { height: 40px; } .brand-mark .brand-img { height: 40px; } }
.brand .n360 { color: var(--gold-text); }
.brand-text { font-family: var(--font-display); line-height: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a.nav-link {
  padding: 9px 13px; border-radius: 999px;
  color: var(--text-strong); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.nav a.nav-link:hover, .nav a.nav-link[aria-current="true"] { color: var(--heading); background: color-mix(in srgb, var(--purple) 14%, transparent); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.hdr-cta { display: none; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--surface); color: var(--heading);
  border: 1px solid var(--line); cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.icon-btn:hover { border-color: var(--purple); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }

/* ---------- 5. Sections ---------- */

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 96px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 60% at 85% 30%, var(--glow-a), transparent 70%),
    radial-gradient(40% 40% at 8% 60%, var(--glow-b), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 .hl { color: var(--gold-text); }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-art { width: 100%; height: auto; max-width: 600px; margin-inline: auto; overflow: visible; }

/* SVG paint classes (theme-aware) */
.s-surface { fill: var(--surface); }
.s-surface2 { fill: var(--surface-2); }
.s-line { stroke: var(--line); fill: none; }
.s-heading { fill: var(--heading); }
.s-text { fill: var(--text); }
.s-textstrong { fill: var(--text-strong); }
.s-gold { fill: var(--gold); }
.s-goldline { stroke: var(--gold); fill: none; }
.s-purple { fill: var(--purple); }
.s-purpleline { stroke: var(--purple); fill: none; }
.s-green { fill: var(--green); }
.s-greenline { stroke: var(--green); fill: none; }
.svg-label { font-family: var(--font); font-weight: 700; font-size: 13px; }
.svg-small { font-family: var(--font); font-weight: 500; font-size: 11px; }

/* Trust strip */
.trust { border-block: 1px solid var(--line); background: var(--bg-alt); padding-block: 28px; }
.trust-list { display: grid; gap: 22px 28px; grid-template-columns: 1fr; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item h3 { font-size: 1rem; margin-bottom: 2px; }
.trust-item p { margin: 0; font-size: .92rem; line-height: 1.5; }

/* Services overview */
.overview { display: grid; gap: 22px; }
.offer {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 26px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
  display: flex; flex-direction: column; gap: 14px;
}
.offer h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 0; }
.offer ul { display: grid; gap: 9px; margin: 6px 0 10px; }
.offer li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-strong); font-size: .98rem; }
.offer li .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--green-text); stroke-width: 2.4; }
.offer .btn { align-self: flex-start; margin-top: auto; }
.offer-web { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 12%, var(--surface)), var(--surface) 60%); }
.offer-mkt { background: linear-gradient(160deg, color-mix(in srgb, var(--purple) 16%, var(--surface)), var(--surface) 60%); }
.offer-art { position: absolute; right: -28px; bottom: -28px; width: 170px; opacity: .35; pointer-events: none; }
.together {
  display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center;
  margin-top: 26px; text-align: center; color: var(--text-strong);
}

/* Website solutions — editorial index list */
.websites { background: color-mix(in srgb, var(--bg-alt) 68%, transparent); }
.websites::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 6%, transparent), transparent 40%);
  pointer-events: none;
}
.websites-grid { display: grid; gap: 40px; position: relative; }
.cap-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.site-types { display: grid; border-top: 1px solid var(--line); }
.site-type {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  padding: 28px 4px; border-bottom: 1px solid var(--line);
  transition: background-color .2s ease;
}
.site-type:hover { background: color-mix(in srgb, var(--gold) 6%, transparent); }
.site-type .num { font-weight: 800; color: var(--gold-text); font-variant-numeric: tabular-nums; font-size: .95rem; padding-top: 3px; }
.site-type h3 { margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.site-type h3 .ic { width: 20px; height: 20px; color: var(--purple-text); }
.site-type p { margin: 0; font-size: .98rem; }
.site-type .helps { color: var(--text-strong); }
.site-type .helps b { color: var(--green-text); font-weight: 700; }

/* Marketing — three groups */
.marketing::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 60% at 90% 10%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 90% 10%, #000, transparent 75%);
}
.marketing .container { position: relative; z-index: 1; }
.mkt-groups { display: grid; gap: 22px; }
.mkt-group { border-radius: 24px; border: 1px solid var(--line); background: var(--surface); padding: clamp(22px, 3vw, 32px); }
.mkt-group header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mkt-group header h3 { margin: 0; font-size: 1.25rem; }
.mkt-group .group-sub { font-size: .9rem; margin: 0 0 8px; }
.mkt-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.mkt-item:first-of-type { border-top: 0; }
.mkt-item h4 { font-size: 1.02rem; margin-bottom: 3px; letter-spacing: -0.01em; }
.mkt-item p { margin: 0; font-size: .95rem; line-height: 1.55; }
.mkt-item .ic { color: var(--purple-text); margin-top: 3px; }
.mkt-item .aim { display: block; margin-top: 6px; font-size: .88rem; color: var(--green-text); font-weight: 600; }
.mkt-note { margin-top: 28px; }

/* Industries — tabs */
.industries { background: color-mix(in srgb, var(--bg-alt) 68%, transparent); }
.tabs { display: grid; gap: 24px; }
.tablist { display: none; gap: 8px; }
.js .tablist { display: flex; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text-strong); font: inherit; font-weight: 600; font-size: .96rem; cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tab .ic { width: 19px; height: 19px; }
.tab:hover { border-color: var(--purple); }
.tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.tabpanel {
  display: grid; gap: 26px;
  padding: clamp(24px, 4vw, 40px); border-radius: 26px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.js .tabpanel[hidden] { display: none; }
.tabpanel + .tabpanel { margin-top: 18px; }
.js .tabpanel + .tabpanel { margin-top: 0; }
.panel-cols { display: grid; gap: 22px; }
.panel-cols h4 { font-size: .85rem; letter-spacing: .03em; color: var(--gold-text); margin-bottom: 10px; }
.panel-cols li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; color: var(--text-strong); font-size: .98rem; }
.panel-cols li .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--green-text); stroke-width: 2.4; }
.panel-head { display: flex; gap: 16px; align-items: flex-start; }
.panel-head h3 { font-size: 1.5rem; margin: 0; }
.panel-head p { margin: 0; }
.other-biz { font-size: .95rem; }

/* Process */
.process { background: linear-gradient(180deg, rgba(7, 19, 41, .9), rgba(11, 27, 60, .92)); color: var(--text); overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 90% 30%, rgba(139, 92, 246, .2), transparent 70%), radial-gradient(35% 45% at 8% 70%, rgba(255, 184, 0, .08), transparent 70%);
}
.process .container { position: relative; }
.steps { display: grid; gap: 0; counter-reset: step; position: relative; }
.step { position: relative; padding: 0 0 30px 62px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: var(--on-gold);
  background: var(--gold);
}
.step::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), transparent); opacity: .5; }
.step:last-child::after { display: none; }
.step:last-child { padding-bottom: 0; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: .98rem; }
.step .tag { display: inline-block; margin-top: 10px; }

/* Work / samples */
.samples { display: grid; gap: 22px; }
.sample { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; display: flex; flex-direction: column; }
.sample-art { background: var(--bg-alt); padding: 18px 18px 0; }
.sample-art svg { width: 100%; height: auto; border-radius: 10px 10px 0 0; }
.sample-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.sample-body .chip { justify-self: start; }
.sample-body h3 { margin: 0; font-size: 1.1rem; }
.sample-body p { margin: 0; font-size: .95rem; }
.work-note { margin-top: 26px; }

/* Packages */
.packages { background: color-mix(in srgb, var(--bg-alt) 68%, transparent); }
.pkg-grid { display: grid; gap: 22px; align-items: stretch; }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: clamp(24px, 3vw, 32px); border-radius: 24px;
  border: 1px solid var(--line); background: var(--surface);
}
.pkg.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.pkg .pkg-tag { font-size: .85rem; font-weight: 700; color: var(--purple-text); }
.pkg h3 { font-size: 1.45rem; margin: 0; }
.pkg .pkg-summary { margin: 0; font-size: .98rem; }
.pkg-price { padding: 14px 0; border-block: 1px solid var(--line); }
.pkg-price strong { display: block; font-size: 1.15rem; color: var(--heading); }
.pkg-price span { font-size: .85rem; }
.pkg ul { display: grid; gap: 9px; margin-bottom: 10px; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-strong); font-size: .96rem; }
.pkg li .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--green-text); stroke-width: 2.4; }
.pkg .btn { margin-top: auto; }
.pkg-badge { align-self: flex-start; }
.pkg-foot { margin-top: 26px; }

/* About */
.about-grid { display: grid; gap: 36px; align-items: center; }
.values { display: grid; gap: 16px; margin-top: 24px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value h3 { font-size: 1.02rem; margin-bottom: 2px; }
.value p { margin: 0; font-size: .96rem; }
.parent-card {
  position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow);
}
.parent-card .lockup { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.parent-card .pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; color: var(--heading); }
.parent-card .link-sep { color: var(--gold-text); }
.parent-art { position: absolute; right: -24px; bottom: -24px; width: 170px; opacity: .22; pointer-events: none; }

/* FAQ */
.faq { background: color-mix(in srgb, var(--bg-alt) 68%, transparent); }
.faq-wrap { display: grid; gap: 32px; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .2s ease; }
.faq details[open] { border-color: color-mix(in srgb, var(--gold) 70%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; display: flex; gap: 14px; align-items: center; justify-content: space-between;
  font-weight: 700; color: var(--heading); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-right: 4px;
  border-right: 2.5px solid var(--gold-text); border-bottom: 2.5px solid var(--gold-text);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .answer { padding: 0 20px 20px; }
.faq .answer p { margin: 0 0 .7em; font-size: .98rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Contact */
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 12% 35%, var(--glow-a), transparent 70%);
}
.contact-grid { display: grid; gap: 32px; position: relative; }
.contact-methods { display: grid; gap: 12px; margin: 24px 0; }
.method {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface);
  text-decoration: none; color: var(--heading); font-weight: 600;
  transition: border-color .2s ease, transform .2s ease;
}
.method:hover { border-color: var(--gold); transform: translateX(3px); color: var(--heading); }
.method small { display: block; font-weight: 500; color: var(--text); font-size: .85rem; }
.method .icon-badge { width: 42px; height: 42px; border-radius: 12px; }

.form-card { border: 1px solid var(--line); background: var(--surface); border-radius: 26px; padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; color: var(--heading); font-size: .95rem; padding: 0; }
.field .req { color: var(--gold-text); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--heading);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: #F87171; }
:root[data-theme="light"] .field [aria-invalid="true"] { border-color: #B91C1C; }
.err { color: #F87171; font-size: .88rem; font-weight: 600; min-height: 0; }
:root[data-theme="light"] .err { color: #B91C1C; }
.err:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.field .check { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .95rem; font-weight: 500; color: var(--text-strong); background: var(--bg); }
.field .check:hover { border-color: var(--text); }
.field .check input { width: 18px; height: 18px; accent-color: var(--gold); flex: none; margin: 0; }
.check:has(input:checked) { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, var(--bg)); }
.check:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: .98rem; }
.form-status:empty { display: none; }
.form-status.ok { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); color: var(--text-strong); }
.form-status.bad { border-color: #F87171; background: rgba(248, 113, 113, .1); color: var(--text-strong); }
.form-status strong { display: block; color: var(--heading); margin-bottom: 4px; }
.status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-fine { font-size: .85rem; margin: 14px 0 0; }

/* Footer */
.site-footer { background: #050E20; color: #94A3B8; padding-block: 56px 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer { --heading: #F8FAFC; --text: #94A3B8; --gold-text: #FFB800; --purple-text: #B8A4FC; --focus: #FFB800; --line: rgba(255, 255, 255, .12); }
.site-footer a { color: #CBD5E1; text-decoration: none; }
.site-footer a:hover { color: #FFB800; text-decoration: underline; }
.site-footer .brand { color: #F8FAFC; }
.site-footer .brand .n360 { color: #FFB800; }
.site-footer .brand-mark:not(.has-img) { background: #0D1D3C; border-color: rgba(255, 255, 255, .14); }
.footer-grid { display: grid; gap: 34px; margin-bottom: 36px; }
.footer-grid h3 { font-size: .9rem; letter-spacing: .03em; color: #F8FAFC; margin-bottom: 14px; }
.footer-grid li { margin-bottom: 9px; font-size: .96rem; }
.footer-about p { max-width: 380px; font-size: .95rem; }
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.social-row[hidden] { display: none; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); }
.social-row a:hover { border-color: #FFB800; }
.social-row--light { margin: 0 0 18px; }
.social-row--light a { border-color: var(--line); background: var(--surface); color: var(--heading); text-decoration: none; }
.social-row--light a:hover { border-color: var(--gold); color: var(--heading); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* Legal pages */
.legal { padding-block: clamp(40px, 6vw, 72px); max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal .draft-banner { margin-bottom: 28px; }

/* ---------- 6. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* Decorative animation only runs while its section is on screen */
.js [data-anim]:not(.is-live) *,
.js [data-anim]:not(.is-live) { animation-play-state: paused !important; }

@keyframes bar-grow { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }
@keyframes node-pulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.35); } }
@keyframes line-draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }

.bar { transform-box: fill-box; transform-origin: 50% 100%; animation: bar-grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.bar:nth-of-type(2) { animation-delay: .1s; }
.bar:nth-of-type(3) { animation-delay: .2s; }
.bar:nth-of-type(4) { animation-delay: .3s; }
.bar:nth-of-type(5) { animation-delay: .4s; }
.trend { stroke-dasharray: 400; animation: line-draw 1.8s ease-out .5s both; }
.float { animation: float-y 6s ease-in-out infinite; }
.float.f2 { animation-duration: 7.5s; animation-delay: -2s; }
.net-line { stroke-dasharray: 5 7; animation: dash-flow 3s linear infinite; }
.node { transform-box: fill-box; transform-origin: center; animation: node-pulse 3.6s ease-in-out infinite; }
.node.n2 { animation-delay: -.8s; } .node.n3 { animation-delay: -1.6s; } .node.n4 { animation-delay: -2.4s; }

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

/* ---------- 7. Responsive ---------- */

/* Phones: simplify decorative graphics */
@media (max-width: 719px) {
  .deco-net, .deco-bars, .chip-2, .offer-art, .parent-art { display: none; }
  .hero-art { max-width: 420px; }
  body { font-size: 1.02rem; }
}

/* Mobile navigation panel (below 960px) */
@media (max-width: 959px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px var(--gutter) 22px; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a.nav-link { padding: 14px 12px; border-radius: 12px; font-size: 1.05rem; }
  .nav-cta { display: inline-flex; margin-top: 12px; }
  .header-actions { margin-left: auto; }
  .site-header .container { position: relative; }
}

@media (min-width: 560px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .panel-cols { grid-template-columns: repeat(2, 1fr); }
  .form-grid.two { grid-template-columns: repeat(2, 1fr); }
  .samples { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .js .tablist { flex-wrap: wrap; overflow: visible; }
  .overview { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .hdr-cta { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .websites-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .websites-intro { position: sticky; top: 110px; align-self: start; }
  .mkt-groups { grid-template-columns: 1fr 1fr; }
  .mkt-group.wide { grid-column: 1 / -1; }
  .mkt-group.wide .mkt-items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .mkt-group.wide .mkt-item:nth-of-type(2) { border-top: 0; }
  .steps { grid-template-columns: repeat(5, 1fr); gap: 22px; }
  .step { padding: 62px 0 0; }
  .step::after { left: 52px; right: -22px; top: 21px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
  .samples { grid-template-columns: repeat(3, 1fr); }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .faq-wrap { grid-template-columns: .7fr 1.3fr; gap: 64px; }
  .faq-intro { position: sticky; top: 110px; align-self: start; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 56px; }
}

@media (min-width: 1100px) {
  .hero-art { max-width: 620px; }
}


/* ---------- 8. Language toggle, floating buttons, Hindi typography ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px; height: 44px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text-strong); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer;
  transition: border-color .2s ease;
}
.lang-toggle:hover { border-color: var(--purple); }
.lang-toggle .lg { display: inline-grid; place-items: center; min-width: 34px; height: 100%; padding-inline: 8px; border-radius: 999px; line-height: 1; transition: background-color .2s ease, color .2s ease; }
:root:not([data-lang="hi"]) .lang-toggle .lg-en,
:root[data-lang="hi"] .lang-toggle .lg-hi { background: var(--gold); color: var(--on-gold); }

.float-actions {
  position: fixed; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
}
.fab {
  position: relative; display: inline-flex; align-items: center; justify-content: flex-end;
  height: 56px; min-width: 56px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .55); transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: translateY(-3px); }
.fab .ic { width: 26px; height: 26px; margin: 0 15px; flex: none; stroke-width: 1.9; }
.fab-label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s ease, opacity .2s ease, margin .3s ease; }
@media (hover: hover) {
  .fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 190px; opacity: 1; margin-left: 20px; }
}
.fab-wa { background: #15803D; color: #fff; }
.fab-wa:hover { color: #fff; }
.fab-call { background: var(--gold); color: var(--on-gold); }
.fab-call:hover { color: var(--on-gold); }
.fab-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(21, 128, 61, .55); animation: fabPulse 2.8s ease-out infinite;
}
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(21, 128, 61, 0); } }
.footer-bottom { padding-right: 76px; }
@media (max-width: 719px) {
  .fab { height: 52px; min-width: 52px; }
  .fab .ic { margin: 0 13px; }
  .site-footer { padding-bottom: 132px; }
  .footer-bottom { padding-right: 0; }
}
@media (max-width: 420px) {
  .icon-btn { width: 40px; height: 40px; }
  .lang-toggle { height: 40px; font-size: .78rem; }
  .lang-toggle .lg { min-width: 30px; padding-inline: 6px; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
}

/* Hindi (Devanagari) needs looser spacing and no negative tracking */
:root[data-lang="hi"] body { line-height: 1.8; }
:root[data-lang="hi"] h1, :root[data-lang="hi"] h2, :root[data-lang="hi"] h3, :root[data-lang="hi"] h4 { letter-spacing: 0; line-height: 1.35; }
:root[data-lang="hi"] h1 { line-height: 1.3; }
:root[data-lang="hi"] .btn { line-height: 1.5; }
:root[data-lang="hi"] .eyebrow, :root[data-lang="hi"] .panel-cols h4 { letter-spacing: 0; }
:root[data-lang="hi"] .cine-h1 .w { padding-top: .25em; margin-top: -.25em; }
