/* Design tokens */
:root {
  --radius: 0.75rem;
  --background: oklch(0.16 0.03 220);
  --foreground: oklch(0.97 0.01 200);
  --card: oklch(0.21 0.035 220);
  --card-foreground: oklch(0.97 0.01 200);
  --primary: oklch(0.78 0.16 195);
  --primary-foreground: oklch(0.16 0.03 220);
  --secondary: oklch(0.26 0.04 220);
  --secondary-foreground: oklch(0.97 0.01 200);
  --muted-foreground: oklch(0.7 0.03 210);
  --accent: oklch(0.65 0.2 280);
  --border: oklch(0.3 0.04 220 / 60%);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-width: 72rem;
  --shadow-primary: 0 10px 15px -3px oklch(0.78 0.16 195 / 20%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, oklch(0.78 0.16 195 / 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 30%, oklch(0.65 0.2 280 / 0.1), transparent 60%);
  background-attachment: fixed;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
}

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

img,
svg {
  display: block;
}

.page {
  min-height: 100vh;
}

.text-primary {
  color: var(--primary);
}

.muted {
  color: var(--muted-foreground);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-xl {
  width: 4rem;
  height: 4rem;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.logo-mark-bg {
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  background: linear-gradient(to bottom right, var(--primary), var(--accent));
}

.logo-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  color: var(--primary-foreground);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.nav a {
  transition: color 0.15s ease;
}

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn-sm {
  padding: 0.5rem 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: var(--shadow-primary);
}

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

.btn-secondary {
  border-color: var(--border);
  background: oklch(0.21 0.035 220 / 40%);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--secondary);
}

.btn-outline {
  border-color: var(--border);
  background: var(--card);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--secondary);
}

/* Hero */
.hero {
  display: grid;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 7rem 1.5rem;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 220 / 60%);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
}

.gradient-text {
  display: block;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Ripple visual */
.ripple-visual {
  position: relative;
  display: flex;
  height: 360px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.ripple-ring {
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  border: 1px solid oklch(0.78 0.16 195 / 40%);
  animation: ripple 3.5s ease-out infinite;
}

.ripple-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: 10rem;
  height: 10rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 220 / 80%);
  box-shadow: 0 25px 50px -12px oklch(0 0 0 / 50%);
  backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}

.ripple-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(0.78 0.16 195 / 20%), oklch(0.65 0.2 280 / 10%));
}

.ripple-card .icon-xl {
  position: relative;
  color: var(--primary);
}

.glow-text {
  filter: drop-shadow(0 0 40px oklch(0.78 0.16 195 / 50%));
}

@keyframes ripple {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

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

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-intro h2,
.why h2,
.cta h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.eyebrow-accent {
  color: var(--accent);
}

/* Features */
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 220 / 60%);
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: oklch(0.78 0.16 195 / 50%);
}

.feature-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background: oklch(0.78 0.16 195 / 10%);
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Why */
.why-box {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: linear-gradient(
    to bottom right,
    oklch(0.21 0.035 220 / 80%),
    oklch(0.21 0.035 220 / 30%)
  );
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .why-box {
    padding: 3.5rem;
  }
}

.why-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-grid .muted {
  margin-top: 1rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* CTA */
.cta {
  max-width: 48rem;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.cta-desc {
  margin: 1rem auto 0;
  max-width: 28rem;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 2rem auto 0;
}

@media (min-width: 640px) {
  .cta-form {
    flex-direction: row;
  }
}

.cta-form input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: oklch(0.21 0.035 220 / 60%);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.cta-form input::placeholder {
  color: var(--muted-foreground);
}

.cta-form input:focus {
  border-color: var(--primary);
}

.cta-form .btn {
  white-space: nowrap;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer {
    flex-direction: row;
  }
}

.footer p {
  margin: 0;
}
