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

/* ============================================
   Watch AI Short Films — v2 Premium Platform
   Deep Navy/Black + Cinema Red (#E50914)
   ============================================ */

:root {
  --bg-deep: #06090f;
  --bg-primary: #0a0e17;
  --bg-secondary: #0f1520;
  --bg-card: #111827;
  --bg-card-hover: #1a2236;
  --bg-elevated: #151d2e;
  --bg-navy: #0c1425;
  --bg-navy-light: #121e36;
  --text-primary: #f0f2f5;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --text-bright: #ffffff;
  --accent: #E50914;
  --accent-hover: #ff1a25;
  --accent-glow: rgba(229, 9, 20, 0.25);
  --accent-subtle: rgba(229, 9, 20, 0.08);
  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);
  --gradient-hero: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(229, 9, 20, 0.15);
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --max-w: 1320px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(6, 9, 15, 0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  letter-spacing: -0.03em; white-space: nowrap;
}
.logo-icon {
  width: 34px; height: 34px; background: var(--accent); border-radius: 7px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 2px 12px rgba(229,9,20,0.3);
}
.logo-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  transition: color var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-bright); }
.nav-cta {
  background: var(--accent) !important; color: white !important;
  padding: 9px 22px; border-radius: 6px; font-weight: 600; font-size: 0.85rem;
  transition: all var(--transition) !important;
  box-shadow: 0 2px 12px rgba(229,9,20,0.25);
}
.nav-cta:hover { background: var(--accent-hover) !important; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(229,9,20,0.4); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; height: 100dvh;
    background: rgba(6,9,15,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center;
    padding: 48px 40px; gap: 28px;
    transition: right 0.4s cubic-bezier(0.16,1,0.3,1);
    border-left: 1px solid rgba(255,255,255,0.06);
    box-shadow: -4px 0 20px rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
  .nav-overlay.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.2rem; }
}

/* ============================================
   HERO — Full-width cinematic
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(229,9,20,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(20,40,80,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(20,30,60,0.3) 0%, transparent 60%),
    var(--bg-deep);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='0.6' fill='%23ffffff08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='60' height='60'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  animation: pulse 2s infinite; box-shadow: 0 0 8px var(--accent);
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 0.95;
  margin-bottom: 28px; color: var(--text-bright);
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--text-secondary);
  max-width: 580px; margin: 0 auto 40px; line-height: 1.7; font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- "As Seen Using" Tool Bar ---- */
.tool-bar {
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.tool-bar-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 28px;
}
.tool-bar-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.tool-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--text-muted); opacity: 0.5; transition: all var(--transition);
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.tool-logo:hover { opacity: 1; color: var(--text-secondary); }
.tool-logo .tool-dot {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: white;
  box-shadow: 0 2px 16px rgba(229,9,20,0.3);
}
.btn-primary:hover {
  background: var(--accent-hover); color: white;
  transform: translateY(-2px); box-shadow: 0 6px 28px rgba(229,9,20,0.45);
}
.btn-secondary {
  background: rgba(255,255,255,0.06); color: var(--text-primary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.2);
}
.btn-ghost { color: var(--text-secondary); padding: 14px 0; }
.btn-ghost:hover { color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: 10px; }

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-primary); }
.section-navy { background: var(--bg-navy); }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--text-bright);
}
.section-header .subtitle {
  font-size: 0.95rem; color: var(--text-secondary);
  margin-top: 8px; font-weight: 400;
}
.view-all {
  font-size: 0.9rem; color: var(--text-secondary); font-weight: 500;
  display: flex; align-items: center; gap: 6px; transition: color var(--transition);
}
.view-all:hover { color: var(--accent); }

/* ============================================
   FEATURED FILM — Cinematic Hero Card
   ============================================ */
.featured-film {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 21/9; cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.featured-film:hover { transform: scale(1.005); box-shadow: var(--shadow-glow), var(--shadow-lg); }
.featured-film img { width: 100%; height: 100%; object-fit: cover; }
.featured-film-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,9,15,0.95) 0%, rgba(6,9,15,0.7) 40%, rgba(6,9,15,0.2) 70%, transparent 100%);
  padding: 48px; display: flex; flex-direction: column; justify-content: flex-end;
}
@media (max-width: 768px) {
  .featured-film { aspect-ratio: 16/9; }
  .featured-film-overlay { padding: 24px; background: linear-gradient(0deg, rgba(6,9,15,0.95) 0%, rgba(6,9,15,0.5) 50%, transparent 100%); }
}
.featured-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--accent); margin-bottom: 16px;
}
.featured-label .bar { width: 20px; height: 2px; background: var(--accent); border-radius: 1px; }
.featured-film-overlay h2 {
  font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 800; margin-bottom: 12px;
  max-width: 520px; letter-spacing: -0.03em;
}
.featured-film-overlay p {
  color: var(--text-secondary); max-width: 440px; margin-bottom: 24px;
  font-size: 0.95rem; line-height: 1.6;
}
.featured-film-tags { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }

/* ============================================
   TAGS / PILLS
   ============================================ */
.tag {
  padding: 4px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-tool { background: rgba(229,9,20,0.12); color: var(--accent); border: 1px solid rgba(229,9,20,0.2); }
.tag-genre { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border); }

/* Per-tool colors */
.tag-sora { background: rgba(0,200,150,0.1); color: #00c896; border-color: rgba(0,200,150,0.2); }
.tag-runway { background: rgba(100,100,255,0.1); color: #8888ff; border-color: rgba(100,100,255,0.2); }
.tag-kling { background: rgba(255,180,0,0.1); color: #ffb400; border-color: rgba(255,180,0,0.2); }
.tag-veo { background: rgba(66,133,244,0.1); color: #4285f4; border-color: rgba(66,133,244,0.2); }
.tag-seedance { background: rgba(255,100,200,0.1); color: #ff64c8; border-color: rgba(255,100,200,0.2); }

/* ============================================
   FILM CARDS — Netflix-style Grid
   ============================================ */
.films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.film-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer; position: relative; border: 1px solid transparent;
}
.film-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(229,9,20,0.15);
  border-color: rgba(229,9,20,0.1);
  z-index: 2;
}
.film-card-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-secondary);
}
.film-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.film-card:hover .film-card-thumb img { transform: scale(1.08); }
.film-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,9,15,0.5) 100%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.film-card:hover .film-card-overlay { opacity: 1; }
.play-icon {
  width: 60px; height: 60px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  box-shadow: 0 4px 24px rgba(229,9,20,0.5);
  transform: scale(0.8); transition: transform var(--transition);
}
.film-card:hover .play-icon { transform: scale(1); }
.film-card-duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(4px);
  padding: 3px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600;
}
.film-card-body { padding: 18px; }
.film-card-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.film-card-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 600;
  margin-bottom: 8px; color: var(--text-bright);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.film-card:hover .film-card-title { color: var(--accent); }
.film-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
}
.film-card-meta .dot { width: 3px; height: 3px; background: var(--text-muted); border-radius: 50%; }

/* ============================================
   FILTERS
   ============================================ */
.filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-label {
  font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700;
}
.filter-btn {
  padding: 7px 18px; border-radius: 20px; font-size: 0.8rem; font-weight: 500;
  background: rgba(255,255,255,0.04); color: var(--text-secondary);
  border: 1px solid var(--border); transition: all var(--transition);
}
.filter-btn:hover { background: rgba(255,255,255,0.08); color: var(--text-primary); border-color: var(--border-light); }
.filter-btn.active { background: var(--accent); color: white; border-color: var(--accent); }
select.filter-select {
  appearance: none;
  background: rgba(255,255,255,0.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238892a4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--text-secondary); border: 1px solid var(--border);
  padding: 8px 36px 8px 16px; border-radius: 20px; font-size: 0.8rem;
  font-family: inherit; cursor: pointer; transition: all var(--transition);
}
select.filter-select:hover, select.filter-select:focus {
  background-color: rgba(255,255,255,0.08); border-color: var(--border-light);
  outline: none; color: var(--text-primary);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; border-radius: var(--radius-lg); overflow: hidden;
  margin-top: -50px; position: relative; z-index: 3;
  box-shadow: var(--shadow-lg);
}
.stat-card {
  background: var(--bg-elevated); padding: 36px 24px; text-align: center;
  transition: background var(--transition);
}
.stat-card:hover { background: var(--bg-card-hover); }
.stat-value {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 800;
  color: var(--text-bright); margin-bottom: 4px;
}
.stat-value .accent { color: var(--accent); }
.stat-label {
  font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600;
}
@media (max-width: 640px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   NEWSLETTER — Premium CTA
   ============================================ */
.newsletter {
  position: relative; border-radius: var(--radius-xl); padding: 72px 48px;
  text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #0f1a2e 0%, #1a0a0f 50%, #0a1020 100%);
  border: 1px solid var(--border);
}
.newsletter::before {
  content: ''; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(229,9,20,0.1), transparent 50%, rgba(229,9,20,0.05));
  border-radius: var(--radius-xl); z-index: 0;
}
.newsletter::after {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(229,9,20,0.08) 0%, transparent 60%);
  z-index: 0;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  margin-bottom: 12px; color: var(--text-bright);
}
.newsletter p {
  color: var(--text-secondary); margin-bottom: 36px;
  max-width: 480px; margin-left: auto; margin-right: auto; font-size: 1rem;
}
.newsletter-form {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1; padding: 16px 22px; border-radius: var(--radius);
  border: 1px solid var(--border-light); background: rgba(255,255,255,0.05);
  color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
}
.newsletter-form input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); }
.newsletter-form input::placeholder { color: var(--text-muted); }
@media (max-width: 480px) {
  .newsletter { padding: 48px 24px; }
  .newsletter-form { flex-direction: column; }
}

/* ============================================
   FILM DETAIL PAGE
   ============================================ */
.film-hero { padding-top: 100px; padding-bottom: 40px; }
.video-player {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-xl); overflow: hidden; background: #000;
  margin-bottom: 48px; box-shadow: var(--shadow-lg);
}
.video-player iframe { width: 100%; height: 100%; border: none; }
.film-info { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }
.film-description h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 16px; color: var(--text-bright); }
.film-meta-inline { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.film-description .body-text { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
.film-sidebar {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px;
  height: fit-content; position: sticky; top: 90px; border: 1px solid var(--border);
}
.sidebar-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-item:first-child { padding-top: 0; }
.sidebar-label {
  font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 700; margin-bottom: 6px;
}
.sidebar-value { font-weight: 500; font-size: 0.95rem; }
.sidebar-value a { color: var(--accent); }
.how-made {
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 32px; margin-top: 40px; border: 1px solid var(--border);
}
.how-made h3 { margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.how-made p { color: var(--text-secondary); line-height: 1.8; }
.tool-breakdown { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.tool-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 500;
}
.related-section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--border); }
@media (max-width: 768px) {
  .film-info { grid-template-columns: 1fr; gap: 30px; }
  .film-sidebar { position: static; }
}

/* ============================================
   SUBMIT FORM
   ============================================ */
.form-page { padding-top: 120px; padding-bottom: 80px; min-height: 100vh; }
.form-container { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-secondary);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-primary); font-family: inherit; font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238892a4' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.form-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   BLOG
   ============================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(229,9,20,0.1); }
.blog-card-thumb { aspect-ratio: 16/9; background: var(--bg-secondary); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-date { font-size: 0.7rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.blog-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text-bright); }
.blog-card-excerpt { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ============================================
   ABOUT
   ============================================ */
.about-hero { padding-top: 140px; padding-bottom: 60px; text-align: center; }
.about-hero p { max-width: 640px; margin: 16px auto 0; color: var(--text-secondary); font-size: 1.15rem; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.about-card {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 32px;
  border: 1px solid var(--border); transition: border-color var(--transition), transform var(--transition);
}
.about-card:hover { border-color: rgba(229,9,20,0.15); transform: translateY(-3px); }
.about-card-icon { font-size: 2rem; margin-bottom: 16px; }
.about-card h3 { margin-bottom: 12px; color: var(--text-bright); }
.about-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border); padding: 72px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; max-width: 300px; line-height: 1.7; }
.footer h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 20px; font-weight: 700; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 0.88rem; color: var(--text-secondary); transition: color var(--transition); }
.footer ul li a:hover { color: var(--text-bright); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text-secondary); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================
   UTILITY
   ============================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-bright { color: var(--text-bright); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Animations — reveal on scroll */
.fade-in { 
  opacity: 0; transform: translateY(24px); 
  animation: fadeInUp 0.8s ease forwards;
}
.fade-in:nth-child(1) { animation-delay: 0s; }
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Fallback: if JS adds visible class */
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* No results */
.no-results { text-align: center; padding: 80px 20px; color: var(--text-muted); }
.no-results h3 { margin-bottom: 12px; color: var(--text-secondary); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-left: 4px solid var(--accent); padding: 16px 24px;
  border-radius: var(--radius); font-size: 0.9rem; z-index: 9999;
  transform: translateY(100px); opacity: 0; transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================
   PLATFORM PROMO SECTIONS
   ============================================ */
.promo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.promo-card {
  background: var(--bg-elevated); padding: 48px 36px; text-align: center;
  transition: background var(--transition);
}
.promo-card:hover { background: var(--bg-card-hover); }
.promo-icon { font-size: 2.5rem; margin-bottom: 20px; }
.promo-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-bright); }
.promo-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 768px) { .promo-grid { grid-template-columns: 1fr; } }

/* Genre/Tool pill links in browse-by sections */
.browse-pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.browse-pill {
  padding: 10px 24px; border-radius: 24px; font-size: 0.88rem; font-weight: 600;
  background: rgba(255,255,255,0.04); color: var(--text-secondary);
  border: 1px solid var(--border); transition: all var(--transition);
}
.browse-pill:hover { background: var(--accent); color: white; border-color: var(--accent); transform: translateY(-2px); }

/* ============================================
   ARTICLE PAGES (Blog)
   ============================================ */
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { margin-top: 48px; margin-bottom: 16px; color: var(--text-bright); }
.article-body h3 { margin-top: 32px; margin-bottom: 12px; color: var(--accent); }
.article-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 20px; font-size: 1.05rem; }
.article-body ul, .article-body ol { margin-bottom: 20px; padding-left: 24px; }
.article-body ul li { color: var(--text-secondary); margin-bottom: 8px; list-style: disc; line-height: 1.6; }
.article-body ol li { color: var(--text-secondary); margin-bottom: 8px; list-style: decimal; line-height: 1.6; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.article-embed { margin: 32px 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; }
.article-embed iframe { width: 100%; height: 100%; border: none; }
.compare-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.9rem; }
.compare-table th { text-align: left; padding: 12px; background: var(--bg-card); border-bottom: 2px solid var(--accent); color: var(--text-primary); font-weight: 600; }
.compare-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.verdict { background: var(--bg-card); border-left: 3px solid var(--accent); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.verdict h4 { color: var(--accent); margin-bottom: 8px; }
.step-box { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0; border-left: 3px solid var(--accent); }
.step-num { color: var(--accent); font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.step-box h3 { margin-top: 8px !important; }
.tip { background: var(--accent-subtle); border: 1px solid rgba(229,9,20,0.15); border-radius: var(--radius); padding: 16px 20px; margin: 20px 0; font-size: 0.9rem; color: var(--text-secondary); }
.tip strong { color: var(--accent); }
.article-body blockquote { border-left: 3px solid var(--accent); padding: 16px 24px; margin: 24px 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }
.article-body blockquote p { font-style: italic; margin-bottom: 0; }

/* ============================================
   SKELETON LOADING (Browse page)
   ============================================ */
.skeleton-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px;
  padding: 24px 0;
}
.skeleton-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px;
  overflow: hidden; animation: skeleton-pulse 1.5s ease-in-out infinite;
}
.skeleton-thumb { width: 100%; aspect-ratio: 16/9; background: var(--bg-primary); }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 14px; background: var(--bg-primary); border-radius: 4px; margin-bottom: 10px; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ============================================
   SEARCH BAR
   ============================================ */
.search-bar {
  position: relative; max-width: 480px; margin: 0 auto 32px;
}
.search-bar input {
  width: 100%; padding: 14px 20px 14px 48px;
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: 12px; color: var(--text-bright); font-size: 0.95rem;
  font-family: 'Inter', sans-serif; outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
}
.search-bar .search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1.1rem; pointer-events: none;
}
.search-bar .search-clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted); cursor: pointer;
  font-size: 1.2rem; display: none; padding: 4px;
}
.search-bar .search-clear.visible { display: block; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 16px rgba(229,9,20,0.3);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: scale(1.1); }

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 16px 0; font-size: 0.85rem; color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--text-bright); }
.breadcrumbs .sep { color: var(--text-muted); opacity: 0.5; }

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 80vh; text-align: center; padding: 40px 20px;
}
.page-404 .code { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: var(--accent); line-height: 1; }
.page-404 h1 { font-size: 1.6rem; color: var(--text-bright); margin: 16px 0 12px; }
.page-404 p { color: var(--text-secondary); margin-bottom: 32px; max-width: 400px; }
.page-404 .btn-home {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; background: var(--accent); color: #fff;
  border-radius: 8px; text-decoration: none; font-weight: 600;
  transition: opacity 0.2s;
}
.page-404 .btn-home:hover { opacity: 0.85; }

/* Instagram link - show only in mobile nav */
@media (max-width: 768px) {
  .nav-ig { display: flex !important; }
}

/* Featured sub-cards responsive */
@media (max-width: 768px) {
  .featured-sub { grid-template-columns: 1fr !important; }
}
.featured-sub-card:hover img { transform: scale(1.05); transition: transform 0.4s; }
.featured-sub-card img { transition: transform 0.4s; }
