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

:root {
  --bg: #0b1120;
  --bg-alt: #111827;
  --bg-card: #1a2332;
  --bg-input: #1e293b;
  --border: #2a3a4e;
  --border-hover: #38bdf8;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --green: #22c55e;
  --green-bg: #064e3b;
  --red: #f87171;
  --gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 720px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(11, 17, 32, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.lang-select {
  background: var(--bg-input); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 6px 12px; font-size: 13px; cursor: pointer;
}

/* Hero */
.hero {
  padding: 160px 0 80px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(56, 189, 248, 0.1); color: var(--accent);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(36px, 6vw, 60px); font-weight: 800;
  line-height: 1.1; margin-bottom: 20px;
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subheadline {
  font-size: 18px; color: var(--text-muted);
  max-width: 580px; margin: 0 auto 40px;
}
.hero-form { max-width: 480px; margin: 0 auto; }
.address-input-group {
  display: flex; align-items: center;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 4px 16px;
  transition: border-color .2s;
}
.address-input-group:focus-within { border-color: var(--accent); }
.address-input {
  flex: 1; background: none; border: none; color: var(--text);
  font-size: 18px; padding: 14px 0; outline: none;
  font-family: inherit;
}
.address-input::placeholder { color: var(--text-dim); }
.address-suffix { color: var(--text-dim); font-size: 18px; white-space: nowrap; }
.availability-msg { font-size: 14px; margin-top: 8px; min-height: 22px; }
.availability-msg.available { color: var(--green); }
.availability-msg.unavailable { color: var(--red); }
.availability-msg.checking { color: var(--text-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius); border: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: all .2s; font-family: inherit;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
  background: var(--gradient); color: #0b1120; width: 100%; margin-top: 16px;
}
.btn-primary:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(56, 189, 248, 0.3); }
.btn-lg { padding: 18px 40px; font-size: 18px; }

.hero-trust {
  display: flex; justify-content: center; gap: 24px; margin-top: 32px;
  font-size: 14px; color: var(--text-dim);
}

/* Sections */
.section { padding: 80px 0; }
.section-title {
  font-size: clamp(28px, 4vw, 36px); font-weight: 800;
  text-align: center; margin-bottom: 16px;
}
.section-text { text-align: center; color: var(--text-muted); max-width: 600px; margin: 0 auto 48px; font-size: 17px; }

/* Solution Grid */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: border-color .2s;
}
.solution-card:hover { border-color: var(--accent); }
.solution-icon { font-size: 40px; margin-bottom: 16px; }
.solution-card h3 { font-size: 18px; margin-bottom: 8px; }
.solution-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Steps */
.steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  flex: 1; min-width: 160px;
}
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #0b1120;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step p { font-size: 14px; text-align: center; color: var(--text-muted); }
.step-arrow { font-size: 24px; color: var(--accent); font-weight: 300; }

/* Pricing */
.pricing-toggle {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px;
  background: var(--bg-input); border-radius: var(--radius); padding: 4px;
  max-width: 240px; margin-left: auto; margin-right: auto;
}
.toggle-btn {
  flex: 1; padding: 10px 24px; border-radius: var(--radius-sm); border: none;
  background: none; color: var(--text-muted); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.toggle-btn.active { background: var(--accent); color: #0b1120; }
.pricing-card {
  max-width: 500px; margin: 0 auto 48px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px; text-align: center;
}
.pricing-header { margin-bottom: 12px; }
.pricing-amount { font-size: 48px; font-weight: 800; }
.pricing-period { font-size: 18px; color: var(--text-muted); }
.pricing-badge {
  display: inline-block; margin-left: 12px;
  background: var(--green); color: var(--green-bg);
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.pricing-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; }
.pricing-features li { padding: 10px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-form { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.pricing-form-label { display: block; text-align: center; font-size: 15px; color: var(--text-muted); margin-bottom: 16px; font-weight: 600; }

/* Credits */
.credits-title { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.credits-desc { text-align: center; color: var(--text-muted); margin-bottom: 32px; font-size: 15px; }
.credit-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 600px; margin: 0 auto; }
.credit-pack {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 16px; text-align: center;
  position: relative; transition: border-color .2s;
}
.credit-pack:hover { border-color: var(--accent); }
.credit-pack.recommended { border-color: var(--accent); background: linear-gradient(135deg, rgba(56,189,248,0.08) 0%, transparent 100%); }
.credit-pack-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--green-bg);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.credit-pack-amount { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.credit-pack-label { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.credit-pack-price { font-size: 20px; font-weight: 700; color: var(--accent); }
.credits-per-email { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 24px; }

/* Why */
.why { background: var(--bg-alt); }
.why-box {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.why-headline { font-size: 22px; font-weight: 700; margin-bottom: 16px; color: var(--red); }
.why-text { font-size: 16px; color: var(--text-muted); margin-bottom: 24px; }
.why-list { list-style: none; text-align: left; max-width: 400px; margin: 0 auto; }
.why-list li { padding: 8px 0; font-size: 15px; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 600px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; font-size: 15px;
  list-style: none; display: flex; align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 20px; color: var(--accent);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* CTA */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
}
.cta-headline { font-size: clamp(28px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-sub { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; }

/* Footer */
.footer { padding: 32px 0; text-align: center; font-size: 13px; color: var(--text-dim); border-top: 1px solid var(--border); }

/* Modal */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 24px;
}
.modal-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px;
  max-width: 480px; width: 100%; text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .solution-grid { grid-template-columns: 1fr; }
  .credit-packs { grid-template-columns: 1fr; }
  .nav-link { display: none; }
  .hero { padding: 120px 0 60px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}
