:root {
    --bg-color: #050505;
    --surface-color: rgba(20, 20, 25, 0.7);
    --neon-cyan: #00f3ff;
    --neon-magenta: #ff00ea;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.clean-theme {
    --bg-color: #f8f9fa;
    --surface-color: rgba(255, 255, 255, 0.9);
    --neon-cyan: #0056b3;
    --neon-magenta: #d81b60;
    --text-main: #333333;
    --text-muted: #666666;
    --font-heading: 'Inter', sans-serif;
}

.clean-theme .neon-text {
    text-shadow: none;
}

.clean-theme #particles-bg,
.clean-theme #unity-container {
    display: none !important;
}

.clean-theme .btn-neon {
    box-shadow: none;
    font-weight: bold;
}
.clean-theme .btn-neon:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.clean-theme .glass-panel {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.clean-theme .project-detail-card,
.clean-theme .tool-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
}
.clean-theme .project-detail-card:hover,
.clean-theme .tool-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.clean-theme .card-header:hover {
    background: rgba(0, 86, 179, 0.05);
}

.clean-theme .card-content {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.clean-theme .header-left h3 {
    color: #111;
}

.clean-theme .meta-tag {
    background: rgba(216, 27, 96, 0.05);
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
}

.clean-theme .meta-tag.tools {
    background: rgba(0, 86, 179, 0.05);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.clean-theme .expand-icon {
    color: var(--neon-cyan);
}

.clean-theme .project-detail-card:hover .expand-icon {
    color: var(--neon-magenta);
}

.clean-theme .mission-visual {
    border-color: var(--neon-cyan);
    box-shadow: none;
}

.clean-theme .mission-status {
    border-bottom: 1px solid rgba(216, 27, 96, 0.2);
}

.clean-theme .scanline-overlay {
    display: none;
}


.clean-theme .stats {
    background: #f1f3f5;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.clean-theme .stat-number {
    text-shadow: none;
}

.clean-theme .client-banner {
    background: #f1f3f5;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.clean-theme .client-item {
    color: #999999;
}
.clean-theme .client-item:hover {
    text-shadow: none;
}

.clean-theme .input-group input,
.clean-theme .input-group textarea,
.clean-theme .input-group select {
    color: var(--text-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.clean-theme .input-group select option {
    background-color: #ffffff;
    color: #333333;
}

.clean-theme .hero-content {
    color: var(--text-main);
}
.clean-theme .glitch {
    color: var(--text-main);
    text-shadow: none;
}

/* Hide the interactive canvas on clean theme */
.clean-theme .hero-visual {
    display: none !important;
}
.clean-theme .hero {
    justify-content: center;
    text-align: center;
}
.clean-theme .hero-content {
    max-width: 800px;
}
.clean-theme .hero-buttons {
    justify-content: center;
}

/* Navbar clean */
.clean-theme .navbar {
    background: rgba(248, 249, 250, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.clean-theme .navbar.scrolled {
    background: rgba(248, 249, 250, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.clean-theme .nav-links a {
    color: #333;
}
.clean-theme .nav-links a:hover {
    color: var(--neon-cyan);
}
.clean-theme .hamburger span {
    background-color: #333;
}
.clean-theme .nav-links {
    background: rgba(248, 249, 250, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Section titles clean */
.clean-theme .section-title h2::after {
    box-shadow: none;
}

/* Footer clean */
.clean-theme footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

#particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    pointer-events: none;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.neon-text {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--neon-magenta);
    box-shadow: 0 0 10px var(--neon-magenta);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(5, 5, 5, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

/* Buttons */
.btn-neon {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2), inset 0 0 5px rgba(0, 243, 255, 0.2);
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 10px var(--neon-cyan);
}

.btn-neon.secondary {
    border-color: var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 5px rgba(255, 0, 234, 0.2), inset 0 0 5px rgba(255, 0, 234, 0.2);
}

.btn-neon.secondary:hover {
    background: var(--neon-magenta);
    color: #000;
    box-shadow: 0 0 20px var(--neon-magenta), inset 0 0 10px var(--neon-magenta);
}

.btn-neon.small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.glass-panel {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 1.5rem 0 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.glitch {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    position: relative;
    color: white;
}

.hero-visual {
    flex: 1.6;
    max-width: 800px;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.05);
}

.hero-visual img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.toolset {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    transition: 0.3s;
}

.tool-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    transform: translateY(-5px);
}

/* Expertise Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.project-card:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 20px rgba(255, 0, 234, 0.15);
    transform: translateY(-10px);
}

.project-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(10,10,15,1) 100%);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--neon-cyan);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-card {
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-card:hover {
    color: var(--neon-cyan);
}

.contact-form-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem;
    transition: max-width 0.4s ease;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
    color: white;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
    background: transparent;
    transition: 0.3s;
    font-family: var(--font-body);
}

.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.input-group select option {
    background-color: #0b0b0f;
    color: white;
}


.input-group textarea {
    resize: vertical;
    margin-bottom: 10px;
}

.input-group label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: 0.3s;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-bottom-color: var(--neon-cyan);
    box-shadow: 0 1px 0 0 var(--neon-cyan);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -20px;
    font-size: 0.7rem;
    color: var(--neon-cyan);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    /* Disable glassmorphism on mobile */
    .navbar {
        background: #050505 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .navbar.scrolled {
        background: #050505 !important;
    }
    .glass-panel {
        background: #141419 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .clean-theme .navbar {
        background: #f8f9fa !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .clean-theme .glass-panel {
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.95);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--neon-cyan);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        transform: scaleY(1);
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 500px;
        aspect-ratio: 1 / 1;
        min-height: auto;
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .glitch {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .toolset {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 2.2rem;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .section {
        padding: 60px 0;
    }
    .stat-number {
        font-size: 3rem;
    }
    .client-item {
        font-size: 1rem;
        margin: 0 2rem;
    }
    .sosia-terminal {
        width: 90%;
        right: 5%;
        bottom: 5rem;
    }
}

/* Projects Expandable Cards */
.projects-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.project-detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}
.project-detail-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}
.card-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    transition: background 0.3s;
}
.card-header:hover {
    background: rgba(0, 243, 255, 0.05);
}
.header-left h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}
.project-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.meta-tag {
    background: rgba(255, 0, 234, 0.1);
    border: 1px solid var(--neon-magenta);
    color: var(--neon-magenta);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.meta-tag.tools {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
}
.expand-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    transition: transform 0.4s ease, color 0.4s ease;
    user-select: none;
}
.project-detail-card:hover .expand-icon {
    transform: rotate(45deg);
    color: var(--neon-magenta);
}
.card-body {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out;
}
.project-detail-card:hover .card-body {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.6s ease-in, opacity 0.5s ease-in 0.1s;
}
.card-content {
    padding: 0 2rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
    padding-top: 2rem;
}
.project-desc p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}
.project-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

/* Tron Mission Panel */
.tron-mission-panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: flex-start;
}
.mission-visual {
    position: relative;
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}
.mission-visual img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%) contrast(120%);
    transition: 0.3s;
}
.project-detail-card:hover .mission-visual img {
    filter: grayscale(0%) contrast(100%);
}
.scanline-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 243, 255, 0),
        rgba(0, 243, 255, 0.1) 50%,
        rgba(0, 243, 255, 0)
    );
    background-size: 100% 4px;
    pointer-events: none;
}
.mission-status {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 0, 234, 0.3);
    padding-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .tron-mission-panel {
        grid-template-columns: 1fr;
    }
}

/* Client Banner */
.client-banner {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    padding: 1.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 3rem;
}
.client-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.client-item {
    display: inline-block;
    margin: 0 4rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: 0.3s;
}
.client-item:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Formspree Elements */
.form-success {
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--neon-cyan);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    letter-spacing: 2px;
}
.form-success[style*="display: block"] ~ #contact-form {
    display: none; /* Hide form after submission */
}
.form-error {
    color: var(--neon-magenta);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form-error-inline {
    display: block;
    color: var(--neon-magenta);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}
button[data-fs-submit-btn]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: transparent;
    color: var(--text-muted);
    border-color: var(--text-muted);
    box-shadow: none;
}

/* SOSIA.Terminal */
.sosia-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px var(--neon-cyan);
    animation: pulse 2s infinite;
    background: rgba(0,0,0,0.8);
}
.sosia-terminal {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 350px;
    height: 450px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.sosia-terminal.hidden {
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    pointer-events: none;
}
.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--neon-magenta);
    font-family: var(--font-heading);
    color: var(--neon-magenta);
    font-size: 0.9rem;
    background: rgba(255,0,234,0.1);
}
.chat-log {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.85rem;
}
.msg.ai { color: var(--neon-cyan); }
.msg.user { color: #fff; align-self: flex-end; text-align: right; border-right: 2px solid var(--neon-magenta); padding-right: 8px;}
.terminal-input-group {
    display: flex;
    padding: 1rem;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    align-items: center;
    gap: 0.5rem;
}
.prompt-icon { color: var(--neon-magenta); font-family: var(--font-heading); }
#sosia-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--neon-cyan);
    font-family: var(--font-main);
}
#sosia-input:focus { outline: none; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}
@media (max-width: 768px) {
    .sosia-terminal {
        width: 90vw;
        right: 5vw;
        bottom: 5rem;
    }
}

/* Language Selector Styles */
.lang-selector {
    display: none !important;
}

.lang-btn {
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
}

.clean-theme .lang-divider {
    color: rgba(0, 0, 0, 0.2);
}

.clean-theme .lang-btn:hover,
.clean-theme .lang-btn.active {
    color: var(--neon-cyan);
    text-shadow: none;
}

/* Neural Contract Planner Styles */
.contact-wizard-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wizard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(0, 243, 255, 0.3);
    color: var(--text-muted);
    font-family: var(--font-heading);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

.tab-btn.active {
    background: rgba(0, 243, 255, 0.05);
    border-bottom: 2px solid var(--neon-cyan);
}

.wizard-panel {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.wizard-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Futuristic Wizard Steps Progress Tracker */
.wizard-steps-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 700px;
    margin: 2rem auto 3rem auto;
    padding: 0 1rem;
}

.wizard-steps-progress::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

.step-progress-glow-line {
    position: absolute;
    top: 25px;
    left: 0;
    height: 2px;
    background: var(--neon-cyan);
    z-index: 2;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 3;
    cursor: pointer;
}

.step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0a0a0f;
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.progress-step.active .step-num {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4), inset 0 0 8px rgba(0, 243, 255, 0.2);
    transform: scale(1.1);
}

.progress-step.completed .step-num {
    border-color: rgba(0, 243, 255, 0.4);
    color: rgba(0, 243, 255, 0.7);
    box-shadow: none;
}

.step-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.6rem;
    transition: all 0.4s ease;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--neon-cyan);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

.progress-step.completed .step-label {
    color: rgba(0, 243, 255, 0.7);
    text-shadow: none;
}

/* Stepped Card Styling */
.wizard-cards-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.step-card {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    border: 1px solid rgba(0, 243, 255, 0.15);
    background: rgba(5, 5, 5, 0.85);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.05);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.step-card.active {
    display: flex;
    animation: cardEnter 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes cardEnter {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.card-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
    padding-bottom: 0.8rem;
    margin-bottom: 0.5rem;
}

.card-header-controls h3 {
    font-size: 1rem;
    color: var(--text-main);
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.card-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.card-back-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.card-back-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.card-next-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.card-next-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Light / Clean Theme adjustments for Neural Planner */
.clean-theme .wizard-steps-progress::before {
    background: #eaeaea;
}
.clean-theme .step-num {
    background: #ffffff;
    border-color: #eaeaea;
}
.clean-theme .step-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Terminal Console Layout */
.contract-terminal {
    width: 100%;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    position: relative;
    background: rgba(5, 5, 5, 0.95);
}

@media (max-width: 900px) {
    .contract-terminal {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

.terminal-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

.terminal-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 0, 234, 0.3);
    padding-bottom: 0.8rem;
    margin-bottom: 0.5rem;
}

.terminal-header-controls h3 {
    font-size: 1rem;
    color: var(--neon-magenta);
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.control-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.sound-toggle {
    background: transparent;
    border: 1px solid rgba(255, 0, 234, 0.4);
    color: var(--neon-magenta);
    font-family: var(--font-heading);
    padding: 0.3rem 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s;
}

.sound-toggle.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.sound-toggle:hover {
    box-shadow: 0 0 10px rgba(255, 0, 234, 0.3);
}

.sound-toggle.active:hover {
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.reset-btn {
    border-color: var(--text-muted);
    color: var(--text-muted);
}
.reset-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

/* Decision Tree Question & Choice Cards */
.decision-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 0;
}

.decision-question {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--neon-cyan);
    min-height: 50px;
    line-height: 1.6;
    border-left: 3px solid var(--neon-cyan);
    padding-left: 12px;
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 480px) {
    .choices-grid {
        grid-template-columns: 1fr;
    }
}

.choice-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--text-main);
    padding: 1.2rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.choice-btn:hover {
    border-color: var(--neon-magenta);
    background: rgba(255, 0, 234, 0.05);
    box-shadow: 0 0 12px rgba(255, 0, 234, 0.2);
    transform: translateY(-2px);
    color: white;
}

.custom-spec-box {
    margin-top: 1rem;
    width: 100%;
}

.custom-spec-box textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 4px;
    padding: 0.8rem;
    color: var(--neon-cyan);
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: none;
    outline: none;
    transition: border 0.3s;
}

.custom-spec-box textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.1);
}

.custom-spec-box label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    display: block;
}

/* Holographic Deal Suggestion Card */
.terminal-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-left: 1px dashed rgba(0, 243, 255, 0.2);
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .terminal-right {
        border-left: none;
        border-top: 1px dashed rgba(0, 243, 255, 0.2);
        padding-left: 0;
        padding-top: 2rem;
        margin-top: 1rem;
    }
}

.holo-deal-card {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
}

.holo-deal-card.matched-fixed {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 25px rgba(255, 0, 234, 0.15), inset 0 0 15px rgba(255, 0, 234, 0.05);
}

.holo-deal-card.matched-hourly {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.15), inset 0 0 15px rgba(0, 243, 255, 0.05);
}

.holo-scanline {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 243, 255, 0),
        rgba(0, 243, 255, 0.05) 50%,
        rgba(0, 243, 255, 0)
    );
    background-size: 100% 6px;
    pointer-events: none;
    animation: holoScroll 15s linear infinite;
    opacity: 0.7;
}

@keyframes holoScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

.holo-state {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

.holo-standby .standby-icon {
    font-size: 3rem;
    color: rgba(0, 243, 255, 0.2);
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    animation: blink 2.5s infinite;
}

.holo-standby p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Synthesizing / Scanner Loading UI */
.holo-loading .loader-bar {
    width: 80px;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    margin-bottom: 1.5rem;
    animation: scanBar 1.5s infinite ease-in-out;
}

@keyframes scanBar {
    0% { transform: scaleX(0.2); opacity: 0.2; }
    50% { transform: scaleX(1.2); opacity: 1; }
    100% { transform: scaleX(0.2); opacity: 0.2; }
}

.holo-loading p {
    font-family: var(--font-heading);
    color: var(--neon-magenta);
    font-size: 0.85rem;
    letter-spacing: 2px;
    animation: blink 1s infinite;
}

/* Revealed Match layout */
.holo-revealed {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    animation: cardReveal 0.6s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes cardReveal {
    from { opacity: 0; transform: scale(0.95); filter: brightness(2); }
    to { opacity: 1; transform: scale(1); filter: brightness(1); }
}

.deal-header-node {
    margin-bottom: 1rem;
}

.matched-label-tag {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.deal-package-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    color: white;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.holo-revealed.matched-fixed .deal-package-title {
    color: var(--neon-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 234, 0.3);
}

.holo-revealed.matched-hourly .deal-package-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.deal-explanation {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 1rem 0;
    min-height: 80px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 10px;
}

.deal-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
    margin: 1rem 0;
}

.deal-spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.spec-label {
    font-size: 0.65rem;
    font-family: var(--font-heading);
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.spec-val {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: white;
}

.holo-revealed.matched-fixed .spec-val { color: var(--neon-magenta); }
.holo-revealed.matched-hourly .spec-val { color: var(--neon-cyan); }

.accept-deal-btn {
    width: 100%;
    margin-top: 0.5rem;
    border-radius: 4px;
    padding: 0.8rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}

.matched-fixed .accept-deal-btn {
    border: 1px solid var(--neon-magenta);
    color: var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255, 0, 234, 0.1);
}

.matched-fixed .accept-deal-btn:hover {
    background: var(--neon-magenta);
    color: #000;
    box-shadow: 0 0 20px var(--neon-magenta);
}

.matched-hourly .accept-deal-btn {
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.matched-hourly .accept-deal-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* Light / Clean Theme adjustments for Neural Planner */
.clean-theme .contract-terminal {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.clean-theme .terminal-header-controls h3 {
    color: var(--neon-magenta);
    text-shadow: none;
}

.clean-theme .sound-toggle {
    border-color: rgba(216, 27, 96, 0.3);
    color: var(--neon-magenta);
}

.clean-theme .sound-toggle.active {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 86, 179, 0.05);
    box-shadow: none;
}

.clean-theme .choice-btn {
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    color: #333;
}

.clean-theme .choice-btn:hover {
    border-color: var(--neon-magenta);
    background: rgba(216, 27, 96, 0.05);
    box-shadow: none;
    color: var(--neon-magenta);
}

.clean-theme .custom-spec-box textarea {
    background: #ffffff;
    border: 1px solid #eaeaea;
    color: #333;
}

.clean-theme .custom-spec-box textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: none;
}

.clean-theme .terminal-right {
    border-left-color: #eaeaea;
}

@media (max-width: 900px) {
    .clean-theme .terminal-right {
        border-top-color: #eaeaea;
    }
}

.clean-theme .holo-deal-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: none;
}

.clean-theme .holo-deal-card.matched-fixed {
    border-color: var(--neon-magenta);
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.08);
}

.clean-theme .holo-deal-card.matched-hourly {
    border-color: var(--neon-cyan);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.08);
}

.clean-theme .deal-package-title {
    color: #111;
    text-shadow: none;
}

.clean-theme .holo-revealed.matched-fixed .deal-package-title {
    color: var(--neon-magenta);
}

.clean-theme .holo-revealed.matched-hourly .deal-package-title {
    color: var(--neon-cyan);
}

.clean-theme .spec-val {
    color: #333;
}

.clean-theme .holo-revealed.matched-fixed .spec-val { color: var(--neon-magenta); }
.clean-theme .holo-revealed.matched-hourly .spec-val { color: var(--neon-cyan); }

.clean-theme .deal-explanation {
    border-left-color: #eaeaea;
    color: #555;
}

.clean-theme .holo-scanline {
    display: none;
}

/* Mobile responsive fixes for Hire Us & Neural Planner */
@media (max-width: 960px) {
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.2rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contract-terminal {
        grid-template-columns: 1fr !important;
        min-height: auto;
        padding: 1.2rem;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .terminal-left, .terminal-right {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-left: none !important;
        box-sizing: border-box;
    }
    
    .terminal-header-controls {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
        width: 100%;
    }
    
    .control-buttons {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }
    
    .choices-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        width: 100%;
    }
    
    .choice-btn {
        width: 100%;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 1rem !important;
    }
}

@media (max-width: 480px) {
    .decision-question {
        font-size: 0.95rem;
        min-height: auto;
        width: 100%;
        word-break: break-word;
    }
    
    .choice-btn {
        padding: 0.8rem !important;
        font-size: 0.8rem !important;
        min-height: 48px !important;
    }
    
    .holo-deal-card {
        padding: 1rem !important;
        min-height: auto !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .deal-package-title {
        font-size: 1.2rem !important;
    }
    
    .deal-spec-grid {
        grid-template-columns: 1fr !important;
        gap: 0.6rem !important;
        padding: 0.6rem 0 !important;
        margin: 0.6rem 0 !important;
    }
    
    .spec-val {
        font-size: 0.95rem !important;
    }
    
    .accept-deal-btn {
        padding: 0.6rem !important;
        font-size: 0.75rem !important;
    }
}

/* Minigames Tab Bar */
.minigames-tab-bar {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 0.8rem;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid rgba(0, 243, 255, 0.15);
    border-radius: 4px;
    padding: 4px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.05);
}

.minigame-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border-radius: 2px;
}

.minigame-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.02);
}

.minigame-tab.active {
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.clean-theme .minigames-tab-bar {
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    box-shadow: none;
}

.clean-theme .minigame-tab.active {
    color: var(--neon-cyan);
    background: rgba(0, 86, 179, 0.05);
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: none;
}

/* High-Resolution Dynamic Screen Scaling (Aligns 100% Zoom to look like 175% Zoom on Large Displays) */
@media (min-width: 1600px) {
    .container, .navbar {
        max-width: 1700px;
    }
    .hero {
        max-width: 1700px;
        gap: 5rem;
    }
    .hero-content {
        max-width: 650px;
    }
    .glitch {
        font-size: 5.8rem;
    }
    .hero-content p {
        font-size: 1.4rem;
    }
    .hero-visual {
        max-width: 950px;
        min-height: 535px;
    }
}

@media (min-width: 2000px) {
    .container, .navbar {
        max-width: 2100px;
    }
    .hero {
        max-width: 2100px;
        gap: 6rem;
    }
    .hero-content {
        max-width: 800px;
    }
    .glitch {
        font-size: 7rem;
    }
    .hero-content p {
        font-size: 1.6rem;
    }
    .hero-visual {
        max-width: 1150px;
        min-height: 647px;
    }
}

/* Retro Visitor Counter */
.visitor-counter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    padding: 1rem 0 0 0;
    font-family: var(--font-heading);
    border-top: 1px dashed rgba(0, 243, 255, 0.15);
}

.counter-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-label::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #39ff14; /* Cyber neon green blinking light */
    border-radius: 50%;
    box-shadow: 0 0 8px #39ff14;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.visitor-counter {
    display: flex;
    gap: 6px;
    background: rgba(10, 10, 15, 0.85);
    padding: 8px 12px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.15), inset 0 0 10px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* scanline overlay for the counter */
.visitor-counter::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 3px, 6px 100%;
    pointer-events: none;
}

.digit-box {
    width: 28px;
    height: 40px;
    background: #050508;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 1px 2px rgba(255,255,255,0.05);
}

.digit-box::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.digit {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.7);
    font-family: 'Orbitron', monospace;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s;
}

.digit.changed {
    animation: rollUp 0.3s ease-out;
}

@keyframes rollUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Clean Theme Counter adjustments */
.clean-theme .visitor-counter-wrapper {
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.clean-theme .visitor-counter {
    background: #ffffff;
    border: 1px solid rgba(0, 86, 179, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clean-theme .visitor-counter::after {
    display: none;
}

.clean-theme .digit-box {
    background: #f1f3f5;
    border: 1px solid #eaeaea;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.clean-theme .digit {
    color: var(--neon-cyan);
    text-shadow: none;
}

/* Mobile Responsive Refinements for Minigame Tabs to prevent wrapping or cut-offs */
@media (max-width: 480px) {
    .minigames-tab-bar {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
        gap: 0.25rem !important;
        padding: 3px !important;
    }

    .minigame-tab {
        font-size: 0.58rem !important; /* Smaller, beautifully scaled text */
        letter-spacing: 0.5px !important; /* Tighten letter spacing to fit 4 tabs */
        padding: 0.4rem 0.2rem !important; /* Adjust padding snuggly */
    }
}
