/* ─────────────────────────────────────────────────────────────────────────
   Doppler ECO AI — Landing styles
   Brand palette: Doppler green (#33AD73), yellow accent (#FCC200)
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --green: #33AD73;
  --green-dark: #2a8a5d;
  --green-soft: #e7f5ec;
  --yellow: #FCC200;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-alt: #f3f4f6;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

p { margin: 0; }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(51, 173, 115, 0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(51, 173, 115, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  text-decoration: none;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-name {
  font-weight: 700;
  font-size: 17px;
}
.brand-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--green-soft);
  color: var(--green-dark);
  letter-spacing: 0.5px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.nav a:hover { color: var(--green); text-decoration: none; }
.nav .btn { padding: 8px 16px; }

/* ── Language switcher ─────────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: #fff;
}
.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-btn:hover {
  color: var(--green-dark);
}
.lang-btn.active {
  color: var(--green-dark);
  background: var(--green-soft);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.lang-divider {
  color: var(--text-dim);
  font-size: 11px;
  user-select: none;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #fafffd 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(51,173,115,0.1), transparent);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252,194,0,0.08), transparent);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.lead {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 13px;
  color: var(--text-muted);
}
.hero-note strong { color: var(--text); }

/* Widget mock */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.widget-mock {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.widget-mock:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}
.widget-mock-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.widget-mock-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.widget-mock-icon {
  color: var(--yellow);
  font-size: 18px;
}
.widget-mock-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--green-soft);
  color: var(--green-dark);
}
.widget-mock-body {
  padding: 20px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 380px;
}
.mock-msg {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 85%;
}
.mock-user {
  background: var(--green);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.mock-eco {
  background: #fff;
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.mock-insight {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); }
.dot-red { background: #e74c3c; }
.mock-action { max-width: 95%; }
.mock-meta {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 4px;
}
.mock-btns {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.mock-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}
.mock-btn-primary {
  background: var(--green);
  color: #fff;
}
.mock-btn-ghost {
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Stats ─────────────────────────────────────────────────────── */
.stats {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.stat-foot {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.85;
  line-height: 1.5;
  max-width: 240px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Sections ──────────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--bg-soft);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Comparison ────────────────────────────────────────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.comparison-col {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comparison-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.comparison-before {
  background: #fff;
}
.comparison-before h3 {
  color: var(--text-muted);
}
.comparison-after {
  background: linear-gradient(135deg, var(--green-soft) 0%, #fff 100%);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}
.comparison-after h3 {
  color: var(--green-dark);
}
.comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comparison-col li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  line-height: 1.5;
}
.comparison-before li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-weight: 700;
}
.comparison-after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Features grid ─────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.feature:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-soft);
  border-radius: 12px;
}
.feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Steps ─────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(51,173,115,0.3);
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Price ─────────────────────────────────────────────────────── */
.section-price {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.price-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 40px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.price-head .kicker {
  margin-bottom: 12px;
}
.price-head h2 {
  font-size: 30px;
  margin-bottom: 28px;
}
.price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 12px;
}
.price-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}
.price-amount {
  font-size: 72px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.04em;
}
.price-period {
  font-size: 18px;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 28px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.price-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14.5px;
}
.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--green);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--green);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── CTA final ─────────────────────────────────────────────────── */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--green) 0%, #2a8a5d 100%);
  text-align: center;
  color: #fff;
}
.cta-final h2 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 32px;
}
.cta-final h2 span {
  font-weight: 500;
  opacity: 0.9;
}
.cta-final .btn-primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-final .btn-primary:hover {
  background: #f9fafb;
  color: var(--green-dark);
}

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  background: #1f2937;
  color: #9ca3af;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand strong { color: #fff; display: block; margin-bottom: 4px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: #9ca3af;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: none;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 968px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero h1 { font-size: 44px; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .widget-mock { transform: none; max-width: 360px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .comparison { grid-template-columns: 1fr; }

  .section-head h2 { font-size: 32px; }
  .cta-final h2 { font-size: 32px; }

  .nav a:not(.btn) { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 60px 0 80px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 16px; }
  .section { padding: 70px 0; }
  .section-head h2 { font-size: 26px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }

  .price-card { padding: 32px 24px; }
  .price-amount { font-size: 56px; }
  .cta-final h2 { font-size: 26px; }

  .footer-inner { flex-direction: column; text-align: center; }
}
