/* ============================================
   TELEMY LANDING PAGE v2 — DESIGN TOKENS & BASE
   ============================================ */

/* --- Light mode (default) --- */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #1c1917;
  --text-muted: #78716c;
  --border: #e7e5e4;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --health: #22c55e;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* --- Dark mode explicit --- */
[data-theme="dark"] {
  --bg: #0c0a09;
  --surface: #1c1917;
  --text: #fafaf9;
  --text-muted: #a8a29e;
  --border: #292524;
}

/* --- System dark --- */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --bg: #0c0a09;
    --surface: #1c1917;
    --text: #fafaf9;
    --text-muted: #a8a29e;
    --border: #292524;
  }
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.2s ease, color 0.2s ease;
}

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

a {
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
}

/* --- Utility --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ========================================
   NAV
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  color: var(--accent);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

/* --- Theme Toggle --- */
.theme-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.theme-toggle button {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.theme-toggle button:hover {
  color: var(--text);
}

.theme-toggle button.active {
  background: var(--accent);
  color: #fff;
}

.theme-toggle button svg {
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* --- Hamburger --- */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* --- Mobile Nav --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }
}

/* ========================================
   HERO
   ======================================== */

.hero {
  padding: 120px 0 80px;
  min-height: 85vh;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hero-text {
  animation: heroFadeIn 0.5s ease both;
}

.hero-dock {
  animation: heroFadeIn 0.5s ease 0.15s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text h1 {
  max-width: 520px;
  margin-bottom: 20px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 440px;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.trust-chip svg {
  opacity: 0.6;
  display: inline;
}

/* ========================================
   DOCK FRAME & THEME PILLS (page-level)
   ======================================== */

.dock-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dock-theme-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.theme-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-pill:hover {
  border-color: var(--accent);
  color: var(--text);
}

.theme-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dock-window {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.08);
}

.dock-titlebar {
  background: #383838;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dock-titlebar-dots {
  display: flex;
  gap: 6px;
}

.dock-titlebar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dock-titlebar-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #999;
  letter-spacing: 0.05em;
}

/* ========================================
   DOCK CONTAINER & THEMES (self-contained)
   ======================================== */

.dock-container {
  width: 320px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease, color 0.25s ease;
  background: var(--dock-bg);
  color: var(--dock-text);
}

.dock-container[data-theme="dark"] {
  --dock-bg: #1e1e1e;
  --dock-surface: #272727;
  --dock-panel: #2d2d2d;
  --dock-text: #e0e0e0;
  --dock-text-muted: #909090;
  --dock-accent: #1473e6;
  --dock-border: #383838;
  --dock-header-bg: #2d2d2d;
}

.dock-container[data-theme="acri"] {
  --dock-bg: #0e0e12;
  --dock-surface: #16161c;
  --dock-panel: #1c1c24;
  --dock-text: #d4d4dc;
  --dock-text-muted: #7a7a88;
  --dock-accent: #2d7aed;
  --dock-border: #2a2a34;
  --dock-header-bg: #1c1c24;
}

.dock-container[data-theme="rachni"] {
  --dock-bg: #1a1a2e;
  --dock-surface: #222238;
  --dock-panel: #2a2a3e;
  --dock-text: #d8d8e8;
  --dock-text-muted: #8888a0;
  --dock-accent: #6c5ce7;
  --dock-border: #32324a;
  --dock-header-bg: #2a2a3e;
}

.dock-container[data-theme="system"] {
  --dock-bg: #f0f0f0;
  --dock-surface: #ffffff;
  --dock-panel: #e8e8e8;
  --dock-text: #1a1a1a;
  --dock-text-muted: #666666;
  --dock-accent: #0066cc;
  --dock-border: #d0d0d0;
  --dock-header-bg: #e8e8e8;
}

/* ========================================
   DOCK HEALTH RAIL
   ======================================== */

.dock-health-rail {
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, transparent 0%, #22c55e 40%, #22c55e 60%, transparent 100%);
  box-shadow: 0 0 12px rgba(34,197,94,0.3), 0 1px 4px rgba(34,197,94,0.2);
  animation: railPulse 3s ease-in-out infinite;
}

@keyframes railPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* ========================================
   DOCK HEADER
   ======================================== */

.dock-header {
  padding: 10px 12px 8px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--dock-panel) 0%, var(--dock-bg) 100%);
  border-bottom: 1px solid var(--dock-border);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.dock-logo {
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(34,197,94,0.25);
  border-radius: 5px;
}

.dock-header-info {
  flex: 1;
  min-width: 0;
}

.dock-header-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dock-header-subtitle {
  font-size: 8px;
  color: var(--dock-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.dock-mode-badge {
  background: #1a3a5a;
  border: 1px solid rgba(45,122,237,0.25);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5ba3f5;
}

/* ========================================
   STATUS DOTS
   ======================================== */

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--live {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.4);
  animation: dotPulse 2s ease-in-out infinite;
}

.status-dot--warn {
  background: #d29922;
  box-shadow: 0 0 6px rgba(210,153,34,0.4);
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(34,197,94,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 12px rgba(34,197,94,0.6); }
}

/* ========================================
   DOCK LIVE BANNER
   ======================================== */

.dock-live-banner {
  padding: 7px 12px;
  flex-shrink: 0;
  background: linear-gradient(90deg, rgba(34,197,94,0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--dock-border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.dock-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.dock-live-label {
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.08em;
}

.dock-live-time {
  color: var(--dock-text-muted);
  transition: color 0.25s ease;
}

.dock-live-bitrate {
  margin-left: auto;
  color: var(--dock-text-muted);
  font-size: 9px;
  transition: color 0.25s ease;
}

/* ========================================
   DOCK SCROLL AREA
   ======================================== */

.dock-scroll {
  max-height: 420px;
  overflow-y: auto;
  flex: 1;
}

.dock-scroll::-webkit-scrollbar { width: 3px; }
.dock-scroll::-webkit-scrollbar-track { background: transparent; }
.dock-scroll::-webkit-scrollbar-thumb { background: var(--dock-border); border-radius: 2px; }

/* ========================================
   DOCK SECTIONS (expand/collapse)
   ======================================== */

.dock-section {
  border-bottom: 1px solid var(--dock-border);
  transition: border-color 0.25s ease;
}

.dock-section-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: none;
  border: none;
  color: var(--dock-text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.dock-section-header:hover {
  color: var(--dock-text);
  background: rgba(255,255,255,0.03);
}

.dock-section-icon {
  opacity: 0.5;
  flex-shrink: 0;
}

.dock-section-title {
  flex: 1;
  text-align: left;
}

.dock-badge-inline {
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.dock-section-chevron {
  font-size: 10px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}

.dock-section[data-open="true"] .dock-section-chevron {
  transform: rotate(90deg);
}

.dock-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
  padding: 0 12px;
}

.dock-section[data-open="true"] .dock-section-body {
  max-height: 600px;
  opacity: 1;
  padding: 0 12px 10px;
}

/* ========================================
   DOCK SCENES
   ======================================== */

.dock-scene-active-card {
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(46,160,67,0.55);
  background: linear-gradient(135deg, rgba(46,160,67,0.15) 0%, rgba(46,160,67,0.05) 100%);
  margin-bottom: 6px;
}

.dock-scene-active-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.dock-scene-active-label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  font-weight: 600;
}

.dock-scene-active-name {
  font-size: 10px;
  font-weight: 600;
  color: #4ade80;
}

.dock-scene-active-rule {
  font-size: 8px;
  color: var(--dock-text-muted);
  display: block;
  padding-left: 12px;
  transition: color 0.25s ease;
}

.dock-scene-btn {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--dock-border);
  border-radius: 4px;
  background: var(--dock-surface);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dock-text);
  margin-bottom: 4px;
  transition: all 0.15s ease;
}

.dock-scene-btn:hover {
  border-color: var(--dock-text-muted);
}

.dock-scene-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dock-scene-badge {
  font-size: 8px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: auto;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.dock-scene-btn--active {
  border-color: #2ea043;
  background: #1a3a1a;
  box-shadow: 0 0 12px rgba(46,160,67,0.1);
}

/* ========================================
   DOCK CONNECTIONS
   ======================================== */

.dock-conn-card {
  background: var(--dock-surface);
  border-radius: 4px;
  padding: 8px 10px;
  border: 1px solid var(--dock-border);
  margin-bottom: 4px;
  transition: all 0.2s ease;
}

.dock-conn--connected {
  border-color: rgba(46,160,67,0.3);
}

.dock-conn--degraded {
  border-color: rgba(210,153,34,0.3);
}

.dock-conn-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.dock-conn-name {
  font-size: 10px;
  font-weight: 600;
}

.dock-conn-type {
  font-size: 8px;
  background: var(--dock-surface);
  padding: 1px 5px;
  border-radius: 2px;
  color: var(--dock-text-muted);
  letter-spacing: 0.05em;
  margin-left: auto;
  transition: background 0.25s ease, color 0.25s ease;
}

.dock-conn-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dock-signal-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.dock-signal-bars span {
  width: 3px;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.dock-signal-bars span:nth-child(1) { height: 6px; }
.dock-signal-bars span:nth-child(2) { height: 9px; }
.dock-signal-bars span:nth-child(3) { height: 12px; }
.dock-signal-bars span:nth-child(4) { height: 15px; }

.dock-conn-bitrate {
  font-size: 10px;
  font-weight: 600;
}

/* ========================================
   DOCK BITRATE BARS
   ======================================== */

.dock-bitrate-row {
  margin-bottom: 6px;
}

.dock-bitrate-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  font-size: 10px;
}

.dock-bitrate-value {
  font-weight: 600;
}

.dock-bitrate-track {
  height: 4px;
  background: var(--dock-surface);
  border-radius: 2px;
  overflow: hidden;
  transition: background 0.25s ease;
}

.dock-bitrate-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 80%, transparent));
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px color-mix(in srgb, var(--bar-color) 30%, transparent);
  animation: barPulse 4s ease-in-out infinite;
}

@keyframes barPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* ========================================
   DOCK ENCODES
   ======================================== */

.dock-encode-group {
  background: var(--dock-surface);
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border: 1px solid var(--dock-border);
  transition: all 0.25s ease;
}

.dock-encode-header {
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dock-encode-outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dock-encode-output {
  font-size: 9px;
  color: var(--dock-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s ease;
}

.dock-encode-output .status-dot {
  width: 4px;
  height: 4px;
}

/* ========================================
   DOCK SETTINGS TOGGLES
   ======================================== */

.dock-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--dock-border);
  transition: border-color 0.25s ease;
}

.dock-setting-row:last-child {
  border-bottom: none;
}

.dock-setting-name {
  font-size: 10px;
}

.dock-toggle {
  width: 28px;
  height: 16px;
  border-radius: 8px;
  background: var(--dock-border);
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.dock-toggle--on {
  background: var(--toggle-color, var(--dock-accent));
}

.dock-toggle-knob {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.dock-toggle--on .dock-toggle-knob {
  transform: translateX(12px);
}

/* ========================================
   DOCK FOOTER
   ======================================== */

.dock-footer {
  padding: 7px 12px;
  flex-shrink: 0;
  border-top: 1px solid var(--dock-border);
  background: var(--dock-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: var(--dock-text-muted);
  transition: all 0.25s ease;
}

.dock-footer-pipe {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  padding: 80px 0 60px;
}

.features-list {
  max-width: 720px;
}

.feature-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--text);
  min-width: 220px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.pro-pill {
  display: inline-flex;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  letter-spacing: 0.08em;
  margin-left: 8px;
  vertical-align: middle;
}

/* ========================================
   PRICING STRIP
   ======================================== */

.pricing {
  padding: 60px 0;
}

.pricing-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.pricing-half {
  padding: 32px;
}

.pricing-half--pro {
  border-left: 1px solid var(--border);
}

.pricing-tier {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}

.pricing-mo {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-includes {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ========================================
   MINI FAQ
   ======================================== */

.mini-faq {
  max-width: 720px;
  margin: 40px auto 0;
}

.mini-faq-item {
  border-bottom: 1px solid var(--border);
}

.mini-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.mini-faq-question:hover {
  color: var(--accent);
}

.mini-faq-chevron {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.mini-faq-item[data-open="true"] .mini-faq-chevron {
  transform: rotate(45deg);
}

.mini-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mini-faq-item[data-open="true"] .mini-faq-answer {
  max-height: 120px;
  padding-bottom: 16px;
}

.mini-faq-answer p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ========================================
   HERO RESPONSIVE
   ======================================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-text h1 { max-width: none; }
  .hero-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .dock-frame { margin: 0 auto; }
}

/* ========================================
   CONTENT RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .feature-row {
    flex-direction: column;
    gap: 4px;
  }

  .feature-label {
    min-width: auto;
    white-space: normal;
  }

  .pricing-strip {
    grid-template-columns: 1fr;
  }

  .pricing-half--pro {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { padding: 100px 0 60px; }
  .dock-container { transform: scale(0.9); transform-origin: top center; }
  .dock-theme-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
}
