/* ========================================
   CYBERPUNK DARK MODE - CONSOLEGAME.DEV
   ======================================== */

/* Self-hosted Inter (variable). Replaces Google Fonts — no third-party requests. */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* Root Variables */
:root {
    --dark-bg: #05070A;
    --neon-blue: #00A3FF;
    --neon-purple: #AD00FF;
    --text-light: #E0E0E0;
    --text-muted: #8B8B8B;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    padding-top: 80px;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 50px,
            rgba(0, 163, 255, 0.03) 50px,
            rgba(0, 163, 255, 0.03) 51px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 50px,
            rgba(173, 0, 255, 0.02) 50px,
            rgba(173, 0, 255, 0.02) 51px);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 33% 70%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 15% 90%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 70% 25%, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    pointer-events: none;
    z-index: 0;
    animation: stars 200s linear infinite;
}

@keyframes stars {
    from {
        background-position: 0% 0%;
    }

    to {
        background-position: 100% 100%;
    }
}

/* Mesh Gradient Blobs */
section:first-of-type::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

section:first-of-type::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(173, 0, 255, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Grid Pattern */
.container {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, var(--neon-blue) 50%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.display-5 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* Sections */
section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 45px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.navbar-dark .nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: var(--neon-blue);
}

/* Buttons */
.btn {
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    /* Darker blue stop so white text clears WCAG AA (was #00A3FF = 2.73:1, now ~4.9:1).
       Neon glow kept via box-shadow so the look stays. */
    background: linear-gradient(135deg, #0070d9 0%, var(--neon-purple) 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 163, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(173, 0, 255, 0.6);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

.btn-primary:disabled:hover,
.btn-primary.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

.btn-outline-primary:hover {
    background: rgba(0, 163, 255, 0.1);
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(173, 0, 255, 0.4);
    transform: translateY(-2px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-outline-light {
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-success,
.btn-outline-danger {
    border-width: 2px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-success {
    color: #10b981;
    border-color: #10b981;
}

.btn-outline-success:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.btn-outline-danger {
    color: #ef4444;
    border-color: #ef4444;
}

.btn-outline-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

/* Glassmorphism Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(173, 0, 255, 0.3);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Portfolio card feature bullets — a hair brighter than muted, for readability */
.card .list-unstyled li {
    color: #949494;
}

.card-img-top {
    height: 200px;
    object-fit: contain;
    background: #0a0e14;
    transition: transform 0.4s ease;
    opacity: 0.9;
    padding: 0;
}

.card:hover .card-img-top {
    transform: scale(1.05);
    opacity: 1;
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

span.badge.bg-primary {
    background: rgba(0, 163, 255, 0.2) !important;
    color: var(--neon-blue);
    border-color: var(--neon-blue);
}

span.badge.bg-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #10b981;
    border-color: #10b981;
}

span.badge.bg-danger {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444;
    border-color: #ef4444;
}

/* Icon Circles */
.rounded-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
}

.rounded-circle i {
    font-size: 2rem;
}

.rounded-circle.bg-primary.bg-opacity-10 {
    background: rgba(0, 163, 255, 0.1) !important;
    border-color: var(--neon-blue);
}

.rounded-circle.bg-success.bg-opacity-10 {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #10b981;
}

.rounded-circle.bg-danger.bg-opacity-10 {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: #ef4444;
}

/* Shadows */
.shadow-sm {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Links */
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link {
    color: var(--neon-blue);
    font-weight: 600;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--neon-purple);
}

/* Forms */
.form-control,
.form-select {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background: var(--card-bg);
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.1);
    color: var(--text-light);
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* Browser autofill paints inputs light (Chrome/Edge) — repaint dark to match the theme.
   Plain background can't override it; the inset box-shadow trick can. */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.form-control:-webkit-autofill:active,
.form-select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0d1117 inset;
    box-shadow: 0 0 0 1000px #0d1117 inset;
    -webkit-text-fill-color: var(--text-light);
    caret-color: var(--text-light);
    transition: background-color 9999s ease-in-out 0s;
}

.form-select option {
    background: #0d1117;
    color: var(--text-light);
}

/* Contact - NDA Notice */
.nda-notice {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.nda-notice i {
    color: var(--neon-blue);
    margin-right: 0.5rem;
}

/* Contact - Game Details Toggle */
.game-details-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-details-toggle:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 163, 255, 0.05);
}

.game-details-toggle .badge-optional {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.game-details-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.game-details-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Contact - Game Details Section */
.game-details-section {
    padding: 1.25rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.015);
}

/* Contact - Platform Checkboxes */
.platform-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-check {
    cursor: pointer;
    margin: 0;
}

.platform-check input[type="checkbox"] {
    /* Visually hidden but still focusable — display:none removes it from keyboard/AT access */
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.platform-check input[type="checkbox"]:focus-visible + span {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

.platform-check span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--card-border);
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: var(--card-bg);
}

.platform-check span:hover {
    border-color: var(--neon-blue);
    color: var(--text-light);
}

.platform-check input[type="checkbox"]:checked + span {
    border-color: var(--neon-blue);
    background: rgba(0, 163, 255, 0.1);
    color: var(--neon-blue);
    box-shadow: 0 0 8px rgba(0, 163, 255, 0.15);
}

/* Contact - Response Time */
.response-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Contact - Success Alert */
.alert-success {
    background: rgba(0, 163, 255, 0.1);
    border-color: var(--neon-blue);
    color: var(--text-light);
}

/* Service Cards (new design) */
.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 30px rgba(0, 163, 255, 0.15);
}

.service-card.purple:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 10px 30px rgba(173, 0, 255, 0.15);
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.icon-box.blue {
    background: rgba(0, 163, 255, 0.1);
    color: var(--neon-blue);
    border: 1px solid rgba(0, 163, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.2);
}

.icon-box.purple {
    background: rgba(173, 0, 255, 0.1);
    color: var(--neon-purple);
    border: 1px solid rgba(173, 0, 255, 0.3);
    box-shadow: 0 0 15px rgba(173, 0, 255, 0.2);
}

.service-card h2, .service-card h3 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.check-item i {
    color: var(--neon-blue);
}

.service-card.purple .check-item i {
    color: var(--neon-purple);
}

.timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 1.5rem;
}

.timeline-badge.blue {
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
}

.timeline-badge.purple {
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
}

/* Text gradient helpers */
.text-gradient {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Process - Compact Horizontal */
.process-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .process-wrapper::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, var(--neon-blue) 0%, var(--neon-purple) 50%, var(--neon-blue) 100%);
        opacity: 0.2;
        z-index: 0;
    }
}

.step-item {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-item:hover .step-card {
    border-color: rgba(0, 163, 255, 0.4);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.step-icon-wrap {
    width: 50px;
    height: 50px;
    background: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.25rem;
    transition: 0.3s;
}

.step-icon-wrap.blue {
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.2);
}

.step-icon-wrap.purple {
    border: 2px solid var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(173, 0, 255, 0.2);
}

.step-item:hover .step-icon-wrap {
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.5);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.step-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.step-badge.blue { color: var(--neon-blue); }
.step-badge.purple { color: var(--neon-purple); }

@media (max-width: 991px) {
    .step-item { margin-bottom: 1.5rem; }
    .step-icon-wrap { margin: 0 0 1rem 0; }
    .step-card { text-align: left !important; }
}

/* Footer */
footer {
    background: rgba(5, 7, 10, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-main {
    color: var(--text-muted);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 340px;
}

.footer-heading {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.6rem;
    font-size: 0.92rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--neon-blue);
}

.footer-contact li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--neon-blue);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-profiles {
    display: flex;
    gap: 0.75rem;
}

.footer-profiles a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.footer-profiles a:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    background: rgba(0, 163, 255, 0.08);
    transform: translateY(-2px);
}

.footer-legal {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.5;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.06);
    opacity: 1;
}

/* Founder card under About photo */
.founder-card {
    max-width: 280px;
}

.founder-role {
    color: var(--neon-blue);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Honeypot anti-spam — hidden from humans, visible to bots */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* GDPR notice on contact form */
.form-legal {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.form-legal .form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.form-legal .form-check-input:checked {
    background-color: var(--neon-blue);
    border-color: var(--neon-blue);
}

.form-legal .form-check-label {
    color: var(--text-light);
    cursor: pointer;
}

.form-legal .form-check-label a {
    color: var(--neon-blue);
    text-decoration: none;
}

.form-legal .form-check-label a:hover {
    text-decoration: underline;
}

.form-legal-text {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.form-legal-text a {
    color: var(--neon-blue);
    text-decoration: none;
}

.form-legal-text strong {
    color: var(--text-light);
}

/* Legal pages (Privacy, Terms) */
.legal-content {
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-content h2 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 600;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content h5 {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
}

.legal-content strong {
    color: var(--text-light);
}

.legal-content a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-content a:hover {
    opacity: 0.75;
}

.legal-content ul {
    padding-left: 1.25rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* Background Colors */
.bg-light {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.bg-white {
    background-color: transparent !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%) !important;
}

/* Utility Classes */
.text-muted {
    color: var(--text-muted) !important;
}

/* Hero Section Specific */
section:first-of-type {
    padding-top: 20px;
    padding-bottom: 80px;
}

/* Subpage Hero - extra top padding for pages without large logo */
section.page-hero {
    padding-top: 100px;
}

@media (max-width: 768px) {
    /* Fixed header on phones = 24+32+38(logo)+1 = 95px; body reserve must cover it or H1s clip. */
    .navbar {
        padding: 0.75rem 0;
    }

    body {
        padding-top: 100px;
    }

    section:first-of-type {
        padding-top: 15px;
        padding-bottom: 60px;
    }
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Glow Animations */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 163, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(173, 0, 255, 0.5);
    }
}

.card:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.btn {
    animation: fadeInUp 0.6s ease-out;
}

/* Text Colors */
.text-primary {
    color: var(--neon-blue) !important;
    text-shadow: 0 0 20px rgba(0, 163, 255, 0.5);
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

/* Stats Numbers */
.display-3.text-primary {
    background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 163, 255, 0.6));
}

/* Hero Section Classes */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
}

.hero-logo {
    max-width: 494px;
}

/* Stats Classes */
.stat-number {
    font-weight: 800;
    font-size: 4rem;
}

.stat-label {
    font-size: 1.1rem;
}

/* Focus Visible - Accessibility */
.nav-link:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible,
a:focus-visible {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

.form-control:focus-visible,
.form-select:focus-visible {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 4px rgba(0, 163, 255, 0.15);
}

/* Reduced Motion - Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Backdrop Filter Fallback */
@supports not (backdrop-filter: blur(10px)) {
    .navbar {
        background: rgba(5, 7, 10, 0.95);
    }

    .card {
        background: rgba(15, 18, 25, 0.95);
    }

    .btn-light {
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }
}

/* Disable heavy background effects on mobile */
@media (max-width: 768px) {
    body::before {
        display: none;
    }

    body::after {
        animation: none;
        background-size: 100% 100%;
    }

    section:first-of-type::before,
    section:first-of-type::after {
        display: none;
    }
}

/* Mobile Breakpoint */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .lead {
        font-size: 1.05rem;
    }
}

/* Article Content */
.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.article-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-content strong {
    color: var(--text-light);
}

/* Small Mobile Breakpoint */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-logo {
        max-width: 250px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
