:root {
  --bg-primary: #0b0f17;
  --bg-secondary: #111827;
  --bg-card: #161f30;
  --bg-card-hover: #1d283e;
  --border-subtle: #263248;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.18);
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.18);
  --accent-amber: #f59e0b;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Cascadia Code', 'Consolas', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-cyan);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 4rem;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.08), transparent 45%),
              radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.07), transparent 45%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #06131f;
}

.btn-primary:hover {
  background: #7dd3fc;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--accent-emerald);
  color: #fff;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Hero Summary Cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.app-summary-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-summary-card:hover {
  transform: translateY(-2px);
}

.app-summary-card.accent-cyan:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px var(--accent-cyan-glow);
}

.app-summary-card.accent-emerald:hover {
  border-color: var(--accent-emerald);
  box-shadow: 0 10px 25px var(--accent-emerald-glow);
}

.summary-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.summary-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.price-meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.status-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.tag-upcoming {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tag-live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

/* App Showcase Sections */
.app-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background: var(--bg-primary);
}

.section-alt {
  background: var(--bg-secondary);
}

.app-header-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.app-title-group {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 680px;
}

.app-large-icon {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: contain;
  flex-shrink: 0;
  background: var(--bg-card);
  padding: 0.35rem;
  border: 1px solid var(--border-subtle);
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.app-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
}

.badge-outline {
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.app-title-group h2 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.app-tagline {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Store CTA Buttons */
.store-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 340px;
}

.btn-store-live,
.btn-store-temp {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  width: 100%;
  transition: all 0.2s ease;
}

.btn-store-live {
  background: var(--accent-emerald);
  color: #04130e;
}

.btn-store-live:hover {
  background: #34d399;
  transform: translateY(-2px);
}

.btn-store-temp {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--text-main);
}

.btn-store-temp:hover {
  background: rgba(245, 158, 11, 0.22);
}

.store-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-text small {
  font-size: 0.73rem;
  opacity: 0.85;
}

.store-btn-text strong {
  font-size: 0.95rem;
}

.store-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: right;
}

.store-sublinks {
  margin-top: 0.5rem;
}

.store-sublinks a {
  font-size: 0.82rem;
  color: var(--accent-emerald);
  text-decoration: none;
}

.store-sublinks a:hover {
  text-decoration: underline;
}

/* Video Showcase Card */
.video-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.video-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.15rem;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #374151;
}

.window-dots i:nth-child(1) { background: #ef4444; }
.window-dots i:nth-child(2) { background: #f59e0b; }
.window-dots i:nth-child(3) { background: #10b981; }

.video-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.video-wrapper {
  width: 100%;
  background: #000;
}

.promo-video {
  width: 100%;
  max-height: 580px;
  display: block;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.4rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Screenshot Gallery */
.gallery-block {
  margin-bottom: 3rem;
}

.gallery-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gallery-header h3 {
  font-size: 1.25rem;
}

.gallery-header span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.15rem;
}

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shot-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.shot-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* v1.1 Roadmap & Progressive Disclosure Toggle Section */
.roadmap-container {
  background: linear-gradient(145deg, rgba(22, 31, 48, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 2.25rem;
  margin-top: 2rem;
}

.badge-roadmap {
  background: rgba(245, 158, 11, 0.16);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.4);
}

.roadmap-header h3 {
  font-size: 1.65rem;
  margin-bottom: 0.65rem;
}

.roadmap-header p {
  color: var(--text-muted);
  max-width: 880px;
  margin-bottom: 1.75rem;
}

/* Interactive Toggle Simulator */
.toggle-simulator {
  background: rgba(11, 15, 23, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toggle-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sim-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  font-weight: 700;
}

.toggle-label-group h4 {
  font-size: 1.1rem;
}

.mode-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mode-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.mode-label.active {
  color: var(--text-main);
}

.ui-switch {
  width: 58px;
  height: 30px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.ui-switch.is-advanced {
  background: var(--accent-cyan);
  border-color: #7dd3fc;
}

.switch-knob {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform 0.25s ease;
}

.ui-switch.is-advanced .switch-knob {
  transform: translateX(26px);
  background: #06131f;
}

.mode-state-banner {
  font-size: 0.86rem;
  padding: 0.65rem 1rem;
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.mode-panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mode-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.15rem;
  transition: border-color 0.25s ease;
}

.mode-panel.advanced-active {
  border-color: rgba(56, 189, 248, 0.55);
}

.panel-category {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.mode-panel h5 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.mode-panel p {
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Roadmap Architectural Pillars */
.roadmap-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: rgba(22, 31, 48, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.35rem;
}

.pillar-step {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.3rem;
}

.pillar-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1.5rem;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #070a10;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  padding-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid,
  .features-grid,
  .mode-panels-grid,
  .roadmap-pillars-grid {
    grid-template-columns: 1fr;
  }
  .store-cta-box {
    align-items: flex-start;
    max-width: 100%;
  }
  .store-note {
    text-align: left;
  }
}

/* Discount Badges & Strikethrough Pricing */
.discount-pill {
  display: inline-block;
  background: #facc15;
  color: #0b0f17;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  margin-right: 0.3rem;
}

.discount-pill-dark {
  display: inline-block;
  background: #facc15;
  color: #04130e;
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.08rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.25rem;
}

.price-strike {
  color: var(--text-muted);
  margin-right: 0.25rem;
  font-weight: 400;
}

.nav-active {
  color: var(--accent-cyan) !important;
}

/* About Page & Developer Profile Card */
.developer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.dev-header {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
}

.dev-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.2);
}

.dev-location {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dev-bio {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.credential-box {
  background: rgba(11, 15, 23, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.15rem;
}

.cred-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.credential-box strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.credential-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* About Teaser Band on Homepage */
.about-teaser-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  margin-top: 1rem;
}

.about-teaser-band h3 {
  font-size: 1.3rem;
  margin: 0.2rem 0 0.35rem;
}

.about-teaser-band p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 680px;
}

@media (max-width: 960px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

.dev-email-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 500;
}

.dev-email-link:hover {
  text-decoration: underline;
}

.dev-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.contact-prompt {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

/* Microsoft Store Badge & Offer Banner */
.offer-Price-banner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.86rem;
  margin-bottom: 0.65rem;
}

.trial-tag {
  color: var(--text-muted);
  font-size: 0.82rem;
}

ms-store-badge {
  display: inline-block;
  margin: 0.25rem 0;
}

ms-store-badge::part(img) {
  max-height: 56px;
}

/* About Header Split, Undistorted Portrait Zoom & BCS Pin */
.dev-header-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.dev-header {
  margin-bottom: 0;
}

.dev-avatar-frame {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.22);
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.dev-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.85);
  transform-origin: center 18%;
  border: none;
  border-radius: 0;
}

.bcs-pin-badge {
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

/* DevStudio Title & Roadmap Button Row */
.title-with-roadmap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.title-with-roadmap h2 {
  margin-bottom: 0;
}

.btn-roadmap-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.45);
  transition: all 0.2s ease;
}

.btn-roadmap-cta:hover {
  background: var(--accent-amber);
  color: #0b0f17;
  transform: translateY(-1px);
}

.back-link {
  display: inline-block;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* 10-Year-Old Creator Promo Video Credit Banner */
.video-credit-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  background: rgba(56, 189, 248, 0.08);
  border-top: 1px solid var(--border-subtle);
}

.credit-badge {
  background: var(--accent-cyan);
  color: #06131f;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.video-credit-banner p {
  font-size: 0.88rem;
  color: var(--text-main);
  margin: 0;
}

/* Thumbnail Caption Footer on Screenshot Cards */
.shot-caption {
  padding: 0.7rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
  background: rgba(11, 15, 23, 0.6);
}

/* Lightbox Previous / Next Arrows & Counter */
.lightbox-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.lightbox-counter {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-cyan);
  background: rgba(22, 31, 48, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.lightbox-close {
  position: static;
  line-height: 1;
  padding: 0 0.25rem;
}

.lightbox-nav {
  background: rgba(22, 31, 48, 0.85);
  color: #fff;
  border: 1px solid var(--border-subtle);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin: 0 1rem;
  z-index: 1001;
}

.lightbox-nav:hover {
  background: var(--accent-cyan);
  color: #06131f;
  border-color: var(--accent-cyan);
}

/* Horizontal Alternating Timeline (roadmap.html) */
.timeline-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 1rem;
  margin-bottom: 2.5rem;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--border-subtle);
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-node {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  max-width: 290px;
  transition: all 0.25s ease;
}

.node-status {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.node-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.node-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.node-stem {
  width: 2px;
  height: 38px;
  background: var(--border-subtle);
  transition: background 0.25s ease;
}

.node-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.node-date {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0.55rem 0;
  letter-spacing: -0.01em;
}

/* Colour Themes for Timeline Nodes */
.node-emerald .node-status,
.node-emerald .node-date { color: var(--accent-emerald); }
.node-emerald .node-dot { border-color: var(--accent-emerald); }

.node-cyan .node-status,
.node-cyan .node-date { color: var(--accent-cyan); }
.node-cyan .node-dot { border-color: var(--accent-cyan); }

.node-amber .node-status,
.node-amber .node-date { color: var(--accent-amber); }
.node-amber .node-dot { border-color: var(--accent-amber); }

/* Active / Hover States on Timeline Nodes */
.timeline-node:hover .node-card,
.timeline-node.active .node-card {
  transform: translateY(-3px);
}

.node-emerald.active .node-card,
.node-emerald:hover .node-card {
  border-color: var(--accent-emerald);
  box-shadow: 0 10px 25px var(--accent-emerald-glow);
}
.node-emerald.active .node-dot { background: var(--accent-emerald); transform: scale(1.2); }
.node-emerald.active .node-stem { background: var(--accent-emerald); }

.node-cyan.active .node-card,
.node-cyan:hover .node-card {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px var(--accent-cyan-glow);
}
.node-cyan.active .node-dot { background: var(--accent-cyan); transform: scale(1.2); }
.node-cyan.active .node-stem { background: var(--accent-cyan); }

.node-amber.active .node-card,
.node-amber:hover .node-card {
  border-color: var(--accent-amber);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.2);
}
.node-amber.active .node-dot { background: var(--accent-amber); transform: scale(1.2); }
.node-amber.active .node-stem { background: var(--accent-amber); }

.milestone-detail-box {
  background: linear-gradient(145deg, rgba(22, 31, 48, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 16px;
  padding: 2.25rem;
}

@media (max-width: 900px) {
  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .timeline-line,
  .node-stem {
    display: none;
  }
  .lightbox-nav {
    position: fixed;
    bottom: 20px;
  }
  .lightbox-prev { left: 25%; }
  .lightbox-next { right: 25%; }
}