:root {
    --bg-navy: #040814;
    --bg-card: #0A1124;
    --bg-card-dark: #060B18;
    --border: #1E293B;
    --cyan: #00F2FE;
    --cyan-glow: rgba(0, 242, 254, 0.35);
    --blue: #4FACFE;
    --emerald: #10B981;
    --rose: #F43F5E;
    --amber: #FBBF24;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-navy);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, .brand-name { font-family: 'Space Grotesk', sans-serif; }
.font-mono { font-family: monospace; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-gap { display: flex; gap: 1rem; }
.space-y > * + * { margin-top: 1.25rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-cyan { color: var(--cyan); }
.text-red { color: var(--rose); }
.w-full { width: 100%; }
.hidden { display: none !important; }

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glow Background */
.glow-bg {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    filter: blur(140px); pointer-events: none; opacity: 0.2; z-index: 0;
}
.glow-cyan { top: -100px; left: -100px; background: var(--cyan); }
.glow-blue { top: 200px; right: -100px; background: var(--blue); }

/* Header Navbar */
.navbar {
    background: rgba(4, 8, 20, 0.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 1.1rem 0;
    position: sticky; top: 0; z-index: 100;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-size: 1.5rem; font-weight: 800; color: white; }
.brand-badge { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #040814; font-weight: 900; padding: 0.25rem 0.6rem; border-radius: 8px; font-size: 1rem; }
.brand-dot { color: var(--cyan); }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-item { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-item:hover { color: var(--cyan); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.65rem 1.35rem; border-radius: 12px; font-weight: 700;
    cursor: pointer; border: none; text-decoration: none; font-family: 'Space Grotesk', sans-serif;
    transition: all 0.25s ease;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; border-radius: 14px; }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #040814; font-weight: 900; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 10px 25px var(--cyan-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: white; }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.shadow-cyan { box-shadow: 0 4px 20px var(--cyan-glow); }

/* Hero */
.hero { padding: 6rem 0 5rem; position: relative; z-index: 1; }
.badge-cyan {
    display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3); color: var(--cyan); font-weight: 800;
    font-size: 0.75rem; padding: 0.4rem 1.1rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

.hero-title { font-size: 3.5rem; font-weight: 900; line-height: 1.15; max-width: 900px; margin: 0 auto 1.5rem; }
.hero-sub { color: var(--text-muted); font-size: 1.2rem; max-width: 720px; margin: 0 auto 2.5rem; }

/* Dashboard Interactive Preview Console */
.preview-dashboard {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6); overflow: hidden; margin-top: 3.5rem; text-align: left;
}
.dash-bar { background: #060C1B; padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.window-controls { display: flex; align-items: center; gap: 0.5rem; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: var(--rose); }
.dash-dot.yellow { background: var(--amber); }
.dash-dot.green { background: var(--emerald); }
.dash-title { color: var(--text-muted); font-weight: 600; margin-left: 0.5rem; }
.pulse-tag { color: var(--cyan); font-weight: 800; font-size: 0.75rem; }

.dash-body { padding: 1.75rem; background: #030611; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.proctor-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; }
.border-green { border-color: rgba(16, 185, 129, 0.4); }
.border-red { border-color: rgba(244, 63, 94, 0.4); }
.card-head { font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.status-ok { color: var(--emerald); font-size: 0.75rem; font-weight: 800; }
.status-warn { color: var(--rose); font-size: 0.75rem; font-weight: 800; }

.cam-box { height: 180px; background: #070D1D; border-radius: 12px; position: relative; display: flex; align-items: center; justify-content: center; border: 1px dashed var(--border); margin-bottom: 1rem; }
.cam-placeholder { color: var(--text-muted); font-size: 0.85rem; }
.cam-overlay { position: absolute; inset: 0; padding: 0.85rem; display: flex; flex-direction: column; justify-content: space-between; }
.ai-box { width: 90px; height: 90px; border: 2px solid var(--emerald); border-radius: 10px; box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
.ai-box.red { border-color: var(--rose); box-shadow: 0 0 15px rgba(244, 63, 94, 0.3); }
.ai-label { background: rgba(16, 185, 129, 0.2); color: var(--emerald); font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 4px; align-self: flex-start; }
.ai-label.red { background: rgba(244, 63, 94, 0.2); color: var(--rose); }
.card-footer { font-size: 0.75rem; color: var(--text-muted); }

/* Terminal */
.terminal-box { background: #02040A; border: 1px solid var(--border); border-radius: 14px; padding: 1.25rem; }
.terminal-head { font-size: 0.8rem; font-weight: 800; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
.terminal-lines { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.8rem; }
.t-time { color: var(--text-muted); }
.t-green { color: var(--emerald); }
.t-yellow { color: var(--amber); }
.t-cyan { color: var(--cyan); }

/* Stats Strip */
.stats-strip { background: var(--bg-card-dark); padding: 3rem 0; }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-num { font-size: 2.5rem; font-weight: 900; font-family: 'Space Grotesk', sans-serif; }
.stat-lbl { color: var(--text-muted); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; }

/* Section Header */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 900; margin-top: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Grid Layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

/* Features */
.feature-box {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2.25rem;
    border-radius: 24px; transition: all 0.25s ease;
}
.feature-box:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 15px 35px var(--cyan-glow); }
.f-icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.feature-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.65rem; }
.feature-box p { color: var(--text-muted); font-size: 0.9rem; }

/* Calculator */
.calc-card { background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem; border-radius: 28px; max-width: 960px; margin: 0 auto; }
.calc-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; }
input[type="range"] { width: 100%; accent-color: var(--cyan); }
.calc-val { font-size: 1.3rem; font-weight: 900; color: var(--cyan); margin-top: 0.4rem; }
.calc-results { background: #040814; border: 1px solid var(--border); padding: 1.75rem; border-radius: 20px; gap: 1.25rem; }
.res-lbl { font-size: 0.8rem; color: var(--text-muted); display: block; }
.res-num { font-size: 1.75rem; font-weight: 900; }
.res-num.red { color: var(--rose); }
.res-num.cyan { color: var(--cyan); }
.res-highlight { background: rgba(16, 185, 129, 0.15); border: 1px solid var(--emerald); color: var(--emerald); padding: 1rem; border-radius: 14px; font-weight: 800; font-size: 0.95rem; text-align: center; }

/* Pricing */
.p-tier {
    background: var(--bg-card); border: 1px solid var(--border); padding: 2.5rem 2rem;
    border-radius: 28px; position: relative; text-align: center; display: flex; flex-direction: column; justify-between;
}
.p-tier.featured {
    border: 2px solid var(--cyan); box-shadow: 0 20px 50px var(--cyan-glow);
    background: linear-gradient(180deg, #0D1A33 0%, #0A1124 100%); transform: scale(1.04);
}
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #040814; font-size: 0.75rem; font-weight: 900; padding: 0.3rem 1rem; border-radius: 50px; }
.p-name { font-size: 0.85rem; font-weight: 800; color: var(--cyan); letter-spacing: 1px; }
.p-price { font-size: 3.25rem; font-weight: 900; margin: 0.75rem 0; font-family: 'Space Grotesk', sans-serif; }
.p-unit { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }
.p-desc { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.75rem; }
.p-list { list-style: none; text-align: left; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.9rem; }

/* Footer */
.footer { padding: 3rem 0; background: #02050E; color: var(--text-muted); font-size: 0.9rem; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-card { background: var(--bg-card); border: 1px solid var(--border); width: 100%; max-width: 520px; padding: 2.5rem; border-radius: 28px; position: relative; color: white; text-align: left; }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; }
.modal-head h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.4rem; }
.modal-head p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-input { width: 100%; background: var(--bg-navy); border: 1px solid var(--border); padding: 0.75rem 1rem; border-radius: 12px; color: white; outline: none; font-family: inherit; font-size: 0.9rem; }
.form-input:focus { border-color: var(--cyan); }
.alert-box { background: rgba(0, 242, 254, 0.15); border: 1px solid var(--cyan); color: var(--cyan); padding: 0.85rem; border-radius: 12px; font-weight: 700; font-size: 0.85rem; margin-top: 1rem; text-align: center; }

@media (max-width: 992px) {
    .dash-grid, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
}
