/* =============================
   STRYDE HOME – ONE-FILE THEME
   Namespaced to .stryde-home to avoid WP/Gutenberg collisions
   ============================= */
:root {
  --bg: #0a0b0f;
  --bg-2: #0e1016;
  --text: #f3f4f6;
  --muted: #b4b7c2;
  --accent: #5EA1EE;   /* Stryde blue */
  --accent-2: #5D5FEF; /* Stryde purple */
  --accent-3: #EE5EE4; /* Stryde magenta */
  --card: rgba(255,255,255,0.08);
  --card-brd: rgba(255,255,255,0.14);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --ring: 0 0 0 1px var(--card-brd);
}

.stryde-home { 
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; 
  color: var(--text); 
  background: radial-gradient(1200px 800px at 10% -10%, rgba(93,95,239,.25), transparent 60%),
              radial-gradient(1200px 800px at 110% 10%, rgba(94,161,238,.20), transparent 60%),
              radial-gradient(800px 600px at 50% 120%, rgba(238,94,228,.18), transparent 60%),
              var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale;
}

.stryde-home a { color: var(--text); text-decoration: none; }
.stryde-container { width: min(1200px, 92vw); margin: 0 auto; }

/* Header */
.stryde-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); background: linear-gradient(180deg, rgba(10,11,15,.75), rgba(10,11,15,.35)); border-bottom: 1px solid var(--card-brd); }
.stryde-nav { display:flex; align-items:center; justify-content:space-between; gap: 24px; padding: 14px 0; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:.5px; }
.brand-badge { font-family: 'Water Brush', cursive; font-size: 28px; line-height:1; color: var(--accent); }
.brand-sub { font-size: 12px; color: var(--muted); margin-top:-4px; }
.nav-links { display:flex; gap:18px; font-weight:600; font-size: 14px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.cta-header { display:flex; gap:10px; }

/* Buttons */
.btn { position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 18px; border-radius: 999px; font-weight:700; letter-spacing:.2px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border:1px solid transparent; }
.btn:focus-visible { outline:none; box-shadow: 0 0 0 3px rgba(94,161,238,.35); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,.06); border-color: var(--card-brd); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }

/* Hero */
.hero { position:relative; padding: clamp(80px, 12vh, 120px) 0; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; align-items:center; gap: 42px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.05; margin: 0 0 10px; font-weight:800; }
.hero h1 .accent { background: linear-gradient(135deg, var(--accent-3), var(--accent-2) 40%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin: 14px 0 24px; }
.hero-cta { display:flex; gap: 12px; flex-wrap: wrap; }

.hero-card { position:relative; border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border:1px solid var(--card-brd); box-shadow: var(--shadow); overflow:hidden; }
.hero-media { aspect-ratio: 16/10; width: 100%; background: #12131a; display:grid; place-items:center; }
.video-badge { position:absolute; left: 14px; top: 14px; background: rgba(0,0,0,.45); border: 1px solid var(--card-brd); padding: 8px 12px; border-radius: 999px; font-size: 12px; letter-spacing: .3px; }

/* Sections */
section { padding: clamp(56px, 9vh, 90px) 0; }
.section-title { font-weight:800; font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 8px; }
.section-sub { color: var(--muted); margin-bottom: 28px; }

/* Cards grid */
.grid { display:grid; gap: 18px; }
.grid.features { grid-template-columns: repeat(12, 1fr); }
.card { background: var(--card); border: 1px solid var(--card-brd); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); position:relative; overflow:hidden; }
.card .title { font-weight: 700; font-size: 18px; margin: 4px 0 6px; }
.card .muted { color: var(--muted); font-size: 14px; }
.chip { display:inline-block; padding: 6px 10px; border-radius: 999px; font-size: 11px; letter-spacing:.4px; background: rgba(94,161,238,.12); border: 1px solid rgba(94,161,238,.25); color: #cfe6ff; }

/* Feature areas */
.fcol { grid-column: span 4; }
.fcol.wide { grid-column: span 8; }
.fcol.tall { grid-row: span 2; }

/* Media strip */
.media-strip { display:flex; gap: 14px; overflow:auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.media-strip .thumb { flex: 0 0 300px; aspect-ratio: 16/9; background:#12131a; border-radius: 12px; border:1px solid var(--card-brd); scroll-snap-align:start; position:relative; }
.media-strip .thumb::after { content:"Play"; position:absolute; right:10px; bottom:10px; font-size:12px; background: rgba(0,0,0,.5); border:1px solid var(--card-brd); padding:6px 10px; border-radius:999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--card-brd); padding: 26px 0 40px; color: var(--muted); font-size:14px; }
.footer-grid { display:grid; gap:18px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--text); }

/* Reveal animations */
.reveal { opacity: .001; transform: translateY(14px) scale(.98); transition: opacity .55s ease, transform .55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fcol, .fcol.wide { grid-column: span 12; }
}
@media (max-width: 640px) {
  .nav-links { display:none; }
  .media-strip .thumb { flex-basis: 80%; }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn, .reveal { transition: none; }
}
