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

:root {
  --purple: #7C3AED;
  --purple-deep: #5B21B6;
  --purple-darker: #3B0764;
  --bg: #FAFAF9;
  --bg-soft: #F3F0FF;
  --ink: #1A1A18;
  --muted: #6B6B63;
  --gold: #FCD34D;
  --border: #E5E1F5;
  --white: #FFFFFF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(91, 33, 182, 0.08);
  --shadow-lg: 0 20px 60px rgba(91, 33, 182, 0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

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

img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}
.nav-brand .mark { width: 34px; height: 34px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.16), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--purple-deep);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: white;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
  transition: transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--ink);
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15.5px;
}
.hero-note { font-size: 13.5px; color: var(--muted); }

/* Hero visual — recreated P mark */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mark-plate {
  width: 340px;
  height: 340px;
  border-radius: 44px;
  background: linear-gradient(155deg, #1A1A18, #0D0D0C);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
.mark-plate img { width: 66%; height: 66%; object-fit: contain; }
.chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chip-1 { top: 6%; left: -6%; animation: floatChip 5s ease-in-out infinite; }
.chip-2 { bottom: 10%; right: -8%; animation: floatChip 5s ease-in-out infinite 1.2s; }
.chip-3 { top: 48%; right: -12%; animation: floatChip 5s ease-in-out infinite 2.4s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ===== SECTION HEADERS ===== */
.section { padding: 88px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16.5px; }

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
}
.step-num {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--purple-deep);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h4 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 20px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ===== PLATFORMS ===== */
.platforms-band {
  background: var(--ink);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
}
.platforms-band h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 36px;
}
.platform-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.platform-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #C4B5FD;
  font-size: 13.5px;
  font-weight: 600;
}
.platform-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: white;
}

/* ===== LENGTH CARDS ===== */
.length-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.length-card {
  border-radius: var(--radius);
  padding: 30px 26px;
}
.length-card.l1 { background: var(--bg-soft); color: var(--purple-darker); }
.length-card.l2 { background: linear-gradient(155deg, var(--purple), var(--purple-deep)); color: white; }
.length-card.l3 { background: linear-gradient(155deg, var(--purple-deep), var(--purple-darker)); color: white; }
.length-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 10px; }
.length-card h4 { font-size: 20px; margin-bottom: 10px; }
.length-card p { font-size: 13.5px; opacity: 0.85; }

/* ===== CTA ===== */
.cta-band {
  background: linear-gradient(150deg, var(--purple), var(--purple-deep) 60%, var(--purple-darker));
  border-radius: 32px;
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  top: -100px; left: -100px;
  border-radius: 50%;
}
.cta-band h2 { color: white; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.cta-band p { color: #E9D5FF; font-size: 17px; margin-bottom: 32px; }
.btn-cta-white {
  background: white;
  color: var(--purple-deep);
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; }
.footer-brand .mark { width: 26px; height: 26px; object-fit: contain; }
.footer-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { margin-top: 28px; font-size: 13px; color: var(--muted); text-align: center; }

/* ===== LEGAL PAGES ===== */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 19px; margin: 36px 0 12px; }
.legal p, .legal li { color: #3A3A34; font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--purple); font-weight: 600; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-deep);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto 20px; }
  .mark-plate { width: 240px; height: 240px; }
  .chip { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .length-grid { grid-template-columns: 1fr; }
  .platform-row { gap: 24px; }
  .nav-links { display: none; }
  .platforms-band { padding: 40px 24px; }
  .cta-band { padding: 48px 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mark-plate, .chip { animation: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 6px;
}
