/* ─── VARIABLES ───────────────────────────────────────────────────────────── */

:root {
    --bg: #050505;
    --accent: #ffffff;
    --border: #222;
    --text-dim: #777;
    --nav-height: 70px;
    --h-margin: 60px;
    --glow: rgba(255, 255, 255, 0.05);
}

/* ─── BASE ────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: #fff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding-top: calc(var(--nav-height) + 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    animation: pageFadeIn 0.6s ease-out forwards;
}

svg { fill: currentColor; }

/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */

@keyframes neon-flow {
    0%, 100% { color: #555; text-shadow: none; }
    50%       { color: #fff; text-shadow: 0 0 10px #fff, 0 0 20px #fff; }
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50%       { transform: translateX(5px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes modalEntry {
    from { opacity: 0; transform: scale(0.9) translateY(10px); filter: brightness(2); }
    to   { opacity: 1; transform: scale(1) translateY(0);      filter: brightness(1); }
}

@keyframes revealLogo {
    0%   { opacity: 0; transform: scale(0.9) translateY(10px); filter: blur(10px) brightness(0); }
    50%  { opacity: 0.5; filter: blur(5px) brightness(1.2); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) brightness(1); }
}

@keyframes breathe {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
    50%       { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(255,255,255,0.5)); }
}

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── UTILITY ─────────────────────────────────────────────────────────────── */

.neon-text span { display: inline-block; animation: neon-flow 2s infinite; }
.pulse-text      { animation: pulse 2s infinite; }
.char            { display: inline-block; opacity: 0; transition: 0.3s; }
.char.visible    { opacity: 1; }
.reveal          { opacity: 0; transform: translateY(20px); transition: 1s ease-out; }
.reveal.visible  { opacity: 1; transform: translateY(0); }
.highlight       { color: #999; font-weight: 600; border-bottom: 1px solid #222; transition: all 0.3s; }
.highlight:hover { color: #fff; border-bottom-color: #555; }

/* ─── NAVIGATION ──────────────────────────────────────────────────────────── */

.nav-container {
    position: fixed;
    top: 20px;
    width: calc(100% - 40px);
    max-width: 1100px;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
}

.logo { font-weight: 900; letter-spacing: 3px; font-size: 18px; text-transform: uppercase; }
.nav-right { display: flex; align-items: center; gap: 25px; }

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: #fff;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active { color: #fff; }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */

.btn-reg {
    background: #fff;
    color: #000;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-reg:hover { background: #ccc; }

.btn-container { display: flex; gap: 15px; justify-content: center; margin-bottom: 60px; }

.action-btn {
    width: 210px;
    padding: 18px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
}

.action-btn:hover { border-color: #666; background: #111; box-shadow: 0 0 20px rgba(255,255,255,0.1); }
.action-btn:hover .btn-icon-arrow { animation: arrow-move 0.6s infinite; }
.btn-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */

.hero { text-align: center; width: 100%; margin-bottom: 100px; }

.intro-text {
    font-size: 20px;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 5px;
}

.main-title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: 18px;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: 1.2s all ease 0.8s;
    display: flex;
    justify-content: center;
}

.main-title.visible { opacity: 1; transform: translateY(0); }

/* ─── SECTION WRAPPER ─────────────────────────────────────────────────────── */

.section-wrapper { max-width: 1100px; width: 90%; margin-bottom: 100px; }

.section-header {
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #fff;
    text-align: left;
    border-left: 2px solid #fff;
    padding-left: 15px;
}

/* ─── FEATURE CARDS & BENTO GRID ─────────────────────────────────────────── */

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}

.feature-card {
    background: #0a0a0a;
    border: 1px solid var(--border);
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover { border-color: #555; background: #0f0f0f; transform: translateY(-5px); }
.feature-large  { grid-column: span 2; grid-row: span 2; }
.feature-center { grid-column: 2; }

.feature-card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 10px 0; color: #fff; }
.feature-card p  { font-size: 12px; color: var(--text-dim); line-height: 1.6; margin: 0; }

.badge {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 9px;
    padding: 3px 8px;
    border: 1px solid #333;
    color: #555;
    text-transform: uppercase;
}

.ui-preview {
    width: 100%; height: 160px;
    margin-top: 20px;
    background: linear-gradient(45deg, #050505, #111);
    border: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 10px;
    text-transform: uppercase;
}

.status-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: #00ff88;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px #00ff88;
}

.distro-tag {
    font-size: 9px;
    padding: 3px 7px;
    border: 1px solid #333;
    margin-right: 5px;
    color: #666;
    text-transform: uppercase;
}

/* ─── STATS GRID ──────────────────────────────────────────────────────────── */

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.stat-card {
    background: #0a0a0a;
    border: 1px solid var(--border);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}

.stat-value { font-size: 36px; font-weight: 900; letter-spacing: 2px; }
.stat-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px; margin-top: 8px; }

/* ─── TERMINAL ────────────────────────────────────────────────────────────── */

.terminal-window {
    width: 90%; max-width: 650px;
    background: #080808;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.terminal-title    { font-size: 11px; color: #666; font-family: sans-serif; }
.terminal-controls { display: flex; gap: 12px; color: #444; font-size: 10px; }

.terminal-body {
    padding: 20px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 11px;
    color: #555;
    text-align: left;
    min-height: 240px;
    white-space: pre;
    line-height: 1.2;
    overflow-x: auto;
}

.cmd        { color: #eee; }
.success    { color: #00ff88; }
.ascii-logo { color: #fff; font-weight: bold; margin-bottom: 15px; }

/* ─── DEV TEAM ────────────────────────────────────────────────────────────── */

.dev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.dev-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}

.dev-avatar {
    width: 70px; height: 70px;
    background: #111;
    border: 1px solid #333;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #444;
}

.main-dev .dev-avatar { border-color: #fff; color: #fff; }
.dev-info h4 { margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.dev-info p  { font-size: 11px; color: #555; margin-top: 5px; }

.dev-socials { display: flex; justify-content: center; gap: 15px; margin-top: 15px; }
.dev-socials a { color: #444; transition: 0.3s; }
.dev-socials a:hover { color: #fff; transform: translateY(-2px); }

/* ─── SLIDER ──────────────────────────────────────────────────────────────── */

.design-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    margin-top: 10px;
    scrollbar-width: none;
}

.design-slider::-webkit-scrollbar { display: none; }
.design-slide { min-width: 100%; scroll-snap-align: start; }
.slider-nav { margin-top: 15px; display: flex; gap: 8px; }

.nav-rect {
    width: 20px; height: 4px;
    background: #222;
    border: 1px solid #333;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-rect:hover  { background: #444; }
.nav-rect:focus,
.nav-rect:active { background: #fff; border-color: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* ─── VIDEO ───────────────────────────────────────────────────────────────── */

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 50px;
}

.video-container iframe { width: 100%; height: 100%; filter: grayscale(0.2) contrast(1.1); }

.video-overlay {
    position: absolute;
    top: 20px; left: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    pointer-events: none;
}

.rec-dot {
    width: 8px; height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse-red 1s infinite;
}

/* ─── ROADMAP ─────────────────────────────────────────────────────────────── */

.roadmap-list { list-style: none; padding: 0; margin-top: 15px; }

.roadmap-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    padding: 10px 0;
    border-bottom: 1px solid #111;
    color: var(--text-dim);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    will-change: transform;
}

.roadmap-list li:hover { color: #fff; transform: translateX(8px); }

.dot       { width: 6px; height: 6px; background: #222; border-radius: 50%; }
.dot.done  { background: #fff; box-shadow: 0 0 10px #fff; }
.dot.pulse { background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.5s infinite; }

/* ─── BRAND BLOCK ─────────────────────────────────────────────────────────── */

.brand-reveal-content { display: flex; align-items: center; gap: 30px; margin-top: 10px; }

.big-n-logo {
    font-size: 72px;
    font-weight: 900;
    font-family: monospace;
    border: 1px solid #333;
    padding: 0 25px;
    background: linear-gradient(180deg, #fff 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── CONTACTS SPECIFICS ──────────────────────────────────────────────────── */

.contact-green-link { color: #00ff88 !important; }
.contact-green-link::after { background: #00ff88 !important; }
.features-section .nav-link:hover::after { background: #00ff88; }

/* ─── MODAL ───────────────────────────────────────────────────────────────── */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out forwards;
    margin: auto;
}

.modal-content {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 30px;
    width: 350px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.05);
    animation: modalEntry 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.no-scroll {
    overflow: hidden;
}

.modal-header  { font-size: 10px; letter-spacing: 4px; color: #444; margin-bottom: 20px; }
#modal-text    { font-size: 14px; margin-bottom: 30px; text-transform: uppercase; letter-spacing: 1px; }
.modal-buttons { display: flex; gap: 15px; margin-top: 30px; }

.modal-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid #222;
    color: #fff;
    font-size: 10px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.modal-btn:hover  { background: #fff; color: #000; }
.btn-danger:hover { background: #ff3333; border-color: #ff3333; color: #fff; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */

footer { width: 100%; background: #080808; border-top: 1px solid #111; padding: 80px 0 40px; margin-top: 100px; }

.footer-content {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo { margin-bottom: 20px; display: block; }
.footer-brand p     { font-size: 12px; color: #444; line-height: 1.8; max-width: 250px; }
.footer-column h4   { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; color: #fff; }

.footer-list    { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 12px; }

.footer-list a {
    color: #555;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
}

.footer-list a::before   { content: '-'; margin-right: 8px; color: #222; transition: 0.3s; }
.footer-list a:hover     { color: #fff; transform: translateX(8px); }
.footer-list a:hover::before { color: #fff; }

.footer-bottom {
    max-width: 1100px;
    width: 90%;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid #111;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sys-footer {
    max-width: 1100px;
    width: 90%;
    margin: 20px auto;
    font-size: 10px;
    color: #333;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-note {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #111;
    font-size: 10px;
    color: #222;
    text-align: center;
    letter-spacing: 2px;
    opacity: 0.5;
}