/* ============================================================
   PRAGYA — Design System (aligned with pitch deck brand)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background var(--ts), color var(--ts);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

/* ── Design Tokens (shared) ── */
:root {
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;
  --tf: 150ms ease;
  --tb: 250ms ease;
  --ts: 400ms ease;
  --nav-h: 72px;
  --mw: 1200px;
}

/* ══════════════════════════════
   THEME 1 — Dawn  (light)
   Warm cream · Coral / Gold / Purple
══════════════════════════════ */
[data-theme="dawn"] {
  --bg: #fffaf5;
  --bg-surface: #ffffff;
  --bg-raised: rgba(255, 237, 213, .65);
  --bg-overlay: rgba(255, 250, 245, .95);
  --border: rgba(234, 88, 12, .16);
  --border-subtle: rgba(234, 88, 12, .07);
  --text: #1c0a00;
  --text-2: #7c3010;
  --text-3: #3d3835;
  --cyan: #ea580c;
  --cyan-2: #c2410c;
  --cyan-bg: rgba(234, 88, 12, .10);
  --blue: #d97706;
  --blue-2: #b45309;
  --blue-bg: rgba(217, 119, 6, .10);
  --purple: #9333ea;
  --purple-2: #7e22ce;
  --purple-bg: rgba(147, 51, 234, .10);
  --success: #15803d;
  --success-bg: rgba(21, 128, 61, .10);
  --danger: #dc2626;
  --gradient: linear-gradient(135deg, #ea580c, #d97706);
  --gradient-purple: linear-gradient(135deg, #d97706, #9333ea);
  --glow-cyan: rgba(234, 88, 12, .35);
  --glow-blue: rgba(217, 119, 6, .35);
  --glow-purple: rgba(147, 51, 234, .30);
  --sh-sm: 0 1px 4px rgba(120, 40, 0, .10);
  --sh-md: 0 4px 16px rgba(120, 40, 0, .14);
  --sh-lg: 0 12px 40px rgba(120, 40, 0, .18);
  --sh-cyan: 0 0 30px rgba(234, 88, 12, .18);
  --sh-blue: 0 0 30px rgba(217, 119, 6, .16);
  --orb-a: rgba(234, 88, 12, .12);
  --orb-b: rgba(147, 51, 234, .08);
  --orb-c: rgba(217, 119, 6, .09);
}


/* ══════════════════════════════
   THEME — Dusk  (dark)
   Warm dark · same orange/amber/purple palette as Dawn
══════════════════════════════ */
[data-theme="dusk"] {
  --bg: #0f0700;
  --bg-surface: #1c0e03;
  --bg-raised: rgba(50, 25, 5, 0.85);
  --bg-overlay: rgba(15, 7, 0, 0.95);
  --border: rgba(234, 88, 12, .28);
  --border-subtle: rgba(234, 88, 12, .12);
  --text: #fffefe;
  --text-2: #e69b6d;
  --text-3: #eddbd2;
  --cyan: #ff8543;
  --cyan-2: #ff8c42;
  --cyan-bg: #ff954140;
  --blue: #f59e0b;
  --blue-2: #fbbf24;
  --blue-bg: rgba(245, 158, 11, .18);
  --purple: #c084fc;
  --purple-2: #d8b4fe;
  --purple-bg: rgba(192, 132, 252, .15);
  --success: #22c55e;
  --success-bg: rgba(34, 197, 94, .12);
  --danger: #f87171;
  --gradient: linear-gradient(135deg, #ea580c, #d97706);
  --gradient-purple: linear-gradient(135deg, #d97706, #9333ea);
  --glow-cyan: rgba(234, 88, 12, .45);
  --glow-blue: rgba(245, 158, 11, .40);
  --glow-purple: rgba(192, 132, 252, .35);
  --sh-sm: 0 1px 4px rgba(0, 0, 0, .40);
  --sh-md: 0 4px 16px rgba(0, 0, 0, .50);
  --sh-lg: 0 12px 40px rgba(0, 0, 0, .60);
  --sh-cyan: 0 0 30px rgba(234, 88, 12, .40);
  --sh-blue: 0 0 30px rgba(245, 158, 11, .35);
  --orb-a: rgba(234, 88, 12, .18);
  --orb-b: rgba(147, 51, 234, .14);
  --orb-c: rgba(217, 119, 6, .16);
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-2);
}

/* Gradient text helper */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan {
  color: var(--cyan);
}

.text-blue {
  color: var(--blue);
}

.text-purple {
  color: var(--purple);
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gap-sm {
  gap: .5rem;
}

.gap-md {
  gap: 1rem;
}

.gap-lg {
  gap: 2rem;
}

.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: .5rem;
}

.mt-md {
  margin-top: 1rem;
}

.mt-lg {
  margin-top: 2rem;
}

.mb-sm {
  margin-bottom: .5rem;
}

.mb-md {
  margin-bottom: 1rem;
}

.mb-lg {
  margin-bottom: 2rem;
}

/* ── Section ── */
section {
  padding-block: 5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: .32rem .85rem;
  border-radius: var(--r-full);
  background: var(--cyan-bg);
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

.section-label::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.section-title {
  margin-bottom: 1rem;
}

/* ── Footer brand logo ── */
.footer-brand-mark {
  height: 40px;
  width: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px var(--glow-cyan));
}

/* ── Brand tagline bar ── */
.brand-tagline-bar {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: .04em;
  margin-top: .35rem;
}

.brand-tagline-bar::before,
.brand-tagline-bar::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  display: block;
  width: 24px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 54ch;
  margin-bottom: 3rem;
}

.section-sub.center {
  margin-inline: auto;
}

/* ── Glass card ── */
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm);
  transition: transform var(--tb), box-shadow var(--tb), border-color var(--tb);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.card-cyan {
  border-color: var(--glow-cyan);
  box-shadow: var(--sh-cyan);
}

.card-blue {
  border-color: var(--glow-blue);
  box-shadow: var(--sh-blue);
}

.card-purple {
  border-color: var(--glow-purple);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon.cyan {
  background: var(--cyan-bg);
  color: var(--cyan);
}

.card-icon.blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.card-icon.purple {
  background: var(--purple-bg);
  color: var(--purple);
}

.card h3 {
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.card p {
  font-size: .9rem;
  line-height: 1.7;
}

/* Feature card (left-bordered) */
.feature-card {
  border-left: 3px solid var(--border);
  padding-left: 1.5rem;
  transition: border-color var(--tb);
}

.feature-card:hover {
  border-color: var(--cyan);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: .75rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  padding: .7rem 1.5rem;
  border-radius: var(--r-full);
  transition: all var(--tb);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 12px var(--glow-cyan);
}

.btn-primary:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--glow-blue);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-ghost {
  color: var(--cyan);
}

.btn-ghost:hover {
  text-decoration: underline;
}

.btn-lg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

.btn-light {
  background: #fff;
  color: #0f172a;
}

.btn-light:hover {
  background: var(--cyan-bg);
  color: var(--cyan);
}

/* ── Tag / badge ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--bg-overlay);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--ts), border-color var(--ts);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--mw);
  margin-inline: auto;
  padding-inline: 0.7rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--tf);
}

.nav-logo:hover {
  opacity: .85;
}

.nav-logo-icon {
  color: var(--cyan);
}

/* ── Logo mark (transparent SVG icon) ── */
.nav-logo-img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px var(--glow-cyan));
}

/* Theme-aware logos */
[data-theme="dawn"] .logo-light {
  display: block;
}

[data-theme="dawn"] .logo-dark {
  display: none;
}

[data-theme="dusk"] .logo-dark {
  display: block;
}

[data-theme="dusk"] .logo-light {
  display: none;
}

.logo-icon {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: .45rem .75rem;
  border-radius: var(--r-sm);
  transition: color var(--tf), background var(--tf);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  background: var(--cyan-bg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border: 1px solid var(--border);
  transition: all var(--tf);
}

.theme-toggle:hover {
  color: var(--cyan);
  border-color: var(--glow-cyan);
}

.nav-cta {
  font-size: .85rem;
  padding: .5rem 1.1rem;
}

.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--border);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: .25rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: .7rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--tf);
}

.nav-mobile a:hover {
  color: var(--cyan);
  background: var(--cyan-bg);
}

.nav-mobile .btn-primary {
  margin-top: .5rem;
  text-align: center;
  justify-content: center;
}

/* ── Page wrap ── */
.page {
  padding-top: var(--nav-h);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h));
  padding-block: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Glow orbs matching pitch deck */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 1;
  pointer-events: none;
}

.orb-cyan {
  width: 420px;
  height: 420px;
  background: var(--orb-a);
  top: 8%;
  left: 12%;
  animation: floatorb 8s ease-in-out infinite alternate;
}

.orb-purple {
  width: 520px;
  height: 520px;
  background: var(--orb-b);
  bottom: -10%;
  right: 3%;
  animation: floatorb 10s ease-in-out infinite alternate-reverse;
}

.orb-blue {
  width: 360px;
  height: 360px;
  background: var(--orb-c);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Brand gradient utility ── */
.brand-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-gradient-purple {
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero layout ── */
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-brand-col {
    display: none;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* ── Hero brand visual (right column) ── */
.hero-brand-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-brand-mark {
  width: clamp(280px, 34vw, 460px);
  height: clamp(280px, 34vw, 460px);
  position: relative;
  animation: floatorb 14s ease-in-out infinite alternate;
}

#pragya-brand-svg {
  position: relative;
  display: block;
  z-index: 1;
  filter: drop-shadow(0 0 40px var(--glow-cyan)) drop-shadow(0 0 80px var(--glow-blue));
}

.hero-brand-ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin 60s linear infinite;
}

.hero-brand-ring-2 {
  position: absolute;
  inset: -26%;
  border-radius: 50%;
  border: 1px dashed var(--border-subtle);
  animation: spin 90s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Brand wordmark in hero ── */
.hero-brand-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: .35rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: var(--cyan-bg);
  backdrop-filter: blur(8px);
}

.hero-brand-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 2s ease infinite;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.hero-eyebrow span {
  width: 24px;
  height: 1.5px;
  background: var(--cyan);
  display: block;
}

.hero h1 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-2);
  max-width: 54ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.5rem;
  font-size: .88rem;
  color: var(--text-3);
}

.hero-trust-row span {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.hero-trust-row svg {
  color: var(--cyan);
  flex-shrink: 0;
}

.hero-stat-n {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero-stat-l {
  font-size: .78rem;
  color: var(--text-3);
  margin-top: .25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── Proof / Stats ── */
.proof {
  background: var(--bg-surface);
}

.proof-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.proof-label {
  font-size: .82rem;
  color: var(--text-3);
  margin-top: .3rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.proof-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.vs-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-block: 1rem;
}

.vs-badge {
  background: var(--blue-bg);
  color: var(--blue);
  font-weight: 700;
  font-size: .85rem;
  padding: .4rem .9rem;
  border-radius: var(--r-full);
  border: 1px solid var(--glow-blue);
  white-space: nowrap;
}

.vs-side {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

.vs-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  margin-bottom: .5rem;
}

.vs-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.vs-val.good {
  color: var(--success);
}

.vs-val.bad {
  color: var(--danger);
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--gradient);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 48px var(--glow-blue);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgb(0 20 255 / 12%) 0%, #b1373700 60%), radial-gradient(circle at 70% 50%, rgb(139 92 246 / 0%) 0%, #ff2e2e00 60%);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2rem;
}

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--bg-surface);
  padding-block: 4.5rem 3.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: url('../assets/logo-icon.svg') center/contain no-repeat;
  opacity: .04;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--r-full);
}

.page-hero-orb-1 {
  position: absolute;
  top: -60px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 240, 255, .06);
  filter: blur(60px);
  pointer-events: none;
}

.page-hero-orb-2 {
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(139, 92, 246, .06);
  filter: blur(60px);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--text-3);
  justify-content: center;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--text-3);
  transition: color var(--tf);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb span {
  color: var(--text-3);
}

/* ── Philosophy quote ── */
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  border-left: 3px solid var(--cyan);
  padding-left: 2rem;
  margin-block: 2.5rem;
}

/* ── Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  backdrop-filter: blur(8px);
  transition: border-color var(--tb);
}

.value-item:hover {
  border-color: var(--glow-cyan);
}

.value-icon {
  font-size: 1.6rem;
}

.value-name {
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--font-display);
}

.value-desc {
  font-size: .85rem;
  color: var(--text-2);
}

/* ── Technology page ── */
.arch-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.arch-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, .04) 0%, transparent 70%);
  pointer-events: none;
}

.arch-box {
  padding: .6rem 1.4rem;
  border-radius: var(--r-full);
  font-size: .82rem;
  font-weight: 600;
  border: 1.5px solid;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-display);
}

.arch-box.input {
  border-color: var(--glow-purple);
  color: var(--purple);
  background: var(--purple-bg);
}

.arch-box.core {
  border-color: var(--glow-cyan);
  color: var(--cyan);
  background: var(--cyan-bg);
  font-size: .95rem;
  padding: .9rem 2rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, .15);
}

.arch-box.mem {
  border-color: var(--glow-cyan);
  color: var(--cyan);
  background: var(--cyan-bg);
}

.arch-box.output {
  border-color: var(--glow-blue);
  color: var(--blue);
  background: var(--blue-bg);
}

.arch-wrapper {
  display: flex;
  justify-content: center;
  padding: 2.5rem;
}

.arch-flow-h {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 280px;
}

.pipe {
  width: 1.5px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--cyan), var(--border));
  margin-inline: auto;
}

.brain-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 520px;
  margin-inline: auto;
}

.brain-node {
  padding: 1rem;
  border-radius: var(--r-md);
  text-align: center;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  backdrop-filter: blur(8px);
  transition: border-color var(--tb);
}

.brain-node:hover {
  border-color: var(--glow-cyan);
}

.brain-node-icon {
  font-size: 1.4rem;
  margin-bottom: .4rem;
}

.brain-node-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
}

.tech-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tech-side {
  padding: 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--bg-raised);
  backdrop-filter: blur(8px);
}

.tech-side.old {
  border-color: rgba(239, 68, 68, .3);
  background: rgba(239, 68, 68, .04);
}

.tech-side.new {
  border-color: var(--glow-cyan);
  background: var(--cyan-bg);
}

.tech-side h4 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.tech-side.old h4 {
  color: var(--danger);
}

.tech-side.new h4 {
  color: var(--cyan);
}

.tech-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.tech-list li {
  font-size: .9rem;
  color: var(--text-2);
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}

.tech-list li::before {
  content: '×';
  color: var(--danger);
  flex-shrink: 0;
}

.tech-list.good li::before {
  content: '→';
  color: var(--cyan);
}

/* Roadmap */
.roadmap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 120px auto 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.roadmap-phase {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: .25rem;
  text-align: right;
}

.roadmap-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roadmap-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--cyan);
  background: var(--bg);
  flex-shrink: 0;
  margin-top: .2rem;
}

.roadmap-dot.filled {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--glow-cyan);
}

.roadmap-line {
  flex: 1;
  width: 1.5px;
  background: var(--border);
  min-height: 3rem;
}

.roadmap-content {
  padding-bottom: 2.5rem;
}

.roadmap-content h4 {
  font-size: 1rem;
  margin-bottom: .35rem;
  font-family: var(--font-display);
}

.roadmap-content p {
  font-size: .88rem;
  color: var(--text-2);
}

/* ── Chat page ── */
.chat-page {
  display: flex;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.chat-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.model-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--r-md);
  background: var(--cyan-bg);
  border: 1px solid var(--glow-cyan);
  margin-bottom: 1rem;
}

.model-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 6px var(--cyan);
}

.model-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--cyan);
  font-family: var(--font-display);
}

.model-ver {
  font-size: .72rem;
  color: var(--text-3);
}

.chat-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.chat-history-title {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  padding: .5rem .5rem .75rem;
}

.chat-history-item {
  padding: .6rem .75rem;
  border-radius: var(--r-sm);
  font-size: .85rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--tf);
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-history-item:hover {
  background: var(--cyan-bg);
  color: var(--text);
}

.chat-history-item.active {
  background: var(--cyan-bg);
  color: var(--cyan);
  border-left: 2px solid var(--cyan);
  padding-left: calc(.75rem - 2px);
}

.chat-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.early-access-badge {
  text-align: center;
  padding: .75rem;
  border-radius: var(--r-md);
  background: var(--blue-bg);
  border: 1px solid var(--glow-blue);
  font-size: .75rem;
  color: var(--blue);
  font-weight: 600;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.chat-topbar {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
}

.chat-topbar h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.0rem;
}

.msg {
  display: flex;
  gap: 1rem;
  max-width: 820px;
}

.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.msg-avatar.ai {
  background: var(--cyan-bg);
  color: var(--cyan);
  border: 1px solid var(--glow-cyan);
}

.msg-avatar.user {
  background: var(--blue-bg);
  color: var(--blue);
  border: 1px solid var(--glow-blue);
}

.msg-bubble {
  padding: 1rem 1.25rem;
  border-radius: var(--r-lg);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 600px;
}

.msg.ai .msg-bubble {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  backdrop-filter: blur(8px);
}

.msg.user .msg-bubble {
  background: var(--gradient);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-bubble code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  background: rgba(0, 240, 255, .1);
  color: var(--cyan);
  padding: .15rem .4rem;
  border-radius: 4px;
  font-size: .85em;
}

.msg.user .msg-bubble code {
  background: rgba(255, 255, 255, .2);
  color: #fff;
}

.typing-indicator {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: .75rem 1rem;
}

.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  animation: blink 1.4s ease infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: .2s;
}

.typing-dot:nth-child(3) {
  animation-delay: .4s;
}

.chat-suggestions {
  padding: 0 1.5rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.suggestion-btn {
  font-size: .8rem;
  padding: .45rem .9rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--r-full);
  transition: all var(--tf);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.suggestion-btn:hover {
  border-color: var(--glow-cyan);
  color: var(--cyan);
  background: var(--cyan-bg);
}

.chat-input-bar {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.chat-input-wrap {
  display: flex;
  gap: .75rem;
  align-items: flex-end;
  background: var(--bg-raised);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: .75rem 1rem;
  transition: border-color var(--tf);
  backdrop-filter: blur(8px);
}

.chat-input-wrap:focus-within {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .08);
}

#chat-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: .92rem;
  resize: none;
  min-height: 1.5rem;
  max-height: 8rem;
  line-height: 1.5;
}

#chat-input::placeholder {
  color: var(--text-3);
}

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--gradient);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tf);
  box-shadow: 0 2px 8px var(--glow-cyan);
}

.send-btn:hover {
  opacity: .88;
}

.send-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.chat-disclaimer {
  text-align: center;
  font-size: .72rem;
  color: var(--text-3);
  margin-top: .5rem;
}

.chat-sidebar-toggle {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  color: var(--text);
}

/* ── Team page ── */
.team-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all var(--tb);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--glow-cyan);
}

.team-card.founder {
  border-color: var(--glow-cyan);
  box-shadow: var(--sh-cyan);
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px var(--glow-blue);
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}

.team-role {
  font-size: .82rem;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.7;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  margin-top: 1.25rem;
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-bg);
  color: var(--cyan);
  border: 1px solid var(--glow-cyan);
}

.contact-item-label {
  font-size: .72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-item-val {
  font-size: .95rem;
  font-weight: 500;
  margin-top: .15rem;
}

.contact-form-wrap {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: .4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-size: .9rem;
  transition: border-color var(--tf);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--glow-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, .07);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #fff;
}

.form-success {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  text-align: center;
  padding: .75rem 1.5rem;
  font-size: .88rem;
  color: var(--cyan);
  background: var(--bg-surface);
  border-radius: var(--r-md);
  font-weight: 600;
  border: 1px solid var(--glow-cyan);
  box-shadow: var(--sh-md);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .4s ease;
}

.form-success.visible {
  opacity: 1;
}

/* ── Footer ── */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-block: 3rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--text-3);
  margin-top: .75rem;
  margin-bottom: 0.75rem;
  max-width: 30ch;
}

.footer-col h5 {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: .88rem;
  color: var(--text-2);
  padding-block: .3rem;
  transition: color var(--tf);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Theme Dropdown ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-2);
  cursor: pointer;
  transition: border-color var(--tf), color var(--tf), background var(--tf);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-bg);
}

[data-theme="dusk"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dusk"] .theme-toggle .icon-moon {
  display: none;
}

[data-theme="dawn"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dawn"] .theme-toggle .icon-moon {
  display: block;
}

/* ── Scroll animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity .6s ease;
}

.fade-in.visible {
  opacity: 1;
}

.stagger-1 {
  transition-delay: .1s;
}

.stagger-2 {
  transition-delay: .2s;
}

.stagger-3 {
  transition-delay: .3s;
}

.stagger-4 {
  transition-delay: .4s;
}

/* ── Keyframes ── */
@keyframes floatorb {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(30px) scale(1.08);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px var(--cyan);
  }

  50% {
    opacity: .4;
    box-shadow: 0 0 12px var(--cyan);
  }
}

@keyframes blink {

  0%,
  80%,
  100% {
    opacity: .15;
  }

  40% {
    opacity: 1;
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg {
  animation: fadeSlideIn .3s ease;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tech-compare {
    grid-template-columns: 1fr;
  }

  .chat-sidebar {
    width: 240px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  section {
    padding-block: 3.5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-block: 3.5rem 6.0rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap-item {
    grid-template-columns: auto auto 1fr;
  }

  .roadmap-phase {
    display: none;
  }

  .chat-page {
    position: relative;
  }

  .chat-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform var(--tb);
    width: 280px;
  }

  .chat-sidebar.open {
    transform: translateX(0);
  }

  .chat-sidebar-toggle {
    display: flex;
  }

  .chat-topbar {
    padding-left: 3.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer {
    padding-block: 2rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    padding-top: 1.25rem;
  }

  .footer-col h5 {
    margin-bottom: .6rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .chat-suggestions {
    display: none;
  }

  .brain-row {
    grid-template-columns: 1fr 1fr;
  }
}