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

:root {
  --bg: #030305;
  --bg-secondary: #0a0a0f;
  --brand: #7c6ff7;
  --brand-glow: rgba(124, 111, 247, 0.4);
  --brand-light: #a398fa;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #52525b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --card-bg: rgba(20, 20, 25, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ── Background Effects ──────────────────────────────────────────────── */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: 
    radial-gradient(circle at 15% 50%, rgba(124, 111, 247, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(192, 132, 252, 0.1), transparent 25%);
  filter: blur(60px);
  pointer-events: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Animated gradient orbs behind hero */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: rgba(124, 111, 247, 0.18);
  top: -10%; left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: rgba(192, 132, 252, 0.12);
  bottom: -15%; right: -10%;
  animation: orbFloat2 25s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: rgba(96, 165, 250, 0.1);
  top: 40%; right: 20%;
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.05); }
  66% { transform: translate(40px, -50px) scale(0.9); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 30px); }
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.nav-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1000px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-container.scrolled {
  top: 12px;
  max-width: 800px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 15px var(--brand-glow);
  object-fit: cover;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(124, 111, 247, 0.1);
  border: 1px solid rgba(124, 111, 247, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-light);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 32px;
  max-width: 1000px;
}

/* Rotating word in hero title — fixed height to prevent layout shift */
.hero-rotating-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: bottom;
  /* Reserve space for the longest word */
  min-width: 4ch;
}
.hero-rotating-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand) 0%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-rotating-word.fade-out {
  opacity: 0;
  transform: translateY(15px);
}
.hero-rotating-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 40px rgba(124, 111, 247, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(124, 111, 247, 0.5);
  background: #6b5ce6;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ── Social Proof Strip ──────────────────────────────────────────────────── */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0.5;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.proof-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}
.proof-label {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Feature Section ─────────────────────────────────────────────────────── */
.section {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 320px;
  gap: 24px;
}

.bento-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.bento-card:hover {
  border-color: rgba(124, 111, 247, 0.3);
  box-shadow: 0 8px 40px rgba(124, 111, 247, 0.08);
}

/* Mouse tracking glow effect */
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    800px circle at var(--mouse-x) var(--mouse-y), 
    rgba(255, 255, 255, 0.1),
    transparent 40%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bento-card:hover::before { opacity: 1; }

/* Inner glow */
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x) var(--mouse-y), 
    rgba(124, 111, 247, 0.05),
    transparent 40%
  );
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.bento-card:hover::after { opacity: 1; }

.bento-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: auto;
}

.bento-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.bento-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }
.col-span-12 { grid-column: span 12; }
.row-span-2 { grid-row: span 2; }

/* ── Specific Card Graphics ──────────────────────────────────────────────── */
.graphic-wrapper {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.graphic-mockup {
  width: 200px;
  height: 400px;
  background: #000;
  border: 4px solid #333;
  border-radius: 32px;
  transform: rotate(5deg) translateY(20px);
  box-shadow: -20px 20px 40px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.graphic-mockup::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(124,111,247,0.2) 0%, transparent 100%);
}

.graphic-score {
  font-family: var(--font-display);
  font-size: 84px;
  font-weight: 900;
  color: var(--brand);
  opacity: 0.2;
  position: absolute;
  right: -20px;
  bottom: -20px;
  line-height: 0.8;
}

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124, 111, 247, 0.12), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
}
.cta-banner p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 500px;
  margin: 0 auto 40px;
  position: relative;
}
.cta-banner .hero-cta { position: relative; }

/* ── Scroll Reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 80px 24px;
  background: #010102;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--text-primary); }

.footer-copy {
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(8, 1fr); }
  .col-span-8, .col-span-6, .col-span-4 { grid-column: span 8; }
  .graphic-wrapper { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 16px; }
  .col-span-8, .col-span-6, .col-span-4 { grid-column: span 1; }
  .bento-card { padding: 28px; min-height: 240px; }
  .hero { padding: 140px 20px 80px; }
  .hero-title { font-size: clamp(36px, 10vw, 48px); }
  .hero-subtitle { font-size: 16px; margin-bottom: 32px; }
  .section { padding: 80px 20px; }
  .btn { padding: 14px 24px; width: 100%; }
  .social-proof { gap: 24px; }
  .cta-banner { padding: 60px 20px; }
  .footer-links { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 34px; }
  .bento-card { padding: 24px; min-height: 220px; }
  .bento-title { font-size: 20px; }
  .bento-desc { font-size: 14px; }
  .social-proof { flex-direction: column; gap: 16px; }
}

/* ── Utilities for Legal Pages ───────────────────────────────────────────── */
.legal-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 160px 24px 80px;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 111, 247, 0.1);
  border: 1px solid rgba(124, 111, 247, 0.2);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-secondary);
}

.accordion {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.accordion-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  display: none;
}
.accordion.open .accordion-content { display: block; }

.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.data-table th, .data-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--border); }
.data-table th { font-weight: 600; color: var(--text-primary); background: rgba(255,255,255,0.02); }

.do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.do-box, .dont-box { padding: 24px; border-radius: var(--radius-md); background: rgba(255,255,255,0.02); border: 1px solid var(--border); }
.do-box { border-color: rgba(34, 197, 94, 0.3); }
.dont-box { border-color: rgba(239, 68, 68, 0.3); }
.box-label { font-weight: 700; margin-bottom: 12px; font-size: 13px; }
.do-box .box-label { color: #4ade80; }
.dont-box .box-label { color: #f87171; }
.do-box ul, .dont-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.do-box ul li::before { content: '✓'; color: #4ade80; margin-right: 8px; font-weight: bold; }
.dont-box ul li::before { content: '✗'; color: #f87171; margin-right: 8px; font-weight: bold; }

/* ── City Chips ──────────────────────────────────────────────────────────── */
.city-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(124, 111, 247, 0.08);
  border: 1px solid rgba(124, 111, 247, 0.25);
  color: var(--brand-light);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.city-chip:hover {
  background: rgba(124, 111, 247, 0.18);
  border-color: rgba(124, 111, 247, 0.5);
  transform: translateY(-2px);
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  transition: border-color 0.2s;
  overflow: hidden;
}
.faq-item[open] {
  border-color: rgba(124, 111, 247, 0.35);
}
.faq-question {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--brand-light);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-item[open] .faq-question {
  color: var(--brand-light);
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

