/* ============================================
   AirTime Website - Style
   Dark theme matching the AirTime dashboard
   ============================================ */

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

:root {
  --bg-primary: #0d1117;
  --bg-secondary: #111920;
  --bg-card: #1a2332;
  --bg-card-hover: #1e2a3a;
  --bg-surface: #243040;
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  --accent-cyan: #4dd0e1;
  --accent-cyan-dim: rgba(77, 208, 225, 0.15);
  --accent-green: #66bb6a;
  --accent-green-dim: rgba(102, 187, 106, 0.15);
  --accent-blue: #42a5f5;
  --accent-purple: #ab47bc;
  --accent-red: #ef5350;
  --accent-orange: #ffa726;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition: 0.2s ease;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #80deea;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.nav-github {
  display: flex;
  align-items: center;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}

.nav-github:hover {
  background: var(--bg-surface);
}

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

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

/* --- Hero --- */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(77, 208, 225, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(102, 187, 106, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}

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

.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: #26c6da;
  color: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(77, 208, 225, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Hero visual / animated board */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  opacity: 0;
  animation: signalPulse 3s ease-out infinite;
}

.ring-1 {
  width: 180px;
  height: 180px;
  animation-delay: 0s;
}

.ring-2 {
  width: 260px;
  height: 260px;
  animation-delay: 1s;
}

.ring-3 {
  width: 340px;
  height: 340px;
  animation-delay: 2s;
}

@keyframes signalPulse {
  0% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Hero device image */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-primary);
  border: 2px solid rgba(77, 208, 225, 0.2);
  box-shadow:
    0 0 50px rgba(77, 208, 225, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.5);
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-device-img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* --- Sections --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --- How It Works (Steps) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}

.step:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(77, 208, 225, 0.08);
}

.step-number {
  position: absolute;
  top: -14px;
  left: 28px;
  width: 28px;
  height: 28px;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.step-icon {
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: rgba(77, 208, 225, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  border-radius: 10px;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Signals --- */
.signals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}

.signal-card:hover {
  border-color: rgba(77, 208, 225, 0.3);
  transform: translateY(-2px);
}

.signal-freq {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.signal-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.signal-origin {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.signal-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.signals-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.signals-note svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.signals-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Hardware --- */
.hardware-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hardware-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hardware-info > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hardware-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: all var(--transition);
}

.mode-card:hover {
  border-color: rgba(77, 208, 225, 0.3);
}

.mode-card-highlight {
  border-color: rgba(102, 187, 106, 0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(102, 187, 106, 0.05) 100%);
}

.mode-card-highlight:hover {
  border-color: rgba(102, 187, 106, 0.5);
}

.mode-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.mode-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  border-radius: 10px;
  flex-shrink: 0;
}

.ferrite-icon {
  background: var(--accent-green-dim);
}

.mode-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mode-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 2px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mode-tag-green {
  color: var(--accent-green);
  background: var(--accent-green-dim);
}

.mode-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-specs li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}

.mode-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.5;
}

.mode-card-highlight .mode-specs li::before {
  background: var(--accent-green);
}

/* --- Dashboard Preview --- */
.dashboard-preview {
  margin-bottom: 48px;
}

.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-card);
}

.mockup-dots span:first-child { background: #ef5350; }
.mockup-dots span:nth-child(2) { background: #ffa726; }
.mockup-dots span:last-child { background: #66bb6a; }

.mockup-url {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 4px 16px;
  border-radius: 6px;
  flex: 1;
  max-width: 300px;
}

.mockup-content {
  padding: 24px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mock-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.mock-widget h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Clock widget */
.mock-clock {
  background: linear-gradient(135deg, #1a2332, #162029);
}

.mock-time {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

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

.mock-status {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-style: italic;
}

/* Control widget */
.mock-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-select {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.mock-btn-broadcast {
  background: var(--accent-green);
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.mock-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.mock-toggle-row small {
  color: var(--accent-cyan);
  margin-left: 4px;
}

.mock-toggle {
  width: 36px;
  height: 20px;
  background: var(--bg-card);
  border-radius: 10px;
  position: relative;
}

.mock-toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-muted);
  top: 2px;
  left: 2px;
  transition: all 0.2s;
}

.mock-toggle.on {
  background: var(--accent-cyan);
}

.mock-toggle.on::after {
  left: 18px;
  background: white;
}

.mock-toggle.small {
  width: 28px;
  height: 16px;
}

.mock-toggle.small::after {
  width: 12px;
  height: 12px;
}

.mock-toggle.small.on::after {
  left: 14px;
}

.mock-buttons-row {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}

.mock-sys-btn {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 6px;
  border-radius: 6px;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.mock-sys-btn-alt {
  background: rgba(255, 167, 38, 0.15);
  color: var(--accent-orange);
}

.mock-sys-btn-update {
  background: var(--accent-green-dim);
  color: var(--accent-green);
}

/* Stats widget */
.mock-stat-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 32px;
}

.mock-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
}

.mock-bar-fill {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 3px;
}

.mock-bar-purple {
  background: var(--accent-purple);
}

.mock-stat-val {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  width: 40px;
  text-align: right;
}

.mock-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-stat-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
}

.mock-red { color: var(--accent-red); }
.mock-green { color: var(--accent-green); }

/* Schedule widget */
.mock-plus {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-radius: 50%;
  font-size: 0.9rem;
}

.mock-table-header, .mock-table-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr 0.8fr 0.6fr;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.75rem;
  align-items: center;
}

.mock-table-header {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.mock-table-row {
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.mock-service {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.mock-service.dcf { background: rgba(77, 208, 225, 0.2); color: var(--accent-cyan); }
.mock-service.msf { background: rgba(171, 71, 188, 0.2); color: var(--accent-purple); }
.mock-service.wwvb { background: rgba(102, 187, 106, 0.2); color: var(--accent-green); }

.dashboard-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dash-feat {
  text-align: center;
}

.dash-feat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.dash-feat p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Watches --- */
.watches-intro {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.watches-intro p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.watches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.watch-brand {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.watch-brand:hover {
  border-color: rgba(77, 208, 225, 0.3);
}

.watch-brand h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.watch-origin {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.watch-brand ul {
  list-style: none;
}

.watch-brand li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0 4px 16px;
  position: relative;
}

.watch-brand li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  opacity: 0.4;
}

/* Brand logos */
.brand-logo {
  margin-bottom: 12px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.watch-brand:hover .brand-logo {
  opacity: 0.8;
}

.brand-logo svg {
  display: block;
}

/* Tested table */
.watches-tested {
  margin-bottom: 40px;
}

.watches-tested h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.tested-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tested-header, .tested-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 12px 20px;
}

.tested-header {
  background: var(--bg-surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tested-row {
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tested-row .check {
  color: var(--accent-green);
}

.tested-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

.watches-clocks {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.watches-clocks h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.watches-clocks p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Get Started --- */
.start-options {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
  margin-bottom: 64px;
}

.start-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.start-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: var(--accent-cyan-dim);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.start-badge-alt {
  color: var(--accent-green);
  background: var(--accent-green-dim);
}

.start-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.start-card > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.start-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.start-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.start-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  color: var(--accent-cyan);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.start-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.start-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.start-install p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.code-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  position: relative;
  overflow-x: auto;
}

.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: all var(--transition);
}

.copy-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}

/* Buy card */
.start-buy {
  border-color: rgba(102, 187, 106, 0.2);
  background: linear-gradient(145deg, var(--bg-card), rgba(102, 187, 106, 0.03));
}

.start-includes {
  margin-bottom: 20px;
}

.start-includes h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.start-includes ul {
  list-style: none;
}

.start-includes li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0 4px 20px;
  position: relative;
}

.start-includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}

.start-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Requirements */
.requirements {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.requirements h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.req-group h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-cyan);
}

.req-group ul {
  list-style: none;
}

.req-group li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 5px 0 5px 16px;
  position: relative;
}

.req-group li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  background: var(--bg-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-brand > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent-cyan);
}

/* --- Live Demo Button --- */
.btn-demo {
  margin-top: 16px;
}

/* --- Installation Guide Link --- */
.start-guide-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* --- TXTempus Acknowledgement --- */
.acknowledgement {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.ack-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-cyan-dim);
  border-radius: 16px;
}

.ack-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ack-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Contact Form --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.contact-link:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%238b949e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
}

.form-status.success {
  color: var(--accent-green);
}

.form-status.error {
  color: var(--accent-red);
}

/* --- Animations --- */

/* Base reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children - each card delays slightly more */
.reveal.stagger-1 { transition-delay: 0.05s; }
.reveal.stagger-2 { transition-delay: 0.1s; }
.reveal.stagger-3 { transition-delay: 0.15s; }
.reveal.stagger-4 { transition-delay: 0.2s; }
.reveal.stagger-5 { transition-delay: 0.25s; }
.reveal.stagger-6 { transition-delay: 0.3s; }
.reveal.stagger-7 { transition-delay: 0.35s; }
.reveal.stagger-8 { transition-delay: 0.4s; }

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale up */
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hero entrance animations */
.hero-badge {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero h1 {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-subtitle {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-actions {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-stats {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

.hero-visual {
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

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

/* Section header subtle slide */
.section-header {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle hover lift on all interactive cards */
.feature-card,
.signal-card,
.watch-brand,
.mode-card,
.start-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

/* Glow pulse on signal ring animation */
.signal-ring {
  border: 1.5px solid var(--accent-cyan);
}

/* Counter animation for hero stats */
.hero-stat-value {
  display: inline-block;
}

/* Smooth link underline on hover */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent-cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-github::after {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

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

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

  .hardware-layout {
    grid-template-columns: 1fr;
  }

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

  .start-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-device {
    width: 260px;
    height: 260px;
  }

  .ring-1 { width: 140px; height: 140px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 260px; height: 260px; }

  .hero-image-wrapper {
    width: 170px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .signals-grid {
    grid-template-columns: 1fr;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .watches-grid {
    grid-template-columns: 1fr;
  }

  .tested-header, .tested-row {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  .req-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .start-card {
    padding: 24px;
  }

  .acknowledgement {
    flex-direction: column;
    padding: 28px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

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

  .tested-header span:nth-child(3),
  .tested-header span:nth-child(4),
  .tested-row span:nth-child(3),
  .tested-row span:nth-child(4) {
    display: none;
  }

  .tested-header, .tested-row {
    grid-template-columns: 1fr 1fr;
  }
}
