/* ============================================================
   PhysicsNP Landing — Professional v3
   Inter body · Sora display · Indigo + Amber palette
   ============================================================ */

/* ── Nav ─────────────────────────────────────────────────── */
.lnav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  justify-content: space-between; padding: 0 2rem;
  background: var(--glass); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow .3s, background .3s;
}
.lnav.scrolled { box-shadow: var(--shadow-sm); }

/* Logo — 80px wide, no border, no box-shadow */
.lbrand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.lbrand-logo { width: 80px; height: auto; display: block; }

.lnav-links { display: flex; gap: .1rem; list-style: none; }
.lnav-links a {
  padding: .48rem .95rem; border-radius: var(--r-pill);
  font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; transition: color .15s, background .15s;
  letter-spacing: -.01em;
}
.lnav-links a:hover { color: var(--brand); background: rgba(99,102,241,.07); }

.lnav-actions { display: flex; align-items: center; gap: .6rem; }

/* Sliding theme toggle */
.theme-slider {
  width: 50px; height: 27px; border-radius: 14px; flex-shrink: 0;
  background: var(--surface-3); border: 1.5px solid var(--glass-border);
  cursor: pointer; position: relative;
  transition: background .3s, border-color .3s; display: inline-flex; align-items: center;
}
.theme-slider[data-theme="dark"] { background: rgba(99,102,241,.22); border-color: var(--brand); }
.theme-slider .ts-knob {
  position: absolute; left: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--ink-soft);
  transition: left .3s var(--ease-snap), background .3s, color .3s;
}
.theme-slider[data-theme="dark"] .ts-knob { left: 26px; background: var(--brand); color: #fff; }

.lburger {
  display: none; flex-direction: column; gap: 5px; width: 28px;
  cursor: pointer; background: none; border: none; padding: 0;
}
.lburger span { height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s; display: block; }
.lburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lburger.active span:nth-child(2) { opacity: 0; }
.lburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lmobile-menu {
  position: fixed; inset: 0; z-index: 190; background: var(--bg);
  padding: calc(var(--nav-h) + 1.25rem) 1.5rem 2.5rem;
  transform: translateX(100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; gap: .35rem; overflow-y: auto;
}
.lmobile-menu.open { transform: none; }
.lmobile-menu a {
  padding: .85rem 1.1rem; font-size: .975rem; font-weight: 600;
  border-radius: var(--r-md); text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: .75rem; transition: background .15s;
}
.lmobile-menu a:not(.btn):hover { background: var(--surface-3); }
.lmobile-menu a i { color: var(--brand); width: 18px; text-align: center; font-size: .9rem; }

@media (max-width: 860px) { .lnav-links { display: none; } .lburger { display: flex; } }
@media (max-width: 640px)  { .lnav { padding: 0 1.25rem; } }

/* ── Page wrap ───────────────────────────────────────────── */
.page-wrap { overflow-x: hidden; }

/* ── Reveal animations ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }

/* ── Section helpers ─────────────────────────────────────── */
.sec    { padding: 6rem 0; position: relative; z-index: 1; }
.sec-sm { padding: 3.5rem 0; position: relative; z-index: 1; }
@media (max-width: 768px) { .sec { padding: 3.5rem 0; } .sec-sm { padding: 2.5rem 0; } }

.sec-eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); margin-bottom: .7rem; display: flex; align-items: center; gap: 8px;
}
.sec-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-title {
  font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: -.04em;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: .75rem; line-height: 1.15;
}
.sec-sub { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.72; max-width: 580px; }
.sec-head { margin-bottom: 3rem; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-eyebrow { justify-content: center; }
.sec-head.center .sec-sub { margin: 0 auto; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 5rem;
  position: relative; z-index: 1;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.18);
  border-radius: var(--r-pill); padding: 5px 14px;
  font-size: .73rem; font-weight: 700; color: var(--brand); margin-bottom: 1.5rem;
  animation: fadeSlideUp .5s var(--ease) both;
}
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0;
  animation: blink 2.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
  font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: -.05em;
  font-size: clamp(2.8rem, 5.8vw, 4.6rem); line-height: 1.02;
  margin-bottom: 1.35rem;
  animation: fadeSlideUp .6s .08s var(--ease) both;
}
.hero-h1 .line2 {
  display: block;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem; color: var(--ink-soft); line-height: 1.75;
  max-width: 500px; margin-bottom: 2.25rem;
  animation: fadeSlideUp .6s .16s var(--ease) both;
}
.hero-actions {
  display: flex; gap: .85rem; flex-wrap: wrap; margin-bottom: 2.75rem;
  animation: fadeSlideUp .6s .24s var(--ease) both;
}

.hero-stats {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  animation: fadeSlideUp .6s .32s var(--ease) both;
}
.hstat-val {
  font-family: 'Sora', sans-serif; font-size: 1.7rem; font-weight: 700; letter-spacing: -.04em;
  color: var(--ink);
}
.hstat-lbl { font-size: .73rem; color: var(--ink-faint); font-weight: 500; margin-top: 1px; }
.hstat-div { width: 1px; height: 32px; background: var(--glass-border); flex-shrink: 0; }

/* ── Hero visual — physics-inspired floating cards ── */
.hero-visual {
  position: relative; height: 500px;
  animation: fadeSlideUp .7s .1s var(--ease) both;
}
/* Concentric orbit rings */
.hv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--glass-border);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.hv-ring-1 { width: 360px; height: 360px; border-color: rgba(99,102,241,.15); animation: spinRing 28s linear infinite; }
.hv-ring-2 { width: 490px; height: 490px; border-color: rgba(245,158,11,.10); animation: spinRing 40s linear infinite reverse; border-style: dashed; }
@keyframes spinRing { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Orbit dots */
.hv-dot { position: absolute; border-radius: 50%; z-index: 2; }
.hv-dot-1 { width: 10px; height: 10px; background: var(--brand); box-shadow: 0 0 12px rgba(99,102,241,.7); animation: orbit1 28s linear infinite; top:50%; left:50%; }
.hv-dot-2 { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 10px rgba(245,158,11,.7); animation: orbit2 40s linear infinite reverse; top:50%; left:50%; }
@keyframes orbit1 { from{transform:rotate(0deg) translateX(180px)} to{transform:rotate(360deg) translateX(180px)} }
@keyframes orbit2 { from{transform:rotate(0deg) translateX(245px)} to{transform:rotate(360deg) translateX(245px)} }

/* Floating glass cards */
.hv-card {
  position: absolute; border-radius: var(--r-lg);
  background: var(--glass); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-pop);
  padding: 1.25rem 1.35rem;
}
.hv-card-a { width: 280px; top: 60px;  left: 0;   animation: floatA 7s ease-in-out infinite; z-index: 4; }
.hv-card-b { width: 175px; top: 20px;  right: 20px; animation: floatB 5.5s ease-in-out infinite; z-index: 3; }
.hv-card-c { width: 215px; bottom: 40px; right: 10px; animation: floatA 8.5s .8s ease-in-out infinite; z-index: 3; }
@keyframes floatA { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-16px) rotate(-1deg)} }
@keyframes floatB { 0%,100%{transform:translateY(0) rotate(2deg)} 50%{transform:translateY(-10px) rotate(2deg)} }

.hvc-label { font-size: .62rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 1px; margin-bottom: .55rem; }
.hvc-title { font-weight: 700; font-size: .95rem; margin-bottom: .25rem; line-height: 1.3; }
.hvc-sub   { font-size: .73rem; color: var(--ink-soft); margin-bottom: .8rem; }
.hvc-bar   { height: 4px; background: var(--glass-border); border-radius: 4px; overflow: hidden; }
.hvc-fill  { height: 100%; border-radius: 4px; background: var(--brand); }
.hvc-foot  { font-size: .65rem; color: var(--ink-faint); margin-top: .35rem; }
.hvc-eq    { font-family: 'JetBrains Mono', monospace; font-size: 1.5rem; font-weight: 600; color: var(--brand); text-align: center; padding: .4rem 0 .3rem; }
.hvc-prog  { margin-bottom: .45rem; }
.hvc-prog-row { display: flex; justify-content: space-between; font-size: .68rem; margin-bottom: 3px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 2rem) 0 3.5rem; }
}

/* ── Marquee ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; position: relative; padding: 1.1rem 0;
  border-block: 1px solid var(--glass-border); background: var(--surface);
}
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; height: 100%; width: 100px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scrollX 30s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item { display: flex; align-items: center; gap: 7px; font-size: .875rem; font-weight: 600; color: var(--ink-faint); white-space: nowrap; }
.marquee-item i { color: var(--brand); font-size: .8rem; }

/* ── Stat strip ──────────────────────────────────────────── */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: .85rem; }
.stat-box {
  text-align: center; padding: 2rem 1rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--glass-border); box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.stat-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.stat-num {
  font-family: 'Sora', sans-serif; font-size: 2.25rem; font-weight: 700;
  letter-spacing: -.04em; color: var(--ink); line-height: 1;
}
.stat-num span { color: var(--brand); }
.stat-lbl { font-size: .75rem; color: var(--ink-faint); font-weight: 500; margin-top: .45rem; }
@media (max-width:640px) { .stat-strip { grid-template-columns: repeat(2,1fr); } }

/* ── Feature bento ───────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: 200px 200px;
  gap: .85rem;
}
.bento-item {
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  background: var(--surface); padding: 1.75rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(99,102,241,.22); }
.bento-1 { grid-column: span 2; grid-row: span 2; justify-content: space-between; }
.bento-2 { grid-column: span 2; }
.bento-3 { grid-column: span 1; }
.bento-4 { grid-column: span 1; }
.bento-glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(var(--brand), transparent 70%);
  filter: blur(60px); opacity: .12; top: -80px; right: -60px; pointer-events: none;
}
.bento-1 .bento-glow { background: radial-gradient(var(--accent), transparent 70%); }
.bento-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
  background: rgba(99,102,241,.1); color: var(--brand);
}
.bento-1 .bento-icon { color: var(--accent); background: rgba(245,158,11,.1); }
.bento-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.02em; }
.bento-item p  { font-size: .84rem; color: var(--ink-soft); line-height: 1.65; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2,1fr); grid-template-rows: auto; } .bento-1,.bento-2 { grid-column: span 2; } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } .bento-1,.bento-2,.bento-3,.bento-4 { grid-column: span 1; } .bento-item { min-height: 160px; } }

/* ── Courses ─────────────────────────────────────────────── */
.courses-hd {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem;
}
.course-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
@media (max-width:860px){ .course-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:540px){ .course-grid { grid-template-columns: 1fr; } }

.course-card {
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  text-decoration: none;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(99,102,241,.25); }
.course-banner {
  height: 172px; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.course-banner img { position: absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.course-banner > i { font-size: 3rem; opacity: .65; z-index: 1; color: var(--brand); }
.course-badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .35rem; z-index: 2; }
.cbadge {
  font-size: .62rem; font-weight: 700; padding: 3px 9px;
  border-radius: var(--r-pill); letter-spacing: .2px;
}
.cbadge-level { background: rgba(99,102,241,.18); color: var(--brand); border: 1px solid rgba(99,102,241,.28); }
.cbadge-board { background: rgba(245,158,11,.16); color: var(--accent-dark); border: 1px solid rgba(245,158,11,.28); }

.course-body { padding: 1.15rem 1.2rem 1.3rem; }
.course-title { font-size: .92rem; font-weight: 700; line-height: 1.4; margin-bottom: .55rem; color: var(--ink); letter-spacing: -.01em; }
.course-meta { display: flex; gap: 1rem; font-size: .74rem; color: var(--ink-faint); font-weight: 500; }
.course-meta i { margin-right: 3px; }
.fa-star { color: #f59e0b; }

/* ── Steps ───────────────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; position: relative; }
.steps-row::before {
  content: ''; position: absolute; top: 38px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 1px; background: var(--glass-border); pointer-events: none;
}
.step-card {
  padding: 1.75rem 1.4rem; border-radius: var(--r-lg);
  border: 1px solid var(--glass-border); background: var(--surface); position: relative;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 700;
  background: var(--surface-3); color: var(--ink); border: 1px solid var(--glass-border);
  flex-shrink: 0; z-index: 1; position: relative;
}
.step-card:nth-child(1) .step-num { background: var(--brand); color: #fff; border-color: var(--brand); }
.step-card h4 { font-size: .98rem; font-weight: 700; margin-bottom: .45rem; letter-spacing: -.02em; }
.step-card p  { font-size: .84rem; color: var(--ink-soft); line-height: 1.65; }
@media (max-width:768px) { .steps-row { grid-template-columns: 1fr; } .steps-row::before { display: none; } }

/* ── Testimonials ────────────────────────────────────────── */
.testi-track {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .6rem; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-xs);
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--accent); font-size: .8rem; display: flex; gap: 2px; margin-bottom: .75rem; }
.testi-quote { font-size: .875rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .85rem;
}
.testi-name { font-size: .84rem; font-weight: 700; }
.testi-role { font-size: .7rem; color: var(--ink-faint); }

/* ── CTA block ───────────────────────────────────────────── */
.cta-block {
  border-radius: var(--r-xl); padding: 5rem 2rem; text-align: center;
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(245,158,11,.05));
  border: 1px solid rgba(99,102,241,.14); position: relative; overflow: hidden;
}
.cta-glow-l, .cta-glow-r {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  filter: blur(80px); opacity: .15; pointer-events: none;
}
.cta-glow-l { background: var(--brand); top: -140px; left: -100px; }
.cta-glow-r { background: var(--accent); bottom: -140px; right: -100px; }
.cta-label {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(99,102,241,.10); border: 1px solid rgba(99,102,241,.20);
  border-radius: var(--r-pill); padding: 5px 14px;
  font-size: .72rem; font-weight: 700; color: var(--brand); margin-bottom: 1.25rem;
  position: relative; z-index: 1;
}
.cta-block h2 {
  font-family: 'Sora', sans-serif; font-size: clamp(1.8rem,4vw,3rem);
  font-weight: 700; letter-spacing: -.05em; margin-bottom: .75rem;
  position: relative; z-index: 1;
}
.cta-block p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 2rem; line-height: 1.72; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── Footer ──────────────────────────────────────────────── */
.lfoot { border-top: 1px solid var(--glass-border); padding: 4rem 0 2rem; position: relative; z-index: 1; }
.lfoot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

/* Logo — 80px, no border */
.lfoot-logo { width: 80px; height: auto; display: block; margin-bottom: 1rem; }

.lfoot-brand-col p { font-size: .84rem; color: var(--ink-soft); line-height: 1.7; max-width: 260px; margin-bottom: 1.25rem; }
.lfoot-social { display: flex; gap: .5rem; }
.lfoot-social a {
  width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3);
  border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: .82rem; text-decoration: none; transition: all .2s;
}
.lfoot-social a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.lfoot h5 { font-size: .8rem; font-weight: 700; margin-bottom: 1rem; color: var(--ink); letter-spacing: .5px; text-transform: uppercase; }
.lfoot ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.lfoot a { font-size: .845rem; color: var(--ink-soft); text-decoration: none; transition: color .15s; }
.lfoot a:hover { color: var(--brand); }

.lfoot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.75rem; border-top: 1px solid var(--glass-border);
  font-size: .78rem; color: var(--ink-faint); flex-wrap: wrap; gap: .5rem;
}
@media (max-width: 768px) { .lfoot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .lfoot-grid { grid-template-columns: 1fr; } }
