:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1d1d1f;
  --bg: #ffffff;
  --surface: rgba(0, 0, 0, 0.04);
  --surface-strong: rgba(0, 0, 0, 0.08);
  --primary: #0071e3;
  --primary-soft: rgba(0, 113, 227, 0.1);
  --text: #1d1d1f;
  --muted: #86868b;
  --border: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  line-height: 1.6;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 28px 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 34px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  background: transparent;
  border: none;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.brand-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.cta-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.2s ease;
}

.cta-link:hover {
  background: var(--primary);
  color: #fff;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 42px 0 64px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.section-eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-section h1,
.section-header h2 {
  margin: 0;
  font-size: clamp(3rem, 2.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
}

.hero-description {
  margin: 24px 0 0;
  max-width: 580px;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  min-height: 52px;
  padding: 0 26px;
  transition: all 0.2s ease;
}

.primary-button {
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.2s ease;
}

.primary-button:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.secondary-button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.secondary-button:hover {
  background: var(--surface-strong);
}

.large-button {
  min-width: 220px;
}

.stats-card,
.voice-card,
.about-card,
.focus-card,
.demo-panel,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

.stats-card:hover,
.voice-card:hover,
.about-card:hover,
.focus-card:hover,
.demo-panel:hover,
.contact-form:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.stats-title,
.voice-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.stats-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stats-card li {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 600;
}

.voice-wave {
  height: 96px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary-soft), rgba(0, 113, 227, 0.05));
  margin: 18px 0;
  position: relative;
  overflow: hidden;
}

.voice-wave::before,
.voice-wave::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 120%;
  height: 18px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.4), transparent 60%);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.voice-wave::after {
  width: 88%;
  top: 60%;
  opacity: 0.6;
}

.voice-copy {
  margin: 0;
  color: var(--muted);
}

.section-header {
  margin-bottom: 26px;
}

.about-section {
  padding: 40px 0;
}

.about-grid,
.focus-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-card h3,
.focus-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.06rem;
  color: var(--text);
}

.about-card p,
.focus-card p,
.demo-panel p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.accent-card {
  background: linear-gradient(180deg, var(--primary-soft), rgba(0, 113, 227, 0.05));
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.focus-section {
  padding: 48px 0;
}

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

.focus-card {
  min-height: 180px;
}

.demo-section {
  padding: 48px 0;
}

.demo-panel {
  display: grid;
  gap: 18px;
  text-align: center;
}

.demo-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 2.2vw, 3rem);
}

.contact-section {
  padding: 48px 0 24px;
}

.contact-grid {
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}

.contact-copy {
  padding: 28px;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.contact-info {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.contact-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--primary-soft);
  font-size: 16px;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #005bb5;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  padding: 16px 18px;
  font: inherit;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.site-footer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.site-footer {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
}

.ai-agent {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.ai-template {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.15);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes rotate {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

@keyframes typing-left {
  0%, 100% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
}

@keyframes typing-right {
  0%, 100% { transform: translateX(3px); }
  50% { transform: translateX(-3px); }
}

@keyframes code-scan {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes pulse-glow {
  0%, 100% { r: 40; opacity: 0.3; }
  50% { r: 43; opacity: 0.5; }
}

.robot-svg {
  width: 100%;
  height: 100%;
  animation: float 3s ease-in-out infinite;
}

.headphone-left {
  animation: typing-left 2s ease-in-out infinite;
  transform-origin: 55px 40px;
}

.headphone-right {
  animation: typing-right 2s ease-in-out infinite;
  transform-origin: 145px 40px;
}

.arm-left {
  animation: typing-left 1.5s ease-in-out infinite;
  transform-origin: 35px 100px;
}

.arm-right {
  animation: typing-right 1.5s ease-in-out infinite;
  transform-origin: 165px 100px;
}

.code-line {
  animation: code-scan 2s ease-in-out infinite;
}

.code-1 { animation-delay: 0s; }
.code-2 { animation-delay: 0.3s; }
.code-3 { animation-delay: 0.6s; }
.code-4 { animation-delay: 0.9s; }
.code-5 { animation-delay: 1.2s; }

.glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.conversation-bubbles {
  display: none;
}

.bubble {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.language-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  width: fit-content;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 18px;
}

.language-badge.en {
  background: rgba(0, 113, 227, 0.8);
}

.bubble-ai {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.bubble-user {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 20px;
}

.benefits-showcase {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benefits-title {
  margin: 0 0 18px;
  text-align: center;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit-item {
  text-align: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0, 113, 227, 0.04);
  border: 1px solid rgba(0, 113, 227, 0.1);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(0, 113, 227, 0.08);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.benefit-item p {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-section,
  .contact-grid,
  .about-grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 28px;
  }

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

  .ai-agent {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 22px 18px 36px;
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 18px;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .cta-link {
    width: fit-content;
  }

  .ai-avatar {
    font-size: 60px;
  }

  .ai-template {
    max-width: 100%;
    border-radius: 16px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .benefit-icon {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .benefit-item p {
    font-size: 0.8rem;
  }
}
