:root {
  --brand: #0f9f6e;
  --brand-dark: #087553;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e6eaf0;
  --paper: #ffffff;
  --soft: #f7fafc;
  --accent: #f59e0b;
  --violet: #4f46e5;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 4%, rgba(245, 158, 11, 0.16), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(15, 159, 110, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 42%, #ffffff 100%);
}

.header {
  padding: 12px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.header-content {
  max-width: 1180px;
}

.logo {
  color: var(--ink);
  letter-spacing: 0;
}

.logo-icon {
  filter: drop-shadow(0 8px 16px rgba(15, 159, 110, 0.24));
}

.nav {
  gap: 18px;
}

.nav a {
  color: #3f4856;
}

.nav a:not(.btn):hover {
  color: var(--brand-dark);
}

.btn {
  border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 159, 110, 0.18);
  font-weight: 700;
}

.btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 14px 30px rgba(15, 159, 110, 0.25);
}

.btn-outline {
  border-color: rgba(15, 159, 110, 0.32);
  box-shadow: none;
}

.header .btn-outline {
  background: #ffffff;
}

.lang-switch {
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 48px;
  align-items: center;
  text-align: left;
  padding: 86px max(24px, calc((100vw - 1180px) / 2)) 96px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 24, 39, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #fdfefe 0%, #eefbf6 45%, #fff2d8 100%);
  background-size: 42px 42px, 42px 42px, auto;
}

.hero::before {
  display: none;
}

.hero-content {
  max-width: 620px;
  margin: 0;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(15, 159, 110, 0.2);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.hero p {
  max-width: 560px;
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 18px;
  opacity: 1;
}

.hero-buttons {
  justify-content: flex-start;
  gap: 12px;
}

.hero .btn-white {
  background: var(--brand);
  color: #ffffff;
}

.hero .btn-outline {
  color: var(--ink) !important;
  border-color: var(--line) !important;
  background: #ffffff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #394150;
  font-size: 13px;
  font-weight: 700;
}

.hero-product {
  width: 100%;
}

.product-window {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.16);
  position: relative;
}

.product-window::before {
  content: '';
  position: absolute;
  inset: auto 18px 18px auto;
  width: 38%;
  height: 46%;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.72)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=700&q=80") center/cover;
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.22);
  z-index: 2;
  pointer-events: none;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}

.window-bar span:nth-child(2) {
  background: #fbbf24;
}

.window-bar span:nth-child(3) {
  background: #34d399;
}

.window-bar strong {
  margin-left: 8px;
  color: #374151;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 22px;
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.metrics-preview {
  padding-bottom: 150px;
}

.visual-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: center;
  padding: 96px max(24px, calc((100vw - 1180px) / 2));
  background: #ffffff;
}

.showcase-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
}

.showcase-copy h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
}

.showcase-copy p {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.showcase-card {
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  border-radius: 14px;
  background: #111827;
  box-shadow: 0 24px 54px rgba(17, 24, 39, 0.16);
}

.showcase-card.tall {
  min-height: 440px;
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.06), rgba(17, 24, 39, 0.84));
}

.showcase-card div {
  position: relative;
  z-index: 1;
  padding: 22px;
  color: #ffffff;
}

.showcase-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.showcase-card span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
}

.chat-preview,
.metrics-preview {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 18px;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.bot-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: #e8fff6;
  color: var(--brand-dark);
  font-weight: 900;
}

.chat-top strong,
.metric-line strong {
  display: block;
  color: var(--ink);
}

.chat-top small,
.metric-line span {
  color: var(--muted);
  font-size: 12px;
}

.message {
  max-width: 92%;
  margin-bottom: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.message.user {
  margin-left: auto;
  background: #eef2ff;
  color: #312e81;
}

.message.bot {
  background: #ecfdf5;
  color: #065f46;
}

.lead-capture {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #fffbeb;
  color: #92400e;
  font-size: 13px;
}

.metrics-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.metric-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.metric-line strong {
  font-size: 24px;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 118px;
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.mini-chart i {
  flex: 1;
  min-width: 18px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, var(--violet), var(--brand));
}

.model-pill {
  padding: 10px 12px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.features,
.ai-models-section,
.how-it-works,
.pricing,
.faq,
.testimonials {
  padding: 96px 24px;
}

.features h2,
.ai-models-content h2,
.testimonials h2,
.how-it-works h2,
.pricing h2,
.faq h2 {
  margin-bottom: 48px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
}

.features-grid,
.pricing-grid,
.steps-grid,
.testimonials-grid {
  max-width: 1180px;
}

.feature,
.step-card,
.plan,
.testimonial,
.faq-item,
.ai-model-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.06);
}

.feature {
  padding: 34px 30px;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(17, 24, 39, 0.1);
}

.feature h3,
.step-card h3,
.plan h3 {
  color: var(--ink);
}

.feature-icon {
  color: var(--brand);
}

.stats {
  background: #111827;
}

.stat-number {
  color: #34d399;
}

.ai-models-section {
  background: #f8fafc;
}

.ai-model-item.active {
  background: #ecfdf5;
  border-color: rgba(15, 159, 110, 0.35);
}

.step-number {
  background: var(--ink);
}

.plan.featured {
  border-color: var(--brand);
  box-shadow: 0 26px 56px rgba(15, 159, 110, 0.16);
}

.plan-badge {
  background: var(--accent);
}

.plan-price {
  color: var(--brand-dark);
}

.footer {
  background: #111827;
}

.demo-badge {
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.24);
}

@media (max-width: 980px) {
  .header-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 10px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .hero-content {
    max-width: 760px;
  }

  .visual-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 42px 18px 64px;
  }

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

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

  .hero-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .product-window::before {
    display: none;
  }

  .metrics-preview {
    padding-bottom: 18px;
  }

  .visual-showcase {
    padding: 68px 18px;
  }

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

  .showcase-card,
  .showcase-card.tall {
    min-height: 320px;
  }

  .features,
  .ai-models-section,
  .how-it-works,
  .pricing,
  .faq,
  .testimonials {
    padding: 68px 18px;
  }

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

  .demo-section {
    right: 14px;
    bottom: 14px;
  }
}
