/* ============================================================
   FLYCODED – Global Stylesheet v2.0
   Brand Colors: #1a1f3a (dark navy), #ff6b1a (orange), #ffffff
   Tagline: Empowering Your Digital Presence
   ============================================================ */

:root {
  /* ── Flycoded Brand Colors (from logo analysis) ── */
  --navy: #0a0b4f; /* Deep navy blue from logo "FLY" text */
  --navy-light: #14166a;
  --navy-dark: #070838;
  --orange: #ff5b1f; /* Brand orange from logo "CODED" and geometric mark */
  --orange-hover: #e04a10;
  --orange-light: rgba(255, 91, 31, 0.12);
  --orange-glow: rgba(255, 91, 31, 0.35);
  --white: #ffffff;
  --off-white: #f8f9ff;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --card-bg: #0d0f4a;
  --card-border: rgba(255, 255, 255, 0.07);
  --nav-height: 76px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.28);
  --shadow-orange: 0 8px 28px rgba(255, 91, 31, 0.35);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  /* Playground secondary (green accent for code editor) */
  --secondary: #ff5b1f;
  --primary: #070838;
  --dark: #070838;
  --accent: #ff5b1f;
}
/* Admin-specific overrides for tighter admin header spacing and avatar */
.renewal-admin {
  --nav-height: 56px;
}
.admin-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  text-decoration: none;
}
.admin-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-main);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--orange);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--orange-hover);
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}

/* ─── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}
h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}
p {
  color: #94a3b8;
  line-height: 1.75;
}

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
.text-center {
  text-align: center;
}
.text-orange {
  color: var(--orange) !important;
}
.text-white {
  color: var(--white) !important;
}
.text-gray {
  color: var(--gray-light) !important;
}
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.gap-12 {
  gap: 12px;
}
.mt-2 {
  margin-top: 16px;
}
.mt-3 {
  margin-top: 24px;
}
.mt-4 {
  margin-top: 32px;
}
.mb-4 {
  margin-bottom: 32px;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 26, 0.3);
  margin-bottom: 16px;
}
.badge-trust {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-light);
  border-color: rgba(255, 255, 255, 0.1);
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  color: var(--white);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline-orange {
  background: transparent;
  border-color: var(--orange);
  color: var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.82rem;
  border-radius: 6px;
}
.btn-lg {
  padding: 18px 44px;
  font-size: 1rem;
}

/* ─── Section Headers ───────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
}
.section-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
  border-radius: 2px;
  margin: 16px auto;
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(15, 18, 37, 0);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(15, 18, 37, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 107, 26, 0.15);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 26, 0.3));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 13px;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  background: var(--orange-light);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--white);
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 18, 37, 0.98);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255, 107, 26, 0.15);
  z-index: 1000;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-height));
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--orange);
  background: var(--orange-light);
}
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  border-bottom: none;
}

/* ─── HERO SLIDER ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 13, 30, 0.9) 0%,
    rgba(15, 18, 37, 0.78) 55%,
    rgba(255, 107, 26, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: var(--nav-height);
}
.hero-slide-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 107, 26, 0.15);
  border: 1px solid rgba(255, 107, 26, 0.4);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.hero-content h1 span {
  color: var(--orange);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-display);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

/* Slide nav dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--orange);
  width: 28px;
  border-radius: 5px;
}

/* Slide arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.2);
  border: 2px solid rgba(255, 107, 26, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow-prev {
  left: 28px;
}
.hero-arrow-next {
  right: 28px;
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2.2s ease infinite;
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ─── TRUST BAR ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 107, 26, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 0;
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 500;
  flex-shrink: 0;
}
.trust-item i {
  color: var(--orange);
  font-size: 1rem;
}
.trust-divider {
  color: rgba(255, 107, 26, 0.4);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ─── STATS STRIP ───────────────────────────────────────────── */
.stats-section {
  background: var(--navy-dark);
  padding: 56px 0;
}
.stat-item {
  text-align: center;
  padding: 12px;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  font-family: var(--font-display);
  display: block;
  line-height: 1;
}
.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* ─── CARDS ─────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--card-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 26, 0.25);
}
.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--orange-light);
  border: 1px solid rgba(255, 107, 26, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 20px;
}
.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.card p {
  font-size: 0.88rem;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Service tag */
.service-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--orange-light);
  color: var(--orange);
  border: 1px solid rgba(255, 107, 26, 0.2);
  margin: 2px;
}

/* ─── COURSE CARDS ──────────────────────────────────────────── */
.course-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 26, 0.3);
}
.course-card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 26, 0.1),
    rgba(255, 107, 26, 0.02)
  );
  position: relative;
}
.course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-popular {
  background: var(--orange);
  color: var(--white);
}
.badge-new {
  background: #22c55e;
  color: var(--white);
}
.course-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--orange-light);
  border: 1px solid rgba(255, 107, 26, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: 14px;
}
.course-card-header h3 {
  margin-bottom: 4px;
}
.course-card-header p {
  font-size: 0.82rem;
  color: var(--gray-light);
}
.course-card-body {
  padding: 22px 28px;
  flex: 1;
}
.course-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}
.course-price span {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 400;
}
.course-meta {
  display: flex;
  gap: 14px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gray-light);
}
.course-meta-item i {
  color: var(--orange);
}
.course-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.course-feature i {
  color: var(--orange);
  font-size: 0.7rem;
  width: 14px;
}
.course-card-footer {
  padding: 18px 28px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 10px;
}
.course-card-footer .btn {
  flex: 1;
  justify-content: center;
}

/* ─── TIMETABLE ─────────────────────────────────────────────── */
.timetable-wrap {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  overflow: hidden;
}
.timetable {
  width: 100%;
  border-collapse: collapse;
}
.timetable th {
  background: linear-gradient(
    90deg,
    rgba(255, 107, 26, 0.18),
    rgba(255, 107, 26, 0.05)
  );
  padding: 14px 18px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 107, 26, 0.2);
}
.timetable td {
  padding: 13px 18px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.timetable tr:last-child td {
  border-bottom: none;
}
.timetable tr:hover td {
  background: rgba(255, 107, 26, 0.04);
  color: var(--white);
}
.tt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}
.tt-virtual {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}
.tt-inperson {
  background: rgba(255, 107, 26, 0.12);
  color: var(--orange);
}

/* ─── PORTFOLIO ─────────────────────────────────────────────── */
.portfolio-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}
.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.portfolio-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-img img {
  transform: scale(1.06);
}
.portfolio-img-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 18, 37, 0.92), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-info {
  padding: 18px 20px;
}
.portfolio-info h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.portfolio-info p {
  font-size: 0.8rem;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--card-border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(255, 107, 26, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3.5rem;
  color: rgba(255, 107, 26, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-stars {
  color: var(--orange);
  margin-bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9a5c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.testimonial-author-info p {
  font-size: 0.76rem;
  color: var(--orange);
}

/* ─── BLOG ──────────────────────────────────────────────────── */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 107, 26, 0.25);
}
.blog-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-img-icon {
  font-size: 3.5rem;
  color: var(--white);
}
.blog-body {
  padding: 22px;
}
.blog-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-meta span {
  font-size: 0.76rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-meta span i {
  color: var(--orange);
}
.blog-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-body p {
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.blog-read-more {
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-read-more:hover {
  gap: 10px;
  color: var(--orange-hover);
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-form {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--card-border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--orange);
  background: rgba(255, 107, 26, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 107, 26, 0.1);
}
.form-control::placeholder {
  color: #475569;
}
textarea.form-control {
  resize: vertical;
  min-height: 130px;
}
select.form-control option {
  background: var(--card-bg);
  color: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.form-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
  margin-top: 2px;
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Contact info cards */
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--card-border);
  margin-bottom: 14px;
  transition: var(--transition);
  text-decoration: none;
}
.contact-info-card:hover {
  border-color: rgba(255, 107, 26, 0.3);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--orange);
  flex-shrink: 0;
  border: 1px solid rgba(255, 107, 26, 0.2);
}
.contact-info-card h4 {
  font-size: 0.88rem;
  margin-bottom: 4px;
  color: var(--white);
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* ─── WHATSAPP FAB ──────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: white;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 997;
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #20bd5a;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2.5s ease infinite;
}
@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--navy-dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 107, 26, 0.15);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p {
  font-size: 0.86rem;
  color: var(--gray-light);
  line-height: 1.8;
  max-width: 300px;
  margin-top: 14px;
}
.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  transform: translateY(-3px);
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.84rem;
  color: var(--gray-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover {
  color: var(--orange);
  padding-left: 4px;
}
.footer-col ul li a i {
  width: 14px;
  color: var(--orange);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.84rem;
  outline: none;
  font-family: inherit;
}
.newsletter-input:focus {
  border-color: var(--orange);
}
.newsletter-input::placeholder {
  color: #475569;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}
.footer-bottom a {
  color: var(--orange);
  font-size: 0.8rem;
}

/* ─── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 130px 0 80px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 26, 0.07) 0%,
    transparent 70%
  );
  top: -200px;
  right: -100px;
}
.page-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--gray);
}
.page-hero .breadcrumb a {
  color: var(--orange);
}
.page-hero .breadcrumb span {
  color: var(--gray);
}

/* ─── AUTH ──────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  padding: 40px 24px;
  padding-top: calc(var(--nav-height) + 40px);
}
.auth-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--card-border);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.auth-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  font-family: inherit;
}
.auth-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.auth-form-panel {
  display: none;
}
.auth-form-panel.active {
  display: block;
}
.auth-divider {
  text-align: center;
  position: relative;
  margin: 22px 0;
  color: var(--gray);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.auth-divider::before {
  left: 0;
}
.auth-divider::after {
  right: 0;
}
.input-icon-wrap {
  position: relative;
}
.input-icon-wrap .form-control {
  padding-left: 44px;
}
.input-icon-wrap .input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 0.85rem;
}
.input-icon-wrap .input-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
}

/* ─── DASHBOARD ─────────────────────────────────────────────── */
.dashboard-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}
.sidebar {
  background: var(--navy-dark);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--orange);
  background: var(--orange-light);
  border-left-color: var(--orange);
}
.sidebar-section {
  padding: 8px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-top: 12px;
}
.dashboard-main {
  padding: 40px;
  background: var(--navy);
}
.dash-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--card-border);
}
.dash-stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.dash-stat-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--card-border);
  position: relative;
  overflow: hidden;
}
.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.dash-stat-card:nth-child(1)::before {
  background: var(--orange);
}
.dash-stat-card:nth-child(2)::before {
  background: #3b82f6;
}
.dash-stat-card:nth-child(3)::before {
  background: #22c55e;
}
.dash-stat-card:nth-child(4)::before {
  background: #a855f7;
}
.dash-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.dash-stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}
.dash-stat-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 1.6rem;
  opacity: 0.2;
}
.progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* ─── PARTNER PAGE ──────────────────────────────────────────── */
.partner-tier {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--card-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.partner-tier.featured {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--card-bg), rgba(255, 107, 26, 0.04));
}
.partner-tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.partner-tier-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.partner-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.partner-benefit i {
  color: var(--orange);
  margin-top: 2px;
}

/* ─── FAQ ACCORDION ─────────────────────────────────────────── */
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  overflow: hidden;
  margin-bottom: 10px;
  transition: var(--transition);
}
.faq-item:hover {
  border-color: rgba(255, 107, 26, 0.25);
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.faq-question:hover {
  color: var(--orange);
}
.faq-icon {
  font-size: 0.85rem;
  color: var(--orange);
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.87rem;
  color: var(--gray-light);
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ─── ALERTS / TOASTS ───────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.86rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}
.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.alert-info {
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.3);
  color: var(--orange);
}
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 16px);
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.4s ease;
  max-width: 320px;
  color: var(--white);
}
.toast-success {
  border-left: 4px solid #22c55e;
}
.toast-error {
  border-left: 4px solid #ef4444;
}
.toast-info {
  border-left: 4px solid var(--orange);
}
@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ─── LOADING SCREEN ────────────────────────────────────────── */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  z-index: 9999;
  transition: opacity 0.6s ease;
}
.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}
.loading-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 107, 26, 0.2);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
  animation: loadFill 1.9s ease forwards;
  border-radius: 2px;
}
@keyframes loadFill {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* ─── ANIMATIONS ────────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}
[data-animate='fade-left'] {
  transform: translateX(-36px);
}
[data-animate='fade-left'].animated {
  transform: translateX(0);
}
[data-animate='fade-right'] {
  transform: translateX(36px);
}
[data-animate='fade-right'].animated {
  transform: translateX(0);
}
[data-animate='zoom'] {
  transform: scale(0.88);
}
[data-animate='zoom'].animated {
  transform: scale(1);
}
[data-delay='100'] {
  transition-delay: 0.1s;
}
[data-delay='150'] {
  transition-delay: 0.15s;
}
[data-delay='200'] {
  transition-delay: 0.2s;
}
[data-delay='300'] {
  transition-delay: 0.3s;
}
[data-delay='400'] {
  transition-delay: 0.4s;
}
[data-delay='500'] {
  transition-delay: 0.5s;
}
[data-delay='600'] {
  transition-delay: 0.6s;
}
[data-delay='700'] {
  transition-delay: 0.7s;
}

/* Particles */
.particles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 107, 26, 0.15);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* ─── TRUST/RECOGNITION SECTION ─────────────────────────────── */
.recognition-bar {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--card-border);
  text-align: center;
}
.recognition-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.recognition-logo {
  opacity: 0.55;
  filter: grayscale(100%) brightness(2);
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}
.recognition-logo:hover {
  opacity: 1;
  filter: none;
}
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 26, 0.1);
  border: 1px solid rgba(255, 107, 26, 0.25);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  margin: 4px;
}

/* ─── PLAYGROUND ────────────────────────────────────────────── */
.pg-wrapper {
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding-top: var(--nav-height);
}
.pg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0d1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}
.pg-main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.pg-editor-panel {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d1117;
  overflow: hidden;
}
.pg-tabs {
  display: flex;
  background: #161b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.pg-tab {
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid transparent;
  font-family: inherit;
}
.pg-tab:hover {
  color: var(--white);
}
.pg-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pg-tab[data-lang='html'] .tab-dot {
  background: #f87171;
}
.pg-tab[data-lang='css'] .tab-dot {
  background: #60a5fa;
}
.pg-tab[data-lang='js'] .tab-dot {
  background: #facc15;
}
.editor-area {
  flex: 1;
  overflow: auto;
}
.code-editor-wrap {
  display: none;
  height: 100%;
}
.code-editor-wrap.active {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.code-textarea {
  width: 100%;
  min-height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #e6edf3;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.875rem;
  line-height: 1.75;
  padding: 20px;
  resize: none;
  caret-color: var(--orange);
  tab-size: 2;
}
.pg-preview-panel {
  display: flex;
  flex-direction: column;
  background: white;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.preview-dots {
  display: flex;
  gap: 5px;
}
.pdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.pdot-r {
  background: #f87171;
}
.pdot-y {
  background: #facc15;
}
.pdot-g {
  background: #4ade80;
}
.preview-url-bar {
  flex: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
#preview-iframe {
  flex: 1;
  border: none;
  width: 100%;
  background: white;
}
.status-bar {
  background: #161b22;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  flex-shrink: 0;
}

/* ─── GLOW HELPERS ───────────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.glow-teal {
  background: radial-gradient(
    circle,
    rgba(255, 91, 31, 0.1) 0%,
    transparent 70%
  );
}
.glow-orange {
  background: radial-gradient(
    circle,
    rgba(255, 91, 31, 0.18) 0%,
    transparent 70%
  );
}
.glow-blue {
  background: radial-gradient(
    circle,
    rgba(10, 11, 79, 0.5) 0%,
    transparent 70%
  );
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-layout {
    grid-template-columns: 220px 1fr;
  }
  .pg-main {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh 50vh;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .nav-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }
  .nav-actions > a,
  .nav-actions > div {
    display: none !important;
  }
  .nav-actions .hamburger {
    display: flex !important;
  }
  .hamburger {
    display: flex !important;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .dashboard-main {
    padding: 20px 16px;
  }
  .section {
    padding: 64px 0;
  }
  .section-header {
    margin-bottom: 44px;
  }
  .hero-arrow {
    display: none;
  }
  .hero-scroll-hint {
    display: none;
  }
  .contact-form {
    padding: 24px 18px;
  }
  .auth-card {
    padding: 32px 22px;
  }
}
@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .dash-stat-cards {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
