@import url("fonts.css");

:root {
  --background: oklch(0.2 0.05 265);
  --foreground: oklch(0.97 0.01 260);
  --card: oklch(0.25 0.055 266);
  --primary: oklch(0.58 0.22 264);
  --primary-foreground: oklch(0.99 0.005 260);
  --secondary: oklch(0.52 0.25 303);
  --muted-foreground: oklch(0.74 0.03 262);
  --gold: oklch(0.87 0.17 96);
  --border: rgba(255, 255, 255, 0.12);
  --radius: 0.875rem;
  --gradient-cosmic: linear-gradient(135deg, oklch(0.58 0.22 264), oklch(0.52 0.25 303));
  --gradient-aurora: radial-gradient(ellipse at top, rgba(147, 51, 234, 0.35), transparent 65%);
  --shadow-glow: 0 0 60px -15px rgba(37, 99, 235, 0.7);
  --shadow-card: 0 24px 60px -30px rgba(6, 10, 25, 0.9);
  --maxw: 72rem;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

.narrow {
  max-width: 48rem;
}

.text-cosmic {
  background: var(--gradient-cosmic);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.gold {
  color: var(--gold);
}

.glass {
  background: color-mix(in oklab, var(--card) 70%, transparent);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  border-radius: 1rem;
}

.glow {
  box-shadow: var(--shadow-glow);
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--gradient-cosmic);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

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

.menu-toggle {
  background: none;
  border: 1px solid var(--border);
  color: inherit;
  border-radius: 0.6rem;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: flex;
}

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

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.7rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-cosmic);
  color: var(--primary-foreground);
}

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

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 7rem 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
}

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

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* sections */
section.block {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.section-lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  color: var(--muted-foreground);
}

.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.grid-4 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.card {
  padding: 1.5rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
}

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

.icon-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-cosmic);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.icon-badge svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: var(--primary-foreground);
}

.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 40%, transparent);
}

.steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.chat-bubbles {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  border-radius: 1.5rem;
}

.chat-bubbles p {
  margin: 0;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 60%, transparent);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* accordion */
.accordion {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.acc-item {
  border-bottom: 1px solid var(--border);
}

.acc-trigger {
  width: 100%;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-align: left;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.acc-trigger span.chev {
  transition: transform 0.2s ease;
}

.acc-item.open .acc-trigger span.chev {
  transform: rotate(180deg);
}

.acc-panel {
  display: none;
  padding: 0 0 1.1rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.acc-item.open .acc-panel {
  display: block;
}

/* pricing */
.plan {
  padding: 2rem;
  border-radius: 1.5rem;
}

.plan.featured {
  border-color: color-mix(in oklab, var(--primary) 60%, transparent);
  box-shadow: var(--shadow-glow);
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.plan li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 0.5rem;
}

.cta {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
  grid-template-columns: 1fr;
}

.footer-grid h2 {
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-grid p,
.footer-grid address {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: normal;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.page-head {
  padding: 5rem 0 0;
}

.page-head h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
