* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #0b0d12;
  --bg-2: #10131a;
  --panel: rgba(22, 25, 34, 0.94);
  --text: #eceff4;
  --muted: #9aa4b2;
  --primary: #10a37f;
  --primary-hover: #0d8c6e;
  --primary-soft: rgba(16, 163, 127, 0.12);
  --border: #2a3140;
  --border-soft: #232938;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.32);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top center, rgba(16, 163, 127, 0.07), transparent 18%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 38%, var(--bg) 100%);
  color: var(--text);
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
}

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

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  background: rgba(11, 13, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.brand-wrap h1 {
  margin: 0;
  font-size: 1.16rem;
}

.brand-wrap p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.top-nav a:hover {
  color: var(--text);
}

.nav-btn,
.primary-cta,
.secondary-cta,
.secondary-cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.nav-btn,
.primary-cta {
  background: var(--primary);
  color: white !important;
  box-shadow: var(--shadow);
  font-weight: bold;
}

.nav-btn:hover,
.primary-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.secondary-cta,
.secondary-cta-nav {
  background: #252b37;
  color: var(--text) !important;
  border: 1px solid var(--border);
}

.secondary-cta:hover,
.secondary-cta-nav:hover {
  background: #2d3442;
  transform: translateY(-1px);
}

.landing-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px 60px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(16, 163, 127, 0.24);
  color: #87e7cf;
  font-size: 0.84rem;
}

.hero-left h2 {
  margin: 0 0 16px;
  font-size: 2.7rem;
  line-height: 1.08;
}

.hero-left p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 430px;
  background: rgba(22, 25, 34, 0.96);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow);
}

.auth-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.auth-logo {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.auth-card-top h3 {
  margin: 0;
}

.auth-card-top p {
  margin: 6px 0 0;
  color: var(--muted);
}

.preview-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  line-height: 1.5;
  font-size: 0.95rem;
  border: 1px solid var(--border-soft);
}

.preview-bubble.user {
  background: #1e2430;
}

.preview-bubble.agent {
  background: #171c25;
  color: var(--muted);
}

.preview-bubble.final {
  background: rgba(16, 163, 127, 0.12);
  color: #8ce7d0;
  border-color: rgba(16, 163, 127, 0.22);
  font-weight: bold;
}

.section-block {
  margin-top: 52px;
}

.compact-section {
  margin-top: 20px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading span {
  color: #8ce7d0;
  font-size: 0.9rem;
}

.section-heading h3 {
  margin: 8px 0 0;
  font-size: 1.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.cta-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.feature-card:hover,
.cta-card:hover {
  border-color: #334155;
  background: #1c212c;
  transform: translateY(-1px);
}

.feature-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-section {
  margin-top: 52px;
}

.cta-card {
  text-align: center;
  padding: 34px 22px;
}

.cta-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
  background: var(--panel);
}

.cta-card h3 {
  margin: 0 0 10px;
  font-size: 1.9rem;
}

.cta-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1000px) {
  .hero-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .landing-main {
    padding: 24px 14px 40px;
  }

  .landing-header {
    padding: 16px;
  }

  .hero-left h2,
  .section-heading h3,
  .cta-card h3 {
    font-size: 1.8rem;
  }

  .top-nav {
    width: 100%;
  }

  .nav-logo {
    width: 52px;
    height: 52px;
  }
}
