/* ================================================================
   SkillUpLab4U — Dark Tech Layout
   Fonts: Inter (headings) + Work Sans (body)
   Palette: Deep charcoal + electric blue + neon green
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Work+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --primary:    #2563eb;
    --primary-lt: #60a5fa;
    --secondary:  #1d4ed8;
    --accent:     #22c55e;
    --accent-hover:#16a34a;
    --background: #0a0e1a;
    --surface:    #111827;
    --surface2:   #1a2035;
    --surface3:   #232b45;
    --text:       #e5e7eb;
    --muted:      #8b92a8;
    --border:     #1e293b;
    --border-lt:  #2d3a56;
    --white:      #ffffff;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-xl:  22px;
    --shadow:     0 4px 24px rgba(0,0,0,.4);
    --shadow-lg:  0 14px 48px rgba(0,0,0,.5);
    --glow-b:     0 0 24px rgba(37,99,235,.15);
    --glow-g:     0 0 24px rgba(34,197,94,.12);
    --font-heading: 'Inter', sans-serif;
    --font-body:    'Work Sans', sans-serif;
    --max-width: 1200px;
    --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--background); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-lt); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

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

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.12; color: var(--white); }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: 12px; }
.tag-chip { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2); padding: 5px 14px; border-radius: 20px; font-family: 'Courier New', monospace; }
.sub { max-width: 550px; margin: 0 auto 44px; color: var(--muted); font-size: 1rem; text-align: center; }

/* ── Buttons ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-family: var(--font-heading); font-weight: 600; font-size: .88rem; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-green { background: var(--accent); color: var(--background); }
.btn-green:hover { background: var(--accent-hover); color: var(--white); transform: translateY(-2px); box-shadow: var(--glow-g); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: var(--secondary); color: var(--white); transform: translateY(-2px); box-shadow: var(--glow-b); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-lt); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-lt); transform: translateY(-2px); }
.btn-ghost { background: var(--surface2); color: var(--text); border: 1px solid var(--border-lt); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── Navbar ────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 0; background: rgba(10,14,26,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); transition: all var(--transition); }
.navbar.scrolled { padding: 10px 0; box-shadow: var(--shadow); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--white); display: flex; align-items: center; gap: 9px; }
.nav-brand svg { flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-size: .85rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--surface); flex-direction: column; align-items: flex-start; padding: 80px 28px; gap: 16px; transition: right var(--transition); border-left: 1px solid var(--border); }
    .nav-links.open { right: 0; }
}

/* ── Hero — Left text + floating course cards right ── */
.hero { padding: 160px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -150px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -100px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(34,197,94,.06) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text h1 .gr { color: var(--accent); }
.hero-text p { font-size: 1.08rem; color: var(--muted); margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Floating course cards */
.hero-cards { display: flex; flex-direction: column; gap: 14px; }
.hc { background: var(--surface); border: 1px solid var(--border-lt); border-radius: var(--radius-lg); padding: 18px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow); transition: all .4s ease; }
.hc:nth-child(1) { transform: translateX(30px); }
.hc:nth-child(2) { transform: translateX(-10px); }
.hc:nth-child(3) { transform: translateX(20px); }
.hc:hover { transform: translateX(0) translateY(-3px); border-color: var(--accent); box-shadow: var(--glow-g); }
.hc-icon { font-size: 1.5rem; }
.hc-info h4 { font-size: .92rem; margin-bottom: 2px; }
.hc-info span { font-size: .72rem; color: var(--muted); font-family: var(--font-heading); }
.hc-badge { margin-left: auto; background: rgba(34,197,94,.1); color: var(--accent); font-family: var(--font-heading); font-size: .65rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.hero-img { border-radius: var(--radius-xl); overflow: hidden; height: 180px; margin-top: 16px; border: 1px solid var(--border-lt); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero-text p { margin-left: auto; margin-right: auto; } .hero-btns { justify-content: center; } .hc:nth-child(1),.hc:nth-child(2),.hc:nth-child(3) { transform: none; } }

/* ── Ticker ────────────────────────────────── */
.ticker { padding: 12px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; animation: tickerScroll 28s linear infinite; }
.ticker-track span { font-family: 'Courier New', monospace; font-size: .75rem; color: var(--accent); letter-spacing: .5px; }
.ticker-track span::before { content: '▸ '; color: var(--primary-lt); }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Trust ──────────────────────────────────── */
.trust-bar { padding: 44px 0; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item .tv { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.trust-item .tl { color: var(--muted); font-size: .82rem; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Sections ──────────────────────────────── */
.section { padding: 88px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 48px; }

/* ── Services — 3-col tech cards with terminal-style header ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.svc-card:hover { border-color: var(--primary); box-shadow: var(--glow-b); transform: translateY(-3px); }
.svc-bar { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--surface2); border-bottom: 1px solid var(--border); }
.svc-dot { width: 8px; height: 8px; border-radius: 50%; }
.svc-dot.r { background: #ef4444; }
.svc-dot.y { background: #eab308; }
.svc-dot.g { background: #22c55e; }
.svc-bar span { font-family: 'Courier New', monospace; font-size: .62rem; color: var(--muted); margin-left: 6px; }
.svc-body { padding: 22px 18px; }
.svc-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(37,99,235,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.svc-ic svg { width: 20px; height: 20px; }
.svc-body h3 { margin-bottom: 6px; }
.svc-body p { color: var(--muted); font-size: .86rem; margin-bottom: 0; }
@media (max-width: 800px) { .svc-grid { grid-template-columns: 1fr; } }

/* ── Process — Vertical accordion ──────────── */
.proc-accord { max-width: 780px; margin: 0 auto; }
.proc-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
.proc-step:hover { border-color: var(--accent); }
.proc-step-head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: default; }
.proc-step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--background); font-family: var(--font-heading); font-weight: 800; font-size: .72rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proc-step-head h3 { flex: 1; }
.proc-step-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 22px 22px; }
.proc-step-body p { color: var(--muted); font-size: .88rem; margin-bottom: 0; }
.proc-step-img { border-radius: var(--radius); overflow: hidden; height: 140px; background: var(--surface2); }
.proc-step-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .proc-step-body { grid-template-columns: 1fr; } }

/* ── Pricing ───────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 24px; display: flex; flex-direction: column; transition: all var(--transition); position: relative; overflow: hidden; }
.price-card.pop { border-color: var(--accent); }
.price-card.pop::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.price-badge { position: absolute; top: 14px; right: 14px; background: var(--accent); color: var(--background); font-family: var(--font-heading); font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 6px; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.price-amt { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; color: var(--accent); margin-bottom: 16px; }
.price-amt small { font-size: .78rem; color: var(--muted); font-weight: 400; }
.price-feats { flex: 1; margin-bottom: 20px; }
.price-feats li { padding: 5px 0; border-bottom: 1px solid var(--border); font-size: .84rem; display: flex; align-items: center; gap: 8px; }
.price-feats li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: .72rem; }
.price-card .btn { width: 100%; justify-content: center; }

/* ── Builder ───────────────────────────────── */
.builder-box { max-width: 740px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 30px; }
.addon-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.addon-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color var(--transition); }
.addon-row:hover { border-color: var(--accent); }
.addon-row label { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; font-size: .91rem; }
.addon-row input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.addon-cost { font-family: var(--font-heading); font-weight: 600; color: var(--accent); white-space: nowrap; }
.sup-block { margin-bottom: 24px; }
.range-bar { display: flex; align-items: center; gap: 12px; }
.range-bar input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-val { font-family: var(--font-heading); font-weight: 600; min-width: 26px; color: var(--accent); }
.build-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 2px solid var(--accent); margin-top: 8px; }
.build-total .bt-label { font-weight: 600; }
.build-total .bt-val { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--accent); }

/* ── Checkout ──────────────────────────────── */
.co-wrap { max-width: 560px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .84rem; font-weight: 500; color: var(--muted); }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-family: var(--font-body); font-size: .91rem; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group select { appearance: auto; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.cb-agree { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: .82rem; color: var(--muted); }
.cb-agree input { margin-top: 3px; accent-color: var(--accent); }
.cb-agree a { color: var(--primary-lt); text-decoration: underline; }

.order-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 24px; }
.order-box h3 { margin-bottom: 10px; }
.ol { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.ol.tot { border-bottom: none; border-top: 2px solid var(--accent); margin-top: 6px; padding-top: 10px; font-weight: 700; }
.ol.tot span:last-child { color: var(--accent); }

/* ── About ─────────────────────────────────── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-split p { color: var(--muted); }
.about-img { border-radius: var(--radius-xl); overflow: hidden; background: var(--surface2); min-height: 260px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .about-split { grid-template-columns: 1fr; } }
.vals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.val-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px 18px; transition: border-color var(--transition); }
.val-card:hover { border-color: var(--accent); }
.val-card h3 { color: var(--accent); margin-bottom: 6px; font-size: .95rem; }
.val-card p { color: var(--muted); font-size: .84rem; margin-bottom: 0; }
@media (max-width: 700px) { .vals-grid { grid-template-columns: 1fr; } }

/* ── FAQ ───────────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; padding: 16px 0; background: none; border: none; color: var(--white); font-family: var(--font-heading); font-weight: 600; font-size: .93rem; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q:hover { color: var(--accent); }
.faq-ic { transition: transform var(--transition); font-size: 1rem; color: var(--muted); }
.faq-item.open .faq-ic { transform: rotate(45deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 0 16px; color: var(--muted); font-size: .9rem; }

/* ── Contact ───────────────────────────────── */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ct-info { display: flex; flex-direction: column; gap: 18px; }
.ct-row { display: flex; gap: 12px; }
.ct-ic { width: 38px; height: 38px; background: rgba(34,197,94,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-ic svg { stroke: var(--accent); }
.ct-row h4 { margin-bottom: 2px; font-size: .9rem; }
.ct-row p { color: var(--muted); font-size: .84rem; margin: 0; }
@media (max-width: 800px) { .ct-grid { grid-template-columns: 1fr; } }

/* ── CTA ───────────────────────────────────── */
.cta-band { text-align: center; padding: 72px 24px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,.06) 0%, transparent 70%); }
.cta-band h2 { position: relative; margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; position: relative; }

/* ── Legal / PG-Head / Footer / Misc ───────── */
.legal { max-width: 700px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: .9rem; }
.pg-head { padding: 130px 0 48px; text-align: center; background: var(--surface); border-bottom: 1px solid var(--border); }
.pg-head h1 { margin-bottom: 10px; }
.pg-head p { color: var(--muted); max-width: 500px; margin: 0 auto; }
.footer { padding: 52px 0 22px; background: var(--surface); border-top: 1px solid var(--border); color: var(--muted); }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
.ft-brand { color: var(--white); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ft-brand-wrap p { color: var(--muted); font-size: .84rem; margin-top: 8px; max-width: 250px; }
.footer h4 { font-size: .7rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(139,146,168,.5); margin-bottom: 10px; }
.ft-links li { margin-bottom: 6px; }
.ft-links a { color: var(--muted); font-size: .84rem; }
.ft-links a:hover { color: var(--accent); }
.ft-bottom { border-top: 1px solid var(--border); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: rgba(139,146,168,.4); }
.ft-disc { font-size: .73rem; font-style: italic; color: rgba(139,146,168,.3); margin-top: 6px; }
@media (max-width: 800px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .ft-grid { grid-template-columns: 1fr; } }
.res-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 130px 24px 70px; }
.res-icon { font-size: 3.2rem; margin-bottom: 16px; }
.res-page h1 { margin-bottom: 10px; }
.res-page p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.text-center { text-align: center; }
.mt-4 { margin-top: 24px; }
.alert { padding: 12px 14px; border-radius: var(--radius); margin-bottom: 14px; font-size: .88rem; }
.alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); color: #ef4444; }
.alert-success { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.15); color: var(--accent); }
