/* ============================================================
   AURA AI — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Inter:wght@300;400;500;600;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-base:        #050505;
  --bg-surface:     #0a0a0f;
  --bg-card:        rgba(255, 255, 255, 0.03);
  --bg-card-hover:  rgba(255, 255, 255, 0.06);

  --cyan:           #00f3ff;
  --cyan-dim:       rgba(0, 243, 255, 0.15);
  --cyan-glow:      rgba(0, 243, 255, 0.4);
  --purple:         #b026ff;
  --purple-dim:     rgba(176, 38, 255, 0.15);
  --purple-glow:    rgba(176, 38, 255, 0.4);
  --purple-mid:     #7c3aed;

  --text-primary:   #f0f0f8;
  --text-secondary: rgba(240, 240, 248, 0.55);
  --text-muted:     rgba(240, 240, 248, 0.3);

  --border:         rgba(255, 255, 255, 0.06);
  --border-accent:  rgba(0, 243, 255, 0.2);

  --glass-bg:       rgba(255, 255, 255, 0.03);
  --glass-blur:     blur(14px);
  --glass-border:   1px solid rgba(255, 255, 255, 0.07);
  --glass-radius:   14px;

  --font-display:   'Orbitron', monospace;
  --font-sub:       'Rajdhani', sans-serif;
  --font-body:      'Inter', sans-serif;

  --nav-height:     72px;
  --section-pad:    120px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Three.js Canvas Background ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Page wrapper above canvas ── */
.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }

h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-family: var(--font-sub); font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: 0.02em; }
h4 { font-family: var(--font-sub); font-size: 1.1rem; font-weight: 500; }

p { color: var(--text-secondary); }

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 64px);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.9);
  border-bottom-color: rgba(0, 243, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #6d1fd8);
  color: #fff;
  box-shadow: 0 0 24px var(--purple-glow);
}

.btn-primary::before {
  background: linear-gradient(135deg, #c840ff, var(--purple));
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--purple-glow), 0 0 80px rgba(176, 38, 255, 0.2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim), inset 0 0 12px var(--cyan-dim);
}

.btn-outline:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 20px var(--cyan-dim);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.btn-nav {
  padding: 9px 22px;
  font-size: 0.85rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-sub);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-nav:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Nav ── */
.mobile-nav {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transform: translateY(-110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px clamp(24px, 5vw, 64px);
}

.mobile-nav.open { transform: translateY(0); }

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-sub);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--cyan); }

.mobile-nav .mobile-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  transition: all var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 243, 255, 0.12);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 243, 255, 0.05);
}

/* ── Sections ── */
.section {
  padding: var(--section-pad) clamp(24px, 6vw, 80px);
  max-width: 1320px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.05rem;
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* ── Glow Effects ── */
.glow-cyan { text-shadow: 0 0 20px var(--cyan-glow); color: var(--cyan); }
.glow-purple { text-shadow: 0 0 20px var(--purple-glow); color: var(--purple); }

/* ── Footer ── */
footer {
  padding: 60px clamp(24px, 6vw, 80px) 32px;
  border-top: 1px solid var(--border);
  position: relative;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h5 {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1320px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Page Hero shared ── */
.page-hero {
  padding: calc(var(--nav-height) + 80px) clamp(24px, 6vw, 80px) 80px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-hero .section-eyebrow { justify-content: center; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p { font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root { --section-pad: 72px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --section-pad: 56px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ────────────────────────────────────────────────
   INDEX.HTML — Homepage
──────────────────────────────────────────────── */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) clamp(24px, 6vw, 80px) 60px;
}

.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 243, 255, 0.06);
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '◆';
  font-size: 0.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-title .accent-line {
  display: block;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.stat-item {
  padding: 20px 16px;
  position: relative;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-value span { color: var(--cyan); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.stat-bar {
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  opacity: 0.5;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.neural-core {
  width: 420px;
  height: 420px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.neural-core-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, rgba(176, 38, 255, 0.3) 0%, rgba(0, 243, 255, 0.15) 40%, transparent 70%);
  border: 1px solid rgba(176, 38, 255, 0.2);
  box-shadow:
    0 0 60px rgba(176, 38, 255, 0.2),
    0 0 120px rgba(0, 243, 255, 0.1),
    inset 0 0 60px rgba(176, 38, 255, 0.1);
  animation: neural-breathe 4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes neural-breathe {
  0%, 100% { box-shadow: 0 0 60px rgba(176, 38, 255, 0.2), 0 0 120px rgba(0, 243, 255, 0.1), inset 0 0 60px rgba(176, 38, 255, 0.1); }
  50% { box-shadow: 0 0 100px rgba(176, 38, 255, 0.35), 0 0 180px rgba(0, 243, 255, 0.18), inset 0 0 80px rgba(176, 38, 255, 0.15); }
}

.neural-rings {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 70%; height: 70%; border-color: rgba(0, 243, 255, 0.2); animation: ring-spin 8s linear infinite; }
.ring-2 { width: 85%; height: 85%; border-color: rgba(176, 38, 255, 0.15); animation: ring-spin 12s linear infinite reverse; }
.ring-3 { width: 100%; height: 100%; border-color: rgba(0, 243, 255, 0.08); animation: ring-spin 18s linear infinite; }

@keyframes ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.neural-core-glyph {
  font-size: 4rem;
  z-index: 1;
  filter: drop-shadow(0 0 20px var(--purple));
}

.core-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(0, 243, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 200px;
}

.core-badge-title {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.core-badge-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.core-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--cyan);
  margin-top: 8px;
  font-family: var(--font-sub);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px 24px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-dim), var(--cyan-dim));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  box-shadow: 0 0 24px var(--purple-glow);
  border-color: var(--purple);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p { font-size: 0.88rem; line-height: 1.65; }

/* Trusted / Social Proof */
.proof-section {
  padding: 60px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.proof-label {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-logo {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

.proof-logo:hover { color: rgba(255,255,255,0.5); }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 60px;
}

.metric-cell {
  background: var(--bg-base);
  padding: 36px 28px;
  text-align: center;
  transition: background var(--transition);
}

.metric-cell:hover { background: rgba(255,255,255,0.02); }

.metric-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ────────────────────────────────────────────────
   FEATURES.HTML
──────────────────────────────────────────────── */

.tabs-container { margin-bottom: 48px; }

.tabs-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  margin-bottom: -1px;
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tab-text h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.tab-text p { margin-bottom: 16px; font-size: 0.95rem; }

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '→';
  color: var(--cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Code snippet */
.code-block {
  background: rgba(0, 243, 255, 0.02);
  border: 1px solid rgba(0, 243, 255, 0.1);
  border-radius: 10px;
  padding: 24px;
  overflow-x: auto;
}

.code-block pre {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #a0f0ff;
  white-space: pre;
}

.code-block .kw { color: var(--purple); }
.code-block .str { color: #98ff98; }
.code-block .cmt { color: rgba(255,255,255,0.3); }
.code-block .fn { color: var(--cyan); }

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.code-lang {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Feature matrix table */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.matrix-table thead th {
  padding: 14px 20px;
  text-align: left;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.matrix-table thead th:first-child { color: var(--text-secondary); }

.matrix-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.matrix-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.matrix-table td {
  padding: 14px 20px;
  color: var(--text-secondary);
}

.matrix-table td:first-child { font-weight: 500; color: var(--text-primary); }

.check-yes { color: var(--cyan); }
.check-no { color: var(--text-muted); }

/* ────────────────────────────────────────────────
   PRICING.HTML
──────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: rgba(176, 38, 255, 0.4) !important;
  box-shadow: 0 0 60px rgba(176, 38, 255, 0.12), 0 0 120px rgba(176, 38, 255, 0.06);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.06), rgba(0, 243, 255, 0.03));
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--purple), #6d1fd8);
  border-radius: 100px;
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-tier {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 400;
  vertical-align: super;
  color: var(--text-secondary);
}

.pricing-price sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 12px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-features .feat-yes { color: var(--cyan); flex-shrink: 0; margin-top: 1px; }
.pricing-features .feat-no  { color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(0, 243, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--cyan); }

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer { max-height: 300px; }

/* ────────────────────────────────────────────────
   CONTACT.HTML
──────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-info p { font-size: 0.9rem; margin-bottom: 36px; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.contact-item:hover .contact-item-icon {
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.contact-item-label {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.92rem;
  color: var(--text-primary);
}

.social-links {
  margin-top: 36px;
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
  transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  resize: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--cyan);
  background: rgba(0, 243, 255, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.08), 0 0 20px rgba(0, 243, 255, 0.06);
}

.form-textarea { min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--cyan);
  font-family: var(--font-sub);
  font-size: 1rem;
}

/* ── Responsive grid fixes ── */
@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tab-content { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .neural-core { width: 280px; height: 280px; }
  .core-badge { right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border); }
}
