/* ============ TOKENS ============ */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #17171a;
  --bg-4: #1e1e22;
  --line: #25252b;
  --line-2: #333339;
  --fg: #f4f4f5;
  --fg-2: #a8a8af;
  --fg-3: #6b6b72;
  --accent: #ff6a1a;       /* Laranja neon */
  --accent-2: #ff8a3d;
  --accent-glow: rgba(255, 106, 26, 0.55);
  --accent-soft: rgba(255, 106, 26, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Space Grotesk', 'Inter', ui-sans-serif, sans-serif;
  --font-body: 'Inter', ui-sans-serif, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ UTILITY ============ */
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--fg-2);
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--accent);
}

.section {
  position: relative;
  padding: 120px 0;
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
  box-shadow: 0 10px 30px -12px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.25);
  background: var(--accent-2);
}
.btn-primary .arrow {
  transition: transform .3s ease;
}
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-dark {
  background: #000;
  color: #fff;
  border: 1px solid var(--line-2);
}
.btn-dark:hover { background: #111; transform: translateY(-2px); }

/* Ripple sheen on primary */
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 120%; }

/* ============ LOGO ============ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
}
.logo-mark {
  width: 30px; height: 30px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  position: absolute; inset: 22%;
  background: #0a0a0b;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.logo-text-wrap {
  display: flex; flex-direction: column;
  line-height: 1;
}
.logo-sub {
  font-size: 8px; letter-spacing: 0.25em;
  color: var(--fg-2);
  margin-bottom: 3px;
}
.logo-main { font-size: 14px; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 40px 6px var(--accent-glow); }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes blink {
  50% { opacity: 0.2; }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal-ready .reveal:not(.in) {
  opacity: 0;
  transform: translateY(30px);
}

/* Subtle grid background */
.grid-bg {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Section separator with arrow */
.section-sep {
  display: flex; justify-content: center;
  padding: 40px 0;
  position: relative;
}
.section-sep .dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  animation: bob 2.5s ease-in-out infinite;
}
.section-sep .dot svg { color: var(--accent); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============ CORNER FRAME (decorative) ============ */
.corner-frame {
  position: relative;
}
.corner-frame::before,
.corner-frame::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--line-2);
}
.corner-frame::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.corner-frame::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }

/* hamburger hidden by default on desktop */
.hamburger { display: none; }

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 900px) {
  .container { padding: 0 16px; }

  /* Why — single column, no sticky, auto height */
  .why-wrapper { grid-template-columns: 1fr !important; gap: 32px !important; }
  .why-sticky-title { position: relative !important; top: auto !important; padding-bottom: 0 !important; }
  .why-card-wrap { position: relative !important; top: auto !important; height: auto !important; margin-bottom: 12px !important; }
  .why-card-inner { grid-template-columns: 1fr !important; height: auto !important; min-height: unset !important; }
  .why-card-visual { display: none !important; }

  /* Future banner bottom grid */
  .future-bottom { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Content grid — 2 cols */
  .content-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

  /* Schedule */
  .schedule-grid { grid-template-columns: 1fr !important; gap: 28px !important; }

  /* Instructor */
  .instructor-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .instructor-img { max-width: 100% !important; margin: 0 auto; }

  /* Partners marquee */
  .logo-marquee img { height: 24px !important; }

  /* Certificate tablet */
  .tablet-mockup { width: 100% !important; }
  .tablet-grid { grid-template-columns: 1fr !important; }
  .tablet-right { display: none !important; }
  .cert-left { padding: 24px 20px !important; }

  /* Cert bottom row */
  .cert-bottom { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Price card */
  .price-grid { grid-template-columns: 1fr !important; }
  .price-left { min-height: 240px !important; }
  .price-badges { flex-wrap: wrap !important; gap: 10px !important; justify-content: center !important; }

  /* Footer marquee */
  .footer-marquee { font-size: clamp(52px, 16vw, 140px) !important; }
}

@media (max-width: 500px) {
  .section { padding: 56px 0; }
  .section-title { font-size: clamp(24px, 7vw, 36px) !important; }
  .why-card-inner { padding: 20px 18px !important; }
  .schedule-card { padding: 22px 18px !important; }
  .content-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* hamburger hidden by default on desktop — keep at END to avoid override */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 300px;
  background: rgba(20,20,24,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px;
  z-index: 9999;
  font-size: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.tweaks-panel h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.tweaks-row { margin-bottom: 14px; }
.tweaks-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  margin-bottom: 6px;
}
.tweaks-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweaks-swatches button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent;
  transition: transform .2s;
}
.tweaks-swatches button.active { border-color: #fff; }
.tweaks-swatches button:hover { transform: scale(1.1); }

.tweaks-panel input[type="text"], .tweaks-panel select {
  width: 100%;
  background: var(--bg-4);
  border: 1px solid var(--line-2);
  color: var(--fg);
  padding: 8px 10px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
}
