/* ===========================
CSS VARIABLES & RESET
=========================== */
:root {
    --bg:        #07001a;
    --bg-2:      #0d0028;
    /* Same as bottomMaskMat (0x120a3a) in wave-effect.js */
    --canvas-panel: #120a3a;
    --cyan:      #00fff0;
    --magenta:   #ff00c8;
    --gold:      #ffb800;
    --white:     #e8e8ff;
    --font-display: 'Orbitron', monospace;
    --font-mono:    'Share Tech Mono', monospace;
    --font-body:    'Exo 2', sans-serif;
}

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

html {
    scroll-behavior: auto;
    scroll-snap-type: y mandatory;
}

html.logo-intro-lock,
html.logo-intro-lock body {
    overflow: hidden;
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

.wave-canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#wave-canvas {
    display: block;
}

#page-scroll-proxy {
    width: 100%;
}

.page-scroll-snap-segment {
    height: 100vh;
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

#page-content {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 100%;
    height: 45vh;
    overflow: hidden;
    color: var(--white);
    font-family: var(--font-body);
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(18, 10, 58, 0) 0%,
        var(--canvas-panel) 100%
    );
}

#page-content .page-content-stage {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.page-content-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.75rem 1.5rem;
    background: transparent;
    opacity: 0;
    transform: translateY(36px);
    visibility: hidden;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.52s;
    z-index: 1;
}

.page-content-panel.is-active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
    z-index: 3;
}

.page-content-panel.is-active.is-waiting-logo-intro {
    opacity: 0;
}

.page-content-panel.is-leave-forward {
    opacity: 0;
    transform: translateY(-40px);
    visibility: visible;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.52s;
    z-index: 1;
}

.page-content-panel.is-leave-back {
    opacity: 0;
    transform: translateY(40px);
    visibility: visible;
    transition:
        opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.52s;
    z-index: 1;
}

.page-content-panel.is-enter-from-below {
    opacity: 0;
    transform: translateY(48px);
    visibility: visible;
    z-index: 2;
}

.page-content-panel.is-enter-from-above {
    opacity: 0;
    transform: translateY(-48px);
    visibility: visible;
    z-index: 2;
}

.page-content-panel-inner {
    max-width: 36rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.page-content-hint {
    font-size: 0.9rem;
    color: rgba(232, 232, 255, 0.55);
    max-width: 28rem;
    text-align: center;
    line-height: 1.6;
}

.page-content-hint-code {
    font-family: var(--font-mono);
    font-size: 0.85em;
}

@media (prefers-reduced-motion: reduce) {
    .page-content-panel,
    .page-content-panel.is-active,
    .page-content-panel.is-leave-forward,
    .page-content-panel.is-leave-back {
        transition-duration: 0.01ms;
    }
}

#page-content .scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

/* ===========================
    SCANLINE OVERLAY
=========================== */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 8000;
}

/* ===========================
    PAGE TRANSITION CURTAIN
=========================== */
#curtain {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-2), #1a0030);
    z-index: 9990;
    transform: translateY(100%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
#curtain .curtain-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--cyan);
    opacity: 0;
    transition: opacity 0.3s;
}
#curtain.entering {
    animation: curtainIn 0.5s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
#curtain.entering .curtain-text { opacity: 1; }
#curtain.leaving {
    animation: curtainOut 0.55s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes curtainIn {
    from { transform: translateY(100%); }
    to   { transform: translateY(0%); }
}
@keyframes curtainOut {
    from { transform: translateY(0%); }
    to   { transform: translateY(-100%); }
}

/* ===========================
    NAVIGATION
=========================== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(7,0,26,0.95), transparent);
}
.nav-wordmark {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(232,232,255,0.65);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s, opacity 0.2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--cyan);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    font-family: var(--font-display) !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    color: var(--bg) !important;
    background: var(--cyan);
    padding: 0.55rem 1.3rem;
    border-radius: 0.25rem;
    transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--magenta) !important; color: var(--bg) !important; }
.nav-cta::after { display: none !important; }

/* ===========================
    HERO
=========================== */
#hero:not(.page-content-panel) {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#page-content #hero.page-content-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    height: 100%;
    min-height: 0;
    overflow: visible;
}
#synthwave-canvas {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 65%;
    z-index: 0;
}
.hero-glow {
    position: absolute;
    top: 35%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(255,0,200,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
}
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4.5vw, 2.2rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 0 50px rgba(0,255,240,0.2);
}
.hero-headline .word {
    display: inline-block;
    overflow: hidden;
    margin: 0 0.15em;
}
.hero-headline .letter {
    display: inline-block;
    transform: translateY(110%);
    animation: letterReveal 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes letterReveal {
    to { transform: translateY(0); }
}
.hero-headline .c { color: var(--cyan); }
.hero-headline .m { color: var(--magenta); }
.hero-subline {
    font-family: var(--font-mono);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: rgba(232,232,255,0.45);
    letter-spacing: 0.15em;
}
.typing-container {
    font-family: var(--font-mono);
    font-size: clamp(0.78rem, 1.3vw, 0.92rem);
    color: var(--gold);
    min-height: 1.4em;
    line-height: 1.5;
    max-width: min(36rem, calc(100vw - 2.5rem));
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.typing-prefix { color: var(--cyan); opacity: 0.5; }
.typing-cursor {
    display: inline-block;
    width: 2px; height: 0.9em;
    background: var(--cyan);
    vertical-align: -0.12em;
    margin-left: 1px;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}
.btn-primary {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.95rem 2.2rem;
    background: transparent;
    border: 1px solid var(--cyan);
    border-radius: 0.25rem;
    color: var(--cyan);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.35s;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--cyan);
    transition: left 0.35s cubic-bezier(0.16,1,0.3,1);
    z-index: -1;
    
}
.btn-primary:hover { color: var(--bg); }
.btn-primary:hover::before { left: 0; }
.btn-secondary {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    padding: 0.95rem 1.8rem;
    background: transparent;
    border: 1px solid var(--magenta);
    color: var(--magenta);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.35s;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.25rem;
}
/* .btn-secondary:hover {
    border-color: var(--magenta);
    color: var(--magenta);
} */
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0; right: -100%;
    width: 100%; height: 100%;
    background: var(--magenta);
    transition: right 0.35s cubic-bezier(0.16,1,0.3,1);
    z-index: -1;
    
}
.btn-secondary:hover { color: var(--bg); }
.btn-secondary:hover::before { left: 0; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.35;
}
.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    color: var(--cyan);
}
.scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.2); }
}

/* ===========================
    SECTION COMMON
=========================== */
section:not(.page-content-panel) {
    position: relative;
    padding: 8rem 3rem;
    background: var(--bg);
}
#hero:not(.page-content-panel) { background: transparent; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: var(--magenta);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.section-divider {
    width: 100%; height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,255,240,0.2), transparent);
    position: relative;
    z-index: 1;
}
.section-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    z-index: -1;
}

/* ===========================
    PROBLEM SECTION
=========================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.problem-card {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(0,255,240,0.1);
    display: flex;
    padding: 1rem .5rem;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    transition: border-color 0.3s, background 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.problem-card:hover {
    border-color: rgba(0,255,240,0.35);
    background: rgba(0, 31, 37, 0.7);
}
.problem-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(0,255,240,0.8);
    line-height: 1;
    margin-right: 0.8rem;
}
.problem-text {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: rgba(232,232,255,0.65);
    line-height: 1.65;
    font-style: italic;
}
.problem-reveal {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 44, 41, 0.5), rgba(37, 0, 29, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    clip-path: ellipse(0% 0% at 50% 50%);
    transition: clip-path 0.65s cubic-bezier(0.16,1,0.3,1);
    border: 1px solid rgba(0,255,240,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.problem-card:hover .problem-reveal {
    clip-path: ellipse(160% 160% at 50% 50%);
}
.problem-reveal p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--cyan);
    text-align: center;
    line-height: 1.7;
}
.problem-reveal strong {
    color: var(--gold);
    font-style: normal;
}

/* ===========================
    SERVICES + CIRCUIT
=========================== */
#services {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}
#circuit-canvas {
    display: block;
    width: 100%;
    height: 280px;
    margin: 3rem 0 2rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}
.service-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: .5rem .5rem;
    border: 1px solid rgba(255,0,200,0.1);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    background: rgba(255,0,200,0.02);
    transition: border-color 0.3s, background 0.3s;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.service-item:hover {
    border-color: rgba(255,0,200,0.3);
    background: rgba(255,0,200,0.04);
}
.service-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1.3;
}
.service-info h3 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--magenta);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.service-info p {
    font-size: 0.88rem;
    color: rgba(232,232,255,0.55);
    line-height: 1.65;
}

/* ===========================
    TESTIMONIALS
=========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}
.testimonial-card {
    padding: .5rem .5rem;
    background: rgba(255,255,255,0.02);
    border-top: 2px solid var(--cyan);
    position: relative;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.testimonial-card::before {
    position: absolute;
    top: -0.6rem; left: 1.5rem;
    font-size: 4rem;
    color: var(--cyan);
    font-family: Georgia, serif;
    opacity: 0.2;
    line-height: 1;
}
.testimonial-photo {
    width: 52px; height: 52px;
    background: rgba(0,255,240,0.08);
    border: 1px solid rgba(0,255,240,0.2);
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--cyan);
}
.testimonial-text {
    font-size: 0.88rem;
    font-style: italic;
    color: rgba(232,232,255,0.65);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.testimonial-name {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.08em;
}
.testimonial-role {
    font-size: 0.72rem;
    color: rgba(232,232,255,0.3);
    margin-top: 0.2rem;
}
.testimonials-note {
    text-align: center;
    margin-top: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(232,232,255,0.25);
    letter-spacing: 0.1em;
}

.carousel-controls {
    display: none;
}

.carousel-nav {
    appearance: none;
    border: 1px solid rgba(0,255,240,0.35);
    background: rgba(0, 255, 240, 0.05);
    color: var(--cyan);
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.carousel-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.carousel-dot {
    appearance: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    padding: 0;
    cursor: pointer;
}

.carousel-dot.is-active {
    border-color: var(--cyan);
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0,255,240,0.45);
}

/* ===========================
    THE OFFER
=========================== */
#offer {
    background: radial-gradient(ellipse at center, rgba(255,0,200,0.06) 0%, transparent 70%);
}
#offer .section-inner { text-align: center; max-width: 780px; }
.spots-display {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}
.spots-taken {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cyan);
    line-height: 1;
    text-shadow: 0 0 30px rgba(0,255,240,0.4);
    text-align: right;
    transition: color 0.1s;
}
.spots-divider {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: rgba(232,232,255,0.15);
    padding-bottom: 0.3rem;
}
.spots-total {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(232,232,255,0.15);
    line-height: 1;
}
.spots-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    color: rgba(232,232,255,0.3);
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.spots-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.progress-bar-wrap {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,255,240,0.15);
    margin-bottom: .5rem;
    position: relative;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    width: 20%;
    background: linear-gradient(to right, var(--cyan), var(--magenta));
    transition: width 1.6s cubic-bezier(0.16,1,0.3,1);
    position: relative;
}
.progress-bar-fill::after {
    content: '';
    position: absolute;
    right: -2px; top: 0;
    height: 100%;
    width: 12px;
    background: white;
    filter: blur(3px);
    opacity: 0.9;
}
.page-link {
    float: right;
}
.offer-body {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(232,232,255,0.65);
    line-height: 1.85;
    margin-bottom: .5rem;
}
.offer-body strong {
    color: var(--white);
    font-weight: 600;
}
.offer-note {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(232,232,255,0.35);
    line-height: 1.8;
}

/* ===========================
    STAGGER TEXT
=========================== */
.stagger-text .letter {
    display: inline-block;
    transition: transform 0.25s, color 0.25s;
    transition-delay: calc(var(--i, 0) * 0.025s);
}
.stagger-text:hover .letter {
    transform: translateY(-3px);
    color: var(--cyan);
}

/* ===========================
    BUG EASTER EGG
=========================== */
.bug-word {
    position: relative;
    display: inline-block;
}
.bug-inner {
    display: inline-block;
    color: var(--magenta);
    cursor: pointer;
    transform: skewX(-3deg) translateX(2px);
    text-shadow: 2px 0 rgba(0,255,240,0.4), -1px 0 rgba(255,0,200,0.3);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.bug-inner.is-fixed {
    transform: none;
    text-shadow: 0 0 15px rgba(0,255,240,0.5);
    color: var(--cyan);
}
.bug-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7,0,26,0.95);
    border: 1px solid rgba(0,255,240,0.3);
    padding: 0.4rem 0.8rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(232,232,255,0.6);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
.bug-word:hover .bug-tooltip { opacity: 1; }
.bug-fixed-msg {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.bug-fixed-msg.show { opacity: 1; }

/* ===========================
    FOOTER
=========================== */
footer {
    padding: 1rem 1rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(0,255,240,0.08);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
}
.footer-wordmark {
    font-family: var(--font-display);
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    color: rgba(58, 58, 219, 0.541);
    text-transform: uppercase;
}
.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(115, 115, 240, 0.541);
    text-decoration: none;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(232,232,255,0.18);
    line-height: 1.8;
}

/* ===========================
    RESPONSIVE
=========================== */
@media (max-width: 900px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-links li:not(:last-child) { display: none; }
    section { padding: 5rem 1.5rem; }
    .cards-carousel {
        display: flex;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        margin-top: 1rem;
    }
    .cards-carousel::-webkit-scrollbar {
        display: none;
    }
    .cards-carousel > * {
        min-width: 90%;
        max-width: 100%;
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
    .cards-carousel .problem-card,
    .cards-carousel .service-item,
    .cards-carousel .testimonial-card {
        margin-right: 10px;
    }
    .carousel-controls {
        margin-top: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.9rem;
    }
    .hero-cta { flex-direction: column; align-items: center; }
    .footer-top { flex-direction: column; gap: 1.5rem; }
    #page-content {
        height: 40vh;
    }
}
