:root {
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --indigo-700: #4338ca;
  --ink: #18181b;
  --ink-soft: #52525b;
  --muted: #71717a;
  --bg: #fafafa;
  --card: #ffffff;
  --line: #e4e4e7;
  --gradient: linear-gradient(135deg, var(--violet-600) 0%, var(--indigo-700) 100%);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(76, 29, 149, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

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

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

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand .mark { width: 34px; height: 34px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--violet-600); }
.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

.menu-toggle { display: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, rgba(124,58,237,0) 70%);
  z-index: -1;
}
.mark-hero {
  width: 88px;
  height: 88px;
  margin: 0 auto 28px;
  border-radius: 22px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.mark-hero svg { width: 44px; height: 44px; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 16px;
}
.hero .tagline {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--violet-500); color: var(--violet-600); }

/* Features */
.section { padding: 64px 0; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--violet-600);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  text-align: center;
}
.section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(67,56,202,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--violet-600);
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--gradient);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-band .btn-ghost {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 280px; }
.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--violet-600); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.socials { display: flex; gap: 14px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
}
.socials a:hover { color: var(--violet-600); border-color: var(--violet-500); }

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal .eyebrow {
  color: var(--violet-600);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.legal h1 { margin: 12px 0 6px; font-size: 2.1rem; }
.legal .updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.15rem;
  margin-top: 40px;
  margin-bottom: 12px;
  text-align: left;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 0.96rem; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a.inline { color: var(--violet-600); font-weight: 600; }
.legal a.inline:hover { text-decoration: underline; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card .icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.contact-card h3 { margin-bottom: 6px; font-size: 1rem; }
.contact-card p { color: var(--muted); font-size: 0.88rem; margin-bottom: 4px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
}
