/* MultiWA Landing Page — Premium Design */
:root {
  --green-50: #ecfdf5; --green-100: #d1fae5; --green-200: #a7f3d0;
  --green-400: #34d399; --green-500: #10b981; --green-600: #059669;
  --green-700: #047857; --green-800: #065f46; --green-900: #064e3b;
  --gray-50: #f9fafb; --gray-100: #f3f4f6; --gray-200: #e5e7eb;
  --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280;
  --gray-600: #4b5563; --gray-700: #374151; --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 16px; --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  color: var(--gray-800); background: #fff;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.2rem; color: var(--gray-900); }
.logo img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--green-600); }

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600;
  font-size: .9rem; text-decoration: none; transition: all .25s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 2px 12px rgba(5,150,105,.35); }
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(5,150,105,.4); }
.btn-outline { background: #fff; color: var(--gray-800); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--green-500); color: var(--green-700); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.btn-nav { padding: 8px 16px; font-size: .85rem; background: var(--gray-900); color: #fff; border-radius: 8px; }
.btn-nav:hover { background: var(--gray-700); color: #fff; }

/* ── Hero ────────────────────────────── */
#hero {
  position: relative; padding: 160px 0 100px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
}
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.12) 0%, transparent 70%);
  pointer-events: none;
}
.badge {
  display: inline-flex; padding: 6px 18px; border-radius: 100px;
  background: var(--green-100); color: var(--green-800);
  font-size: .8rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 24px;
}
#hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.08; letter-spacing: -.03em; color: var(--gray-900); }
.gradient-text { background: linear-gradient(135deg, var(--green-600), var(--green-400)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.subtitle { font-size: 1.15rem; color: var(--gray-500); max-width: 560px; margin: 20px auto 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 40px; margin-top: 60px;
  padding: 24px 40px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,.06); border: 1px solid var(--gray-200);
  display: inline-flex;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }
.stat span { font-size: .8rem; color: var(--gray-400); font-weight: 500; }
.stat-divider { width: 1px; background: var(--gray-200); }

/* ── Section Titles ──────────────────── */
.section-title { font-size: 2.5rem; font-weight: 800; text-align: center; letter-spacing: -.02em; color: var(--gray-900); }
.section-sub { text-align: center; color: var(--gray-500); font-size: 1.05rem; margin: 12px auto 48px; max-width: 480px; }

/* ── Features ────────────────────────── */
#features { padding: 100px 0; background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--gray-200); transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); border-color: var(--green-200); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--gray-900); }
.feature-card p { font-size: .88rem; color: var(--gray-500); line-height: 1.6; }

/* ── Screenshots ─────────────────────── */
#screenshots { padding: 100px 0; }
.screenshots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.screenshot-card {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--gray-200); transition: all .3s ease;
}
.screenshot-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }
.screenshot-card img { width: 100%; display: block; }
.screenshot-card span {
  position: absolute; bottom: 12px; left: 16px; padding: 6px 14px;
  background: rgba(0,0,0,.7); color: #fff; border-radius: 8px;
  font-size: .8rem; font-weight: 600; backdrop-filter: blur(8px);
}

/* ── Comparison ──────────────────────── */
#comparison { padding: 100px 0; background: var(--gray-50); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: var(--gray-900); color: #fff; }
th { padding: 14px 20px; text-align: left; font-weight: 600; }
th.highlight { background: var(--green-700); }
td { padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }
td.highlight { background: var(--green-50); font-weight: 600; color: var(--green-800); }
tbody tr:hover { background: var(--gray-50); }

/* ── Quick Start ─────────────────────── */
#quickstart { padding: 100px 0; }
.code-block {
  max-width: 640px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,.12); border: 1px solid var(--gray-200);
}
.code-header {
  display: flex; align-items: center; gap: 12px;
  background: var(--gray-800); padding: 12px 20px;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }
.code-header > span { color: var(--gray-400); font-size: .8rem; font-weight: 500; }
.code-block pre {
  background: var(--gray-900); color: var(--green-400); padding: 24px; margin: 0;
  overflow-x: auto; font-size: .88rem; line-height: 1.8;
}
.code-block code { font-family: 'SF Mono', Menlo, monospace; }
.code-block .c { color: var(--gray-500); }

/* ── Footer ──────────────────────────── */
footer { padding: 48px 0; border-top: 1px solid var(--gray-200); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--gray-900); }
.footer-brand img { border-radius: 8px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; color: var(--gray-500); font-size: .85rem; font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--green-600); }
.copyright { text-align: center; color: var(--gray-400); font-size: .8rem; }

/* ── Responsive ──────────────────────── */
@media (max-width: 768px) {
  .nav-links a:not(.btn-nav) { display: none; }
  #hero h1 { font-size: 2.5rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; padding: 20px; }
  .footer-inner { flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  #hero h1 { font-size: 2rem; }
}
