/* Custom CSS for ConnectSSH Redesign */
:root {
  --bg: #030712;
  --bg-darker: #02040a;
  --surface: #0b111e;
  --surface-alt: #121a2e;
  --surface-header: rgba(3, 7, 18, 0.8);
  --border: #1e293b;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-emerald: rgba(16, 185, 129, 0.3);
  --border-blue: rgba(59, 130, 246, 0.3);
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --emerald: #10b981;
  --amber: #f59e0b;
  --danger: #ef4444;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-light: #cbd5e1;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Premium Gradient Backgrounds */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 900px;
  background: radial-gradient(circle at 50% 10%, rgba(59, 130, 246, 0.08) 0%, rgba(16, 185, 129, 0.03) 50%, transparent 100%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: absolute;
  top: 1200px;
  right: 5%;
  width: 50%;
  height: 800px;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.04) 0%, rgba(3, 7, 18, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Utilities */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border: 1px solid var(--border-blue);
  border-radius: 6px;
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.06);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.pill-success {
  border-color: var(--border-emerald);
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.06);
}

.section-label {
  color: var(--accent-light);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.button:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--muted);
}

.button.primary {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.button.primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.button.small {
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
}

.text-link {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.text-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--emerald);
  color: var(--bg-darker);
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

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

/* Hero Section */
.hero {
  padding: 96px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 30%, var(--muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-light) 30%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-light);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border);
  color: var(--text);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--muted);
  transform: translateY(-1px);
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.spec-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* Simulated Mac App Frame */
.mac-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.frame-top {
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: relative;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-dot.close { background: var(--danger); }
.window-dot.minimize { background: var(--amber); }
.window-dot.expand { background: var(--emerald); }

.frame-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

.frame-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

.frame-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  display: inline-block;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.app-grid {
  display: grid;
  grid-template-columns: 130px 1.25fr 0.95fr;
  min-height: 420px;
}

.app-sidebar {
  border-right: 1px solid var(--border);
  background: rgba(3, 7, 18, 0.5);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-title {
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-left: 10px;
  margin-bottom: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s ease;
}

.sidebar-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-item:hover .sidebar-dot {
  background: var(--muted);
}

.sidebar-item.active {
  color: var(--bg-darker);
  background: var(--emerald);
  font-weight: 700;
}

.sidebar-item.active .sidebar-dot {
  background: var(--bg-darker);
}

.terminal-pane {
  background: #020617;
  border-right: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pane-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-badge {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  color: var(--muted);
  text-transform: lowercase;
}

.pane-inner pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-light);
  white-space: pre-wrap;
}

.pane-inner .prompt {
  color: var(--accent-light);
}

.pane-inner .cmd {
  color: var(--text);
  font-weight: 600;
}

.pane-inner .success-text {
  color: var(--emerald);
}

.tmux-status {
  background: rgba(15, 23, 42, 0.8);
  border-top: 1px solid var(--border);
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: auto;
  border-radius: 4px;
}

.tmux-session {
  color: var(--emerald);
  font-weight: bold;
}

.tmux-window {
  color: var(--accent-light);
}

.side-panes {
  display: grid;
  grid-template-rows: 1.1fr 0.9fr;
}

.browser-pane {
  border-bottom: 1px solid var(--border);
  padding: 16px;
  background: rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
}

.browser-address {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.browser-address .lock {
  color: var(--emerald);
  font-size: 10px;
}

.browser-view {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mock-browser-app {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #060913;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  padding: 10px;
}

.app-header-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 6px;
}

.app-logo-mini {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px var(--accent-light);
}

.app-nav-mini {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.app-body-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}

.app-metric-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.metric-num {
  font-size: 8px;
  font-weight: 800;
  color: var(--emerald);
  font-family: var(--font-mono);
}

.app-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.app-line {
  height: 3px;
  border-radius: 2.5px;
}

.app-line.short {
  width: 30px;
  background: var(--muted);
  opacity: 0.6;
}

.app-line.long {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.handoff-pane {
  padding: 16px;
  background: rgba(15, 23, 42, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pane-header-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.handoff-indicator {
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
}

.handoff-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.handoff-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #060913;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.device {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device.phone {
  width: 24px;
  height: 38px;
  border-radius: 5px;
}

.device.phone .screen {
  width: 100%;
  height: 100%;
  background: #020617;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device.phone .phone-ssh {
  font-size: 7px;
  font-family: var(--font-mono);
  color: var(--accent-light);
  font-weight: bold;
}

.device.macbook {
  width: 48px;
  height: 30px;
  border-radius: 3px;
}

.device.macbook .screen {
  width: 100%;
  height: 100%;
  background: #020617;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device.macbook .mac-tmux {
  font-size: 7px;
  font-family: var(--font-mono);
  color: var(--emerald);
  font-weight: bold;
}

.flow-line {
  flex-grow: 1;
  height: 1px;
  border-top: 1px dashed var(--muted);
  opacity: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-tip {
  font-size: 8px;
  color: var(--emerald);
  position: absolute;
  right: -2px;
  animation: flow-arrow-pulse 1.5s infinite;
}

@keyframes flow-arrow-pulse {
  0% { transform: translateX(-4px); opacity: 0.3; }
  50% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(4px); opacity: 0.3; }
}

.handoff-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* Sections Base */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--border-light);
}

.section-header {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Proof Section */
.proof-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
}

.screenshot-container {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.screenshot-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

/* Timeline Flow */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-blue);
}

.timeline-step {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-blue);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
}

.timeline-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Security Architecture Section */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.security-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.security-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}

.security-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  background: rgba(3, 7, 18, 0.4);
}

.flow-node {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-node span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.flow-node strong {
  font-size: 14px;
  color: var(--text);
}

.flow-node.mac strong {
  color: var(--emerald);
}

.flow-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 14px;
}

.security-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
}

.security-item .icon {
  color: var(--danger);
  font-weight: 900;
}

/* Developer Surface Matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.matrix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  transition: all 0.2s ease;
}

.matrix-card:hover {
  border-color: var(--border-blue);
  background: rgba(18, 26, 46, 0.4);
}

.matrix-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.matrix-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Setup Teaser Section */
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.terminal-card {
  background: #020617;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-card pre {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-light);
  overflow-x: auto;
}

.terminal-card .prompt {
  color: var(--accent-light);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

details[open] {
  border-color: var(--border-blue);
}

summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-light);
}

details p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-darker) 100%);
  padding: 120px 0;
}

.cta-card {
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 60%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 64px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.waitlist-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
  text-align: left;
}

.waitlist-copy {
  max-width: 560px;
}

.waitlist-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.waitlist-form label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.waitlist-form textarea {
  min-height: 112px;
  resize: vertical;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: rgba(56, 189, 248, 0.72);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.waitlist-form button {
  width: 100%;
  margin-top: 4px;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.waitlist-status {
  min-height: 22px;
  font-size: 14px;
  color: var(--muted);
}

.waitlist-status.success {
  color: var(--success);
}

.waitlist-status.error {
  color: #fca5a5;
}

.hidden-field,
.sr-only-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cta-card h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

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

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  background: var(--bg-darker);
  color: var(--muted);
  font-size: 13px;
}

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

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid, .security-grid, .setup-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-copy {
    align-items: center;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-specs {
    justify-content: center;
  }
  
  .timeline {
    grid-template-columns: 1fr;
  }
  
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .waitlist-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  
  .app-sidebar {
    display: none;
  }
  
  .terminal-pane {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .side-panes {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  
  .browser-pane {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  
  .security-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    height: 64px;
  }
  
  .nav {
    display: none;
  }
  
  .hero {
    padding-top: 64px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero .lead {
    font-size: 15px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-actions .button {
    width: 100%;
  }
  
  .mac-frame .frame-status {
    display: none;
  }
  
  .mac-frame .frame-title {
    max-width: calc(100% - 120px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .section {
    padding: 64px 0;
  }
  
  .cta-card {
    padding: 40px 20px;
  }

  .waitlist-form {
    padding: 18px;
  }
}

@media (max-width: 500px) {
  .side-panes {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  
  .browser-pane {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
