/* =========================================================
   XOWIA TECHNOLOGIES — STYLE
   Theme: Cyber-dark / Neon green & cyan accents
   ========================================================= */

:root {
    --bg: #05070d;
    --bg-2: #0a0e1a;
    --bg-3: #0f1424;
    --panel: #0d1220;
    --line: #1a2238;
    --text: #d8e1ff;
    --muted: #8a93b2;
    --accent: #00ff9d;       /* neon green */
    --accent-2: #00d4ff;     /* cyan */
    --accent-3: #ff3b6b;     /* alert red */
    --warn: #ffb84d;
    --grad: linear-gradient(135deg, #00ff9d 0%, #00d4ff 100%);
    --shadow-acc: 0 0 24px rgba(0, 255, 157, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 992px) { body { cursor: auto; } .cursor-dot, .cursor-outline { display: none; } }

a { color: var(--accent-2); text-decoration: none; transition: .25s; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--bg); }

/* ========== MATRIX BACKGROUND ========== */
#matrixCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    opacity: 0.07;
    pointer-events: none;
}

/* ========== CURSOR ========== */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0; left: 0;
    border-radius: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity .2s;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--accent);
}
.cursor-outline {
    width: 32px; height: 32px;
    border: 1px solid var(--accent);
    transition: transform .15s ease-out, width .2s, height .2s, border-color .2s;
}
.cursor-outline.hover {
    width: 56px; height: 56px;
    border-color: var(--accent-2);
    background: rgba(0, 212, 255, 0.08);
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s, visibility .6s;
    animation: preloaderAutoHide 0s linear 6s forwards;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
@keyframes preloaderAutoHide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.preloader-inner {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent);
    font-size: 14px;
}
.terminal-line {
    opacity: 0;
    transform: translateX(-10px);
    animation: termIn .4s forwards;
    margin-bottom: 6px;
}
.terminal-line:nth-child(1) { animation-delay: .1s; }
.terminal-line:nth-child(2) { animation-delay: .8s; }
.terminal-line:nth-child(3) { animation-delay: 1.5s; color: var(--accent-2); }
@keyframes termIn { to { opacity: 1; transform: translateX(0); } }
.blink { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ========== NAVBAR ========== */
.xw-navbar {
    background: rgba(5, 7, 13, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: .35s;
    padding: 18px 0;
}
.xw-navbar.scrolled {
    background: rgba(5, 7, 13, 0.92);
    border-bottom-color: var(--line);
    padding: 12px 0;
}
.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 2px;
}
.brand-bracket { color: var(--accent); }
.brand-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.brand-cursor {
    color: var(--accent);
    animation: blink 1s steps(2) infinite;
    margin-left: 4px;
}
.xw-navbar .nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    color: var(--muted) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: .25s;
}
.xw-navbar .nav-link:hover { color: var(--accent) !important; }
.xw-navbar .nav-link.active { color: var(--accent) !important; }
.nav-cta {
    border: 1px solid var(--accent);
    border-radius: 4px;
    color: var(--accent) !important;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--bg) !important;
}
.navbar-toggler {
    border-color: var(--line);
    padding: 4px 8px;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* ========== HERO ========== */
.hero-section {
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,157,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,157,.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    z-index: -1;
}
.hero-container { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 26px;
    background: rgba(13, 18, 32, 0.6);
}
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: .6; }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 5.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}
.glitch {
    position: relative;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    background: var(--bg);
    -webkit-text-fill-color: var(--accent);
    overflow: hidden;
}
.glitch::before { animation: glitch1 3s infinite linear alternate-reverse; clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%); }
.glitch::after { animation: glitch2 2.5s infinite linear alternate-reverse; clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%); -webkit-text-fill-color: var(--accent-2); }
@keyframes glitch1 { 0%,90%,100% { transform: translate(0); opacity: 0; } 92% { transform: translate(-3px, 1px); opacity: .8; } 96% { transform: translate(2px, -1px); opacity: .8; } }
@keyframes glitch2 { 0%,88%,100% { transform: translate(0); opacity: 0; } 90% { transform: translate(2px, 0); opacity: .8; } 94% { transform: translate(-2px, 1px); opacity: .8; } }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 620px;
    margin-bottom: 36px;
}
.hero-subtitle strong { color: var(--accent); font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ========== BUTTONS ========== */
.btn-primary-xw {
    background: var(--grad);
    color: var(--bg) !important;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    transition: .3s;
    position: relative;
    overflow: hidden;
}
.btn-primary-xw:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,255,157,.35);
    color: var(--bg) !important;
}
.btn-primary-xw i { margin-right: 6px; }

.btn-outline-xw {
    background: transparent;
    color: var(--text) !important;
    border: 1px solid var(--line);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    transition: .3s;
}
.btn-outline-xw:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    background: rgba(0,255,157,.05);
}
.btn-outline-xw i { margin-right: 6px; }

/* ========== HERO STATS ========== */
.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}
.stat-num::after { content: '+'; color: var(--accent-2); margin-left: 2px; }
.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
}

/* ========== TERMINAL ========== */
.terminal-window {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(0, 255, 157, .08);
}
.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #06090f;
    border-bottom: 1px solid var(--line);
}
.terminal-header .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }
.terminal-title {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
}
.terminal-body {
    padding: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    line-height: 1.9;
    min-height: 320px;
}
.t-line {
    display: block;
    color: var(--text);
    opacity: 0;
    animation: typeIn .3s forwards;
}
.t-line:nth-child(1) { animation-delay: .2s; }
.t-line:nth-child(2) { animation-delay: .8s; }
.t-line:nth-child(3) { animation-delay: 1.4s; }
.t-line:nth-child(4) { animation-delay: 2s; }
.t-line:nth-child(5) { animation-delay: 2.6s; }
.t-line:nth-child(6) { animation-delay: 3.2s; }
.t-line:nth-child(7) { animation-delay: 3.8s; }
.t-line:nth-child(8) { animation-delay: 4.2s; }
.t-line:nth-child(9) { animation-delay: 4.6s; }
.t-line:nth-child(10) { animation-delay: 5.2s; }
@keyframes typeIn { to { opacity: 1; } }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-out { color: var(--accent-2); }
.t-warn { color: var(--warn); }

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 3px;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(var(--accent), transparent);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    width: 100%;
    height: 50%;
    background: var(--accent);
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown { to { top: 100%; } }

/* ========== SECTIONS COMMON ========== */
.section {
    padding: 120px 0;
    position: relative;
}
.section-head {
    text-align: center;
    margin-bottom: 70px;
}
.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 18px;
    letter-spacing: -.5px;
}
.section-sub {
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.02rem;
}

/* ========== ABOUT ========== */
.section-about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 36px 28px;
    height: 100%;
    transition: .4s;
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: .4s;
    z-index: 0;
}
.about-card > * { position: relative; z-index: 1; }
.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-acc);
}
.about-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    background: rgba(0, 255, 157, .08);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 22px;
}
.about-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.about-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ========== SERVICES ========== */
.section-services { background: var(--bg-2); }
.service-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 34px 28px;
    height: 100%;
    transition: .4s;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: .5s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,255,157,.4); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,255,157,.12), rgba(0,212,255,.12));
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 22px;
}
.service-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.service-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed var(--line);
    padding-top: 16px;
}
.service-list li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--muted);
    padding: 5px 0 5px 18px;
    position: relative;
}
.service-list li::before {
    content: '>';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ========== BUG BOUNTY ========== */
.section-bugbounty {
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    overflow: hidden;
}
.logo-marquee {
    overflow: hidden;
    margin: 50px 0 70px;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 18px;
    animation: marquee 40s linear infinite;
    width: max-content;
}
.logo-chip {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: var(--panel);
    white-space: nowrap;
    transition: .3s;
}
.logo-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: var(--shadow-acc);
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.metric-card {
    text-align: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 32px 16px;
    transition: .3s;
}
.metric-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.metric-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.metric-num span { color: var(--accent-2); -webkit-text-fill-color: var(--accent-2); }
.metric-label {
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* ========== TRAININGS ========== */
.section-trainings { background: var(--bg); }
.section-trainings .section-tag,
.section-trainings .section-title,
.section-trainings .section-sub { text-align: left; }

.train-list { margin-top: 30px; }
.train-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.train-item:last-child { border-bottom: none; }
.train-item i {
    font-size: 22px;
    color: var(--accent);
    margin-top: 4px;
}
.train-item h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
}
.train-item p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.train-visual {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.code-snippet { padding: 30px; }
.code-snippet pre {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--text);
}
.cm { color: #6b7794; font-style: italic; }
.kw { color: #c084fc; }
.str { color: var(--accent); }
.fn { color: var(--accent-2); }

/* ========== WORKS ========== */
.section-works { background: var(--bg-2); }
.works-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    padding: 8px 22px;
    border-radius: 50px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    cursor: pointer;
    transition: .3s;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0,255,157,.06);
}

.work-card {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: .3s;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.work-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.work-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: .5s;
}
.work-card:hover .work-img img { transform: scale(1.08); }
.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,7,13,.1) 0%, rgba(5,7,13,.95) 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    opacity: 0;
    transition: .35s;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-cat {
    align-self: flex-start;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.work-overlay h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin-bottom: 6px;
}
.work-overlay p { color: var(--muted); font-size: .85rem; margin: 0; }

/* ========== CTA STRIP ========== */
.section-cta {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at top, rgba(0,255,157,.08), transparent 60%),
        var(--bg);
}
.cta-wrap {
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(0,255,157,.04), rgba(0,212,255,.04));
    position: relative;
    overflow: hidden;
}
.cta-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,255,157,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,157,.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}
.cta-wrap > * { position: relative; z-index: 1; }
.cta-wrap h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}
.cta-wrap p { color: var(--muted); margin-bottom: 28px; }

/* ========== CONTACT ========== */
.section-contact { background: var(--bg); }
.contact-info { padding: 10px 0; }
.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.ci-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: rgba(0,255,157,.08);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.ci-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.contact-item a, .contact-item span:not(.ci-label) {
    color: var(--text);
    font-size: 1rem;
}
.social-row {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.social-row a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--text);
    transition: .3s;
}
.social-row a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-acc);
}

.contact-form label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    display: block;
}
.xw-input {
    background: var(--panel) !important;
    border: 1px solid var(--line) !important;
    color: var(--text) !important;
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: .25s;
}
.xw-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(0,255,157,.15) !important;
    background: var(--panel) !important;
    color: var(--text) !important;
}
textarea.xw-input { resize: vertical; min-height: 130px; }
.xw-input::placeholder { color: #4a5273; }
select.xw-input option { background: var(--panel); color: var(--text); }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-response {
    margin-top: 14px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    padding: 0;
    transition: .3s;
}
.form-response.success {
    color: var(--accent);
    background: rgba(0,255,157,.08);
    border: 1px solid rgba(0,255,157,.3);
    padding: 12px 16px;
    border-radius: 6px;
}
.form-response.error {
    color: var(--accent-3);
    background: rgba(255,59,107,.08);
    border: 1px solid rgba(255,59,107,.3);
    padding: 12px 16px;
    border-radius: 6px;
}

/* ========== FOOTER ========== */
.xw-footer {
    background: #03050a;
    padding: 70px 0 30px;
    border-top: 1px solid var(--line);
}
.footer-brand { margin-bottom: 16px; }
.footer-tag {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 6px;
}
.footer-meta {
    color: #555c79;
    font-size: .85rem;
    font-family: 'JetBrains Mono', monospace;
}
.xw-footer h6 {
    font-family: 'Orbitron', sans-serif;
    font-size: .95rem;
    color: var(--text);
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.xw-footer ul { list-style: none; padding: 0; }
.xw-footer ul li { margin-bottom: 10px; }
.xw-footer ul li a {
    color: var(--muted);
    font-size: .9rem;
}
.xw-footer ul li a:hover { color: var(--accent); }
.xw-footer hr {
    border-color: var(--line);
    margin: 40px 0 20px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: .85rem;
    font-family: 'JetBrains Mono', monospace;
}
.footer-hash { color: #3a4263; }

/* ========== BACK TO TOP ========== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad);
    color: var(--bg) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    box-shadow: var(--shadow-acc);
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-stats { gap: 30px; }
    .stat-num { font-size: 1.8rem; }
    .section { padding: 80px 0; }
    .section-head { margin-bottom: 50px; }
    .xw-navbar .navbar-collapse {
        background: rgba(5,7,13,.97);
        margin-top: 14px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 8px;
    }
    .nav-cta { margin-left: 0; margin-top: 8px; display: inline-block; }
}
@media (max-width: 576px) {
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
