:root {
  --bg: oklch(0.99 0.005 280);
  --surface: oklch(0.97 0.01 280);
  --surface-dark: oklch(0.25 0.06 275);
  --text: oklch(0.22 0.03 280);
  --text-muted: oklch(0.52 0.02 280);
  --text-inverse: oklch(0.98 0.005 280);
  --primary: oklch(0.45 0.18 275);
  --primary-dark: oklch(0.32 0.14 275);
  --primary-light: oklch(0.92 0.04 275);
  --accent: oklch(0.68 0.18 35);
  --accent-2: oklch(0.55 0.15 310);
  --border: oklch(0.90 0.01 280);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px oklch(0.3 0.05 275 / 0.08);
  --shadow-lg: 0 20px 60px oklch(0.3 0.05 275 / 0.12);
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-xxl: 4rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

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

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-ghost {
  color: var(--text);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover { color: var(--primary); }

.btn-white {
  background: white;
  color: var(--primary-dark);
}

.btn-white:hover { box-shadow: var(--shadow-lg); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.logo-mark svg { width: 18px; height: 18px; fill: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links > li > a,
.nav-links > li > button {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links > li > a:hover,
.nav-links > li > button:hover {
  background: var(--surface);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--bg);
  padding: 1.5rem;
  overflow-y: auto;
  z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-menu .btn { width: 100%; margin-top: 1rem; }

/* Hero */
.hero {
  padding: var(--space-xxl) 0 var(--space-xl);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.hero h1 .hl-email { color: var(--primary); }
.hero h1 .hl-sms { color: var(--accent-2); }
.hero h1 .hl-order { color: var(--accent); }

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: var(--space-xl);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -20% -10% -10% -10%;
  background: radial-gradient(ellipse at center, oklch(0.75 0.12 275 / 0.15), transparent 70%);
  z-index: -1;
}

/* Trust bar */
.trust {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.stars { color: #f59e0b; letter-spacing: 2px; }

.trust h2 {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0.55;
}

.logo-strip span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

/* Benefits */
.benefits {
  padding: var(--space-xxl) 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.benefit-card img {
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.benefit-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.benefit-card a:hover { text-decoration: underline; }

/* Feature slider */
.features {
  padding: var(--space-xxl) 0;
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: var(--space-xl);
  scrollbar-width: none;
}

.feature-tabs::-webkit-scrollbar { display: none; }

.feature-tab {
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-muted);
  transition: all 0.15s;
}

.feature-tab.active,
.feature-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.feature-panel {
  display: none;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.feature-panel.active { display: grid; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-panel h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-panel p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-panel img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* AI Section */
.ai-section {
  padding: var(--space-xxl) 0;
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.ai-section .section-header h2 { color: white; }
.ai-section .section-header p { color: oklch(0.75 0.02 280); }

.ai-carousel {
  position: relative;
  overflow: hidden;
}

.ai-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
}

.ai-card {
  flex: 0 0 calc(50% - 0.75rem);
  background: oklch(0.32 0.06 275);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid oklch(1 0 0 / 0.08);
}

.ai-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.ai-card-body {
  padding: 1.5rem;
}

.ai-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ai-card-body p {
  color: oklch(0.75 0.02 280);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.ai-card-body a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9375rem;
}

.ai-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ai-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.2);
  color: white;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.ai-nav button:hover { background: oklch(1 0 0 / 0.1); }

/* Audience tabs */
.audience {
  padding: var(--space-xxl) 0;
}

.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.audience-tab {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid var(--border);
  background: white;
  transition: all 0.15s;
}

.audience-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.audience-panel { display: none; }
.audience-panel.active { display: block; animation: fadeIn 0.3s ease; }

.audience-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.audience-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.audience-content > div > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.audience-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.audience-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.audience-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

.audience-visual {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
}

.audience-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Awards */
.awards {
  padding: var(--space-xl) 0;
  background: var(--surface);
  text-align: center;
}

.awards h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.award-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.award-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  padding: 0.5rem;
  color: var(--text-muted);
}

/* Case studies */
.cases {
  padding: var(--space-xxl) 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.case-card-body {
  padding: 1.25rem;
}

.case-card-body h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

/* Integrations */
.integrations {
  padding: var(--space-xxl) 0;
  background: var(--surface);
  text-align: center;
}

.integrations h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.integration-pill {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: var(--space-xxl) 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--surface-dark);
  color: oklch(0.75 0.02 280);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin: 1rem 0;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.08);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  transition: background 0.15s;
}

.footer-social a:hover { background: oklch(1 0 0 / 0.15); }

.footer-col h4 {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  font-size: 0.8125rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a:hover { color: white; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .feature-panel,
  .audience-content { grid-template-columns: 1fr; }

  .benefits-grid,
  .cases-grid { grid-template-columns: 1fr; }

  .ai-card { flex: 0 0 100%; }

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-outline,
  .nav-actions .btn-ghost:not(.mobile-only) { display: none; }

  .mobile-toggle { display: block; }

  .nav-actions .btn-primary { display: none; }

  .hero { padding-top: var(--space-xl); }

  .hero-visual { order: -1; }

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