/* ============================================================
   TALKBACK LANDING PAGE STYLES
   ============================================================
   File: css/landing.css
   Purpose: Complete landing page styling with dark/light mode
   ============================================================ */

/* ============================================================
   1. CSS RESET
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}


/* ============================================================
   2. DESIGN TOKENS — DARK THEME (DEFAULT)
   ============================================================ */

[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-tertiary: #1a1a24;
  --surface: #16161f;
  --surface-hover: #1e1e2a;
  --surface-active: #252535;
  --surface-elevated: #1c1c28;

  --text-primary: #f0f0f5;
  --text-secondary: #9898a8;
  --text-tertiary: #68687a;
  --text-inverse: #0a0a0f;

  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-soft: rgba(99, 102, 241, 0.12);
  --accent-glow: rgba(99, 102, 241, 0.25);

  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(99, 102, 241, 0.3);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 4px 24px rgba(99, 102, 241, 0.25);

  --nav-bg: rgba(10, 10, 15, 0.85);
  --hero-gradient: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  --grid-color: rgba(255, 255, 255, 0.03);
  --card-bg: var(--surface);
  --mock-bg: #0d0d14;
  --footer-bg: #08080c;
}


/* ============================================================
   3. DESIGN TOKENS — LIGHT THEME
   ============================================================ */

[data-theme="light"] {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f0f1f5;
  --surface: #ffffff;
  --surface-hover: #f5f5fa;
  --surface-active: #eeeef5;
  --surface-elevated: #ffffff;

  --text-primary: #111118;
  --text-secondary: #555566;
  --text-tertiary: #888899;
  --text-inverse: #ffffff;

  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-glow: rgba(79, 70, 229, 0.15);

  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --success: #16a34a;
  --success-soft: rgba(22, 163, 74, 0.08);
  --warning: #d97706;
  --warning-soft: rgba(217, 119, 6, 0.08);

  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --border-accent: rgba(79, 70, 229, 0.25);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 4px 24px rgba(79, 70, 229, 0.15);

  --nav-bg: rgba(248, 249, 252, 0.9);
  --hero-gradient: radial-gradient(ellipse at 50% 0%, rgba(79, 70, 229, 0.06) 0%, transparent 60%);
  --grid-color: rgba(0, 0, 0, 0.03);
  --card-bg: var(--surface);
  --mock-bg: #f0f1f5;
  --footer-bg: #111118;
}


/* ============================================================
   4. TYPOGRAPHY SCALE
   ============================================================ */

.hero__heading {
  font-size: clamp(2rem, 5vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero__heading-accent {
  color: var(--accent);
}

.hero__subheading {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 540px;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-subheading {
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-heading {
  margin-bottom: 16px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-align: center;
}

.btn__icon {
  flex-shrink: 0;
}

/* Sizes */
.btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn--md {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--xl {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn--full {
  width: 100%;
}

/* Primary */
.btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}


/* ============================================================
   6. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo-text {
  letter-spacing: -0.02em;
}

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme Toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: color 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}

/* Show/hide correct icon based on theme */
[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: flex;
}

[data-theme="light"] .theme-toggle__icon--moon {
  display: none;
}

[data-theme="light"] .theme-toggle__icon--sun {
  display: flex;
}

.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav__mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
}

.nav__mobile-menu.active {
  display: block;
}

.nav__mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav__mobile-link {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__mobile-link:hover {
  color: var(--text-primary);
  background: var(--surface-hover);
}

.nav__mobile-menu .btn {
  margin-top: 12px;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 100px;
  width: fit-content;
  border: 1px solid var(--border-accent);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero Actions */
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* Social Proof */
.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
}

.hero__proof-avatars {
  display: flex;
}

.hero__proof-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.hero__proof-avatar:first-child {
  margin-left: 0;
}

.hero__proof-text {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}


/* ============================================================
   8. HERO VISUAL — PHONE MOCKUP
   ============================================================ */

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__mockup {
  position: relative;
}

.hero__mockup-phone {
  width: 280px;
  height: 560px;
  background: var(--surface-elevated);
  border-radius: 36px;
  border: 2px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero__mockup-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Mockup Glow */
.hero__mockup-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Mock Screen Inside Phone */
.mock-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--mock-bg);
  padding-top: 48px;
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-header-dot.online {
  background: var(--success);
  box-shadow: 0 0 6px var(--success);
}

.mock-members {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--surface-hover);
  padding: 2px 8px;
  border-radius: 100px;
}

.mock-activity {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.mock-speaking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mock-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
  border: 3px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
  animation: speakerGlow 2s ease infinite;
}

@keyframes speakerGlow {
  0%, 100% { box-shadow: 0 0 16px var(--accent-glow); }
  50% { box-shadow: 0 0 28px var(--accent-glow), 0 0 8px var(--accent-glow); }
}

.mock-speaking-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mock-speaking-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mock-wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.mock-bar {
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
  animation: waveBar 0.8s ease-in-out infinite alternate;
}

.mock-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.mock-bar:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.mock-bar:nth-child(3) { height: 20px; animation-delay: 0.2s; }
.mock-bar:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.mock-bar:nth-child(5) { height: 18px; animation-delay: 0.15s; }
.mock-bar:nth-child(6) { height: 10px; animation-delay: 0.25s; }
.mock-bar:nth-child(7) { height: 16px; animation-delay: 0.05s; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* Mock PTT Area */
.mock-ptt-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 40px;
}

.mock-ptt-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pttRingPulse 2.5s ease infinite;
}

@keyframes pttRingPulse {
  0%, 100% { border-color: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { border-color: var(--accent-hover); box-shadow: 0 0 0 8px transparent; }
}

.mock-ptt-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}

.mock-ptt-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-tertiary);
}

/* Hero Background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  z-index: 1;
  pointer-events: none;
}


/* ============================================================
   9. STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.stats-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
}

.stats-bar__number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats-bar__unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
}

.stats-bar__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-top: 6px;
}

.stats-bar__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}


/* ============================================================
   10. FEATURES SECTION
   ============================================================ */

.features {
  padding: 100px 0;
  background: var(--bg-primary);
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Feature Card */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card--large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.feature-card--emergency {
  border-color: var(--danger-soft);
}

.feature-card--emergency:hover {
  border-color: var(--danger);
}

/* Feature Card Body */
.feature-card__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon-wrap--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.feature-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.feature-card__list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Feature Image Zone */
.feature-card__image-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  min-height: 200px;
}

.feature-card__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}

.feature-card__image-placeholder span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}


/* ============================================================
   11. HOW IT WORKS SECTION
   ============================================================ */

.how-it-works {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  width: 100%;
}

.step__number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent-soft);
  line-height: 1;
  position: absolute;
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

[data-theme="light"] .step__number {
  color: rgba(79, 70, 229, 0.1);
}

/* Step Image */
.step__image {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__image--placeholder {
  flex-direction: column;
  gap: 8px;
}

.step__image--placeholder span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Step Content */
.step__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.step__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 400px;
}

/* Step Connector */
.step__connector {
  width: 2px;
  height: 48px;
  background: var(--border);
  margin: 0 auto;
}

/* Step PTT Demo */
.step--highlight {
  background: var(--accent-soft);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-accent);
}

.step__image--ptt {
  background: transparent;
  border: none;
}

.step__ptt-demo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__ptt-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: stepPttPulse 3s ease infinite;
}

@keyframes stepPttPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 16px transparent; }
}

.step__ptt-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}


/* ============================================================
   12. IMAGE BANNER
   ============================================================ */

.image-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.image-banner__placeholder {
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.image-banner__placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 40px 24px;
}

.image-banner__placeholder-inner p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.image-banner__placeholder-inner span {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  opacity: 0.6;
}

.image-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.image-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.image-banner--has-image .image-banner__overlay {
  opacity: 1;
}

.image-banner--has-image .image-banner__placeholder {
  display: none;
}

.image-banner__quote {
  text-align: center;
  padding: 40px 24px;
}

.image-banner__quote-text {
  font-size: clamp(1.25rem, 2.5vw + 0.5rem, 2rem);
  font-weight: 700;
  color: white;
  font-style: italic;
  margin-bottom: 12px;
}

.image-banner__quote-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}


/* ============================================================
   13. USE CASES SECTION
   ============================================================ */

.use-cases {
  padding: 100px 0;
  background: var(--bg-primary);
}

.use-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.use-case-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.use-case-card__image-placeholder {
  height: 160px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}

.use-case-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.use-case-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 20px 20px 8px;
}

.use-case-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
  padding: 0 20px 24px;
}


/* ============================================================
   14. PRICING SECTION
   ============================================================ */

.pricing {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Featured Pricing Card */
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  border-color: var(--accent-hover);
  transform: scale(1.03) translateY(-2px);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 0 0 8px 8px;
}

/* Pricing Header */
.pricing-card__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-card__amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-card__amount--custom {
  font-size: 2rem;
}

.pricing-card__period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-left: 4px;
}

.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Pricing Features */
.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-card__check {
  color: var(--success);
  flex-shrink: 0;
}

.pricing-card__feature--disabled {
  opacity: 0.4;
}

.pricing-card__check--disabled {
  color: var(--text-tertiary);
}


/* ============================================================
   15. CTA SECTION
   ============================================================ */

.cta-section {
  padding: 120px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cta-section__heading {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 600px;
}

.cta-section__subheading {
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.15rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.65;
}

.cta-section__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.cta-section__note {
  font-size: 0.82rem;
  color: var(--text-tertiary);
}


/* ============================================================
   16. FOOTER
   ============================================================ */

.footer {
  background: var(--footer-bg);
  padding: 60px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .footer {
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

/* Footer Brand */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo .nav__logo-text {
  color: white;
}

.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

/* Footer Links */
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: white;
}

/* Footer Bottom */
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: 24px;
}

.footer__legal a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   17. SCROLL REVEAL ANIMATIONS
   ============================================================ */

.feature-card,
.step,
.use-case-card,
.pricing-card,
.stats-bar__item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.revealed,
.step.revealed,
.use-case-card.revealed,
.pricing-card.revealed,
.stats-bar__item.revealed {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   18. RESPONSIVE — TABLET (768px)
   ============================================================ */

@media (max-width: 1024px) {
  .step__number {
    position: static;
    transform: none;
    font-size: 2.5rem;
  }

  .step {
    grid-template-columns: 160px 1fr;
    gap: 24px;
  }

  .step__image {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  .nav__links {
    display: none;
  }

  .nav__actions .btn--ghost,
  .nav__actions .btn--primary {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero__content {
    align-items: center;
  }

  .hero__subheading {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__proof {
    justify-content: center;
  }

  .hero__mockup-phone {
    width: 240px;
    height: 480px;
  }

  .hero__mockup-glow {
    width: 300px;
    height: 300px;
  }

  /* Stats */
  .stats-bar__inner {
    flex-direction: column;
    gap: 24px;
  }

  .stats-bar__divider {
    width: 60px;
    height: 1px;
  }

  /* Features */
  .features {
    padding: 72px 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .feature-card--large {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .how-it-works {
    padding: 72px 0;
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step__number {
    position: static;
    transform: none;
    font-size: 2rem;
    margin-bottom: -8px;
  }

  .step__image {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  .step__desc {
    max-width: none;
    margin: 0 auto;
  }

  .step--highlight {
    padding: 20px;
  }

  /* Use Cases */
  .use-cases {
    padding: 72px 0;
  }

  .use-cases__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Pricing */
  .pricing {
    padding: 72px 0;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-2px);
  }

  /* CTA */
  .cta-section {
    padding: 80px 0;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__links {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__legal {
    gap: 16px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 40px;
  }
}


/* ============================================================
   19. RESPONSIVE — SMALL MOBILE (480px)
   ============================================================ */

@media (max-width: 480px) {

  .section-inner {
    padding: 0 16px;
  }

  .nav__inner {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    padding: 0 16px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__mockup-phone {
    width: 220px;
    height: 440px;
  }

  .mock-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .feature-card__body {
    padding: 24px;
  }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .stats-bar__number {
    font-size: 1.75rem;
  }

  .pricing-card {
    padding: 24px;
  }
}


/* ============================================================
   20. UTILITY CLASSES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Smooth transition for theme switching on all major elements */
.nav,
.hero,
.stats-bar,
.features,
.how-it-works,
.image-banner,
.use-cases,
.pricing,
.cta-section,
.feature-card,
.use-case-card,
.pricing-card,
.step,
.step__image {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}


/* ============================================================
   21. PRINT STYLES
   ============================================================ */

@media print {
  .nav,
  .hero__bg-grid,
  .hero__bg-gradient,
  .hero__mockup-glow,
  .theme-toggle,
  .nav__mobile-toggle {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }
}