:root {
  --bg-main: #faf9f5;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-subtle: #e9e5dc;
  --border-highlight: #d97706;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --nut-primary: #a8561e;
  --nut-light: #ffedd5;
  --egg-accent: #d97706;
  --egg-gradient: linear-gradient(135deg, #a8561e 0%, #d97706 100%);
  --success: #059669;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 24px -4px rgba(140, 68, 20, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(140, 68, 20, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(217, 119, 6, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 55%, rgba(168, 86, 30, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

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

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(250, 249, 245, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(168, 86, 30, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
  transition: color 0.15s ease;
}

.nav-btn {
  background: var(--egg-gradient);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(168, 86, 30, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #0f172a;
}

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

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--egg-gradient);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(168, 86, 30, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Interactive Mock Preview */
.preview-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.preview-header {
  height: 42px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }

.preview-title {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-left: 12px;
}

.preview-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  text-align: left;
}

.preview-left {
  padding: 24px;
  background: #ffffff;
  border-right: 1px solid var(--border-subtle);
}

.preview-right {
  padding: 24px;
  background: #fcfbf9;
}

.tag-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.tag-nut {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.tag-egg {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.card-snippet {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card-snippet h4 {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 8px;
}

.pill-verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 12px 0;
}

.insight-box {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  padding: 12px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 0.84rem;
  color: #92400e;
}

.insight-title {
  color: #b45309;
  font-weight: 700;
  margin-bottom: 4px;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #0f172a;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Metaphor Cards */
.metaphor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.metaphor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.metaphor-card:hover {
  transform: translateY(-4px);
  border-color: #fde68a;
  box-shadow: var(--shadow-md);
}

.metaphor-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
  display: inline-block;
}

.metaphor-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.metaphor-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Step Pipeline */
.pipeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.pipeline-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pipeline-step:hover {
  border-color: #fde68a;
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #b45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-emoji {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #0f172a;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Expectations Section */
.expectations-card {
  background: #fff8f8;
  border: 1px solid #fecaca;
  border-radius: 16px;
  padding: 36px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.expectations-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.expectations-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: #475569;
}

.expectations-list li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef4444;
  font-weight: bold;
}

.expectations-list strong {
  color: #0f172a;
}

/* CTA Bottom */
.cta-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 56px 24px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: var(--shadow-md);
}

.cta-banner h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #0f172a;
}

.cta-banner p {
  color: #475569;
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #f4f1ea;
  padding: 40px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .preview-body {
    grid-template-columns: 1fr;
  }
  .preview-left {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .navbar .nav-links {
    display: none;
  }
}
