/* ══════════════════════════════════════════
   BlueDive TechLab — Production CSS
   Version: 1.0.0
══════════════════════════════════════════ */

/* ── RESET & ROOT ── */
:root {
  --navy: #050f2c;
  --navy-mid: #0a1a3e;
  --navy-light: #0f2456;
  --blue: #1155cc;
  --blue-bright: #1a7fe8;
  --cyan: #00d4ff;
  --cyan-dim: rgba(0,212,255,0.13);
  --white: #f0f4ff;
  --white-dim: rgba(240,244,255,0.62);
  --white-faint: rgba(240,244,255,0.07);
  --gold: #f5c842;
  --green: #00e5a0;
  --red: #ff4d6d;
  --card-bg: rgba(10,26,62,0.72);
  --border: rgba(0,212,255,0.16);
  --border-strong: rgba(0,212,255,0.38);
  --radius: 14px;
  --shadow: 0 8px 40px rgba(0,0,0,0.4);
  --nav-h: 68px;
  --max-w: 1280px;
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--navy); color: var(--white); overflow-x: hidden; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--blue-bright); border-radius: 3px; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 0; opacity: .45;
}

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800; line-height: 1.14; margin-bottom: 16px;
}
.section-sub {
  color: var(--white-dim); font-size: 1.05rem;
  max-width: 580px; font-weight: 300; line-height: 1.82;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }
.text-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--blue-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header { margin-bottom: 52px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 9px;
  font-weight: 600; font-size: .88rem;
  border: none; font-family: 'DM Sans', sans-serif;
  transition: all var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; box-shadow: 0 4px 18px rgba(26,127,232,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 26px rgba(26,127,232,.5); }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), #00aadd); color: var(--navy); font-weight: 700; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,212,255,.4); }
.btn-ghost { background: transparent; border: 1.5px solid var(--border-strong); color: var(--white-dim); }
.btn-ghost:hover { background: var(--white-faint); color: var(--white); border-color: var(--cyan); }
.btn-outline-cyan { background: transparent; border: 1.5px solid var(--cyan); color: var(--cyan); }
.btn-outline-cyan:hover { background: var(--cyan-dim); }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 11px; }
.btn-play-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; font-size: .65rem; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: var(--nav-h);
  background: rgba(5,15,44,.9); backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
nav.scrolled { background: rgba(5,15,44,.97); box-shadow: 0 4px 32px rgba(0,0,0,.5); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: #fff;
}
.logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem; background: linear-gradient(90deg, var(--white), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--white-dim); font-size: .88rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--cyan); }

.nav-cta { display: flex; gap: 10px; align-items: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--white-dim); border-radius: 2px; transition: all .3s; display: block; }
.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 Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: min(320px, 85vw); height: 100vh;
  background: var(--navy-mid); border-left: 1px solid var(--border);
  z-index: 1000; padding: 80px 24px 32px;
  transition: right .32s cubic-bezier(.4,0,.2,1);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-drawer a { display: block; padding: 12px 16px; border-radius: 9px; font-weight: 500; color: var(--white-dim); font-size: .95rem; transition: all var(--transition); }
.mobile-drawer a:hover { background: var(--white-faint); color: var(--white); }
.drawer-close { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.08); border: none; color: var(--white-dim); width: 34px; height: 34px; border-radius: 8px; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.drawer-close:hover { background: rgba(255,255,255,.15); color: var(--white); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 999; display: none; }
.drawer-overlay.show { display: block; }

/* ── HERO ── */
#hero { min-height: 100vh; padding: calc(var(--nav-h) + 60px) 5% 80px; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,212,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,.055) 1px, transparent 1px); background-size: 52px 52px; mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent); pointer-events: none; }
.hero-glow { position: absolute; top: -160px; right: -60px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(17,85,204,.28) 0%, transparent 65%); pointer-events: none; }
.hero-glow2 { position: absolute; bottom: -160px; left: -60px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,212,255,.12) 0%, transparent 65%); pointer-events: none; }

.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; max-width: var(--max-w); margin: 0 auto; width: 100%; position: relative; z-index: 1; }

.hero-badge { display: inline-flex; align-items: center; gap: 9px; background: rgba(0,212,255,.1); border: 1px solid rgba(0,212,255,.28); border-radius: 100px; padding: 7px 18px; font-size: .78rem; font-weight: 700; color: var(--cyan); margin-bottom: 26px; letter-spacing: .05em; text-transform: uppercase; }
.badge-pulse { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }

.hero-title { font-family: 'Syne', sans-serif; font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 800; line-height: 1.08; margin-bottom: 22px; }
.hero-subtitle { font-size: 1.1rem; color: var(--white-dim); max-width: 500px; margin-bottom: 36px; font-weight: 300; line-height: 1.82; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; gap: 0; flex-wrap: wrap; gap: 0; }
.stat-item { padding: 0 28px; }
.stat-item:first-child { padding-left: 0; }
.stat-number { font-family: 'Syne', sans-serif; font-size: 1.85rem; font-weight: 800; background: linear-gradient(90deg, var(--white), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: .78rem; color: var(--white-dim); margin-top: 3px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero visual */
.hero-visual { position: relative; }
.dashboard-preview { position: relative; border-radius: 20px; overflow: visible; }
.dash-img-wrap { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.dash-hero-img { width: 100%; height: 360px; object-fit: cover; display: block; }
.dash-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,44,.5) 0%, transparent 50%); border-radius: 20px; }

.float-card { position: absolute; background: rgba(10,26,62,.92); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 16px; backdrop-filter: blur(16px); display: flex; align-items: center; gap: 10px; white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,.4); animation: floatY 4s ease-in-out infinite; }
.fc-top-right { top: -18px; right: -18px; animation-delay: 0s; }
.fc-bottom-left { bottom: -18px; left: -18px; animation-delay: 1.3s; flex-direction: column; align-items: flex-start; }
.fc-bottom-right { bottom: 40px; right: -18px; animation-delay: 2.6s; }
.fc-icon { font-size: 1.2rem; }
.fc-text { font-size: .8rem; line-height: 1.5; }
.fc-text strong { font-size: .85rem; display: block; }
.fc-text span { color: var(--white-dim); }
.fc-bar { width: 120px; height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; margin-top: 6px; }
.fc-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

/* ── TRUST ── */
#trust { padding: 28px 5%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(10,26,62,.35); position: relative; z-index: 1; }
.trust-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; max-width: var(--max-w); margin: 0 auto; }
.trust-label { font-size: .78rem; color: var(--white-dim); font-weight: 500; white-space: nowrap; }
.trust-logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; justify-content: center; }
.trust-logo { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .9rem; color: rgba(240,244,255,.28); letter-spacing: .04em; transition: color var(--transition); }
.trust-logo:hover { color: rgba(240,244,255,.6); }

/* ── SECTIONS ── */
section { padding: 96px 5%; position: relative; z-index: 1; max-width: 100%; }
section > .section-header,
section > .courses-grid,
section > .features-split,
section > .steps-grid,
section > .instructors-grid,
section > .testimonials-grid,
section > .pricing-grid,
section > .pricing-callout,
section > .faq-list { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

#courses { background: rgba(5,10,28,.5); }
#features { }
#how { background: rgba(5,10,28,.6); }
#instructors { background: rgba(10,20,50,.4); }
#testimonials { }
#pricing { background: rgba(5,10,28,.6); }
#faq { background: rgba(10,20,50,.4); }
#cta { background: linear-gradient(135deg, rgba(17,85,204,.18), rgba(0,212,255,.08)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 5%; }

/* ── COURSES GRID ── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr)); gap: 24px; }

.course-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); backdrop-filter: blur(14px); }
.course-card:hover { transform: translateY(-7px); box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px var(--cyan); border-color: var(--cyan); }

.cc-banner { height: 170px; position: relative; overflow: hidden; }
.cc-banner-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.course-card:hover .cc-banner-img { transform: scale(1.06); }
.cc-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,15,44,.9) 0%, rgba(5,15,44,.3) 100%); }
.cc-banner-content { position: absolute; bottom: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; }
.cc-icon { font-size: 1.8rem; }
.cc-dept { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; }

.cc-body { padding: 20px; }
.cc-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.04rem; margin-bottom: 8px; }
.cc-desc { font-size: .85rem; color: var(--white-dim); line-height: 1.72; margin-bottom: 14px; }
.cc-meta { display: flex; gap: 14px; font-size: .76rem; color: var(--white-dim); margin-bottom: 14px; flex-wrap: wrap; }
.cc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { font-size: .7rem; padding: 3px 10px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: var(--white-dim); }
.cc-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; }
.cc-price small { display: block; font-size: .68rem; color: var(--white-dim); line-height: 1.2; }
.price-amount { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--cyan); }
.or-plan { color: var(--white-dim); font-size: .72rem; }

/* Banner colors */
.color-blue { background: linear-gradient(135deg,#0a2a6e,#1a5fc8); }
.color-teal { background: linear-gradient(135deg,#004d5c,#00b8d4); }
.color-purple { background: linear-gradient(135deg,#2d0a6e,#7c3aed); }
.color-red { background: linear-gradient(135deg,#5c0a1a,#e53e3e); }
.color-green { background: linear-gradient(135deg,#0a3d20,#10b981); }
.color-orange { background: linear-gradient(135deg,#4a1500,#f97316); }

.dept-blue { background:rgba(26,95,200,.2);color:#7db3f7; }
.dept-teal { background:rgba(0,184,212,.15);color:#00d4f5; }
.dept-purple { background:rgba(124,58,237,.2);color:#c084fc; }
.dept-red { background:rgba(229,62,62,.2);color:#fc8181; }
.dept-green { background:rgba(16,185,129,.2);color:#6ee7b7; }
.dept-orange { background:rgba(249,115,22,.2);color:#fdba74; }

/* ── FEATURES ── */
.features-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.features-img-col { position: relative; }
.features-main-img { width: 100%; border-radius: 20px; box-shadow: 0 24px 80px rgba(0,0,0,.5); border: 1px solid var(--border); object-fit: cover; height: 480px; }
.features-img-badge { position: absolute; bottom: -20px; right: -20px; background: var(--card-bg); border: 1px solid var(--border-strong); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(14px); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.fib-icon { font-size: 2rem; }
.fib-val { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--cyan); }
.fib-lbl { font-size: .78rem; color: var(--white-dim); }

.features-list-col { display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 16px; padding: 20px; border-radius: 12px; border: 1px solid transparent; transition: border-color var(--transition), background var(--transition); }
.feature-item:hover { border-color: var(--border); background: var(--white-faint); }
.fi-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.fi-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .98rem; margin-bottom: 6px; }
.fi-desc { font-size: .86rem; color: var(--white-dim); line-height: 1.72; }

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 24px; }
.step-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: transform var(--transition), border-color var(--transition); backdrop-filter: blur(12px); position: relative; overflow: hidden; }
.step-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.step-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step-card:hover::before { transform: scaleX(1); }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--cyan); opacity: .7; margin-bottom: 14px; letter-spacing: .08em; }
.step-icon { font-size: 2.2rem; margin-bottom: 16px; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .98rem; margin-bottom: 10px; }
.step-desc { font-size: .86rem; color: var(--white-dim); line-height: 1.75; }

/* ── INSTRUCTORS ── */
.instructors-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 22px; }
.instructor-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), border-color var(--transition); backdrop-filter: blur(12px); }
.instructor-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.instr-img-wrap { height: 180px; overflow: hidden; }
.instr-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.instructor-card:hover .instr-img { transform: scale(1.05); }
.instr-body { padding: 18px; }
.instr-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .98rem; margin-bottom: 4px; }
.instr-role { font-size: .78rem; color: var(--cyan); margin-bottom: 10px; font-weight: 600; }
.instr-bio { font-size: .82rem; color: var(--white-dim); line-height: 1.68; margin-bottom: 12px; }
.instr-tags { display: flex; gap: 5px; flex-wrap: wrap; }

/* ── TESTIMONIALS ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 22px; }
.testi-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(12px); transition: border-color var(--transition); }
.testi-card:hover { border-color: var(--border-strong); }
.testi-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .9rem; }
.testi-meta { font-size: .76rem; color: var(--white-dim); margin-top: 2px; }
.testi-stars { color: var(--gold); font-size: .85rem; letter-spacing: 2px; margin-left: auto; }
.testi-text { font-size: .88rem; color: var(--white-dim); line-height: 1.78; font-style: italic; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 24px; max-width: 880px; }
.plan-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 32px; backdrop-filter: blur(14px); position: relative; transition: transform var(--transition); }
.plan-card.featured { border-color: var(--cyan); box-shadow: 0 0 40px rgba(0,212,255,.14); }
.plan-card:hover { transform: translateY(-5px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg,var(--blue),var(--cyan)); color: var(--navy); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 5px 20px; border-radius: 100px; white-space: nowrap; }
.plan-name { font-family: 'Syne', sans-serif; font-weight: 600; font-size: .9rem; color: var(--white-dim); margin-bottom: 10px; }
.plan-price { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.8rem; color: var(--white); line-height: 1; margin-bottom: 8px; }
.plan-currency { font-size: 1.4rem; color: var(--cyan); vertical-align: top; margin-top: 8px; display: inline-block; }
.plan-per { font-size: 1rem; color: var(--white-dim); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.plan-note { font-size: .82rem; color: var(--white-dim); margin-bottom: 26px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 26px; }
.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.plan-features li { font-size: .87rem; color: var(--white-dim); display: flex; align-items: flex-start; gap: 10px; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; margin-top: 1px; flex-shrink: 0; }

.pricing-callout { text-align: center; background: linear-gradient(135deg,rgba(17,85,204,.14),rgba(0,212,255,.09)); border: 1px solid rgba(0,212,255,.22); border-radius: 18px; padding: 48px 32px; margin-top: 48px; }
.pc-text { font-size: 1.1rem; color: var(--white-dim); margin-bottom: 14px; }
.pc-price { font-family: 'Syne', sans-serif; font-size: 3.2rem; font-weight: 800; color: var(--cyan); margin-bottom: 8px; }
.pc-courses { font-size: .84rem; color: var(--white-dim); max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(10px); transition: border-color var(--transition); }
.faq-item[data-open="true"] { border-color: var(--cyan); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: .94rem; font-weight: 600; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-arrow { color: var(--cyan); font-size: 1.1rem; transition: transform .3s; flex-shrink: 0; }
.faq-item[data-open="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .36s ease, padding .3s; padding: 0 24px; }
.faq-item[data-open="true"] .faq-a { max-height: 300px; padding: 0 24px 22px; }
.faq-a p { font-size: .87rem; color: var(--white-dim); line-height: 1.82; }

/* ── CTA ── */
.cta-inner { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; max-width: var(--max-w); margin: 0 auto; }
.cta-title { font-family: 'Syne', sans-serif; font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-sub { color: var(--white-dim); font-size: 1.05rem; margin-bottom: 28px; line-height: 1.78; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-image { border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.cta-img { width: 100%; height: 300px; object-fit: cover; }

/* ── FOOTER ── */
footer { background: var(--navy-mid); border-top: 1px solid var(--border); padding: 64px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; background: linear-gradient(90deg,var(--white),var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer-about { font-size: .85rem; color: var(--white-dim); line-height: 1.8; max-width: 280px; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .88rem; color: var(--white-dim); transition: all var(--transition); }
.social-btn:hover { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); }
.footer-col-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .88rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .84rem; color: var(--white-dim); transition: color var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 24px; flex-wrap: wrap; gap: 12px; max-width: var(--max-w); margin: 0 auto; }
.footer-copy { font-size: .78rem; color: var(--white-dim); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .78rem; color: var(--white-dim); transition: color var(--transition); }
.footer-legal a:hover { color: var(--cyan); }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,10,28,.92); backdrop-filter: blur(10px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .28s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--navy-mid); border: 1px solid var(--border-strong); border-radius: 20px; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; padding: 40px; position: relative; transform: translateY(28px); transition: transform .28s; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.08); border: none; color: var(--white-dim); width: 34px; height: 34px; border-radius: 8px; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: rgba(255,255,255,.16); color: var(--white); }

/* Modal steps */
.modal-steps { display: flex; margin-bottom: 28px; }
.ms-step { flex: 1; text-align: center; position: relative; }
.ms-step::after { content: ''; position: absolute; top: 13px; left: 50%; right: -50%; height: 2px; background: var(--border); z-index: 0; }
.ms-step:last-child::after { display: none; }
.ms-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--navy); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: .74rem; font-weight: 700; color: var(--white-dim); position: relative; z-index: 1; transition: all .3s; }
.ms-step.active .ms-dot { border-color: var(--cyan); background: var(--cyan); color: var(--navy); }
.ms-step.done .ms-dot { border-color: var(--green); background: var(--green); color: var(--navy); }
.ms-label { font-size: .72rem; color: var(--white-dim); }
.ms-step.active .ms-label { color: var(--cyan); font-weight: 600; }

.modal-title { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.55rem; margin-bottom: 6px; }
.modal-sub { color: var(--white-dim); font-size: .88rem; margin-bottom: 24px; }

.step-panel { display: none; }
.step-panel.active { display: block; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--white-dim); margin-bottom: 6px; letter-spacing: .02em; }
.form-input, .form-select, .form-textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; color: var(--white); font-family: 'DM Sans', sans-serif; font-size: .9rem; transition: border-color var(--transition), box-shadow var(--transition); outline: none; appearance: none; }
.form-input:focus, .form-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,.12); }
.form-select option { background: var(--navy-mid); }
.form-input.error { border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { background: rgba(255,77,109,.1); border: 1px solid rgba(255,77,109,.3); border-radius: 8px; padding: 12px 16px; color: var(--red); font-size: .86rem; margin-bottom: 16px; }

.pw-wrap { position: relative; }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--white-dim); font-size: .95rem; padding: 2px; }
.pw-strength { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.pw-strength-fill { height: 100%; border-radius: 2px; width: 0; transition: width .3s, background .3s; }

.recaptcha-notice { font-size: .72rem; color: rgba(240,244,255,.35); margin-bottom: 16px; }
.recaptcha-notice a { color: rgba(240,244,255,.5); text-decoration: underline; }

/* Payment toggle */
.payment-toggle { display: flex; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.pt-opt { flex: 1; padding: 12px; text-align: center; font-size: .84rem; font-weight: 600; color: var(--white-dim); border: none; background: transparent; font-family: 'DM Sans', sans-serif; transition: all var(--transition); }
.pt-opt.active { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; }

.plan-summary { background: rgba(0,212,255,.06); border: 1px solid rgba(0,212,255,.18); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.ps-row { display: flex; justify-content: space-between; font-size: .87rem; color: var(--white-dim); margin-bottom: 8px; }
.ps-row.ps-total { color: var(--white); font-weight: 600; font-size: .98rem; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 6px; margin-bottom: 0; }
.ps-row.ps-total span:last-child { color: var(--cyan); font-family: 'JetBrains Mono', monospace; }

.plan-detail-box { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 16px; font-size: .85rem; color: var(--white-dim); line-height: 1.8; margin-bottom: 20px; }
.plan-detail-box strong { color: var(--white); }

.payment-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pm-btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1.5px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); color: var(--white-dim); font-family: 'DM Sans', sans-serif; font-size: .88rem; font-weight: 500; transition: all var(--transition); text-align: left; }
.pm-btn small { color: var(--white-dim); font-size: .76rem; margin-left: 4px; }
.pm-btn.active { border-color: var(--cyan); background: var(--cyan-dim); color: var(--white); }
.pm-btn:hover { border-color: var(--border-strong); }

.security-badge { display: flex; align-items: flex-start; gap: 10px; font-size: .78rem; color: var(--white-dim); background: rgba(0,229,160,.06); border: 1px solid rgba(0,229,160,.18); border-radius: 8px; padding: 12px; margin-bottom: 20px; line-height: 1.65; }

.step-actions { display: flex; gap: 12px; }
.step-actions .btn:first-child { flex: 1; justify-content: center; }
.step-actions .btn:last-child { flex: 2; justify-content: center; }

/* Success */
.success-screen { text-align: center; padding: 16px 0; }
.success-icon { font-size: 4rem; margin-bottom: 18px; animation: bounceIn .6s ease; }
.success-title { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.success-msg { color: var(--white-dim); line-height: 1.8; font-size: .92rem; }

/* Toast */
.toast { position: fixed; bottom: 26px; right: 26px; background: var(--navy-mid); border: 1px solid var(--border-strong); border-radius: 12px; padding: 14px 20px; font-size: .86rem; z-index: 3000; transform: translateY(90px); transition: transform .3s; max-width: 300px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateY(0); }
.toast-icon { font-size: 1rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeRight { from { opacity:0; transform:translateX(-18px); } to { opacity:1; transform:translateX(0); } }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
@keyframes floatY { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@keyframes bounceIn { 0%{transform:scale(.5);opacity:0;} 70%{transform:scale(1.1);} 100%{transform:scale(1);opacity:1;} }

[data-animate] { opacity: 0; }
[data-animate="fadeUp"].visible { animation: fadeUp .7s ease forwards; }
[data-animate="fadeIn"].visible { animation: fadeIn .8s ease forwards; }
[data-animate="fadeRight"].visible { animation: fadeRight .6s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width:1100px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 640px; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .features-split { grid-template-columns: 1fr; }
  .features-img-col { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-image { display: none; }
}

@media (max-width:900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width:640px) {
  section { padding: 70px 4%; }
  .courses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-direction: column; align-items: center; }
  .stat-divider { width: 40px; height: 1px; }
  .modal { padding: 28px 20px; }
  .plan-card { padding: 28px 22px; }
}

/* ══════════════════════════════════════════
   TEAM GROUP PHOTO SECTION  (#team-photo)
══════════════════════════════════════════ */

#team-photo {
  background: rgba(10,20,50,.4);
}

#team-photo > .section-header,
#team-photo > .team-photo-wrap {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

/* The bordered frame that holds the image */
.team-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  background: transparent;
  /* Hide the frame entirely when the image inside has no src */
  line-height: 0;
}

/* Hide the frame box when image src is empty — no broken border shown to visitors */
.team-photo-frame:has(img[src=""]),
.team-photo-frame:has(img:not([src])) {
  display: none;
}

/* When frame is hidden, also hide the whole section header */
#team-photo:has(.team-photo-frame:not([style*="display: none"]) img[src=""]) .section-header {
  display: none;
}

/* The actual team group image */
.team-group-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* ── ADMIN UPLOAD STYLES (used only inside admin panel) ── */
.admin-team-upload-area {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--white-faint);
  position: relative;
}
.admin-team-upload-area:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,.05);
}
.admin-team-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.atu-icon  { font-size: 2.8rem; margin-bottom: 12px; }
.atu-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.atu-hint  { font-size: .82rem; color: var(--white-dim); }

.admin-team-preview {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: none;
  margin-top: 16px;
}

/* Nav About link highlight */
.nav-about-link {
  color: var(--cyan) !important;
}

@media (max-width: 640px) {
  .team-group-img { max-height: 280px; }
}
