/* Custom Properties */
:root {
    --bg-color: #030305;
    --surface-color: rgba(20, 20, 30, 0.4);
    --primary-color: #8A2BE2;
    /* Deep Purple */
    --secondary-color: #00B4D8;
    /* Neon Blue */
    --accent-color: #ff007f;
    /* Neon Pink */
    --text-main: #FFFFFF;
    --text-muted: #A0A0B0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.35;
    animation: float 25s infinite alternate;
}

.glow-1 {
    top: -20%;
    left: 10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
}

.glow-2 {
    bottom: -30%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10%, 15%);
    }
}

/* Typography & Utilities */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 6s linear infinite;
}

@keyframes textShine {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.title-muted {
    color: #e2e8f0;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #00F0FF, #00B4D8, #0077B6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 6s linear infinite;
    text-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

/* Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem 1rem;
}

.logo-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    padding: 0;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.4);
    margin-bottom: 1.5rem;
    animation: pulseLogo 4s infinite alternate;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-container::before {
    content: "Logo Missing";
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    z-index: -1;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

@keyframes pulseLogo {
    from {
        box-shadow: 0 0 20px rgba(0, 180, 216, 0.3);
        transform: scale(1);
    }

    to {
        box-shadow: 0 0 60px rgba(255, 0, 127, 0.5);
        transform: scale(1.02);
    }
}

.publisher-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #E0E0FF;
    font-weight: 600;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid #b026ff;
    box-shadow: 0 0 8px rgba(176, 38, 255, 0.6);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asset-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    background: transparent;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4), inset 0 0 10px rgba(138, 43, 226, 0.1);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.price {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    color: #00F0FF;
    text-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
    line-height: 1;
}

.solo-dev-tag {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    background: rgba(255, 0, 127, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 8px;
}

.btn {
    text-decoration: none;
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    color: white;
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease, background-position 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background-position: right center;
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.5);
}

/* Showcase Section */
.showcase {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.screenshot-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-state-text {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    z-index: 0;
}

.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.screenshot-wrapper:hover .screenshot,
.screenshot-wrapper.active-touch .screenshot {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 30%, transparent 75%);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 2;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.screenshot-wrapper:hover .screenshot-overlay,
.screenshot-wrapper.active-touch .screenshot-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 5rem;
}

.swipe-hint {
    display: none;
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: -3.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.8;
        transform: scale(1);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
    justify-items: center;
}

/* Center lone last card on desktop when it doesn't fill a full row */
@media (min-width: 769px) {
    .features-grid .feature-card:last-child:nth-child(3n + 1) {
        grid-column: 1 / -1;
        max-width: 420px;
        width: 100%;
    }
}

.feature-card {
    background: var(--surface-color);
    border: 1px solid #1e293b;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 180, 216, 0.2);
    background: rgba(30, 30, 45, 0.6);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #E0E0FF;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.icon-performance {
    color: var(--secondary-color);
    text-shadow: 0 0 15px var(--secondary-color);
}

.icon-customization {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-color);
}

.icon-visual {
    color: #ffffff;
    text-shadow: 0 0 15px #ffffff;
}

.features-nav-dots {
    display: none;
}

@media (max-width: 768px) {
    .features-nav-dots {
        display: flex;
        justify-content: center;
        gap: 0.6rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .nav-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #475569;
        transition: all 0.3s ease;
    }

    .nav-dot.active {
        width: 24px;
        border-radius: 12px;
        background: var(--secondary-color);
        box-shadow: 0 0 8px var(--secondary-color);
    }

    .feature-card.active {
        border-color: var(--secondary-color);
        box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
    }
}

.highlight-feature {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(138, 43, 226, 0.15));
    border: 1px solid rgba(0, 180, 216, 0.4);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.highlight-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--accent-color));
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.highlight-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.highlight-content p {
    font-size: 1.2rem;
    max-width: 850px;
    margin: 0 auto 3rem;
    color: #E0E0FF;
    line-height: 1.8;
}

.performance-claim {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 2rem;
    background: #131921;
    border-radius: 16px;
    display: inline-block;
    border: 1px solid #1e293b;
}

.highlight-text-white {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.4rem;
    display: block;
    margin-top: 0.5rem;
}

.cyan-glow {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.6);
    font-weight: 800;
}

/* Tagline Banner */
.tagline-banner {
    margin: 4rem auto;
    padding: 1.5rem 0 1.5rem 2rem;
    max-width: 900px;
    background: transparent;
    border: none;
    border-left: 4px solid;
    border-image: linear-gradient(to bottom, var(--accent-color), var(--secondary-color)) 1;
    position: relative;
    text-align: left;
}

.tagline-banner p {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
    animation: none;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .tagline-banner p {
        font-size: 1.3rem;
    }
}

/* Footer */
footer {
    background: rgba(5, 5, 8, 0.95);
    padding: 5rem 1rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 4rem;
}

.support {
    margin-top: 2.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.email-link {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.2), inset 0 0 5px rgba(0, 180, 216, 0.1);
}

.email-link:hover {
    color: #FFF;
    background: rgba(0, 180, 216, 0.1);
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.5), inset 0 0 10px rgba(0, 180, 216, 0.2);
    transform: translateY(-2px);
}

.response-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
    font-style: italic;
}

.copyright {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Journey Video Section */
.journey-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 5rem 1rem 6rem;
}

.journey-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: -3rem;
    margin-bottom: 3.5rem;
}

.video-player-wrapper {
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    cursor: pointer;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #fff;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover .play-circle {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0, 180, 216, 0.6), 0 0 40px rgba(255, 0, 127, 0.4);
}

/* Video Controls */
.video-controls {
    padding: 0.6rem 1rem 0.8rem;
    background: rgba(10, 10, 18, 0.95);
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 0.6rem;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.1s linear;
    pointer-events: none;
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
    line-height: 1;
}

.ctrl-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.time-display {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    user-select: none;
}

.controls-spacer {
    flex: 1;
}

/* Speed group styles */

.speed-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.speed-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.speed-select {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.25rem 0.4rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    cursor: pointer;
    outline: none;
}

.speed-select option {
    background: #111;
    color: #fff;
}

/* Bonus Section */
.bonus-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.bonus-card {
    background: #111622;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 180, 216, 0.5);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.1), 0 -5px 25px rgba(0, 180, 216, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bonus-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(138, 43, 226, 0.2), 0 -5px 30px rgba(0, 180, 216, 0.2);
}

.bonus-icon {
    background: rgba(255, 255, 255, 0.05);
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.custom-vector-icon {
    color: var(--secondary-color);
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.6));
}

.gradient-text-bonus {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
}

.gradient-text-journey {
    background: linear-gradient(90deg, #00F0FF, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
}

.bonus-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
}

.bonus-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .email-link {
        font-size: 1.1rem;
        word-break: break-all;
        white-space: normal;
        padding: 0.5rem;
    }

    .asset-title {
        font-size: 2.5rem;
    }

    .price {
        font-size: 3.5rem;
    }

    .highlight-feature {
        padding: 3rem 1.5rem;
    }

    .highlight-content h3 {
        font-size: 2rem;
    }

    .controls-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .journey-subtitle {
        margin-top: -2.5rem;
    }

    .bonus-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }

    .bonus-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
        margin: 0 auto;
    }

    .bonus-title {
        font-size: 1.8rem;
    }

    .swipe-hint {
        display: block;
    }


    /* Mobile Features Slider */
    .features-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding: 1rem 0.5rem 3rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
        /* Disable grid */
    }

    .features-grid::-webkit-scrollbar {
        height: 4px;
    }

    .features-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .features-grid::-webkit-scrollbar-thumb {
        background: var(--secondary-color);
        border-radius: 10px;
    }

    .feature-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        padding: 2rem 1.5rem;
    }

    .doc-nav-link {
        position: static !important;
        text-align: center;
        margin-bottom: 1rem;
    }

    .doc-nav-link a {
        font-size: 0.85rem !important;
        padding: 0.4rem 0.9rem !important;
    }
}

/* ==========================================
   Tessaractic Interactive Particle Canvas
   ========================================== */
#flux-canvas {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.hero {
    position: relative;
    overflow: visible;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ==========================================
   Hardware Performance Estimator Widget
   ========================================== */
.perf-estimator-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.estimator-container {
    background: rgba(10, 10, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4.5rem 3rem 4rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(138, 43, 226, 0.05);
}

.estimator-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: -3.5rem auto 4rem;
    line-height: 1.7;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 900px) {
    .estimator-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.estimator-card {
    background: rgba(20, 20, 35, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.input-card {
    border-left: 3px solid var(--secondary-color);
}

.output-card {
    border-left: 3px solid var(--accent-color);
    background: rgba(5, 5, 12, 0.75);
    position: relative;
    overflow: hidden;
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: #E0E0FF;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-bullet {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    text-shadow: 0 0 8px var(--secondary-color);
}

.sci-fi-select {
    width: 100%;
    background: rgba(10, 10, 20, 0.8);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-body);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300B4D8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2rem;
}

.sci-fi-select:focus,
.sci-fi-select:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.2);
    background-color: rgba(15, 15, 30, 0.9);
}

.sci-fi-select option {
    background: #0d0d16;
    color: #ffffff;
}

.quality-toggle-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.quality-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quality-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.quality-btn.active {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--secondary-color);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.25);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.btn-calc {
    width: 100%;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.btn-calc:hover {
    background: linear-gradient(90deg, #00D0FF, var(--accent-color));
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
}

/* Terminal Screen Styles */
.terminal-screen {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    overflow-y: auto;
    max-height: 230px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
    position: relative;
}

.terminal-screen::before {
    content: "DIAGNOSTIC CORE v1.0.8";
    position: absolute;
    top: 0.4rem;
    right: 0.8rem;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 1px;
}

.terminal-logs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.log-line {
    color: #4AF626;
    /* Classic Hacker Green */
    line-height: 1.4;
    word-break: break-all;
}

.log-line.text-muted {
    color: #888899;
}

.log-line.text-error {
    color: #ff3366;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
}

.log-line.text-success {
    color: #00F0FF;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.5);
}

/* Results Dashboard Styles */
.results-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: zoomInDiagnostic 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomInDiagnostic {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.results-dashboard.hidden {
    display: none;
}

.metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.01);
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.metric-value-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.2rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
}

.cyan-glow {
    color: #00F0FF;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.pink-glow {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.metric-unit {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.status-gauge-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
}

.status-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.gauge-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.gauge-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.verdict-card {
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
}

.verdict-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.alert-icon {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.verdict-text {
    font-size: 0.92rem;
    color: #d1d5db;
    line-height: 1.6;
}

/* Mobile responsive fixes for Estimator */
@media (max-width: 768px) {
    .perf-estimator-section {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .estimator-container {
        padding: 2.5rem 1.5rem;
    }

    .estimator-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .metric-value {
        font-size: 2.2rem;
    }

    .metric-row {
        gap: 1rem;
    }
}

/* Developer Note Style */
.estimator-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 3.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.estimator-note strong {
    color: #FFFFFF;
}

.estimator-note em {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 600;
}

/* Developer Sign-off Section */
.dev-signoff {
    margin: 2.5rem auto;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(138, 43, 226, 0.15);
    border-radius: 16px;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(138, 43, 226, 0.05);
}

.dev-signoff::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.dev-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
    display: block;
    margin-bottom: 0.4rem;
}

.dev-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}

.dev-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.dev-fields {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.field-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    background: rgba(255, 0, 127, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 0, 127, 0.15);
}

.field-separator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
}

@media (max-width: 480px) {
    .dev-signoff {
        padding: 1.2rem 1rem;
        margin: 2rem auto;
    }

    .dev-name {
        font-size: 1.4rem;
    }

    .dev-fields {
        flex-direction: column;
        gap: 0.4rem;
        border-top: none;
        padding-top: 0;
    }

    .field-separator {
        display: none;
    }
}
