:root {
  --primary: #8A2BE2;
  --primary-hover: #7522C4;
  --primary-subtle: #F3EBFC;
  --text-primary: #14141F;
  --text-secondary: #6C6C7D;
  --text-muted: #9E9EB0;
  --bg-white: #FFFFFF;
  --bg-surface: #F8F9FD;
  --bg-surface-alt: #F1F3F9;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1040px;
  --doc-max: 820px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.85;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.brand-icon-img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-text-mobile {
  display: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  opacity: 1;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface);
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-alt);
  opacity: 1;
}

/* Hero Section */
.hero-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.pill-badge {
  display: inline-block;
  background-color: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--text-primary);
  max-width: 780px;
  margin: 0 auto 20px;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Feature Grid */
.features-section {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Voice Step Section */
.steps-section {
  background-color: var(--bg-surface);
  padding: 80px 24px;
  margin: 40px 0;
}

.steps-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: left;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* CTA Banner */
.cta-section {
  max-width: var(--container-max);
  margin: 40px auto 80px;
  padding: 0 24px;
}

.cta-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  text-align: center;
}

.cta-card h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 28px;
}

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  padding: 60px 24px 40px;
  margin-top: 80px;
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Legal Document Styles */
.legal-header {
  padding: 60px 24px 40px;
  text-align: center;
  background-color: var(--bg-surface);
  margin-bottom: 40px;
}

.legal-header-container {
  max-width: var(--doc-max);
  margin: 0 auto;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.legal-content {
  max-width: var(--doc-max);
  margin: 0 auto 80px;
  padding: 0 24px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--text-primary);
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
  margin: 12px 0 20px 24px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.callout-box {
  background-color: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}

.callout-box h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 24px;
}

.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  margin-bottom: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 20px 40px;
  }
  .features-section {
    padding: 40px 20px 60px;
  }
  .steps-section {
    padding: 60px 20px;
  }
  .cta-card {
    padding: 40px 20px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 12px 16px;
    gap: 10px;
  }
  .brand-logo {
    font-size: 1.08rem;
    gap: 8px;
  }
  .brand-icon,
  .brand-icon-img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    font-size: 0.85rem;
  }
  .nav-links {
    gap: 12px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  .nav-text-full {
    display: none;
  }
  .nav-text-mobile {
    display: inline;
  }
}

@media (max-width: 360px) {
  .nav-links {
    gap: 8px;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
}
