/* ============================================================
   OXEVA.AI — Design System
   Palette: Navy | Teal | Gold | Off-white
   Type: Playfair Display (display) + Inter (body)
   ============================================================ */

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

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #F0F9FB; color: #0D1B3E; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Tokens ── */
:root {
  --navy:    #0D1B3E;
  --navy2:   #152852;
  --teal:    #0891B2;
  --teal2:   #06B6D4;
  --gold:    #F59E0B;
  --white:   #FFFFFF;
  --offwhite:#F0F9FB;
  --light:   #E0F2FE;
  --silver:  #CBD5E1;
  --slate:   #64748B;
  --radius:  12px;
  --radius-lg: 20px;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--slate); }
.lead { font-size: 1.2rem; line-height: 1.8; }
.label { font-family: 'Inter', sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 0;
  background: rgba(13, 27, 62, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8, 145, 178, 0.2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: var(--white); }
.nav-logo span { color: var(--teal2); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--silver); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal2); }
.nav-cta { background: var(--teal); color: var(--white) !important; padding: 0.55rem 1.4rem; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-cta:hover { background: var(--teal2) !important; }

/* ── Mobile nav toggle ── */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal2); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--teal2); color: var(--teal2); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #FBBF24; transform: translateY(-1px); }

/* ── Cards ── */
.card { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: 0 4px 24px rgba(13,27,62,0.08); border: 1px solid rgba(8,145,178,0.1); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(13,27,62,0.14); }
.card-dark { background: var(--navy2); border-color: rgba(8,145,178,0.25); }
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: var(--silver); }

/* ── Pills / Tags ── */
.pill { display: inline-block; padding: 0.3rem 1rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pill-teal { background: var(--light); color: var(--teal); }
.pill-gold { background: #FEF3C7; color: #92400E; }
.pill-navy { background: var(--navy); color: var(--white); }

/* ── Section labels ── */
.eyebrow { color: var(--teal); margin-bottom: 0.75rem; }
.eyebrow-gold { color: var(--gold); margin-bottom: 0.75rem; }

/* ── Dark sections ── */
.bg-navy { background: var(--navy); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: var(--silver); }
.bg-navy2 { background: var(--navy2); }
.bg-navy2 h2, .bg-navy2 h3 { color: var(--white); }
.bg-navy2 p { color: var(--silver); }
.bg-light { background: var(--offwhite); }
.bg-white { background: var(--white); }

/* ── Dividers ── */
.divider { width: 60px; height: 3px; background: var(--teal); margin: 1.5rem 0; border-radius: 2px; }
.divider-gold { background: var(--gold); }
.divider-center { margin: 1.5rem auto; }

/* ── Stats row ── */
.stat-block { text-align: center; }
.stat-block .number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 900; color: var(--teal); line-height: 1; }
.stat-block .stat-label { font-size: 0.9rem; color: var(--silver); margin-top: 0.5rem; }

/* ── Icon circles ── */
.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: font-size; }

/* ── Quote blocks ── */
.quote-block { border-left: 3px solid var(--teal); padding: 1.5rem 2rem; background: var(--light); border-radius: 0 var(--radius) var(--radius) 0; }
.quote-block p { color: var(--navy); font-size: 1.1rem; font-style: italic; }

/* ── Process steps ── */
.step { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-num { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }

/* ── Table ── */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.compare-table th { background: var(--navy); color: var(--white); padding: 1rem 1.25rem; font-size: 0.85rem; font-weight: 600; text-align: center; }
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid #E2E8F0; font-size: 0.9rem; text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--offwhite); }
.compare-table .col-oxeva { background: var(--light) !important; color: var(--teal); font-weight: 700; }
.compare-table .check { color: var(--teal); font-size: 1.1rem; }
.compare-table .cross { color: var(--silver); }

/* ── Brain animation (hero) ── */
.brain-visual { position: relative; width: 100%; height: 420px; }
.brain-canvas { width: 100%; height: 100%; }

/* ── Hero ── */
.hero { min-height: 100vh; background: var(--navy); display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(8,145,178,0.18) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%); pointer-events: none; }

/* ── Tagline strip ── */
.tagline-strip { background: var(--teal); padding: 0.75rem 0; overflow: hidden; }
.tagline-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 20s linear infinite; }
.tagline-track span { font-size: 0.85rem; font-weight: 600; color: var(--white); letter-spacing: 0.05em; }
.tagline-track .dot { color: rgba(255,255,255,0.5); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Footer ── */
.footer { background: var(--navy); padding: 4rem 0 2rem; border-top: 1px solid rgba(8,145,178,0.2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 900; color: var(--white); margin-bottom: 1rem; }
.footer-logo span { color: var(--teal2); }
.footer-desc { color: var(--silver); font-size: 0.9rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col a { display: block; color: var(--silver); font-size: 0.9rem; margin-bottom: 0.7rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--slate); font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy2);
    border-top: 1px solid rgba(8,145,178,0.2);
    padding: 0.5rem 2rem 1.25rem;
  }
  .nav-links.nav-links-open { display: flex; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links .nav-cta { margin-top: 0.75rem; text-align: center; display: inline-block; }
}
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, .tagline-track { animation: none !important; transition: none !important; }
}
