/* Vectra AI — Clean minimal AI aesthetic */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── TOKENS ─── */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-tint: #F5F5F3;
  --fg: #111111;
  --fg-muted: #6B7280;
  --accent: #2D5BFF;
  --accent-dim: rgba(45, 91, 255, 0.08);
  --warm-tint: #FBF9F6;
  --border: #E8E8E4;
  --border-strong: #D4D4CE;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); font-size: 1rem; }

/* ─── NAV ─── */
.vectra-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--space-md);
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark svg { width: 16px; height: 16px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--fg-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  background: var(--fg);
  color: var(--surface);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.8; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 var(--space-md);
  padding-top: 80px;
  gap: var(--space-xl);
  max-width: 1300px;
  margin: 0 auto;
}

.hero-left { padding: var(--space-xl) 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-dim);
  border: 1px solid rgba(45, 91, 255, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--fg);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--fg);
  color: var(--surface);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: transparent;
  color: var(--fg-muted);
  font-size: 0.9rem;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--fg-muted); color: var(--fg); }

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 500px;
}

.hero-graphic {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  position: relative;
}

.hero-orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #E8F0FF 0%, #C5D4FF 40%, #A8BFFF 70%, #8FA8FF 100%);
  animation: float 6s ease-in-out infinite;
}

.hero-orb-inner {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFFFFF 0%, #EEF3FF 50%, #D8E6FF 100%);
  animation: float 6s ease-in-out infinite reverse;
}

.hero-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(45, 91, 255, 0.15);
  animation: spin 20s linear infinite;
}

.hero-orb-ring:nth-child(2) { inset: 15%; animation-duration: 25s; animation-direction: reverse; }
.hero-orb-ring:nth-child(3) { inset: 30%; animation-duration: 30s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ─── SECTION SHARED ─── */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.section-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── PRODUCT LINES ─── */
.product-lines {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.product-line-card {
  padding: var(--space-md);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-line-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-line-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-line-icon svg { width: 22px; height: 22px; }

.product-line-icon-blue { background: #EEF3FF; }
.product-line-icon-violet { background: #F3EEFF; }
.product-line-icon-teal { background: #EEF7F5; }

.product-line-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-line-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.product-line-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.product-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  border-radius: 100px;
}

/* ─── SOCIAL PROOF ─── */
.social-proof {
  background: var(--warm-tint);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.stat-item {
  background: var(--warm-tint);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ─── EMAIL CTA ─── */
.email-cta {
  text-align: center;
}

.email-cta-form {
  max-width: 480px;
  margin: var(--space-md) auto 0;
  display: flex;
  gap: 0.75rem;
}

.email-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.email-input::placeholder { color: var(--fg-muted); }
.email-input:focus { border-color: var(--accent); }

.email-submit {
  padding: 0.85rem 1.5rem;
  background: var(--fg);
  color: var(--surface);
  border: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.email-submit:hover { opacity: 0.85; }

.email-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.75rem;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
}

/* ─── SUCCESS STATE ─── */
.email-success {
  display: none;
  text-align: center;
  padding: var(--space-md);
}

.email-success.visible { display: block; }
.email-form-wrap.hidden { display: none; }

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-sm);
  background: #EEF7F5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.success-sub { color: var(--fg-muted); font-size: 0.95rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; }
  .hero-right { min-height: 300px; }
  .product-lines-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .email-cta-form { flex-direction: column; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .site-footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-headline { font-size: 2.5rem; }
}