@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CycloPon Earthy Gravel Theme: #748873 #D1A980 #E5E0D8 #F8F8F8 (Warm Alabaster & Sage Light Theme) ── */
:root {
  --bg-primary: #F8F8F8;     /* Clean Alabaster White Canvas */
  --bg-surface: #FFFFFF;     /* Pure White Surface / Sidebar / Nav */
  --bg-card: #FFFFFF;        /* Crisp White Card / Panels */
  --bg-card-hover: #F2EFE9;  /* Soft Warm Linen Hover */
  --border: #D0C9BF;         /* Crisp Defined Warm Stone Border */
  --border-subtle: #E2DDD5;
  --text-primary: #111815;   /* Pitch Dark Charcoal - High Definition */
  --text-secondary: #334338; /* Crisp Dark Slate - Very Clear & Firm */

  /* Palette Accents */
  --color-primary: #2B4E30;  /* Deep Sage Forest (High Contrast CTA) */
  --color-sand: #966025;     /* Rich Amber Sand (Legible text & badges) */
  --color-sage: #2B4E30;     /* Deep Sage Forest for strong text & UI */
  --color-sage-soft: #748873;/* Palette Sage Green */
  --color-cream: #E5E0D8;
  --color-yellow: #8F5E2B;   /* Deep Sand Amber */
  --color-orange: #B8561B;
  --color-cyan: #2B4E30;
  --color-green: #047857;
  --color-red: #B91C1C;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 20px rgba(28, 40, 38, 0.06), 0 1px 3px rgba(28, 40, 38, 0.04);
  --shadow-glow: 0 0 20px rgba(43, 78, 48, 0.2);
  --shadow-glow-sage: 0 0 20px rgba(43, 78, 48, 0.25);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  position: relative;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  html, body, #app {
    overflow-x: hidden;
    max-width: 100vw;
  }
}

/* ── Responsive Media & Element Guards ── */
img, svg, video, canvas, audio, iframe {
  max-width: 100%;
}

input, textarea, select, button {
  font-family: inherit;
  max-width: 100%;
}

code, pre {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(43, 78, 48, 0.35);
}
.btn-primary:hover {
  background: #203A24;
  box-shadow: 0 6px 22px rgba(43, 78, 48, 0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--color-sand);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(150, 96, 37, 0.35);
}
.btn-secondary:hover {
  background: #7D4F1E;
  transform: translateY(-1px);
}
.btn-danger {
  background: var(--color-red);
  color: #FFF;
}
.btn-danger:hover {
  filter: brightness(1.1);
}
.btn-outline {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  font-weight: 800;
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(43, 78, 48, 0.06);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ── Card ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

/* ── Input ── */
.input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
  outline: none;
}
.input:focus {
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(116, 136, 115, 0.2);
}
.input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.badge-yellow, .badge-orange {
  background: rgba(209, 169, 128, 0.2);
  color: #8F5E2B;
  border: 1px solid rgba(209, 169, 128, 0.5);
}
.badge-cyan, .badge-green {
  background: rgba(116, 136, 115, 0.15);
  color: #435A42;
  border: 1px solid rgba(116, 136, 115, 0.4);
}
.badge-red {
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ── Animations ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  max-width: 340px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.toast.success {
  border-color: var(--color-sage);
}
.toast.error {
  border-color: var(--color-red);
}

/* ── Utility ── */
.text-secondary { color: var(--text-secondary); }
.text-yellow, .text-orange { color: #8F5E2B; }
.text-cyan, .text-green { color: var(--color-sage); }
.text-red { color: var(--color-red); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ── Athletic Minimalist Pro Landing Page (Rapha / Pas Normal Studios Style) ── */
.landing-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #F8F9FA;
  background-image: radial-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #0D1117;
  width: 100%;
}

/* ── Pro Editorial Top Nav ── */
.landing-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #E5E7EB;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.landing-nav .brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0D1117;
}

.brand-logo-emblem {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(13, 17, 23, 0.15);
  transition: transform 0.2s ease;
}
.brand-title:hover .brand-logo-emblem {
  transform: scale(1.05);
}

.brand-name-group {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.brand-name {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #0D1117;
  transition: opacity 0.2s ease;
}
.brand-title:hover .brand-name {
  opacity: 0.8;
}
.brand-spec-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.04em;
}

.nav-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 99px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.system-radar-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: radarPulse 2s infinite ease-out;
}

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

.btn-admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #0D1117;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(13, 17, 23, 0.15);
}
.btn-admin-nav:hover {
  background: #1C3E24;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(28, 62, 36, 0.25);
}
.admin-nav-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}
.btn-admin-nav:hover .admin-nav-arrow {
  transform: translate(2px, -2px);
}

/* ── Split Editorial Hero Section ── */
.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 48px 24px 64px;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  width: 100%;
}

.hero-editorial-col {
  text-align: left;
}

.hero-tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 4px;
  background: #EEF4EE;
  border: 1px solid #C8DEC9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #1C3E24;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-tech-badge .badge-hash {
  color: #10B981;
  font-weight: 900;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: #0D1117;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero-title .title-accent {
  color: #1C3E24;
  font-weight: 900;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #4B5563;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 8px;
  background: #0D1117;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(13, 17, 23, 0.2);
  font-family: inherit;
}
.btn-hero-primary:hover {
  background: #1C3E24;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 62, 36, 0.3);
}
.btn-hero-primary:active {
  transform: scale(0.98);
}
.cta-arrow-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}
.btn-hero-primary:hover .cta-arrow-icon {
  transform: translateX(4px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 13px 26px;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0D1117;
  border: 1.5px solid #0D1117;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}
.btn-hero-secondary:hover {
  background: #F3F4F6;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.btn-hero-secondary:active {
  transform: scale(0.98);
}

.cta-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: radarPulse 2s infinite ease-out;
}

.hero-spec-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.spec-strip-item {
  display: flex;
  flex-direction: column;
}
.spec-strip-val {
  font-size: 13px;
  font-weight: 900;
  color: #0D1117;
}
.spec-strip-lbl {
  font-size: 9.5px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.04em;
}
.spec-strip-sep {
  color: #D1D5DB;
  font-size: 14px;
  font-weight: 300;
}

/* ── Pro Racing Dossier Card (Hero Right Column) ── */
.hero-dossier-col {
  width: 100%;
}

.hero-dossier-card {
  background: #FFFFFF;
  border: 1.5px solid #0D1117;
  border-radius: 12px;
  box-shadow: 0 16px 36px -8px rgba(13, 17, 23, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hero-dossier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -10px rgba(13, 17, 23, 0.18);
}

.dossier-card-topbar {
  background: #0D1117;
  color: #FFFFFF;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dossier-live-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #10B981;
}
.live-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: radarPulse 2s infinite ease-out;
}
.dossier-stage-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #9CA3AF;
  letter-spacing: 0.08em;
}

.dossier-event-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F3F4F6;
}
.dossier-event-title {
  font-size: 22px;
  font-weight: 900;
  color: #0D1117;
  letter-spacing: -0.03em;
  margin: 0 0 3px;
  text-transform: uppercase;
}
.dossier-event-location {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.06em;
}

.dossier-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #E5E7EB;
  background: #FAFAFA;
}
.dossier-metric-cell {
  padding: 14px 16px;
  border-right: 1px solid #E5E7EB;
}
.dossier-metric-cell:last-child {
  border-right: none;
}
.metric-cell-val {
  font-size: 22px;
  font-weight: 900;
  color: #0D1117;
  line-height: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.metric-cell-unit {
  font-size: 9.5px;
  font-weight: 800;
  color: #1C3E24;
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.metric-cell-lbl {
  font-size: 8.5px;
  font-weight: 700;
  color: #9CA3AF;
  margin-top: 2px;
  letter-spacing: 0.06em;
}

.dossier-peloton-stream {
  padding: 14px 20px;
  background: #FFFFFF;
}
.peloton-stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: #9CA3AF;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.peloton-status-text {
  color: #10B981;
}

.peloton-rider-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #F3F4F6;
  font-size: 12px;
}
.peloton-rider-row:last-child {
  border-bottom: none;
}
.peloton-rider-meta {
  display: flex;
  align-items: center;
  gap: 7px;
}
.peloton-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.peloton-dot.rider-leader { background: #EAB308; box-shadow: 0 0 6px rgba(234, 179, 8, 0.6); }
.peloton-dot.rider-chaser { background: #10B981; box-shadow: 0 0 6px rgba(16, 185, 129, 0.6); }
.peloton-dot.rider-sweeper { background: #F97316; box-shadow: 0 0 6px rgba(249, 115, 22, 0.6); }

.peloton-bib {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  font-size: 11px;
  color: #374151;
}
.peloton-name {
  font-weight: 700;
  color: #111827;
}
.peloton-pace {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7280;
}

.btn-dossier-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: #1C3E24;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}
.btn-dossier-launch:hover {
  background: #0D1117;
}
.dossier-launch-arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}
.btn-dossier-launch:hover .dossier-launch-arrow {
  transform: translateX(4px);
}

/* ── Active Competitions & Brevets Section ── */
.featured-event-container {
  width: 100%;
  margin-bottom: 56px;
}

.featured-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 0 4px;
}
.featured-section-title-wrap {
  text-align: left;
}

.section-mono-tag {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #6B7280;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.featured-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #0D1117;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

.count-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1.5px solid #0D1117;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  color: #0D1117;
  letter-spacing: 0.04em;
}
.count-pill b {
  color: #1C3E24;
}

.featured-event-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.featured-event-card {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.featured-event-card:hover {
  border-color: #0D1117;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 17, 23, 0.08);
}

.event-card-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.event-route-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #F3F4F6;
  border: 1.5px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-stage-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  font-weight: 900;
  color: #0D1117;
}

.event-info-col {
  min-width: 0;
  flex: 1;
}

.featured-event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.event-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #EEF4EE;
  border: 1px solid #C8DEC9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 800;
  color: #1C3E24;
  letter-spacing: 0.04em;
}
.event-live-pill .pulse-dot {
  width: 5.5px;
  height: 5.5px;
  border-radius: 50%;
  background: #10B981;
}

.event-date-chip, .event-gpx-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 8px;
  border-radius: 4px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
}

.featured-event-title {
  font-size: 20px;
  font-weight: 900;
  color: #0D1117;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: uppercase;
}

.featured-event-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-gpx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 800;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-gpx-chip:hover {
  border-color: #0D1117;
  color: #0D1117;
}

.btn-watch-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #0D1117;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 17, 23, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-watch-action:hover {
  background: #1C3E24;
  box-shadow: 0 6px 18px rgba(28, 62, 36, 0.28);
  transform: translateY(-1px);
}
.btn-watch-action:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* ── 3 Pro Technical Equipment Spec Cards ── */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.feature-item-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  padding: 22px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-item-card:hover {
  border-color: #0D1117;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 17, 23, 0.08);
}

.feature-spec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F3F4F6;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.feature-spec-idx {
  font-size: 10.5px;
  font-weight: 800;
  color: #6B7280;
  letter-spacing: 0.05em;
}
.feature-spec-code {
  font-size: 10px;
  font-weight: 800;
  color: #1C3E24;
  background: #EEF4EE;
  padding: 2px 6px;
  border-radius: 4px;
}

.feature-item-title {
  font-size: 17px;
  font-weight: 900;
  color: #0D1117;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feature-item-desc {
  font-size: 13.5px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-spec-footer {
  padding-top: 14px;
  border-top: 1px dashed #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.feature-spec-stat {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
}
.spec-kpi-lbl {
  color: #9CA3AF;
  font-weight: 700;
}
.spec-kpi-val {
  color: #0D1117;
  font-weight: 800;
}

/* ── Pro Editorial Footer ── */
.landing-footer {
  padding: 32px 40px;
  border-top: 1px solid #E5E7EB;
  background: #FFFFFF;
  margin-top: auto;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-logo {
  border-radius: 7px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(13, 17, 23, 0.12);
  transition: transform 0.2s ease;
}
.footer-brand-lockup:hover .footer-logo {
  transform: scale(1.06);
}
.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.footer-brand-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #0D1117;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.footer-brand-tagline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.05em;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.footer-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.footer-spec-badge {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.footer-dot {
  color: #CBD5E1;
}
.footer-author {
  color: #475569;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.footer-copy {
  color: #94A3B8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ── Mobile Responsive Adaptation ── */
@media (max-width: 992px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 0 18px;
    height: 58px;
  }
  .brand-spec-label {
    display: none;
  }
  .nav-system-status {
    display: none;
  }

  .landing-hero {
    padding: 24px 16px 40px;
  }
  .hero-split-grid {
    margin-bottom: 36px;
    gap: 28px;
  }
  .hero-tech-badge {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .hero-title {
    font-size: 32px;
    line-height: 1.12;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
  .hero-cta-row {
    margin-bottom: 24px;
    gap: 10px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 13.5px;
  }

  .hero-spec-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 18px;
  }
  .spec-strip-sep {
    display: none;
  }

  .featured-section-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0;
  }
  .section-mono-tag {
    display: none;
  }
  .mobile-radar-dot {
    display: inline-block;
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: radarPulse 2s infinite ease-out;
    margin-right: 7px;
    vertical-align: middle;
  }
  .featured-section-title {
    font-size: 16px;
    display: flex;
    align-items: center;
  }
  .count-pill {
    padding: 4px 10px;
    font-size: 10.5px;
  }

  .featured-event-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  .event-card-left {
    width: 100%;
    gap: 14px;
  }
  .featured-event-title {
    font-size: 17px;
    white-space: normal;
    word-break: break-word;
  }
  .featured-event-actions {
    width: 100%;
    gap: 8px;
  }
  .featured-event-actions .btn-gpx-chip {
    padding: 9px 12px;
    font-size: 11px;
  }
  .featured-event-actions .btn-watch-action {
    flex: 1;
    justify-content: center;
    padding: 9px 16px;
    font-size: 12.5px;
  }

  .landing-footer {
    padding: 28px 20px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-brand-lockup {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .footer-brand-info {
    align-items: center;
    text-align: center;
  }
  .footer-right {
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-meta-row {
    flex-wrap: wrap;
    justify-content: center;
  }
}
