/* ═══════════════════════════════════════════════════════════════
   VIANMAX ACADEMY 2026 — Dark Fintech Design System (Shared)
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg:          #05070d;
  --bg-2:        #0a0f1e;
  --surface:     #0d1426;
  --surface-2:   #111a30;
  --surface-3:   #162040;
  --border:      #1e2d50;
  --border-2:    #253660;
  --primary:     #1a65c7;
  --primary-2:   #1558b0;
  --primary-glow:rgba(26,101,199,.25);
  --accent:      #f97316;
  --accent-2:    #ea6b06;
  --accent-glow: rgba(249,115,22,.2);
  --green:       #10b981;
  --green-glow:  rgba(16,185,129,.2);
  --cyan:        #06b6d4;
  --purple:      #8b5cf6;
  --red:         #ef4444;
  --amber:       #f59e0b;
  --text:        #e2e8f0;
  --text-2:      #94a3b8;
  --text-3:      #4a5568;
  --white:       #ffffff;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Plus Jakarta Sans', sans-serif;
  --sans: 'Inter', sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  padding: .65rem 1.5rem; border-radius: var(--radius);
  cursor: pointer; transition: all .2s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 4px 20px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); box-shadow: 0 6px 28px var(--primary-glow); }
.btn-accent  { background: var(--accent); color: var(--white); border-color: var(--accent); box-shadow: 0 4px 20px var(--accent-glow); }
.btn-accent:hover  { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 28px var(--accent-glow); }
.btn-ghost   { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover   { border-color: var(--text-2); color: var(--white); background: var(--surface-2); }
.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }

/* ── Section helpers ── */
.section-py { padding: 5.5rem 0; }
.section-py-sm { padding: 3.5rem 0; }
.text-center { text-align: center; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); margin-bottom: .85rem; }
.eyebrow::before { content: '— '; }
.section-title { font-family: var(--display); font-size: clamp(1.9rem, 3.5vw, 2.65rem); font-weight: 800; line-height: 1.15; color: var(--text); margin-bottom: 1rem; }
.section-title em { font-style: normal; color: var(--accent); }
.section-title .grad { background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-desc { font-size: 1rem; color: var(--text-2); max-width: 560px; line-height: 1.75; }
.section-header-wrap { margin-bottom: 3.5rem; }
.section-header-wrap.center { text-align: center; }
.section-header-wrap.center .section-desc { margin: 0 auto; }

/* ── Utilities ── */
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-glow); animation: pulse-dot 1.8s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 3px var(--green-glow); } 50% { box-shadow: 0 0 0 6px rgba(16,185,129,.08); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ══ NAVBAR ══ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 68px;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.navbar.scrolled { background: rgba(10,15,30,.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--border); }
.navbar-inner { display: flex; align-items: center; gap: 1rem; height: 68px; }
.navbar-logo img { height: 52px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: .25rem; margin-left: 2.5rem; }
.nav-link { font-size: .85rem; font-weight: 500; color: var(--text-2); padding: .45rem .85rem; border-radius: 8px; transition: color .15s, background .15s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
.nav-link.special { color: var(--accent); }
.navbar-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all .2s; }

/* ── Mobile nav ── */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1001; backdrop-filter: blur(4px); }
.mobile-overlay.open { display: block; }
.mobile-nav { position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: var(--surface); border-left: 1px solid var(--border); z-index: 1002; padding: 5rem 1.5rem 2rem; transition: right .3s var(--ease); display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav.open { right: 0; }
.mobile-nav-close { position: absolute; top: 1.25rem; right: 1.25rem; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); width: 36px; height: 36px; border-radius: 8px; cursor: pointer; font-size: .9rem; display: flex; align-items: center; justify-content: center; }
.mobile-nav .nav-link { display: block; padding: .75rem 1rem; border-radius: 10px; font-size: .95rem; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 8rem 0 5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #05070d 0%, #0a0f1e 60%, #0d1a35 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .12;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .page-hero-desc { font-size: 1.05rem; color: var(--text-2); line-height: 1.8; max-width: 580px; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--text-3); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--text-2); }
.breadcrumb span { color: var(--text-3); }

/* ══ FOOTER ══ */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 48px; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: var(--text-2); line-height: 1.75; max-width: 280px; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social-btn { width: 34px; height: 34px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: .8rem; transition: all .15s; }
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.footer-col h5 { font-family: var(--display); font-size: .88rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col li a { font-size: .83rem; color: var(--text-2); transition: color .15s; }
.footer-col li a:hover { color: var(--text); }
.footer-contact-item { display: flex; align-items: flex-start; gap: .6rem; font-size: .83rem; color: var(--text-2); margin-bottom: .7rem; }
.footer-contact-item i { color: var(--primary); margin-top: .15rem; flex-shrink: 0; font-size: .8rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .8rem; color: var(--text-3); }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: .8rem; color: var(--text-3); transition: color .15s; }
.footer-legal a:hover { color: var(--text-2); }

/* ══ COURSE CARDS (shared) ══ */
.course-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: all .25s var(--ease); display: flex; flex-direction: column; }
.course-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.course-thumb { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.thumb-1 { background: linear-gradient(135deg, #0f2a5c, #1a65c7); }
.thumb-2 { background: linear-gradient(135deg, #1a0a3d, #7c3aed); }
.thumb-3 { background: linear-gradient(135deg, #0f3020, #059669); }
.thumb-4 { background: linear-gradient(135deg, #2d1a00, #d97706); }
.thumb-5 { background: linear-gradient(135deg, #0d2d2d, #0891b2); }
.thumb-6 { background: linear-gradient(135deg, #1e0a3d, #4f46e5); }
.thumb-7 { background: linear-gradient(135deg, #2d0a0a, #dc2626); }
.thumb-8 { background: linear-gradient(135deg, #0d2020, #0f766e); }
.course-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.3) 100%); }
.course-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.course-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .85rem; }
.ctag { font-family: var(--mono); font-size: .62rem; font-weight: 700; padding: .18rem .55rem; border-radius: 20px; }
.ctag-beg  { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.2); }
.ctag-int  { background: rgba(26,101,199,.12); color: var(--primary); border: 1px solid rgba(26,101,199,.2); }
.ctag-adv  { background: rgba(249,115,22,.1); color: var(--accent); border: 1px solid rgba(249,115,22,.2); }
.ctag-gen  { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); }
.course-card h3 { font-family: var(--display); font-size: 1rem; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: .6rem; }
.course-card p { font-size: .83rem; color: var(--text-2); line-height: 1.65; flex: 1; margin-bottom: 1rem; }
.course-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .75rem; color: var(--text-2); margin-bottom: 1rem; padding-top: .85rem; border-top: 1px solid var(--border); }
.course-meta span { display: flex; align-items: center; gap: .35rem; }
.course-meta i { color: var(--text-3); font-size: .7rem; }
.course-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.course-price { font-family: var(--display); font-weight: 800; font-size: 1.1rem; color: var(--text); }
.course-price .old { text-decoration: line-through; color: var(--text-3); font-size: .82rem; font-weight: 400; margin-right: .35rem; }
.free-badge { background: rgba(16,185,129,.12); color: var(--green); border: 1px solid rgba(16,185,129,.25); font-size: .72rem; font-family: var(--mono); padding: .2rem .55rem; border-radius: 20px; }

/* ══ FORM (shared) ══ */
.cta-form-card { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-xl); padding: 2.25rem; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cta-form-title { font-family: var(--display); font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: .4rem; }
.cta-form-sub { font-size: .85rem; color: var(--text-2); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-bottom: .4rem; }
.form-group label .req { color: var(--accent); }
.form-group input,.form-group select,.form-group textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: .7rem .95rem; color: var(--text); font-family: var(--sans); font-size: .88rem; transition: border-color .15s; outline: none; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--primary); }
.form-group input::placeholder,.form-group textarea::placeholder { color: var(--text-3); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--surface-2); }
.form-group textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; padding: .9rem; border: none; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #fb923c); color: #fff; font-family: var(--display); font-size: 1rem; font-weight: 800; cursor: pointer; transition: all .2s; box-shadow: 0 6px 24px var(--accent-glow); display: flex; align-items: center; justify-content: center; gap: .5rem; }
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 32px var(--accent-glow); }
.form-note { text-align: center; margin-top: .85rem; font-size: .75rem; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: .4rem; }

/* ══ TESTIMONIAL (shared) ══ */
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.75rem; position: relative; transition: border-color .2s, transform .2s; }
.testi-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.testi-quote { font-size: 2.5rem; line-height: 1; color: var(--primary); margin-bottom: .75rem; font-family: Georgia, serif; }
.testi-text { font-size: .9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.5rem; }
.testi-text strong { color: var(--text); }
.testi-footer { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.testi-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 1rem; font-weight: 800; color: #fff; }
.av-blue   { background: linear-gradient(135deg, #1a65c7, #06b6d4); }
.av-green  { background: linear-gradient(135deg, #059669, #10b981); }
.av-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.av-orange { background: linear-gradient(135deg, #d97706, #f97316); }
.testi-name { font-weight: 700; font-size: .88rem; color: var(--text); }
.testi-role { font-size: .75rem; color: var(--text-2); }
.testi-stars { margin-left: auto; color: var(--amber); font-size: .75rem; }

/* ══ COLOUR HELPERS ══ */
.green { color: var(--green); } .red { color: var(--red); } .amber { color: var(--amber); } .purple { color: var(--purple); }
.blue-icon   { background: rgba(26,101,199,.15); color: var(--primary); }
.orange-icon { background: rgba(249,115,22,.12); color: var(--accent); }
.green-icon  { background: rgba(16,185,129,.12); color: var(--green); }
.purple-icon { background: rgba(139,92,246,.12); color: var(--purple); }
.cyan-icon   { background: rgba(6,182,212,.12);  color: var(--cyan); }

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .courses-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .btn-ghost.hide-mobile { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 6rem 0 3.5rem; }
  .section-py { padding: 4rem 0; }
}
