/* VerdeAI landing — plain CSS (matches app design tokens) */

:root {
  --radius: 0.75rem;
  --background: oklch(0.974 0.012 95);
  --surface: oklch(1 0 0);
  --foreground: oklch(0.18 0.018 145);
  --card: oklch(0.97 0.012 92);
  --muted-foreground: oklch(0.45 0.018 145);
  --primary: oklch(0.66 0.18 135);
  --primary-foreground: oklch(0.99 0 0);
  --gold: oklch(0.74 0.13 78);
  --border: oklch(0.88 0.01 95);
  --font-serif: "Playfair Display", ui-serif, Georgia, serif;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

.dark {
  --background: oklch(0.18 0.018 145);
  --surface: oklch(0.22 0.022 145);
  --foreground: oklch(0.95 0.018 75);
  --card: oklch(0.22 0.022 145);
  --muted-foreground: oklch(0.68 0.04 135);
  --primary: oklch(0.78 0.18 135);
  --primary-foreground: oklch(0.15 0.02 145);
  --gold: oklch(0.78 0.13 80);
  --border: oklch(0.3 0.025 140);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

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

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

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

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Typography utilities */
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }

.text-gradient-luxury {
  background: linear-gradient(110deg, var(--gold) 0%, var(--primary) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-hero-radial {
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(60, 110, 70, 0.4), transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(212, 168, 83, 0.15), transparent 55%);
}

.glass-card {
  background: color-mix(in oklab, var(--card) 65%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
}

.glow-primary { box-shadow: 0 0 24px -4px rgba(126, 200, 69, 0.5); }
.glow-gold { box-shadow: 0 0 24px -4px color-mix(in oklab, var(--gold) 45%, transparent); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  transition: padding 0.2s, background 0.2s, border-color 0.2s;
}

.site-header.is-scrolled {
  padding: 0.5rem 0;
  background: color-mix(in oklab, var(--background) 70%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

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

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: color-mix(in oklab, var(--primary) 20%, transparent);
  border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}

.btn:hover { opacity: 0.92; }

.btn-lg {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 1rem;
}

.btn-sm {
  height: 2.25rem;
  padding: 0 1rem;
}

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

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

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

.btn-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--card) 60%, transparent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.hero-lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  line-height: 1.6;
}

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

.hero-checklist {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon { color: var(--primary); }

.hero-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

/* Compare slider */
.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.5rem);
  user-select: none;
}

.compare img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after { position: absolute; inset: 0; }

.compare-before-wrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid white;
}

.compare-before-wrap img {
  width: calc(100% * (100 / 50));
  max-width: none;
  height: 100%;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 2;
}

.compare input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  margin: 0;
}

.compare-card {
  padding: 0.75rem;
  border-radius: 1.5rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section-muted { background: color-mix(in oklab, var(--surface) 40%, transparent); }

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 4rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-header p {
  margin-top: 1rem;
  color: var(--muted-foreground);
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: color-mix(in oklab, var(--primary) 40%, var(--border));
  transform: translateY(-4px);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Pricing */
.pricing-card { position: relative; }

.pricing-card.is-popular {
  border-color: var(--primary);
  box-shadow: 0 0 24px -4px rgba(126, 200, 69, 0.5);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--gold);
  color: oklch(0.15 0.02 80);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.price {
  margin-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 3rem;
}

.price-meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.pricing-card .btn { width: 100%; margin-top: 2rem; }

/* Trust */
.trust-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.trust-grid h3 {
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

.trust-grid p {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.trust-icon { color: var(--gold); margin-inline: auto; }

/* FAQ — native details for SEO without JS */
.faq {
  max-width: 48rem;
  margin: 0 auto;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq summary {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--muted-foreground);
}

.faq details[open] summary::after { content: "−"; }

.faq p {
  margin: 0.75rem 0 0;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* CTA */
.cta-panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.cta-panel h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  max-width: 48rem;
  margin-inline: auto;
}

.cta-panel p {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.cta-panel .btn { margin-top: 2rem; }

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

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0;
}

.footer-grid h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.footer-tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 20rem;
}

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

.gallery-wrap {
  max-width: 56rem;
  margin: 0 auto;
  aspect-ratio: 16 / 10;
  padding: 0.75rem;
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .nav-primary { display: flex; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
