/* ============================================================
   ECR LiveSub — Landing Page
   ============================================================ */

:root {
  --bg-0: #08090D;
  --bg-1: #0C0D12;
  --bg-2: #11131A;
  --bg-2-solid: #14161f;
  --text-primary: #F5F6FA;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent-purple: #7C3AED;
  --accent-blue: #3B82F6;
  --accent-pink: #EC4899;
  --accent-gradient: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));

  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-strong: rgba(255, 255, 255, 0.05);
  --shadow-card: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow-purple: rgba(124, 58, 237, 0.35);
  --glow-blue: rgba(59, 130, 246, 0.3);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg-0: #FFFFFF;
  --bg-1: #F8F9FC;
  --bg-2: #F3F5F9;
  --bg-2-solid: #eef0f5;
  --text-primary: #111318;
  --text-secondary: #4B5563;
  --text-tertiary: #6B7280;
  --border: rgba(17, 19, 24, 0.08);
  --border-strong: rgba(17, 19, 24, 0.14);

  --card-bg: #FFFFFF;
  --card-bg-strong: #FFFFFF;
  --shadow-card: 0 16px 40px -20px rgba(17, 19, 24, 0.18);
  --glow-purple: rgba(124, 58, 237, 0.14);
  --glow-blue: rgba(59, 130, 246, 0.12);

  color-scheme: light;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 300ms ease, color 300ms ease;
  line-height: 1.5;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(.16,.8,.24,1), transform 700ms cubic-bezier(.16,.8,.24,1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--glow-purple);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -8px var(--glow-purple); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-blue); }

.btn-link {
  background: transparent;
  color: var(--text-secondary);
  padding: 13px 4px;
}
.btn-link:hover { color: var(--text-primary); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}
.navbar.scrolled {
  background: color-mix(in srgb, var(--bg-0) 78%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.navbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.brand-name strong { font-weight: 800; }
.brand-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 16px;
}
.brand-wave span {
  width: 2.5px;
  border-radius: 2px;
  background: var(--accent-gradient);
  animation: waveBounce 1.1s ease-in-out infinite;
}
.brand-wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
.brand-wave span:nth-child(2) { height: 14px; animation-delay: 0.12s; }
.brand-wave span:nth-child(3) { height: 9px; animation-delay: 0.24s; }
.brand-wave span:nth-child(4) { height: 16px; animation-delay: 0.36s; }
.brand-wave span:nth-child(5) { height: 5px; animation-delay: 0.48s; }
@keyframes waveBounce {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  color: var(--text-secondary);
}
.nav-links a { transition: color 160ms ease; }
.nav-links a:hover { color: var(--text-primary); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.theme-toggle:hover { border-color: var(--accent-blue); }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 16px;
  height: 1.6px;
  margin: 0 auto;
  background: var(--text-primary);
  transition: transform 220ms ease, opacity 220ms ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 24px;
  font-size: 15px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 4px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.mobile-menu-actions { display: flex; gap: 10px; margin-top: 14px; }
.mobile-menu-actions .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 64px 28px 120px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  background:
    radial-gradient(480px 320px at 20% 20%, var(--glow-purple), transparent 70%),
    radial-gradient(420px 300px at 78% 10%, var(--glow-blue), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 60vh;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  background: var(--card-bg);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--glow-blue);
}
.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 34px;
  line-height: 1.6;
}
.hero-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- Live Demo Card ---------- */
.hero-demo { position: relative; }
.demo-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.demo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ef4444;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.lang-pair {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 56px;
  margin-bottom: 22px;
  padding: 0 4px;
}
.waveform span {
  flex: 1;
  height: 100%;
  min-width: 2px;
  max-width: 5px;
  border-radius: 3px;
  background: var(--accent-gradient);
  opacity: 0.85;
  animation: wfPulse 1.3s ease-in-out infinite;
}
/* Ekran dışındayken animasyonu durdur — çok sayıda eşzamanlı bar/pulse
   animasyonu ana thread'i zorlamasın (bkz. brief: Performans > efekt). */
.waveform.is-paused span,
.globe-nodes.is-paused .node-pulse {
  animation-play-state: paused;
}
@keyframes wfPulse {
  0%, 100% { transform: scaleY(var(--min, 0.2)); }
  50% { transform: scaleY(var(--max, 1)); }
}

.demo-text-block { text-align: center; margin-bottom: 20px; min-height: 96px; }
.demo-source {
  font-size: 16px;
  color: var(--text-secondary);
  min-height: 1.4em;
}
.demo-arrow { color: var(--text-tertiary); font-size: 14px; margin: 8px 0; }
.demo-target {
  font-size: 21px;
  font-weight: 600;
  min-height: 1.4em;
}
.demo-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: 0; }
  .hero { padding-top: 40px; padding-bottom: 72px; }
  .hero-desc { max-width: none; }
}
@media (max-width: 560px) {
  .navbar-inner { padding: 14px 18px; }
  .nav-actions .btn-primary.btn-sm { display: none; }
  .hero { padding: 32px 18px 56px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* ============================================================
   Shared section utilities
   ============================================================ */
.section-inner { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

section[id] { scroll-margin-top: 84px; }

.pipeline-section,
.conference-section,
.global-section,
.features-section,
.demo-section,
.contact-section {
  padding: 120px 0;
  position: relative;
}
.global-section { background: var(--bg-1); }
.features-section { background: var(--bg-0); }

@media (max-width: 720px) {
  .pipeline-section, .conference-section, .global-section,
  .features-section, .demo-section, .contact-section { padding: 76px 0; }
}

/* ============================================================
   Pipeline / "Nasıl Çalışır" scroll story
   ============================================================ */
.pipeline-section { background: var(--bg-1); }
.pipeline-intro {
  max-width: 640px;
  margin: 0 auto 64px;
  padding: 0 28px;
  text-align: center;
}
.pipeline-intro p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pipeline-pin-wrap { position: relative; }
.pipeline-pin {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 28px;
}

.pipeline-visual {
  position: relative;
  height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  overflow: hidden;
}
.pv-stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
  opacity: 0;
  transition: opacity 320ms ease;
}
.pv-stage[data-stage="1"] { opacity: 1; }
.pv-eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pv-waveform { height: 64px; width: min(560px, 90%); }
.pv-raw-text {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  max-width: 640px;
}
.pv-lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 800;
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 12px 30px -10px var(--glow-purple);
}
.pv-translate-anim { display: flex; align-items: center; gap: 16px; }
.pv-chip {
  font-size: 16px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}
.pv-chip-accent { border-color: transparent; background: var(--accent-gradient); color: #fff; }
.pv-translate-dots { display: inline-flex; gap: 5px; }
.pv-translate-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-tertiary);
  animation: dotBounce 1s ease-in-out infinite;
}
.pv-translate-dots span:nth-child(2) { animation-delay: 0.15s; }
.pv-translate-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotBounce {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.pv-final-subtitle {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  max-width: 680px;
}

.pipeline-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.step-btn {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding: 16px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease;
}
.step-btn:hover { border-color: var(--border-strong); }
.pipeline-steps li.is-active .step-btn {
  border-color: var(--accent-blue);
  background: var(--card-bg-strong);
  transform: translateY(-3px);
}
.ps-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}
.pipeline-steps li.is-active .ps-num { color: var(--accent-blue); }
.ps-label { font-size: 14px; font-weight: 600; }

@media (max-width: 780px) {
  .pipeline-steps { grid-template-columns: repeat(3, 1fr); }
  .pipeline-visual { height: 220px; }
}
@media (max-width: 480px) {
  .pipeline-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Multilingual conference
   ============================================================ */
.conference-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.conference-copy p { color: var(--text-secondary); }
.use-case-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 28px;
}
.use-case-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-secondary);
}
.use-case-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.conference-panel {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.speaker-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.speaker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
  font-family: inherit;
}
.speaker-card:hover { border-color: var(--border-strong); }
.speaker-card.is-active {
  border-color: var(--accent-blue);
  background: var(--card-bg-strong);
  color: var(--text-primary);
}
.speaker-flag { font-size: 22px; }
.speaker-lang { font-size: 13px; font-weight: 600; }
.speaker-waveform { height: 20px; width: 100%; }
.speaker-waveform span { max-width: 3px; opacity: 0.5; }
.speaker-card.is-active .speaker-waveform span { opacity: 1; }
.speaker-card:not(.is-active) .speaker-waveform span { animation-play-state: paused; }

.subtitle-panel {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  min-height: 100px;
  margin-bottom: 20px;
}
:root[data-theme="light"] .subtitle-panel { background: var(--bg-2); }
.subtitle-panel-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.subtitle-panel-text { font-size: 19px; font-weight: 600; line-height: 1.45; }

.lang-selector { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 180ms ease;
}
.lang-pill:hover { border-color: var(--accent-blue); }
.lang-pill.is-active { background: var(--accent-gradient); color: #fff; border-color: transparent; }

@media (max-width: 900px) {
  .conference-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
  .use-case-list { grid-template-columns: 1fr; }
  .speaker-row { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .speaker-card { padding: 12px 4px; }
}

/* ============================================================
   Global communication (globe + stats)
   ============================================================ */
.global-intro { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.globe-wrap {
  color: var(--border-strong);
  max-width: 860px;
  margin: 0 auto 72px;
}
.globe-svg { width: 100%; height: auto; }
.globe-nodes circle.node-dot {
  fill: var(--accent-blue);
}
.globe-nodes circle.node-pulse {
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 1.4;
  opacity: 0.6;
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 2.4s ease-out infinite;
}
@keyframes nodePulse {
  0% { transform: scale(0.4); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.globe-nodes text {
  fill: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-sans);
}
.globe-links path {
  stroke: url(#linkGradient);
  stroke-width: 1.4;
  opacity: 0.75;
  stroke-dasharray: 6 7;
  animation: linkFlow 3.2s linear infinite;
}
@keyframes linkFlow { to { stroke-dashoffset: -130; } }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.stat-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card-bg);
}
.stat-num {
  display: block;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 13.5px; color: var(--text-secondary); }

@media (max-width: 780px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Features
   ============================================================ */
.features-intro { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 28px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 16px 40px -18px var(--glow-blue);
}
.feature-icon { width: 30px; height: 30px; margin-bottom: 18px; transition: transform 220ms ease; }
.feature-card:hover .feature-icon { transform: scale(1.08); }
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Interactive demo
   ============================================================ */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.demo-copy p { color: var(--text-secondary); margin: 18px 0 28px; font-size: 16px; max-width: 440px; }
.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.social-proof-avatars { display: flex; }
.social-proof-avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-0);
  margin-left: -8px;
}
.social-proof-avatars span:first-child { margin-left: 0; }

.demo-panel { position: relative; }
.demo-panel-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  background: var(--bg-0);
  border: 1px solid var(--border-strong);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}
.app-mock {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.app-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
}
.app-mock-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}
.app-mock-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mic-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 40px 20px;
  border: none;
  border-right: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
}
.mic-ring {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}
.mic-panel svg { position: relative; z-index: 1; }
.mic-panel.is-active .mic-ring {
  animation: micPulse 1.4s ease-out infinite;
  border-color: var(--accent-blue);
}
@keyframes micPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(2.1); opacity: 0; }
}
.mic-caption { font-size: 12.5px; color: var(--text-tertiary); text-align: center; line-height: 1.5; }
.app-mock-subtitle { padding: 24px 22px; display: flex; flex-direction: column; justify-content: center; }
.app-mock-subtitle p { font-size: 15px; color: var(--text-secondary); line-height: 1.5; }
.app-mock-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}
.app-mock-foot select {
  background: var(--bg-1);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: inherit;
  font-size: 13px;
}

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .app-mock-body { grid-template-columns: 1fr; }
  .mic-panel { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: 130px 28px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-1);
}
.final-cta-waveform {
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  opacity: 0.18;
  padding: 0 40px;
}
.final-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { color: var(--text-secondary); font-size: 17px; margin-bottom: 30px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-copy p { color: var(--text-secondary); margin: 18px 0 22px; font-size: 16px; }

.contact-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card-bg);
  transition: border-color 180ms ease, transform 180ms ease;
}
.contact-row:hover { border-color: var(--accent-blue); transform: translateX(2px); }
.contact-ic { font-size: 19px; flex-shrink: 0; }
.contact-row > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.contact-row strong { font-size: 12.5px; color: var(--text-tertiary); font-weight: 600; }

.contact-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(0.3) contrast(0.95);
}
:root[data-theme="dark"] .contact-map { filter: grayscale(0.4) invert(0.9) contrast(0.9) hue-rotate(180deg); }

.contact-form {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.form-row input, .form-row textarea {
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-primary);
  resize: vertical;
}
:root[data-theme="light"] .form-row input, :root[data-theme="light"] .form-row textarea { background: var(--bg-0); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--accent-blue); }
.contact-submit { width: 100%; margin-top: 6px; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-hint { font-size: 12.5px; color: var(--text-tertiary); margin-top: 12px; text-align: center; }
.form-status { font-size: 13.5px; margin-top: 12px; text-align: center; }
.form-status.ok { color: #22c55e; }
.form-status.error { color: #ef4444; }
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { margin-top: 12px; color: var(--text-secondary); font-size: 14px; max-width: 260px; line-height: 1.5; }
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-soon { font-size: 14.5px; color: var(--text-secondary); }
.footer-col a:hover { color: var(--text-primary); }
.footer-soon { color: var(--text-tertiary); cursor: default; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 28px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}
.footer-panel-link { color: var(--text-tertiary); transition: color 180ms ease; }
.footer-panel-link:hover { color: var(--text-primary); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
