/* tokens */
:root {
  --white: #ffffff;
  --off-white: #f9f8ff;
  --light-purple: #ede9fe;
  --mid-purple: #c4b0ee;
  --accent: #7c3aed;
  --accent-bright: #8b5cf6;
  --accent-dark: #5b21b6;
  --text: #1a1025;
  --text-muted: #6b5f82;
  --border: rgba(124, 58, 237, 0.12);
  --border-strong: rgba(124, 58, 237, 0.25);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius: 16px;
  --radius-sm: 8px;
  --section-pad: clamp(80px, 10vw, 140px);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, button { font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--mid-purple); border-radius: 3px; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 48px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  padding: 14px 48px;
  box-shadow: 0 4px 32px rgba(124,58,237,0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.logo-text { font-size: 15px; color: var(--text); letter-spacing: -0.01em; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124,58,237,0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover {
  background: var(--light-purple);
  border-color: var(--accent);
}
.btn--large { padding: 18px 36px; font-size: 16px; border-radius: 12px; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0;
  padding: 120px 15% 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  top: -100px; right: -100px;
}
.hero-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(196,176,238,0.2), transparent 70%);
  bottom: 0; left: 30%;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  max-width: 540px;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1.5px;
  background: var(--accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 40px;
}

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

.hero-glasses-wrap {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  z-index: 2;
  animation: fadeUp 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-stat-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
  box-shadow: 0 4px 24px rgba(124,58,237,0.06);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.stat-card:nth-child(1) { animation-delay: 0.3s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.5s; }

.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-scroll-hint {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  z-index: 2;
  opacity: 0.5;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUp 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.scroll-line {
  width: 48px; height: 1px;
  background: var(--text-muted);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleX(1); opacity: 0.5; }
  50% { transform: scaleX(1.4); opacity: 1; }
}

.marquee-strip {
  background: var(--accent);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.marquee-track .dot { opacity: 0.4; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: var(--section-pad) 0; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}
.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 64px;
}

.tech-section { background: var(--off-white); }

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

.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  opacity: 0;
  transform: translateY(24px);
}
.tech-card.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1),
              border-color 0.25s, box-shadow 0.25s;
}
.tech-card:hover {
  border-color: var(--mid-purple);
  box-shadow: 0 12px 48px rgba(124,58,237,0.1);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 52px; height: 52px;
  background: var(--light-purple);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  padding: 12px;
}
.tech-card-icon svg { width: 28px; height: 28px; }

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.tech-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* science section */
.science-section { background: var(--white); }
.science-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.science-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.science-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.sci-stat { display: flex; flex-direction: column; gap: 4px; }
.sci-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sci-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
}

/* vision diagram */
.science-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.vision-diagram {
  position: relative;
  width: 320px; height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.vision-ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.vision-ring--outer {
  width: 320px; height: 320px;
  background: rgba(196,176,238,0.12);
  border: 1.5px dashed var(--mid-purple);
}
.vision-ring--rp {
  width: 200px; height: 200px;
  background: rgba(124,58,237,0.06);
  border: 1.5px solid var(--border-strong);
}
.vision-ring--sv {
  width: 280px; height: 280px;
  background: rgba(124,58,237,0.06);
  border: 2px solid var(--accent);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
  50% { box-shadow: 0 0 0 12px rgba(124,58,237,0.08); }
}
.ring-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
}
.vision-ring--outer .ring-label { color: var(--mid-purple); }
.vision-ring--rp .ring-label { color: var(--text-muted); }

.vision-center {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
}
.peripheral-zone--restored {
  position: absolute;
  bottom: -40px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--light-purple);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border-strong);
}

.price-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.price-orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.price-inner { max-width: 780px; }
.price-note {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.price-sub {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid-purple);
  opacity: 0.7;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--light-purple);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--accent-dark);
  font-weight: 500;
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1);
}
.form-success.show { display: flex; }

.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-brand .logo-text { color: rgba(255,255,255,0.85); }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-left: auto;
}
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.footer-links a:hover { color: var(--mid-purple); }
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* responsiveness */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 32px 60px;
    gap: 48px;
  }
  .hero-content { grid-column: 1; grid-row: 1; max-width: 100%; }
  .hero-glasses-wrap { grid-column: 1; grid-row: 2; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .science-inner { grid-template-columns: 1fr; gap: 48px; }
  .science-visual { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 20px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 18px; color: var(--text); }
  .nav-cta.open {
    display: block;
    position: fixed;
    bottom: 24px; left: 24px; right: 24px;
    text-align: center;
    z-index: 99;
  }

  .hero { padding: 100px 24px 48px; }
  .section-inner { padding: 0 24px; }
  .tech-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero-stat-cards { flex-direction: row; }
  .stat-card { flex: 1; min-width: unset; }

  .footer-inner { padding: 0 24px; }
  .footer-brand { gap: 8px; }
  .footer-tagline { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stat-cards { flex-direction: column; }
  .stat-card { flex: unset; }
}