/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg1: #000000;
    --bg2: #05070a;
    --bg3: #08090d;
    --surface: #0c0d12;
    --surface2: #12131b;
    --border: rgba(0, 229, 255, 0.06);
    --border2: rgba(0, 229, 255, 0.15);
    --primary: #00bcd4;
    --primary2: #00e5ff;
    --accent: #00e5ff;
    --green: #00d4aa;
    --red: #ff4757;
    --yellow: #ffd32a;
    --text1: #ffffff;
    --text2: #94a3b8;
    --text3: #475569;
    --glow: rgba(0, 229, 255, 0.25);
    --glow2: rgba(0, 229, 255, 0.1);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 8px 40px rgba(0,0,0,0.85);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.65);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.08), transparent 18%),
                radial-gradient(circle at bottom right, rgba(79, 110, 247, 0.08), transparent 18%),
                #02040a;
    color: var(--text1);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    background-attachment: fixed;
}
section { padding: clamp(80px, 8vw, 110px) 0; position: relative; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
section { padding: 90px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(79,110,247,0.12); border: 1px solid var(--border2);
    color: var(--primary2); font-size: 12px; font-weight: 600; letter-spacing: 1px;
    text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
    margin-bottom: 16px;
}
.section-badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(0,212,170,0); }
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px); font-weight: 700;
    line-height: 1.2; margin-bottom: 16px; color: var(--text1);
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary2), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc { color: var(--text2); font-size: 16px; max-width: 600px; margin: 0 auto 48px; }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 26px; border-radius: 999px; font-size: 15px;
    font-weight: 700; cursor: pointer; border: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute; inset: 0; border-radius: 999px; pointer-events: none;
}
.btn-primary {
    background: linear-gradient(90deg, rgba(0,188,212,1), rgba(0,229,255,1));
    color: #00121a;
    font-weight: 800;
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.12), 0 0 40px rgba(0,188,212,0.08) inset;
    border: 1px solid rgba(0,229,255,0.12);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 60px rgba(0, 229, 255, 0.18), 0 0 60px rgba(0,188,212,0.12) inset;
}
.btn-outline {
    background: rgba(255,255,255,0.02); color: var(--text1);
    border: 1.5px solid rgba(255,255,255,0.06);
}
.btn-outline:hover { border-color: var(--primary2); color: var(--primary2); background: rgba(79,110,247,0.04); transform: translateY(-2px); }
.btn-danger { background: rgba(255,71,87,0.15); color: var(--red); border: 1px solid rgba(255,71,87,0.3); }
.btn-danger:hover { background: rgba(255,71,87,0.25); }
.btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 6px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg1); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== SELECTION ===== */
::selection { background: rgba(79,110,247,0.3); }
/* ========================================================
   Login Page — Nidhi Cyber Solutions
   ======================================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg1);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}

/* Background Effects */
.login-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.login-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,130,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,130,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.login-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}
.login-glow-1 {
    width: 600px; height: 600px;
    top: -200px; left: -200px;
    background: radial-gradient(circle, rgba(79,110,247,0.18) 0%, transparent 70%);
}
.login-glow-2 {
    width: 500px; height: 500px;
    bottom: -150px; right: -150px;
    background: radial-gradient(circle, rgba(0,212,170,0.12) 0%, transparent 70%);
}

.login-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary2);
    opacity: 0;
    animation: login-float linear infinite;
}
@keyframes login-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Card */
.login-card {
    position: relative;
    z-index: 1;
    background: var(--bg2);
    border: 1px solid var(--border2);
    border-radius: 24px;
    padding: 44px 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,110,247,0.1);
    animation: login-slide-up 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes login-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Logo */
.login-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.login-logo-icon {
    font-size: 42px;
    filter: drop-shadow(0 0 16px rgba(79,110,247,0.7));
    animation: shield-pulse 2.5s ease-in-out infinite;
}
@keyframes shield-pulse {
    0%, 100% { filter: drop-shadow(0 0 16px rgba(79,110,247,0.7)); }
    50% { filter: drop-shadow(0 0 28px rgba(0,212,170,0.7)); }
}
.login-logo-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text1);
}
.login-logo-name span { color: var(--primary2); }
.login-logo-sub {
    font-size: 11px;
    color: var(--text3);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Step Indicator ─────────────────────────────────────── */
.mfa-step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 0;
}
.mfa-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg3);
    border: 2px solid var(--border2);
    color: var(--text3);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.mfa-step-dot.active {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 12px rgba(79,110,247,0.5);
}
.mfa-step-dot.done {
    background: rgba(0,212,170,0.15);
    border-color: var(--accent);
    color: var(--accent);
}
.mfa-step-line {
    flex: 1;
    height: 2px;
    background: var(--border2);
    margin: 0 8px;
    border-radius: 2px;
    transition: background 0.4s ease;
}
.mfa-step-line.done {
    background: linear-gradient(90deg, var(--primary2), var(--accent));
}

/* ── Step Panel ─────────────────────────────────────────── */
.login-step-panel {
    animation: step-fade-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes step-fade-in {
    from { opacity: 0; transform: translateX(18px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Title */
.login-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text1);
    margin-bottom: 6px;
}
.login-desc {
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 22px;
    line-height: 1.6;
}
.login-desc strong { color: var(--text2); }

/* Alerts */
.login-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.login-alert-error {
    background: rgba(255,71,87,0.12);
    border: 1px solid rgba(255,71,87,0.3);
    color: var(--red);
}
.login-alert-warn {
    background: rgba(255,211,42,0.1);
    border: 1px solid rgba(255,211,42,0.3);
    color: var(--yellow);
}

/* Form */
.login-form { display: flex; flex-direction: column; gap: 18px; }
.login-field { display: flex; flex-direction: column; gap: 7px; }
.login-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}
.login-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.login-input-icon {
    position: absolute;
    left: 13px;
    font-size: 15px;
    pointer-events: none;
    z-index: 1;
}
.login-input-wrap input {
    width: 100%;
    background: var(--bg3);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px 11px 40px;
    color: var(--text1);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.login-input-wrap input:focus {
    border-color: var(--primary2);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.15);
}
.login-show-pass {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.login-show-pass:hover { opacity: 1; }

/* Button */
.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(79,110,247,0.4);
    margin-top: 4px;
}
.login-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79,110,247,0.6);
}
.login-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.login-spinner {
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}
.login-back-link {
    font-size: 13px;
    color: var(--text3);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    padding: 0;
    transition: color 0.2s;
}
.login-back-link:hover { color: var(--primary2); }
.login-secure-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(0,212,170,0.08);
    border: 1px solid rgba(0,212,170,0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

/* ── MFA Panel (shared) ─────────────────────────────────── */
.mfa-panel { text-align: center; }
.mfa-icon-wrap {
    margin-bottom: 16px;
}
.mfa-icon {
    font-size: 44px;
    display: block;
    animation: mfa-bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 16px rgba(79,110,247,0.4));
}
@keyframes mfa-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── OTP Input Boxes ────────────────────────────────────── */
.otp-input-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 6px 0;
}
.otp-box {
    width: 50px;
    height: 58px;
    background: var(--bg3);
    border: 2px solid var(--border2);
    border-radius: 12px;
    color: var(--text1);
    font-size: 24px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-align: center;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    caret-color: transparent;
}
.otp-box:focus {
    border-color: var(--primary2);
    box-shadow: 0 0 0 3px rgba(79,110,247,0.2);
    transform: scale(1.05);
}
.otp-box.otp-filled {
    border-color: var(--primary2);
    background: rgba(79,110,247,0.08);
    color: var(--primary2);
}
.otp-box:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* MFA Hint */
.mfa-hint {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text3);
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

/* ── QR Code Container ──────────────────────────────────── */
.mfa-qr-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.mfa-qr-container {
    padding: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 0 0 4px rgba(79,110,247,0.15), 0 8px 32px rgba(0,0,0,0.4);
    animation: qr-reveal 0.5s ease 0.1s both;
}
@keyframes qr-reveal {
    from { opacity: 0; transform: scale(0.9); filter: blur(4px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}
.mfa-qr-img {
    display: block;
    width: 200px;
    height: 200px;
    image-rendering: pixelated;
}
.mfa-secret-toggle {
    background: none;
    border: 1px dashed var(--border2);
    color: var(--text3);
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.mfa-secret-toggle:hover {
    border-color: var(--primary2);
    color: var(--primary2);
}
.mfa-secret-box {
    background: var(--bg3);
    border: 1px solid var(--border2);
    border-radius: 10px;
    padding: 12px 16px;
    width: 100%;
    animation: step-fade-in 0.2s ease;
}
.mfa-secret-label {
    display: block;
    font-size: 11px;
    color: var(--text3);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mfa-secret-code {
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    color: var(--accent);
    letter-spacing: 2px;
    word-break: break-all;
    display: block;
    text-align: center;
}

/* ── Setup Steps List ───────────────────────────────────── */
.mfa-setup-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    text-align: left;
}
.mfa-setup-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text2);
    padding: 8px 12px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    border: 1px solid var(--border);
}
.mfa-setup-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Hint */
.login-hint {
    margin-top: 16px;
    text-align: center;
    font-size: 11px;
    color: var(--text3);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
}
.login-hint span { font-weight: 600; color: var(--text2); }

@media (max-width: 480px) {
    .login-card { padding: 32px 22px; }
    .login-title { font-size: 20px; }
    .otp-box { width: 42px; height: 50px; font-size: 20px; }
    .otp-input-row { gap: 7px; }
}
/* ============================================================
   AdminDashboard.css — Full-page left-sidebar admin UI
   Nidhi Cyber Solutions
   ============================================================ */

* { box-sizing: border-box; }

.adm-root {
    display: flex;
    min-height: 100vh;
    background: #070b14;
    font-family: 'Inter', sans-serif;
    color: #f0f4ff;
}

/* ── SIDEBAR ── */
.adm-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #0d1220;
    border-right: 1px solid rgba(99,130,255,0.12);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    overflow-x: hidden;
}

.adm-sidebar-logo {
    padding: 24px 20px 20px;
    border-bottom: 1px solid rgba(99,130,255,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.adm-sidebar-logo-icon { font-size: 32px; filter: drop-shadow(0 0 12px rgba(79,110,247,0.7)); }
.adm-sidebar-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: #f0f4ff; line-height: 1.2; }
.adm-sidebar-logo-text span { color: #6c8aff; }
.adm-sidebar-logo-sub { font-size: 10px; color: #6b7a99; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.adm-nav { flex: 1; padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; }

.adm-nav-group-label {
    font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    color: #6b7a99; padding: 12px 10px 6px; margin-top: 8px;
}
.adm-nav-group-label:first-child { margin-top: 0; }

.adm-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: #b0bbd5;
    transition: all 0.18s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    position: relative;
}
.adm-nav-item:hover { background: rgba(255,255,255,0.05); color: #f0f4ff; }
.adm-nav-item.active {
    background: rgba(79,110,247,0.15);
    color: #6c8aff;
    font-weight: 600;
}
.adm-nav-item.active::before {
    content: '';
    position: absolute; left: 0; top: 6px; bottom: 6px;
    width: 3px; border-radius: 0 3px 3px 0;
    background: linear-gradient(135deg, #4f6ef7, #00d4aa);
}
.adm-nav-icon { font-size: 17px; flex-shrink: 0; width: 22px; text-align: center; }
.adm-nav-badge {
    margin-left: auto;
    background: rgba(79,110,247,0.2);
    color: #6c8aff;
    font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 100px;
    min-width: 20px; text-align: center;
}

.adm-sidebar-footer {
    padding: 16px 10px;
    border-top: 1px solid rgba(99,130,255,0.1);
}

/* ── MAIN AREA ── */
.adm-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── TOP HEADER ── */
.adm-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(7,11,20,0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(99,130,255,0.1);
    height: 64px;
    display: flex; align-items: center;
    padding: 0 28px;
    gap: 16px;
}
.adm-header-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 700; color: #f0f4ff;
    flex: 1;
}
.adm-header-right { display: flex; align-items: center; gap: 12px; }

.adm-user-badge {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(99,130,255,0.15);
    border-radius: 100px;
    padding: 6px 14px 6px 8px;
}
.adm-user-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: linear-gradient(135deg, #4f6ef7, #00d4aa);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; color: #fff;
}
.adm-user-name { font-size: 13px; font-weight: 600; color: #f0f4ff; }
.adm-role-chip {
    font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
    text-transform: uppercase; padding: 2px 8px; border-radius: 100px;
    background: rgba(79,110,247,0.15); color: #6c8aff;
    border: 1px solid rgba(79,110,247,0.3);
}

.adm-session-timer {
    font-size: 11px; color: #6b7a99; display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(99,130,255,0.1);
    padding: 5px 10px; border-radius: 100px;
}
.adm-session-timer.warn { color: #ffd32a; border-color: rgba(255,211,42,0.3); background: rgba(255,211,42,0.05); }
.adm-session-timer.critical { color: #ff4757; border-color: rgba(255,71,87,0.3); background: rgba(255,71,87,0.05); animation: timer-blink 1s ease-in-out infinite; }
@keyframes timer-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }

.adm-logout-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 8px;
    background: rgba(255,71,87,0.1); color: #ff4757;
    border: 1px solid rgba(255,71,87,0.25);
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.adm-logout-btn:hover { background: rgba(255,71,87,0.2); }

.adm-hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 6px; border: none; background: none;
}
.adm-hamburger span { width: 22px; height: 2px; background: #b0bbd5; border-radius: 2px; transition: all 0.3s; display: block; }

/* ── CONTENT ── */
.adm-content { flex: 1; padding: 28px; }

/* ── COMMON UI ELEMENTS ── */
.adm-page-header { margin-bottom: 24px; }
.adm-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 700; color: #f0f4ff;
    display: flex; align-items: center; gap: 10px; margin-bottom: 6px;
}
.adm-page-desc { font-size: 14px; color: #6b7a99; }

.adm-card {
    background: #111827;
    border: 1px solid rgba(99,130,255,0.12);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}
.adm-card-title {
    font-size: 15px; font-weight: 700; color: #f0f4ff;
    margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

.adm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.adm-stat {
    background: #111827;
    border: 1px solid rgba(99,130,255,0.12);
    border-radius: 14px;
    padding: 22px 20px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.adm-stat:hover { border-color: rgba(99,130,255,0.3); transform: translateY(-2px); }
.adm-stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #4f6ef7, #00d4aa);
}
.adm-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px; font-weight: 800; color: #6c8aff;
    line-height: 1;
}
.adm-stat-label { font-size: 12px; color: #6b7a99; margin-top: 6px; font-weight: 500; }
.adm-stat-icon { font-size: 28px; position: absolute; top: 18px; right: 18px; opacity: 0.3; }

/* Table */
.adm-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(99,130,255,0.1); }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th {
    text-align: left; padding: 11px 14px;
    background: #161d2e;
    border-bottom: 1px solid rgba(99,130,255,0.1);
    color: #b0bbd5; font-weight: 600; white-space: nowrap; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.adm-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(99,130,255,0.06);
    color: #b0bbd5; vertical-align: middle;
}
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

/* Form Elements */
.adm-form { display: flex; flex-direction: column; gap: 16px; }
.adm-field { display: flex; flex-direction: column; gap: 7px; }
.adm-field label { font-size: 13px; font-weight: 600; color: #b0bbd5; }
.adm-field input,
.adm-field select,
.adm-field textarea {
    background: #0d1220;
    border: 1.5px solid rgba(99,130,255,0.15);
    border-radius: 10px;
    padding: 10px 14px;
    color: #f0f4ff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.adm-field input:focus,
.adm-field select:focus,
.adm-field textarea:focus {
    border-color: #6c8aff;
    box-shadow: 0 0 0 3px rgba(79,110,247,0.15);
}
.adm-field input:disabled,
.adm-field select:disabled,
.adm-field textarea:disabled {
    opacity: 0.5; cursor: not-allowed;
}
.adm-field select option { background: #0d1220; }
.adm-field textarea { min-height: 100px; resize: vertical; }

.adm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Buttons */
.adm-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 18px; border-radius: 9px; font-size: 13px;
    font-weight: 600; cursor: pointer; border: none;
    transition: all 0.22s; font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.adm-btn-primary {
    background: linear-gradient(135deg, #4f6ef7, #6c8aff);
    color: #fff; box-shadow: 0 2px 12px rgba(79,110,247,0.35);
}
.adm-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(79,110,247,0.5); }
.adm-btn-outline {
    background: rgba(255,255,255,0.04);
    color: #b0bbd5; border: 1px solid rgba(99,130,255,0.2);
}
.adm-btn-outline:hover { border-color: #6c8aff; color: #6c8aff; background: rgba(79,110,247,0.08); }
.adm-btn-danger {
    background: rgba(255,71,87,0.1); color: #ff4757;
    border: 1px solid rgba(255,71,87,0.25);
}
.adm-btn-danger:hover { background: rgba(255,71,87,0.2); }
.adm-btn-success {
    background: rgba(34,211,165,0.12); color: #22d3a5;
    border: 1px solid rgba(34,211,165,0.3);
}
.adm-btn-success:hover { background: rgba(34,211,165,0.2); }
.adm-btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 7px; }
.adm-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Badges */
.adm-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 2px 9px; border-radius: 100px; letter-spacing: 0.5px;
}
.adm-badge-admin { background: rgba(79,110,247,0.15); color: #6c8aff; border: 1px solid rgba(79,110,247,0.3); }
.adm-badge-user { background: rgba(107,122,153,0.15); color: #6b7a99; border: 1px solid rgba(107,122,153,0.25); }
.adm-badge-success { background: rgba(34,211,165,0.12); color: #22d3a5; border: 1px solid rgba(34,211,165,0.3); }
.adm-badge-warn { background: rgba(255,211,42,0.12); color: #ffd32a; border: 1px solid rgba(255,211,42,0.3); }
.adm-badge-danger { background: rgba(255,71,87,0.12); color: #ff4757; border: 1px solid rgba(255,71,87,0.3); }

/* Alert / Messages */
.adm-alert {
    padding: 12px 16px; border-radius: 10px;
    font-size: 13px; font-weight: 500;
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 16px;
}
.adm-alert-info { background: rgba(79,110,247,0.1); border: 1px solid rgba(79,110,247,0.25); color: #6c8aff; }
.adm-alert-success { background: rgba(34,211,165,0.1); border: 1px solid rgba(34,211,165,0.3); color: #22d3a5; }
.adm-alert-warn { background: rgba(255,211,42,0.08); border: 1px solid rgba(255,211,42,0.3); color: #ffd32a; }
.adm-alert-error { background: rgba(255,71,87,0.1); border: 1px solid rgba(255,71,87,0.3); color: #ff4757; }

/* Section header row */
.adm-section-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px; margin-bottom: 18px;
}

/* Upload zone */
.adm-upload-zone {
    border: 2px dashed rgba(99,130,255,0.25);
    border-radius: 12px; padding: 32px;
    text-align: center; cursor: pointer;
    transition: all 0.2s;
}
.adm-upload-zone:hover { border-color: #6c8aff; background: rgba(79,110,247,0.04); }
.adm-upload-zone input[type="file"] { display: none; }
.adm-upload-icon { font-size: 32px; margin-bottom: 10px; }
.adm-upload-text { font-size: 14px; color: #b0bbd5; }
.adm-upload-sub { font-size: 12px; color: #6b7a99; margin-top: 4px; }

/* Loading spinner */
.adm-loading {
    display: flex; align-items: center; gap: 10px;
    color: #6b7a99; font-size: 14px; padding: 20px 0;
}
.adm-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(99,130,255,0.2);
    border-top-color: #6c8aff;
    border-radius: 50%;
    animation: adm-spin 0.7s linear infinite;
}
@keyframes adm-spin { to { transform: rotate(360deg); } }

/* Empty state */
.adm-empty {
    text-align: center; padding: 48px 20px;
    color: #6b7a99;
}
.adm-empty-icon { font-size: 48px; margin-bottom: 14px; }
.adm-empty-text { font-size: 15px; font-weight: 500; margin-bottom: 6px; color: #b0bbd5; }
.adm-empty-sub { font-size: 13px; }

/* ── Sidebar Close Button (mobile only) ── */
.adm-sidebar-close {
    display: none;
    margin-left: auto;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #b0bbd5;
    font-size: 16px;
    width: 32px; height: 32px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}
.adm-sidebar-close:hover { background: rgba(255,71,87,0.15); color: #ff4757; border-color: rgba(255,71,87,0.3); }

/* ── Sidebar user strip (mobile only) ── */
.adm-sidebar-user-strip {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(79,110,247,0.06);
    border-bottom: 1px solid rgba(99,130,255,0.1);
    flex-shrink: 0;
}

/* ── Sidebar logout button (shown in sidebar on mobile) ── */
.adm-sidebar-logout { display: none; }

/* ── MOBILE OVERLAY ── */
.adm-sidebar-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 199;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: overlay-fade 0.2s ease;
}
@keyframes overlay-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Mobile Bottom Navigation ── */
.adm-mobile-nav {
    display: none; /* hidden on desktop */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 64px;
    background: rgba(13,18,32,0.98);
    border-top: 1px solid rgba(99,130,255,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 300;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
}
.adm-mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    border-radius: 12px;
    transition: all 0.2s;
    color: #6b7a99;
    min-width: 0;
}
.adm-mobile-nav-item.active {
    color: #6c8aff;
    background: rgba(79,110,247,0.1);
}
.adm-mobile-nav-item.adm-mobile-nav-menu {
    color: #b0bbd5;
}
.adm-mobile-nav-item.adm-mobile-nav-menu:active {
    background: rgba(255,255,255,0.08);
}
.adm-mobile-nav-icon {
    font-size: 20px;
    line-height: 1;
    display: block;
}
.adm-mobile-nav-label {
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .adm-sidebar {
        transform: translateX(-100%);
        box-shadow: none;
        transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), box-shadow 0.28s;
    }
    .adm-sidebar.open {
        transform: translateX(0);
        box-shadow: 8px 0 48px rgba(0,0,0,0.7);
    }
    .adm-sidebar-overlay { display: block; }
    .adm-main { margin-left: 0; }
    .adm-hamburger { display: flex; }
    .adm-header-right .adm-user-badge { display: none; }
    .adm-header-right .adm-logout-btn { display: none; }
}

@media (max-width: 768px) {
    /* Show mobile-only sidebar elements */
    .adm-sidebar-close { display: flex; }
    .adm-sidebar-user-strip { display: flex; }
    .adm-sidebar-logout { display: flex; }

    /* Show mobile bottom nav */
    .adm-mobile-nav {
        display: flex;
        align-items: stretch;
    }

    /* Pad content above bottom nav */
    .adm-content {
        padding: 16px;
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .adm-form-row { grid-template-columns: 1fr; }
    .adm-stats-grid { grid-template-columns: 1fr 1fr; }
    .adm-header { padding: 0 14px; height: 56px; }
    .adm-header-title { font-size: 15px; }
    .adm-session-timer { display: none; }

    /* Tighten header on mobile — just hamburger + title */
    .adm-hamburger { margin-right: 4px; }
}

@media (max-width: 480px) {
    .adm-stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .adm-card { padding: 16px; }
    .adm-table { font-size: 12px; }
    .adm-table th, .adm-table td { padding: 8px 10px; }
    .adm-mobile-nav-label { font-size: 8px; }
    .adm-mobile-nav-icon { font-size: 18px; }
}
/* Access Denied Page */
.denied-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg1);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}
.denied-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.denied-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,71,87,0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,71,87,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
}
.denied-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,71,87,0.12) 0%, transparent 70%);
    filter: blur(60px);
}
.denied-card {
    position: relative; z-index: 1;
    background: var(--bg2);
    border: 1px solid rgba(255,71,87,0.25);
    border-radius: 24px;
    padding: 52px 44px;
    max-width: 520px; width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 40px rgba(255,71,87,0.1);
    animation: denied-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes denied-pop {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.denied-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: denied-shake 0.6s ease 0.3s;
}
@keyframes denied-shake {
    0%,100% { transform: rotate(0); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    60% { transform: rotate(-6deg); }
    80% { transform: rotate(6deg); }
}
.denied-badge {
    display: inline-block;
    background: rgba(255,71,87,0.12);
    border: 1px solid rgba(255,71,87,0.35);
    color: var(--red);
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 5px 16px;
    border-radius: 100px; margin-bottom: 20px;
}
.denied-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px; font-weight: 800;
    color: var(--text1); margin-bottom: 14px;
}
.denied-desc {
    font-size: 15px; color: var(--text2);
    line-height: 1.7; margin-bottom: 32px;
    max-width: 400px; margin-left: auto; margin-right: auto;
}
.denied-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.denied-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 10px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; text-decoration: none;
    transition: all 0.25s; border: none; font-family: 'Inter', sans-serif;
}
.denied-btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(79,110,247,0.4);
}
.denied-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79,110,247,0.6); }
.denied-btn-outline {
    background: rgba(255,71,87,0.1);
    color: var(--red); border: 1px solid rgba(255,71,87,0.3);
}
.denied-btn-outline:hover { background: rgba(255,71,87,0.2); }
.denied-info {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 16px;
    display: flex; flex-direction: column; gap: 8px;
    text-align: left;
}
.denied-info-item { display: flex; justify-content: space-between; align-items: center; }
.denied-info-label { font-size: 12px; color: var(--text3); font-weight: 600; }
.denied-info-value { font-size: 13px; color: var(--text2); font-family: monospace; }
.denied-info-red { color: var(--red) !important; font-weight: 700; }

@media (max-width: 480px) {
    .denied-card { padding: 36px 22px; }
    .denied-title { font-size: 28px; }
}
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 24px 0;
    background: transparent;
}

#navbar.scrolled {
    padding: 16px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-neon);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.8));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--neon-cyan);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-width: 0;
    flex: 1 1 auto;
    overflow-x: auto;
}

.nav-links a {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--neon-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.nav-login-icon {
    font-size: 16px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.nav-login-icon:hover {
    opacity: 1;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--neon-cyan);
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px var(--neon-cyan);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#mobileMenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-neon);
    z-index: 999;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#mobileMenu.open {
    right: 0;
}

#mobileMenu a {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#mobileMenu a:hover {
    color: var(--neon-cyan);
}

@media (max-width: 1200px) {
    .nav-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-actions {
        gap: 14px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}
#hero {
    position: relative;
    padding: 160px 24px 80px;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center center;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    text-align: left;
}

.hero-graphic {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Floating Nodes */
.hero-node {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 6s ease-in-out infinite;
}

.node-cortex { top: 10%; left: -5%; animation-delay: 0s; }
.node-quant { top: 15%; right: -5%; animation-delay: -2s; }
.node-aelf { bottom: 10%; left: 0%; animation-delay: -4s; }
.node-sentinel { bottom: 20%; right: -10%; animation-delay: -1s; }

.node-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.node-label {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    white-space: nowrap;
}

.label-name {
    color: var(--text-secondary);
}

.status-live {
    animation: cyberBlink 1.5s infinite;
}

.hero-graphic-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: floatGraphic 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.2));
}

.hero-graphic-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, rgba(16, 185, 129, 0.05) 50%, transparent 70%);
    z-index: 1;
    filter: blur(40px);
    animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes floatGraphic {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-neon);
    background: rgba(0, 217, 255, 0.05);
    color: var(--neon-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 32px;
    font-family: var(--font-mono);
}

.hero-eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    animation: cyberBlink 2s infinite;
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    text-shadow: 0 0 40px rgba(0, 217, 255, 0.15);
}

.hero-sub {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-integrations {
    margin-top: 60px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
}

.integrations-title {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.integrations-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 14px;
    opacity: 0.7;
}

.dot-sep {
    color: var(--neon-cyan);
    opacity: 0.5;
}

/* Floating Nodes */
.hero-node {
    position: absolute;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 6s ease-in-out infinite;
}

.node-cortex { top: 25%; left: 15%; animation-delay: 0s; }
.node-quant { top: 30%; right: 15%; animation-delay: -2s; }
.node-aelf { bottom: 25%; left: 20%; animation-delay: -4s; }
.node-sentinel { bottom: 35%; right: 20%; animation-delay: -1s; }

.node-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.node-label {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    white-space: nowrap;
}

.label-name {
    color: var(--text-secondary);
}

.status-live {
    animation: cyberBlink 1.5s infinite;
}

@media (max-width: 1024px) {
    .hero-title { font-size: 56px; }
    .hero-node { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-sub { font-size: 16px; }
    .hero-btns { flex-direction: column; }
    .integrations-list { flex-wrap: wrap; }
}
.services-section {
    padding: 100px 24px;
    background: var(--bg-dark);
    position: relative;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    cursor: pointer;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    min-height: 220px;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.25);
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--neon-cyan));
}

.service-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-arrow {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
}
.ai-platform-section {
    background: linear-gradient(180deg, var(--bg2) 0%, var(--bg1) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ai-platform-glow {
    position: absolute;
    top: -20%;
    left: 20%;
    width: 600px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 212, 170, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ai-platform-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Glassmorphic Panel Mockup */
.ai-dashboard-mockup {
    background: rgba(22, 29, 46, 0.65);
    border: 1px solid var(--border2);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.dashboard-title-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.status-dot.scanning {
    background: var(--primary2);
    box-shadow: 0 0 10px var(--primary2);
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.dashboard-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    background: rgba(0, 212, 170, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Stats Row */
.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    background: rgba(7, 11, 20, 0.45);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    transition: border-color 0.2s;
}

.dashboard-stat-card:hover {
    border-color: var(--border2);
}

.dashboard-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--text1);
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--text1), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-stat-lbl {
    font-size: 11px;
    color: var(--text3);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* Core Scan Interface */
.dashboard-scan-area {
    background: rgba(7, 11, 20, 0.55);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.scan-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--surface2);
    border-radius: 4px;
    overflow: hidden;
    margin: 16px 0;
}

.scan-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.1s linear;
}

.scan-status-text {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 16px;
}

/* Grid ports indicator */
.scan-ports-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 6px;
    margin: 16px 0;
}

.port-node {
    height: 12px;
    background: var(--border);
    border-radius: 3px;
    transition: background-color 0.15s ease;
}

.port-node.scanning-node {
    background: var(--primary);
    box-shadow: 0 0 4px var(--primary);
}

.port-node.secure {
    background: var(--accent);
    box-shadow: 0 0 4px var(--accent);
}

.ai-desc-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ai-desc-block p {
    color: var(--text2);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ai-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ai-bullet {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ai-bullet-icon {
    font-size: 18px;
    color: var(--accent);
}

.ai-bullet-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text1);
    margin-bottom: 4px;
}

.ai-bullet-text p {
    font-size: 13.5px;
    color: var(--text2);
    margin-bottom: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .ai-platform-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-visual {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-stat-row {
    display: flex;
    gap: 16px;
}

.ab-stat {
    flex: 1;
    background: var(--surface2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.ab-stat .n {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary2);
}

.ab-stat .l {
    font-size: 12px;
    color: var(--text3);
    margin-top: 4px;
}

.about-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--text2);
    margin-bottom: 16px;
    font-size: 15px;
}

.feature-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-item i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 1px;
    font-style: normal;
}

.feature-item span {
    color: var(--text2);
    font-size: 14px;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   Courses.css — Terminal-style Academy Section
   Nidhi Cyber Solutions
   ============================================================ */

.academy-section {
    padding: 100px 24px;
    background: var(--bg-dark);
    position: relative;
}

.academy-container {
    max-width: 1060px;
    margin: 0 auto;
}

.academy-header {
    text-align: center;
    margin-bottom: 60px;
}

.academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border-neon);
    background: rgba(0, 217, 255, 0.05);
    color: var(--neon-cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.academy-header .section-title {
    font-size: 48px;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* ── Terminal Mockup wrapper ── */
.terminal-mockup {
    background: #09090c;
    border: 10px solid #1c1c1c;
    border-radius: 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.85),
        0 0 60px rgba(0, 217, 255, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.04);
    overflow: hidden;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

/* ── Header bar ── */
.terminal-header {
    background: #111115;
    padding: 11px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #222;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
}

.mac-btns { display: flex; gap: 8px; margin-right: 16px; }
.mac-btn  { width: 12px; height: 12px; border-radius: 50%; }
.mac-btn.red    { background: #ff5f56; }
.mac-btn.yellow { background: #ffbd2e; }
.mac-btn.green  { background: #27c93f; }

.terminal-title { color: var(--text-muted); flex-grow: 1; }

.terminal-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
}

/* Blinking online dot */
.blink-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #00e6a8;
    display: inline-block;
    box-shadow: 0 0 6px #00e6a8;
    animation: blink-pulse 1.4s ease-in-out infinite;
}
@keyframes blink-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.live-clock { color: var(--text-muted); letter-spacing: 1px; }

/* ── Threat ticker strip ── */
.threat-ticker {
    background: #0d0d10;
    border-bottom: 1px solid #1a1a1a;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 10px;
    overflow: hidden;
}
.ticker-label {
    background: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid rgba(255,71,87,0.3);
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-text {
    color: var(--text-secondary);
    transition: opacity 0.35s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ticker-text.fade-in  { opacity: 1; }
.ticker-text.fade-out { opacity: 0; }

/* ── Body columns grid ── */
.terminal-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 440px;
}

.term-col {
    padding: 28px 22px;
    border-right: 1px solid #161616;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.term-col:last-child { border-right: none; }

.col-head {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 10px;
}

/* ── Typing headline ── */
.typing-headline {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    min-height: 16px;
}
.typing-text  { color: var(--neon-cyan); }
.type-cursor  {
    display: inline-block;
    color: var(--neon-cyan);
    animation: blink-cursor 0.8s step-end infinite;
    font-size: 10px;
    line-height: 1;
    margin-left: 1px;
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ── Syllabus items ── */
.syllabus-item { margin-bottom: 16px; }
.s-title {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: 3px;
    font-weight: 600;
}
.s-desc {
    color: var(--text-muted);
    font-size: 11px;
    padding-left: 12px;
    line-height: 1.5;
    margin-bottom: 5px;
}
.s-tags { display: flex; gap: 5px; padding-left: 12px; flex-wrap: wrap; }
.s-tag {
    background: rgba(0, 217, 255, 0.07);
    border: 1px solid rgba(0, 217, 255, 0.18);
    color: var(--neon-cyan);
    font-family: var(--font-mono);
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* ── Column footer ── */
.col-footer {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    padding-top: 16px;
    border-top: 1px solid #1a1a1a;
    margin-top: auto;
}

/* ── Careers stats ── */
.stats-box {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.stat-line {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    border-bottom: 1px dashed #252525;
    padding-bottom: 8px;
}
.stat-sub {
    font-size: 10px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    letter-spacing: 0.4px;
}

/* ── Skill bars ── */
.skills-section { margin-top: 16px; }
.skills-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.skill-bar-wrap  { margin-bottom: 9px; }
.skill-bar-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.skill-bar-track {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.skill-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Uptime pill ── */
.uptime-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid #1e1e1e;
    border-radius: 6px;
    padding: 5px 10px;
    margin-top: 16px;
}
.blink-dot-sm {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #00e6a8;
    animation: blink-pulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}

/* ── Labs column ── */
.labs-info { display: flex; flex-direction: column; gap: 0; flex: 1; }
.lab-item { margin-bottom: 18px; font-size: 12px; }
.lab-item .text-neon  { font-size: 13px; margin-bottom: 3px; }
.lab-item .text-muted { font-size: 11px; line-height: 1.4; }

.lab-item.ctf-box {
    background: #111115;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 18px;
}
.ctf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
}
.ctf-sub {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Lab progress bars */
.lab-progress-group { margin-bottom: 16px; }
.lab-progress-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.lab-progress-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
}
.lab-prog-name {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    white-space: nowrap;
    width: 115px;
    flex-shrink: 0;
}
.lab-prog-bar-track {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}
.lab-prog-bar-fill {
    height: 100%;
    border-radius: 3px;
    animation: fill-anim 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes fill-anim {
    from { width: 0 !important; }
}
.lab-prog-pct {
    font-family: var(--font-mono);
    font-size: 9px;
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

/* Tool badges */
.lab-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #1a1a1a;
}
.lab-tool-badge {
    background: rgba(167, 139, 250, 0.08);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: #a78bfa;
    font-family: var(--font-mono);
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.badge-no-slides {
    background: rgba(0, 230, 168, 0.1);
    color: var(--cyber-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

/* ── Footer bar ── */
.terminal-footer {
    background: #111115;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    border-top: 1px solid #1e1e1e;
}
.footer-certs { letter-spacing: 1px; }

/* ── Utility tokens ── */
.ml-2      { margin-left: 8px; }
.mt-2      { margin-top: 8px; }
.mt-4      { margin-top: 16px; }
.mt-auto   { margin-top: auto; }
.text-center { text-align: center; }
.flex        { display: flex; }
.justify-between { justify-content: space-between; }
.font-bold   { font-weight: 700; }
.text-cyber-green { color: var(--cyber-green); }
.text-primary { color: #fff; }
.text-alert   { color: #ffd32a; }

/* ── CTA Area ── */
.academy-cta {
    text-align: center;
    margin: 60px auto 0;
    max-width: 780px;
    padding: 36px 32px;
    background: rgba(8, 12, 18, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}
.academy-cta p {
    max-width: 680px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-secondary);
}
.course-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.course-buttons button {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #fff;
    border-radius: 14px;
    padding: 12px 20px;
    min-width: 160px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.course-buttons button:hover {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.12);
}
.course-buttons button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.15);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .terminal-body { grid-template-columns: 1fr; }
    .term-col      { border-right: none; border-bottom: 1px solid #1a1a1a; min-height: auto; }
    .term-col:last-child { border-bottom: none; }
    .academy-header .section-title { font-size: 36px; }
}
@media (max-width: 640px) {
    .terminal-status { display: none; }
    .academy-header .section-title { font-size: 28px; }
    .threat-ticker { font-size: 9px; }
}
.enroll-card {
    background: rgba(8, 12, 18, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 38px;
    margin: 40px auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    max-width: 1040px;
}

.enroll-card h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 15px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 210, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.12);
}

.form-group select option {
    background: var(--bg3);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 28px;
    display: flex;
}

.form-submit.btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, rgba(7, 143, 255, 0.96), rgba(0, 210, 255, 0.96));
}

.form-submit.btn:hover {
    transform: translateY(-2px);
}

.form-submit.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-secure {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 18px;
}

.form-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 14px;
}

.form-msg.success {
    background: rgba(34, 211, 165, 0.1);
    border: 1px solid rgba(34, 211, 165, 0.3);
    color: var(--green);
}

.form-msg.error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: var(--red);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.cell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.cell-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cell-card:hover {
    border-color: var(--border2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.cell-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.cell-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text1);
}

.cell-card p {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.6;
    flex-grow: 1;
}

.request-action-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary2);
    transition: color 0.2s, transform 0.2s;
}

.cell-card:hover .request-action-link {
    color: var(--accent);
    transform: translateX(4px);
}

/* ==========================================================================
   CYBER MODAL STYLES (ASSISTANCE REQUEST FORM)
   ========================================================================== */
.cyber-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cyber-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cyber-modal-box {
    background: rgba(22, 29, 46, 0.95);
    border: 1px solid var(--border2);
    border-radius: var(--radius);
    width: 600px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease;
}

.cyber-modal-overlay.open .cyber-modal-box {
    transform: translateY(0);
}

.cyber-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text3);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.cyber-modal-close:hover {
    color: var(--red);
    transform: scale(1.15);
}

/* Forms layout matching EnrollForm inside Modal */
.cyber-modal-box .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.cyber-modal-box .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin-bottom: 16px;
}

.cyber-modal-box .form-row .form-group {
    margin-bottom: 0;
}

.cyber-modal-box label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cyber-modal-box input,
.cyber-modal-box select,
.cyber-modal-box textarea {
    background: rgba(7, 11, 20, 0.6);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text1);
    font-size: 14px;
    padding: 10px 14px;
    transition: border-color 0.25s, box-shadow 0.25s;
    width: 100%;
}

.cyber-modal-box input:focus,
.cyber-modal-box select:focus,
.cyber-modal-box textarea:focus {
    border-color: var(--primary2);
    box-shadow: 0 0 10px rgba(108, 138, 255, 0.25);
    outline: none;
}

@media (max-width: 650px) {
    .cyber-modal-box {
        padding: 24px;
    }
    .cyber-modal-box .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.test-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s;
}

.test-card:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.t-quote {
    font-size: 64px;
    line-height: 0.8;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 16px;
    font-family: Georgia, serif;
}

.t-text {
    font-size: 14.5px;
    color: var(--text2);
    line-height: 1.7;
    margin-bottom: 24px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}

.t-name {
    font-weight: 700;
    font-size: 14px;
}

.t-role {
    font-size: 12px;
    color: var(--text3);
}

.t-stars {
    color: var(--yellow);
    font-size: 14px;
    margin-left: auto;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--border2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.blog-thumb {
    height: 140px;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
}

.blog-body {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.blog-meta .cat {
    background: rgba(79, 110, 247, 0.1);
    border: 1px solid rgba(79, 110, 247, 0.2);
    color: var(--primary2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
}

.blog-meta .date {
    font-size: 12px;
    color: var(--text3);
}

.blog-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-body p {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 14px;
}

.blog-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary2);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.gal-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.gal-item:hover {
    border-color: var(--border2);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.gal-thumb {
    height: 180px;
    background: var(--surface2);
    overflow: hidden;
    position: relative;
}

.gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gal-item:hover .gal-thumb img {
    transform: scale(1.06);
}

.gal-info {
    padding: 16px;
}

.gal-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gal-info span {
    font-size: 12px;
    color: var(--text3);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--border2);
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(79, 110, 247, 0.12), rgba(0, 212, 170, 0.06));
    box-shadow: 0 0 0 1px var(--primary), 0 8px 40px rgba(79, 110, 247, 0.25);
}

.pricing-card.featured:hover {
    box-shadow: 0 0 0 1px var(--primary2), 0 12px 50px rgba(79, 110, 247, 0.4);
}

.pricing-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-plan {
    font-size: 13px;
    font-weight: 700;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pricing-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--primary2);
    margin: 12px 0 4px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text3);
}

.pricing-duration {
    font-size: 12px;
    color: var(--text3);
    margin-bottom: 20px;
}

.pricing-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text2);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-features li.no::before {
    content: '✗';
    color: var(--text3);
}

.pricing-features li.no {
    color: var(--text3);
}
.career-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.career-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text1);
}

.career-wrap p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 12px;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cert-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text2);
}

.cert-list li i {
    color: var(--accent);
    font-style: normal;
    font-weight: 700;
}

.prospects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.prospects span {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s;
    cursor: default;
}

.prospects span:hover {
    border-color: var(--primary2);
    color: var(--primary2);
    background: rgba(79, 110, 247, 0.08);
}

@media (max-width: 900px) {
    .career-wrap {
        grid-template-columns: 1fr;
    }
}
.partners-strip {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.partners-strip::before,
.partners-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.partners-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg1), transparent);
}

.partners-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg1), transparent);
}

.partners-track {
    display: flex;
    gap: 0;
    animation: scroll-partners 28s linear infinite;
    width: max-content;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-right: 16px;
    white-space: nowrap;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.partner-item:hover {
    border-color: var(--border2);
}

.partner-emoji {
    font-size: 22px;
}

.partner-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--border2);
    box-shadow: var(--shadow-card);
}

.team-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.team-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(79, 110, 247, 0.1);
    border: 1px solid rgba(79, 110, 247, 0.2);
    color: var(--primary2);
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.team-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
}

.team-social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.team-social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
#faq {
    padding: 90px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item.open {
    border-color: var(--border2);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    gap: 12px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text1);
    user-select: none;
}

.faq-q:hover {
    color: var(--primary2);
}

.faq-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(79, 110, 247, 0.1);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: all 0.3s;
    color: var(--primary2);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    background: rgba(79, 110, 247, 0.2);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    font-size: 14px;
    color: var(--text2);
    line-height: 1.7;
}

.faq-a-inner {
    padding: 0 20px 18px;
}

.faq-item.open .faq-a {
    max-height: 300px;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
.newsletter-bar {
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.15), rgba(0, 212, 170, 0.08));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 24px;
}

.newsletter-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.newsletter-text p {
    font-size: 14px;
    color: var(--text2);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.newsletter-form input {
    background: var(--bg3);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text1);
    font-size: 14px;
    outline: none;
    min-width: 240px;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: var(--primary2);
}

.newsletter-msg {
    font-size: 13px;
    color: var(--accent);
    margin-top: 8px;
    font-weight: 600;
}
.contact-section {
    padding: 100px 24px 120px;
    background: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    margin-bottom: 60px;
}

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    margin-bottom: 16px;
}

.contact-eyebrow .line {
    width: 30px;
    height: 1px;
    background: var(--neon-cyan);
}

.contact-header .section-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.contact-header .section-desc {
    color: var(--text-secondary);
    font-size: 18px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

/* Form Styles */
.contact-form-wrapper {
    padding: 40px;
    background: #0a0a0a;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.w-100 { width: 100%; }
.mt-4 { margin-top: 16px; }

.contact-form .btn-primary-cyber {
    font-size: 15px;
    letter-spacing: 0.06em;
    padding: 16px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(13, 104, 255, 0.98), rgba(0, 197, 255, 0.98));
    box-shadow: 0 16px 30px rgba(0, 58, 105, 0.22);
}

.contact-form .btn-primary-cyber:hover {
    background: linear-gradient(135deg, rgba(17, 142, 255, 1), rgba(0, 224, 255, 1));
    box-shadow: 0 18px 34px rgba(0, 72, 140, 0.28);
}

/* Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: #0a0a0a;
}

.info-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    border: 1px solid #222;
}

.info-card:hover .info-icon {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.info-val {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.social-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 14px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }
    .contact-header .section-title {
        font-size: 36px;
    }
}
footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13.5px;
    color: var(--text3);
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text2);
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--primary2);
    color: var(--primary2);
    background: rgba(79, 110, 247, 0.1);
}

footer h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text1);
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    font-size: 13.5px;
    color: var(--text3);
    transition: color 0.2s;
}

footer ul li a:hover {
    color: var(--primary2);
}

.f-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text3);
    margin-bottom: 12px;
}

.f-contact li i {
    font-style: normal;
    flex-shrink: 0;
}

.f-contact li a {
    color: var(--text3);
}

.f-contact li a:hover {
    color: var(--primary2);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text3);
}

.footer-bottom a {
    color: var(--text3);
}

.footer-bottom a:hover {
    color: var(--primary2);
}

.enc {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    color: var(--accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 100px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.back-to-top {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 996;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border2);
    background: var(--surface);
    color: var(--text2);
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: all 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--primary2);
    color: var(--primary2);
    background: rgba(79, 110, 247, 0.1);
}
.wa-btn {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 996;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #25D366;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.5);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.wa-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.7);
}

.wa-tooltip {
    position: fixed;
    bottom: 104px;
    right: 88px;
    z-index: 996;
    background: #25D366;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.25s;
}

.wa-btn:hover + .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}
.offer-popup {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.offer-popup.show {
    opacity: 1;
    pointer-events: all;
}

.spec-ops-popup {
    background: rgba(13, 18, 32, 0.45);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 28px;
    padding: 0;
    max-width: 500px;
    width: calc(100% - 32px);
    text-align: center;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: popIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes popIn {
    from {
        transform: scale(0.88) translateY(10px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.offer-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 15;
}

.offer-close-btn:hover {
    color: #ffffff;
    border-color: rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.offer-top-panel {
    padding: 56px 24px 36px;
    background-image: linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.special-ops-badge {
    width: 64px;
    height: 64px;
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 18px;
    background: rgba(0, 229, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.15), inset 0 0 12px rgba(0, 229, 255, 0.08);
}

.special-ops-text {
    color: #00e5ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.45);
}

.offer-bottom-panel {
    padding: 38px 40px 48px;
    background: #08090d;
}

.special-ops-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.3px;
}

.special-ops-course {
    color: rgba(0, 229, 255, 0.9);
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}

.special-ops-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.special-ops-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.btn-enroll-spec {
    background: #00e5ff;
    color: #000000;
    border: none;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-enroll-spec:hover {
    background: linear-gradient(90deg, #00e5ff, #6bf0e8);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 60px rgba(0, 229, 255, 0.24), 0 0 80px rgba(0, 229, 255, 0.18);
}

.btn-dismiss-spec {
    background: rgba(255, 255, 255, 0.02);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 26px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-dismiss-spec:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-whatsapp-spec {
    background: linear-gradient(90deg,#25D366,#1ebd5a);
    color: #ffffff;
    border: none;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 30px rgba(37,211,102,0.18);
}

.btn-whatsapp-spec:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 60px rgba(37,211,102,0.18), 0 0 80px rgba(37,211,102,0.08);
}

@media (max-width: 480px) {
    .offer-bottom-panel {
        padding: 30px 24px 36px;
    }
    .special-ops-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-enroll-spec, .btn-dismiss-spec {
        justify-content: center;
        padding: 12px 20px;
    }
}

.cta-block {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 110, 247, 0.15) 0%, rgba(0, 212, 170, 0.08) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 24px;
    text-align: center;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(79, 110, 247, 0.2), transparent 70%);
    pointer-events: none;
}

.cta-block .container {
    position: relative;
    z-index: 1;
}

.cta-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-block p {
    color: var(--text2);
    font-size: 16px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
/* ============================================================
   ValidateCertificate — Nidhi Cyber Solutions
   ============================================================ */

.validate-section {
    padding: 120px 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(0, 217, 255, 0.03) 0%, transparent 60%);
}

.validate-container {
    width: 100%;
    max-width: 560px;
    padding: 40px;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-neon);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Icon ── */
.validate-icon-container { margin-bottom: 24px; }
.validate-icon {
    width: 80px; height: 80px;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}
.validate-icon.success {
    background: rgba(0, 230, 168, 0.1);
    border-color: var(--cyber-green);
    box-shadow: 0 0 30px rgba(0, 230, 168, 0.3);
    animation: icon-success-pulse 2s ease-in-out infinite;
}
.validate-icon.error {
    background: rgba(255, 51, 102, 0.1);
    border-color: var(--alert-red);
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.3);
}
@keyframes icon-success-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 230, 168, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 230, 168, 0.55); }
}

/* ── Header ── */
.validate-header { margin-bottom: 32px; }
.validate-title { font-size: 28px; margin-bottom: 8px; letter-spacing: -0.5px; }
.validate-desc { color: var(--text-secondary); font-size: 14px; line-height: 1.5; }

/* ── Form ── */
.validate-form {
    width: 100%;
    display: flex; flex-direction: column;
    gap: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 13px; font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.validate-form .btn-primary-cyber.loading {
    animation: pulseGlow 1.5s infinite;
    pointer-events: none;
    opacity: 0.8;
}
.validation-msg {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-mono);
    text-align: center;
    animation: fadeIn 0.3s ease;
}
.validation-msg.success {
    background: rgba(0, 230, 168, 0.1);
    border: 1px solid var(--cyber-green);
    color: var(--cyber-green);
}
.validation-msg.error {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid var(--alert-red);
    color: var(--alert-red);
}

/* ── Result Wrapper ── */
.cert-result-wrap {
    width: 100%;
    display: flex; flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeIn 0.4s ease;
}

/* ── Verified Banner ── */
.cert-valid-banner {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 230, 168, 0.08);
    border: 1px solid rgba(0, 230, 168, 0.3);
    border-radius: 100px;
    font-size: 13px; font-weight: 600;
    color: var(--cyber-green);
    letter-spacing: 0.3px;
}
.cert-valid-dot {
    width: 8px; height: 8px;
    background: var(--cyber-green);
    border-radius: 50%;
    animation: dot-blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px var(--cyber-green);
}
@keyframes dot-blink {
    0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* ── Details Card ── */
.cert-details-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(0,217,255,0.04), rgba(0,230,168,0.03));
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    text-align: left;
}
.cert-details-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cert-details-logo { font-size: 32px; }
.cert-details-org {
    font-size: 13px; font-weight: 700;
    color: #00d9ff; letter-spacing: 0.5px;
    text-transform: uppercase;
}
.cert-details-type {
    font-size: 11px; color: rgba(255,255,255,0.4);
    margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px;
}
.cert-holder-name {
    font-size: 22px; font-weight: 700;
    color: #ffffff; margin-bottom: 4px;
    letter-spacing: -0.3px;
}
.cert-course-name {
    font-size: 13px; color: rgba(0,217,255,0.8);
    margin-bottom: 20px; font-weight: 500;
}
.cert-meta-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.cert-meta-item {
    display: flex; flex-direction: column; gap: 4px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}
.cert-meta-label {
    font-size: 10px; font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase; letter-spacing: 0.8px;
}
.cert-meta-value {
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.9);
}
.cert-id-val { font-family: var(--font-mono); color: #00d9ff; }
.cert-status-valid { color: var(--cyber-green) !important; }
.cert-watermark {
    position: absolute;
    bottom: 16px; right: 20px;
    font-size: 48px; font-weight: 900;
    color: rgba(0,217,255,0.04);
    letter-spacing: 4px;
    pointer-events: none;
    user-select: none;
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
}

/* ── Action Buttons ── */
.cert-action-row {
    display: flex; gap: 12px; width: 100%;
    flex-wrap: wrap;
}
.cert-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px; font-weight: 600;
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cert-btn-view {
    background: rgba(0,217,255,0.08);
    border: 1px solid rgba(0,217,255,0.3);
    color: #00d9ff;
}
.cert-btn-view:hover {
    background: rgba(0,217,255,0.15);
    box-shadow: 0 4px 20px rgba(0,217,255,0.2);
    transform: translateY(-1px);
}
.cert-btn-download {
    background: linear-gradient(135deg, rgba(0,230,168,0.15), rgba(0,217,255,0.1));
    border: 1px solid rgba(0,230,168,0.35);
    color: var(--cyber-green);
}
.cert-btn-download:hover {
    background: linear-gradient(135deg, rgba(0,230,168,0.25), rgba(0,217,255,0.15));
    box-shadow: 0 4px 20px rgba(0,230,168,0.25);
    transform: translateY(-1px);
}

/* ── Full Certificate View ── */
.cert-full-view {
    width: 100%;
    animation: fadeIn 0.35s ease;
}
.cert-full-inner {
    width: 100%;
    background: linear-gradient(135deg, #070d1a 0%, #0a1626 100%);
    border: 2px solid rgba(0,217,255,0.4);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
/* Corner accents */
.cert-full-corner {
    position: absolute;
    width: 24px; height: 24px;
    border-color: #00d9ff;
    border-style: solid;
    border-width: 0;
}
.cert-full-corner.tl { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; }
.cert-full-corner.tr { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; }
.cert-full-corner.bl { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; }
.cert-full-corner.br { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; }

.cert-full-header { margin-bottom: 28px; }
.cert-full-org {
    font-size: 13px; font-weight: 800;
    color: #00d9ff; letter-spacing: 3px;
    text-transform: uppercase;
}
.cert-full-sub {
    font-size: 10px; color: rgba(255,255,255,0.35);
    letter-spacing: 1px; margin-top: 4px;
}
.cert-full-title {
    font-size: 20px; font-weight: 700;
    color: #ffffff; letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.cert-full-divider {
    width: 160px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,217,255,0.5), transparent);
    margin: 0 auto 24px;
}
.cert-full-certify-text {
    font-size: 12px; color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}
.cert-full-name {
    font-size: 28px; font-weight: 800;
    color: #00d9ff; letter-spacing: 1px;
    margin-bottom: 8px; line-height: 1.2;
}
.cert-full-course {
    font-size: 14px; font-weight: 700;
    color: #ffffff; letter-spacing: 1px;
    margin-bottom: 28px;
    padding: 8px 20px;
    background: rgba(0,217,255,0.06);
    border: 1px solid rgba(0,217,255,0.15);
    border-radius: 8px;
    display: inline-block;
}
.cert-full-meta {
    display: flex; justify-content: center; gap: 32px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}
.cert-full-meta-item { text-align: center; }
.cert-full-meta-label {
    font-size: 9px; font-weight: 700;
    color: rgba(0,217,255,0.6);
    letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 4px;
}
.cert-full-meta-val {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-mono, monospace);
}
.cert-full-footer {
    font-size: 10px; color: rgba(255,255,255,0.2);
    letter-spacing: 0.5px;
}
.cert-full-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 72px; font-weight: 900;
    color: rgba(0,217,255,0.04);
    letter-spacing: 8px;
    pointer-events: none; user-select: none;
    white-space: nowrap;
}

/* ── Reset button ── */
.cert-btn-reset {
    background: none;
    border: 1px dashed rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.35);
    font-size: 12px;
    font-family: var(--font-heading, sans-serif);
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.cert-btn-reset:hover {
    border-color: rgba(0,217,255,0.4);
    color: #00d9ff;
}

/* ── Shared animations ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .validate-container { padding: 32px 20px; }
    .cert-meta-grid { grid-template-columns: 1fr; }
    .cert-full-meta { gap: 20px; }
    .cert-full-name { font-size: 20px; }
    .cert-full-title { font-size: 15px; }
    .cert-action-row { flex-direction: column; }
}

/* ── Inline Certificate Template (HTML replica of Canvas) ── */
.cert-tmpl-scroll {
    width: 100%;
    overflow-x: auto;
    margin-top: 24px;
    padding: 12px;
    background: #e2e8f0;
    border-radius: 12px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}
.cert-tmpl-wrap {
    width: 1000px; /* fixed aspect ratio for desktop */
    min-width: 800px;
    background: #fff;
    border: 2px solid #ccc;
    position: relative;
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header with wave */
.cert-tmpl-header {
    position: relative;
    background: #0d2060;
    padding-top: 40px;
    padding-bottom: 20px;
    text-align: center;
    color: #fff;
    z-index: 1;
}
.cert-tmpl-wave {
    position: absolute;
    bottom: -98%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.cert-tmpl-company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.cert-tmpl-shield {
    background: #22c55e;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px 4px 12px 12px;
    line-height: 1;
}
.cert-tmpl-title {
    margin-top: 50px;
    font-family: Georgia, serif;
    font-size: 72px;
    font-weight: 700;
    font-style: italic;
    color: #FFD700;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: 2px;
}
.cert-tmpl-sub {
    font-family: Georgia, serif;
    font-size: 28px;
    font-style: italic;
    color: #f0d060;
    margin-top: -10px;
}

/* Gold Medal */
.cert-tmpl-medal {
    position: absolute;
    left: 100px;
    bottom: -60px;
    width: 140px;
    height: 140px;
    z-index: 2;
}
.cert-tmpl-burst {
    width: 100%;
    height: 100%;
    background: #FFD700;
    clip-path: polygon(50% 0%, 61% 16%, 79% 10%, 83% 28%, 100% 34%, 93% 50%, 100% 66%, 83% 72%, 79% 90%, 61% 84%, 50% 100%, 39% 84%, 21% 90%, 17% 72%, 0% 66%, 7% 50%, 0% 34%, 17% 28%, 21% 10%, 39% 16%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-tmpl-coin {
    position: absolute;
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #FFF9C4, #FFD700 45%, #E65100);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cert-tmpl-coin-star {
    font-size: 40px;
    color: #FFA000;
    text-shadow: 0 1px 2px #7b3800;
}
.cert-tmpl-ribbon {
    position: absolute;
    top: 110px;
    left: 20px;
    right: 20px;
    height: 70px;
    z-index: -1;
}
.cert-tmpl-ribbon-l, .cert-tmpl-ribbon-r {
    position: absolute;
    top: 0; width: 35px; height: 80px;
    background: #FF8F00;
}
.cert-tmpl-ribbon-l {
    left: 0;
    transform: rotate(15deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}
.cert-tmpl-ribbon-r {
    right: 0;
    transform: rotate(-15deg);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
}

/* Body */
.cert-tmpl-body {
    padding: 140px 60px 40px;
    text-align: center;
}
.cert-tmpl-presented {
    font-family: Georgia, serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 24px;
}
.cert-tmpl-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 56px;
    color: #111;
    margin: 0 0 12px;
}
.cert-tmpl-hr {
    width: 60%;
    margin: 0 auto 30px;
    border: 0;
    border-top: 1px solid #ddd;
}
.cert-tmpl-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}
.cert-tmpl-text strong { color: #111; }

/* Footer */
.cert-tmpl-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px 40px;
    border-top: 1px solid #eee;
    margin: 0 40px;
    padding-top: 30px;
}
.cert-tmpl-ncsid {
    text-align: left;
    font-size: 16px;
    color: #111;
}
.cert-tmpl-validupto {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}
.cert-tmpl-seals {
    display: flex;
    gap: 30px;
}
.cert-tmpl-seal {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cert-tmpl-seal::after {
    content: '';
    position: absolute;
    top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px solid;
    border-radius: 50%;
}
.cert-tmpl-iso { border-color: #1a3c7a; color: #1a3c7a; }
.cert-tmpl-iso::after { border-color: #1a3c7a; }
.cert-tmpl-msme { border-color: #b85c00; color: #b85c00; }
.cert-tmpl-msme::after { border-color: #b85c00; }

.cert-tmpl-sig {
    text-align: center;
    width: 180px;
}
.cert-tmpl-sig-scrawl {
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 40"><path d="M10,30 Q20,10 30,25 T50,20 T70,30 T90,15" fill="none" stroke="black" stroke-width="2" stroke-linecap="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 5px;
}
.cert-tmpl-sig-line {
    border-top: 1px solid #222;
    margin-bottom: 8px;
}
.cert-tmpl-sig-label {
    font-size: 14px;
    font-weight: bold;
    color: #111;
}
