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

:root {
  --bg: #0b0c15;
  --surface: #12131f;
  --surface-2: #1a1b2e;
  --text: #e8eaf6;
  --text-muted: #a0a3bd;
  --accent: #6c5ce7;
  --accent-2: #00cec9;
  --accent-3: #fd79a8;
  --border: #2a2c45;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.5);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-2); }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,12,21,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--text); }
.logo-accent { color: var(--accent); }
.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--text); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); }
  .main-nav.open { display: flex; }
}

/* Hero */
.hero { padding: 100px 0 70px; text-align: center; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.15; }
.accent { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--text-muted); margin-top: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.search-bar { margin-top: 40px; display: flex; justify-content: center; gap: 0; }
.search-input { width: min(520px, 70%); padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-md) 0 0 var(--radius-md); background: var(--surface); color: var(--text); font-size: 1rem; outline: none; }
.search-input:focus { border-color: var(--accent); }
.search-btn { padding: 14px 24px; border: none; background: var(--accent); color: #fff; font-weight: 600; border-radius: 0 var(--radius-md) var(--radius-md) 0; cursor: pointer; transition: background var(--transition); }
.search-btn:hover { background: var(--accent-2); color: var(--bg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: var(--radius-md); font-weight: 600; font-size: 0.95rem; transition: transform var(--transition), box-shadow var(--transition), background var(--transition); border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); transform: translateY(-2px); }

/* Stats */
.stats-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent-2); }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { padding: 70px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 36px; text-align: center; }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); cursor: pointer; }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.thumb { height: 160px; width: 100%; }
.vinfo { padding: 16px; }
.vinfo h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.vmeta { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
@media (max-width: 768px) { .video-grid { grid-template-columns: 1fr; } }
@media (min-width: 769px) and (max-width: 1024px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card { display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--surface); border-radius: var(--radius-md); border: 1px solid var(--border); color: var(--text); transition: transform var(--transition), border-color var(--transition); }
.cat-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.cat-icon { width: 28px; height: 28px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 768px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Creators */
.creator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.creator-card { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; text-align: center; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.creator-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.c-avatar { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 14px; }
.creator-card h3 { font-size: 1.1rem; font-weight: 700; }
.c-role { color: var(--accent-2); font-size: 0.85rem; font-weight: 600; margin: 4px 0 10px; }
.c-bio { font-size: 0.9rem; color: var(--text-muted); }
.c-stats { margin-top: 14px; font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 768px) { .creator-grid { grid-template-columns: 1fr; } }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: var(--surface); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); transition: transform var(--transition); }
.feat:hover { transform: translateY(-4px); }
.feat-icon { width: 36px; height: 36px; color: var(--accent); margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feat p { font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 768px) { .feat-grid { grid-template-columns: 1fr; } }

/* How it works */
.steps { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.step { flex: 1 1 260px; max-width: 320px; text-align: center; }
.step-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 800; color: var(--accent); opacity: 0.35; line-height: 1; }
.step h3 { font-size: 1.2rem; font-weight: 700; margin: 10px 0 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* CTA section */
.cta-section { text-align: center; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-section p { color: var(--text-muted); margin-top: 10px; }
.cta-form { margin-top: 28px; display: flex; justify-content: center; gap: 0; flex-wrap: wrap; }
.cta-input { width: min(360px, 70%); padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius-md) 0 0 var(--radius-md); background: var(--bg); color: var(--text); font-size: 1rem; outline: none; }
.cta-input:focus { border-color: var(--accent); }
.cta-form .btn { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.cta-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 14px; }

/* Footer */
.site-footer { background: var(--surface); padding: 60px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-about { color: var(--text-muted); margin-top: 10px; font-size: 0.9rem; }
.footer-grid h4 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-muted); font-size: 0.9rem; margin: 6px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-grid p { color: var(--text-muted); font-size: 0.85rem; margin: 4px 0; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Page hero */
.page-hero { padding: 70px 0 40px; text-align: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: var(--text-muted); margin-top: 8px; }

/* Legal */
.legal-content { padding: 50px 0; }
.legal-container { max-width: 800px; }
.legal-container h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; color: var(--accent-2); }
.legal-container p { color: var(--text-muted); margin: 10px 0; }
.legal-container ul { margin: 10px 0 10px 20px; color: var(--text-muted); }
.legal-container li { margin: 6px 0; }
.legal-container strong { color: var(--text); }
.legal-container code { background: var(--surface-2); padding: 2px 6px; border-radius: var(--radius-sm); font-size: 0.9em; }

/* Contact */
.contact-section { padding: 50px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.contact-form-wrap h2, .contact-info h2 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font-size: 0.95rem; outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.info-card { background: var(--surface); border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--border); margin-bottom: 24px; }
.info-item { display: flex; gap: 12px; margin-bottom: 16px; }
.info-item:last-child { margin-bottom: 0; }
.info-icon { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.info-item p { font-size: 0.95rem; color: var(--text); }
.hours-list { list-style: none; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-muted); }
.hours-list li span:first-child { color: var(--text); font-weight: 500; }
.social-links { display: flex; gap: 14px; margin-top: 10px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--text-muted); transition: background var(--transition), color var(--transition); }
.social-links a:hover { background: var(--accent); color: #fff; }
.social-links svg { width: 20px; height: 20px; }
.map-section { padding-bottom: 60px; }
.map-placeholder { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-svg { display: block; width: 100%; height: auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* Animation helpers */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* Error helper */
.error { border-color: var(--accent-3) !important; }
