/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Utility ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  padding: 14px 28px;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: #f0f4ff;
  color: #2563eb;
  padding: 12px 24px;
  border: 1px solid #dbe4ff;
}

.btn-secondary:hover {
  background: #dbe4ff;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8ecf2;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  color: #64748b;
  transition: background 0.15s, color 0.15s;
}

.lang-switch a:hover {
  background: #f0f4ff;
  color: #2563eb;
}

.lang-switch a.active {
  background: #eff3ff;
  color: #2563eb;
}

.header .btn-primary {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-visual {
  flex: 0 0 340px;
}

.badge {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #0f172a;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  color: #475569;
  max-width: 460px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.proof-line {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

/* Phone mockup */
.phone-mock {
  width: 260px;
  margin: 0 auto;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 32px;
  padding: 16px;
  position: relative;
}

.phone-mock-notch {
  width: 100px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-mock-body {
  background: #fff;
  border-radius: 18px;
  padding: 20px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-msg {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}

.mock-msg-user {
  background: #2563eb;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.mock-msg-bot {
  background: #f1f5f9;
  color: #334155;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.mock-voice {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-voice-waves {
  display: flex;
  align-items: center;
  gap: 2px;
}

.mock-voice-waves span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.5;
}

.mock-msg-user .mock-voice-waves span { background: #fff; opacity: 0.7; }

.mock-voice-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== Section shared ===== */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-sub {
  text-align: center;
  color: #64748b;
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 48px;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff3ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.step-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.55;
}

.steps-cta {
  text-align: center;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
  transition: box-shadow 0.2s;
}

.feature-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #2563eb;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.feature-card p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.55;
}

/* ===== Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eff3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #2563eb;
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.why-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.price-card {
  padding: 32px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
  text-align: center;
  position: relative;
}

.price-card.featured {
  border-color: #2563eb;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.12);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 12px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 4px;
}

.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
}

.price-note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}

.price-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.price-features li {
  font-size: 14px;
  color: #475569;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-features li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0fdf4;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M7 12.5l-3-3 1.06-1.06L7 10.38l5.94-5.94L14 5.5l-7 7z' fill='%2316a34a'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-cta {
  text-align: center;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faq-list summary {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  padding: 0 24px 18px;
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 72px 0;
  text-align: center;
  background: #f0f4ff;
  border-top: 1px solid #dbe4ff;
}

.final-cta h2 {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 17px;
  color: #475569;
  margin-bottom: 28px;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  border-top: 1px solid #e8ecf2;
  font-size: 14px;
  color: #94a3b8;
}

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

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

.footer-links a {
  color: #64748b;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: #2563eb;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-visual {
    flex: 0 0 auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .header .btn-primary {
    display: none;
  }

  .btn-primary {
    width: 100%;
    padding: 16px 28px;
    font-size: 17px;
  }

  .btn-secondary {
    width: 100%;
    padding: 14px 24px;
  }

  .phone-mock {
    width: 220px;
  }
}

/* Focus styles */
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}
