/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #FACC15;        /* electric yellow */
  --primary-bright: #FDE047;
  --primary-dark:   #EAB308;
  --accent:         #F97316;        /* energy orange (secondary action) */
  --bg:             #0A0A0A;        /* almost black */
  --surface:        #141414;
  --surface-2:      #1C1C1C;
  --border:         #262626;
  --border-strong:  #404040;
  --text:           #FAFAFA;
  --text-muted:     #A3A3A3;
  --text-dim:       #737373;
  --shadow:         0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg:      0 24px 70px rgba(0, 0, 0, 0.7);
  --glow:           0 0 24px rgba(250, 204, 21, 0.5);
  --radius:         8px;
  --radius-lg:      14px;
  --container:      1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--text);
}
h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: 0; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p  { color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--primary);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-lg { padding: 16px 32px; font-size: 0.95rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--primary);
  color: #0A0A0A;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.35);
}
.btn-primary:hover {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.25s;
}
.navbar.scrolled .nav-inner { padding: 12px 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  color: #0A0A0A;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}
.brand-text {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: 2px;
}
.brand-text strong { color: var(--primary); font-weight: 400; }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--text);
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 22px;
  gap: 14px;
  background: #0A0A0A;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 0.95rem; color: var(--text); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(40%) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 60px;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  color: var(--primary);
  padding: 7px 16px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.hero-content h1 .accent {
  color: var(--primary);
  text-shadow: 0 0 40px rgba(250, 204, 21, 0.5);
}
.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.hero-actions .btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat .num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1;
}
.stat .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* ── SECTIONS ───────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-alt { background: var(--surface); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.04rem; color: var(--text-muted); }

/* ── PROGRAMS ───────────────────────────────────────────── */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(250, 204, 21, 0.15);
}

.program-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.program-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.6) 100%);
}
.program-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: grayscale(20%);
}
.program-card:hover .program-img img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.program-body {
  padding: 24px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-tag {
  display: inline-block;
  background: rgba(250, 204, 21, 0.12);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}
.program-body h3 { margin-bottom: 10px; }
.program-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}
.program-meta {
  display: flex;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.program-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.program-meta i { color: var(--primary); }

/* ── PRICING ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.10) 0%, var(--surface-2) 60%);
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: scale(1.04);
}
.price-card.featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #0A0A0A;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 16px;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.4);
}

.price-head { margin-bottom: 28px; }
.plan-name {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.price-card.featured .plan-name { color: var(--primary); }

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
}
.plan-price .amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.4rem;
  color: var(--text);
  line-height: 1;
}
.plan-price .per {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.plan-desc { font-size: 0.9rem; color: var(--text-muted); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}
.plan-features li i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.plan-features li.off { color: var(--text-dim); }
.plan-features li.off i { color: var(--text-dim); }
.plan-features strong { color: var(--primary); font-weight: 700; }

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.g-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0) 0%, rgba(250, 204, 21, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.g-item:hover::after { opacity: 1; }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  filter: grayscale(20%);
}
.g-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.info-icon {
  width: 44px; height: 44px;
  background: rgba(250, 204, 21, 0.12);
  color: var(--primary);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-form {
  background: var(--bg);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.field input, .field select, .field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}
.field textarea { resize: vertical; min-height: 80px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #050505;
  color: #a3a3a3;
  padding: 70px 0 24px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 340px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-links h5, .footer-social h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.social-row { display: flex; gap: 10px; margin-top: 4px; }
.social-row a {
  width: 40px; height: 40px;
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.social-row a:hover {
  background: var(--primary);
  color: #0A0A0A;
  transform: translateY(-2px);
}
.footer-bottom {
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── DEMO BADGE ─────────────────────────────────────────── */
.demo-badge {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  padding: 9px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--text);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.demo-badge:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 14px 38px rgba(250, 204, 21, 0.25);
}
.demo-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}
.demo-badge strong { color: var(--primary); font-weight: 700; }
.demo-badge i { font-size: 0.8rem; color: var(--primary); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.featured { transform: scale(1); }
  .price-card.featured:hover { transform: translateY(-4px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links, .navbar > .nav-inner > .btn { display: none; }
  .nav-toggle { display: block; }

  .hero-content { padding-top: 90px; }
  .hero-content h1 { font-size: 3rem; }
  .hero-content p { font-size: 1rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat .num { font-size: 2rem; }

  .section { padding: 70px 0; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .contact-form { padding: 26px 22px; }
  .contact-form .row { grid-template-columns: 1fr; }

  .demo-badge { bottom: 14px; right: 14px; padding: 8px 12px; font-size: 0.72rem; }
  .demo-badge .badge-text { display: none; }
  .demo-badge::after {
    content: 'PabionTech';
    color: var(--primary);
    font-weight: 700;
  }
}
