/* ===== Aryan Global Technologies – site styles ===== */

/* ---------- Themes ----------
   Pick one with SITE_THEME in config/settings.py: soft | graphite | slate | navy | ivory | teal */

/* Slate (default): soft blue-grey */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --link: #4f46e5;
  --accent: #06b6d4;
  --text: #0b1220;
  --text-2: #334155;
  --muted: #64748b;
  --bg: #eef1f6;
  --bg-alt: #e3e8f0;
  --surface: #f8f9fc;
  --surface-2: #eef1f6;
  --border: #d6dce7;
  --line: #e1e6ee;
  --tint: rgba(79, 70, 229, .10);
  --header-bg: rgba(238, 241, 246, .86);
  --footer-bg: #0b1220;
  --radius: 16px;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #06b6d4 100%);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -8px rgba(16, 24, 40, .10);
  --shadow-lg: 0 30px 60px -15px rgba(49, 46, 129, .30);
  color-scheme: light;
}

/* Navy: dark, premium tech look */
[data-theme="navy"] {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --link: #a5b4fc;
  --text: #eef2fb;
  --text-2: #c5cee0;
  --muted: #8d9bb8;
  --bg: #0a1224;
  --bg-alt: #0e1930;
  --surface: #13203b;
  --surface-2: #0e1930;
  --border: #22314f;
  --line: #1c2a47;
  --tint: rgba(129, 140, 248, .16);
  --header-bg: rgba(10, 18, 36, .85);
  --footer-bg: #060c19;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -10px rgba(0, 0, 0, .55);
  --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* Soft: light and clean, but no pure white (easy on the eyes) */
[data-theme="soft"] {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --link: #4338ca;
  --text: #111827;
  --text-2: #374151;
  --muted: #6b7280;
  --bg: #f4f5f7;
  --bg-alt: #ebedf1;
  --surface: #fafbfc;
  --surface-2: #f1f3f6;
  --border: #dde1e7;
  --line: #e6e9ee;
  --tint: rgba(79, 70, 229, .09);
  --header-bg: rgba(244, 245, 247, .88);
  --footer-bg: #1f2329;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05);
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 30px -10px rgba(17, 24, 39, .12);
  --shadow-lg: 0 28px 56px -18px rgba(17, 24, 39, .28);
}

/* Graphite: neutral charcoal grey, corporate and professional */
[data-theme="graphite"] {
  --primary: #5b5ff0;
  --primary-dark: #4f46e5;
  --link: #a5b4fc;
  --text: #f3f4f6;
  --text-2: #cfd3da;
  --muted: #979ea9;
  --bg: #17191d;
  --bg-alt: #1d2025;
  --surface: #24272d;
  --surface-2: #1d2025;
  --border: #353a42;
  --line: #2d3138;
  --tint: rgba(165, 180, 252, .12);
  --header-bg: rgba(23, 25, 29, .86);
  --footer-bg: #101114;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -15px rgba(0, 0, 0, .65);
  color-scheme: dark;
}

/* Ivory: warm, calm and classic */
[data-theme="ivory"] {
  --primary: #3730a3;
  --primary-dark: #312e81;
  --link: #3730a3;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #78716c;
  --bg: #f4efe6;
  --bg-alt: #ebe3d5;
  --surface: #fbf8f2;
  --surface-2: #f4efe6;
  --border: #ddd3c1;
  --line: #e8e0d2;
  --tint: rgba(55, 48, 163, .09);
  --header-bg: rgba(244, 239, 230, .88);
  --footer-bg: #1c1917;
  --grad: linear-gradient(135deg, #3730a3 0%, #6d28d9 55%, #b45309 100%);
  --shadow-lg: 0 30px 60px -15px rgba(68, 64, 60, .28);
}

/* Teal: corporate, trustworthy (great for healthcare) */
[data-theme="teal"] {
  --primary: #0f766e;
  --primary-dark: #115e59;
  --link: #0f766e;
  --accent: #0891b2;
  --text: #042f2e;
  --text-2: #334e4c;
  --muted: #5f7775;
  --bg: #e9f3f2;
  --bg-alt: #dbebe9;
  --surface: #f6fbfa;
  --surface-2: #e9f3f2;
  --border: #c9dedb;
  --line: #d9e8e6;
  --tint: rgba(15, 118, 110, .10);
  --header-bg: rgba(233, 243, 242, .88);
  --footer-bg: #042f2e;
  --grad: linear-gradient(135deg, #0f766e 0%, #0e7490 55%, #22d3ee 100%);
  --shadow-lg: 0 30px 60px -15px rgba(4, 47, 46, .30);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(79, 70, 229, .45); outline-offset: 2px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 640px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--link); margin-bottom: .9rem;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { font-weight: 700; }
.link:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--primary); color: #fff; padding: .78rem 1.35rem; border-radius: 12px;
  font-weight: 700; border: 1px solid transparent; cursor: pointer; font-size: .98rem; font-family: inherit;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .7); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--bg-alt); box-shadow: var(--shadow-sm); }
.btn-soft { background: var(--tint); color: var(--link); box-shadow: none; }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { background: rgba(255,255,255,.88); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 20px -12px rgba(16,24,40,.15); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: .65rem; color: var(--text); }
.logo img { width: 40px; height: 40px; }
.logo-text { font-size: 1.15rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.logo-text strong { font-weight: 800; }
.logo-text small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a:not(.btn) { color: var(--text-2); font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--link); }
.nav-links a.active::after, .nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.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); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 380px at 88% 8%, rgba(6,182,212,.18), transparent 70%),
    radial-gradient(640px 420px at 70% 70%, rgba(124,58,237,.14), transparent 70%),
    radial-gradient(520px 360px at 0% 0%, rgba(79,70,229,.12), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(79,70,229,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(79,70,229,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text-2);
  box-shadow: var(--shadow-sm); margin-bottom: 1.4rem;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-points { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points .icon { width: 18px; height: 18px; color: #16a34a; }

/* Dashboard mockup */
.mockup { position: relative; background: var(--surface); border-radius: 18px; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mockup-bar span:nth-child(1) { background: #fca5a5; } .mockup-bar span:nth-child(2) { background: #fcd34d; } .mockup-bar span:nth-child(3) { background: #86efac; }
.mockup-bar em { margin-left: 12px; font-style: normal; font-size: .75rem; color: var(--muted); background: var(--bg-alt); padding: 2px 10px; border-radius: 6px; }
.mockup-body { display: grid; grid-template-columns: 54px 1fr; min-height: 300px; }
.mock-side { background: #0f172a; border-bottom-left-radius: 18px; padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock-side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.14); }
.mock-side i.on { background: var(--grad); }
.mock-main { padding: 18px; }
.mock-title { font-weight: 800; color: var(--text); margin-bottom: 12px; font-size: .95rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { border: 1px solid var(--border); border-radius: 12px; padding: 10px; }
.mock-kpis small { display: block; font-size: .68rem; color: var(--muted); }
.mock-kpis b { display: block; color: var(--text); font-size: 1.05rem; }
.mock-kpis em { font-style: normal; font-size: .68rem; color: var(--muted); }
.mock-kpis em.up { color: #16a34a; font-weight: 700; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin: 14px 0; padding: 8px; border-radius: 12px; background: var(--bg-alt); }
.mock-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #818cf8, #4f46e5); transform-origin: bottom; animation: grow 1s ease-out both; }
.mock-chart span:nth-child(6) { background: linear-gradient(180deg, #22d3ee, #0891b2); }
.mock-rows div { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--border); }
.mock-rows i { width: 24px; height: 24px; border-radius: 50%; background: var(--tint); }
.mock-rows span { flex: 1; height: 8px; border-radius: 4px; background: var(--line); }
.mock-rows b { font-size: .7rem; color: #16a34a; background: rgba(34,197,94,.16); padding: 2px 8px; border-radius: 999px; }
.mock-rows b.due { color: #d97706; background: rgba(245,158,11,.18); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: .6rem .9rem; box-shadow: var(--shadow); font-size: .8rem; animation: float 5s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .7rem; }
.float-card b { color: var(--text); }
.fc-1 { left: -34px; bottom: 34px; }
.fc-2 { right: -24px; top: -26px; animation-delay: -2.5s; }
.fc-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--link); }
.fc-icon.green { background: rgba(34,197,94,.16); color: #16a34a; }
.fc-icon .icon { width: 18px; height: 18px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.4rem; }
.trust-grid div { display: flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 600; font-size: .93rem; color: var(--text); }
.trust-grid .icon { width: 22px; height: 22px; color: var(--link); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 3.2rem; }
.section-head p { margin-inline: auto; }
.page-hero { position: relative; padding: 80px 0 56px; background: var(--bg-alt); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.18), transparent 70%);
}
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8dbf5; }
.icon-wrap, .p-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--tint); color: var(--link); margin-bottom: 1.1rem; font-size: 1.3rem;
}
.p-icon.sm { width: 44px; height: 44px; border-radius: 12px; margin: 0; }
.p-icon.lg { width: 64px; height: 64px; border-radius: 18px; }
.icon { width: 26px; height: 26px; }
.p-icon.sm .icon { width: 22px; height: 22px; }
.p-icon.lg .icon { width: 32px; height: 32px; }

.service-detail { display: flex; gap: 1.2rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--link); background: var(--tint); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { font-size: .78rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; padding: .15rem .5rem; color: var(--muted); }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2rem;
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.product-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c, var(--grad)); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-top { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.product-top .p-icon { margin: 0; }
.product-top h3 { margin: 0; font-size: 1.3rem; }
/* Each product has its own accent colour (--pc), used by its icon and illustration */
.c1 { --pc: #6366f1; --c: linear-gradient(90deg, #4f46e5, #818cf8); }
.c2 { --pc: #e11d48; --c: linear-gradient(90deg, #e11d48, #fb7185); }
.c3 { --pc: #059669; --c: linear-gradient(90deg, #059669, #34d399); }
.c4 { --pc: #d97706; --c: linear-gradient(90deg, #d97706, #fbbf24); }
.c5 { --pc: #0891b2; --c: linear-gradient(90deg, #0891b2, #22d3ee); }
:is([data-theme="navy"], [data-theme="graphite"]) .c1 { --pc: #818cf8; }
:is([data-theme="navy"], [data-theme="graphite"]) .c2 { --pc: #fb7185; }
:is([data-theme="navy"], [data-theme="graphite"]) .c3 { --pc: #34d399; }
:is([data-theme="navy"], [data-theme="graphite"]) .c4 { --pc: #fbbf24; }
:is([data-theme="navy"], [data-theme="graphite"]) .c5 { --pc: #22d3ee; }
:is(.c1, .c2, .c3, .c4, .c5) .p-icon { color: var(--pc); background: color-mix(in srgb, var(--pc) 15%, transparent); }
/* An odd last product (e.g. the 5th) spans the full row */
.product-grid .product-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.product-grid .product-card:last-child:nth-child(odd) .checks { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
.checks { list-style: none; padding: 0; margin: .4rem 0 1.4rem; display: grid; gap: .55rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--text-2); }
.checks .icon { width: 18px; height: 18px; color: #16a34a; flex-shrink: 0; margin-top: 3px; }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; flex-wrap: wrap; }

.product-rows { display: grid; gap: 2rem; }
.product-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding: 2.5rem; border-radius: 24px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden;
}
.product-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--c); }
.product-row h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.product-row .product-actions { justify-content: flex-start; margin-top: 1.4rem; }
.product-row .checks { margin: 0; }

.detail-title { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.detail-title .p-icon { margin: 0; }
.detail-title h1 { margin: 0; }
.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.mini-product { display: flex; gap: 1rem; align-items: flex-start; color: inherit; }
.mini-product h3 { margin-bottom: .2rem; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.why { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; }
.why h3 { margin-bottom: .3rem; font-size: 1.02rem; }
.why p { margin: 0; font-size: .92rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 1rem; box-shadow: 0 8px 18px -8px rgba(79,70,229,.7);
}
.steps strong { display: block; color: var(--text); margin-bottom: .35rem; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .93rem; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 1.2rem; }
.quote figcaption { display: flex; flex-direction: column; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 1.3rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--link); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--grad); color: #fff; border-radius: 28px; padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}
.cta::after {
  content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { opacity: .92; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Careers ---------- */
.job-list { display: grid; gap: 1rem; max-width: 880px; margin: 0 auto; }
.job { display: flex; justify-content: space-between; align-items: center; color: var(--text); }
.job h3 { margin-bottom: .2rem; }
.job p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: 1.6fr 1fr; align-items: start; gap: 2rem; }
.form-card { padding: 2.2rem; }
.form-card:hover { transform: none; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--text); }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface-2); color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--link); background: var(--surface); box-shadow: 0 0 0 4px rgba(79,70,229,.12);
}
.form .btn { justify-self: start; }
.form p { margin: 0; }
.alert { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-weight: 600; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.error { color: #dc2626; font-size: .84rem; font-weight: 500; }
.contact-side { display: grid; gap: 1rem; }
.contact-tile {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); transition: transform .2s, box-shadow .2s;
}
a.contact-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-tile small { display: block; color: var(--muted); font-size: .8rem; }
.contact-tile b { font-size: .98rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: #cbd5e1; padding: 72px 0 0; }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo-text small { color: #94a3b8; }
.footer-brand p { color: #94a3b8; max-width: 340px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-grid h4 { color: #fff; margin: 0 0 1.1rem; font-size: .95rem; }
.footer-grid a, .footer-grid span { display: block; color: #cbd5e1; margin-bottom: .6rem; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  border-top: 1px solid #1e293b; margin-top: 3rem; padding-block: 1.5rem; font-size: .86rem; color: #94a3b8;
}

/* ---------- WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37,211,102,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .why-grid, .contact-grid, .about-grid, .detail-grid, .product-row { grid-template-columns: 1fr; }
  .hero-grid { gap: 3.5rem; }
  .mockup { max-width: 560px; margin: 0 auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .nav { height: 66px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: .5rem 20px 1.2rem;
    box-shadow: 0 20px 30px -20px rgba(16,24,40,.25);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--bg-alt); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: .8rem; }
  .grid-2, .grid-3, .grid-4, .steps, .form-row, .footer-grid, .product-grid, .why-list { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 56px 0 40px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 2.2rem 1.6rem; border-radius: 22px; }
  .product-card, .product-row { padding: 1.5rem; }
  .form-card { padding: 1.4rem; }
  .fc-1 { left: -6px; bottom: -22px; }
  .fc-2 { right: -6px; top: -20px; }
  .mockup-body { grid-template-columns: 40px 1fr; min-height: 0; }
  .mock-main { padding: 12px; }
  .mock-kpis b { font-size: .9rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; font-size: .85rem; }
  .logo-text { font-size: 1.05rem; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* ---------- Theme picker (only shown while DEBUG is on) ---------- */
.theme-picker {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .45rem .7rem;
  box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; color: var(--text);
}
.theme-picker button {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); cursor: pointer; padding: 0;
}
.theme-picker button[aria-pressed="true"] { outline: 2px solid var(--link); outline-offset: 2px; }
.theme-picker [data-set="slate"] { background: linear-gradient(135deg, #eef1f6 50%, #4f46e5 50%); }
.theme-picker [data-set="navy"]  { background: linear-gradient(135deg, #0a1224 50%, #6366f1 50%); }
.theme-picker [data-set="ivory"] { background: linear-gradient(135deg, #f4efe6 50%, #3730a3 50%); }
.theme-picker [data-set="teal"]  { background: linear-gradient(135deg, #e9f3f2 50%, #0f766e 50%); }
@media (max-width: 760px) {
  .product-grid .product-card:last-child:nth-child(odd) .checks { grid-template-columns: 1fr; }
}

/* ---------- Illustrations (inline SVG, follow the theme colours) ---------- */
.ill { display: block; width: 100%; height: auto; font-family: inherit; }
.ill .s0 { fill: var(--surface); }
.ill .s1 { fill: var(--bg-alt); }
.ill .s2 { fill: var(--line); }
.ill .s2S { stroke: var(--line); }
.ill .ln { stroke: var(--border); stroke-width: 1; }
.ill .lnS { stroke: var(--border); stroke-width: 1; }
.ill .t1 { fill: var(--text); }
.ill .t2 { fill: var(--muted); }
.ill .ac { fill: var(--pc, #6366f1); }
.ill .ac2 { fill: var(--pc, #6366f1); fill-opacity: .18; }
.ill .acT { fill: var(--pc, #6366f1); }
.ill .acS { stroke: var(--pc, #6366f1); }

.card-media {
  position: relative; margin: -2rem -2rem 1.5rem; padding: 1.4rem 1.4rem 0; overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.card-media .ill { border-radius: 14px 14px 0 0; box-shadow: 0 -2px 30px -12px rgba(0,0,0,.45); transform: translateY(6px); transition: transform .35s ease; }
.product-card:hover .card-media .ill { transform: translateY(0); }
.product-grid .product-card:last-child:nth-child(odd) {
  display: grid; grid-template-columns: 1.05fr 1fr; column-gap: 2.2rem; align-content: start;
}
.product-grid .product-card:last-child:nth-child(odd) .card-media {
  grid-row: 1 / span 4; margin: -2rem 0 -2rem -2rem; padding: 2rem 0 2rem 2rem; border-bottom: 0; border-right: 1px solid var(--border);
  display: flex; align-items: center;
}
.product-grid .product-card:last-child:nth-child(odd) .card-media .ill { border-radius: 14px 0 0 14px; transform: none; }
.product-grid .product-card:last-child:nth-child(odd) .product-top { margin-top: .4rem; }

.media-frame {
  position: relative; padding: 1.6rem; border-radius: 24px; border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--pc, #6366f1) 26%, transparent), transparent 65%),
    radial-gradient(70% 70% at 0% 100%, rgba(6,182,212,.12), transparent 70%),
    var(--bg-alt);
}
.media-frame .ill { border-radius: 16px; box-shadow: var(--shadow-lg); }
.product-row { grid-template-columns: 1fr 1.05fr; }
.product-row:nth-child(even) .media-frame { order: -1; }
.product-row .checks { margin-top: 1.2rem; }
.detail-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }

/* ---------- Insights / dashboard section ---------- */
.insight-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 3.5rem; align-items: center; }
.insight-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.1rem; }
.insight-list li { display: flex; gap: .9rem; align-items: flex-start; }
.insight-list h3 { margin: 0 0 .15rem; font-size: 1rem; }
.insight-list p { margin: 0; font-size: .93rem; }

/* ---------- Before / after ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-col { border-radius: 20px; padding: 2rem; border: 1px solid var(--border); background: var(--surface); }
.compare-col h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin-bottom: 1.2rem; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.compare-col li { display: flex; gap: .7rem; align-items: flex-start; }
.compare-col li::before { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.compare-col.before li { color: var(--muted); }
.compare-col.before li::before { content: "✕"; background: rgba(244,63,94,.15); color: var(--bad); }
.compare-col.after { border-color: color-mix(in srgb, #22c55e 45%, var(--border)); background: linear-gradient(180deg, rgba(34,197,94,.08), transparent 60%), var(--surface); }
.compare-col.after li::before { content: "✓"; background: rgba(34,197,94,.18); color: var(--ok); }
.badge-soft { font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: rgba(34,197,94,.16); color: var(--ok); }

/* ---------- Tech stack ---------- */
.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.tech-pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .92rem; color: var(--text);
}
.tech-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.industry { text-align: center; padding: 1.3rem .8rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); transition: transform .2s, border-color .2s; }
.industry:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--link) 40%, var(--border)); }
.industry .emoji { font-size: 1.8rem; display: block; margin-bottom: .4rem; }
.industry span { font-size: .88rem; font-weight: 600; color: var(--text); }

@media (max-width: 1024px) {
  .insight-grid, .detail-hero, .product-row { grid-template-columns: 1fr; }
  .product-row:nth-child(even) .media-frame { order: 0; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .card-media { margin: -1.5rem -1.5rem 1.2rem; padding: 1rem 1rem 0; }
  .product-grid .product-card:last-child:nth-child(odd) { display: flex; }
  .product-grid .product-card:last-child:nth-child(odd) .card-media {
    margin: -1.5rem -1.5rem 1.2rem; padding: 1rem 1rem 0; border-right: 0; border-bottom: 1px solid var(--border);
  }
  .product-grid .product-card:last-child:nth-child(odd) .card-media .ill { border-radius: 14px 14px 0 0; }
  .media-frame { padding: .9rem; border-radius: 18px; }
  .compare-col { padding: 1.4rem; }
}
.product-grid .product-card:last-child:nth-child(odd) .checks { grid-template-columns: 1fr; }

/* Status colours: darker on light themes, brighter on dark themes */
:root { --ok: #15803d; --bad: #e11d48; }
:is([data-theme="navy"], [data-theme="graphite"]) { --ok: #4ade80; --bad: #fb7185; }
