/* ============================================
   HERO SECTION - Tron Style
   ============================================ */

.hero-tron {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Scanlines overlay for retro CRT feel */
.hero-tron::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 50;
    animation: scanline-flicker 0.1s infinite;
}

@keyframes scanline-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
}

/* Digital noise grain */
.hero-tron::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 51;
}

/* ========================================
   TRON GRID FLOOR
   ======================================== */

.tron-grid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    perspective: 500px;
    overflow: hidden;
}

.grid-floor {
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 51, 51, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 51, 51, 0.15) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: rotateX(60deg);
    transform-origin: center bottom;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 80px; }
}

/* Glowing grid intersection points */
.grid-floor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(255, 51, 51, 0.5) 0%, transparent 2px);
    background-size: 80px 80px;
    animation: grid-scroll 20s linear infinite, grid-pulse 2s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Electric energy wave */
.grid-energy {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent) 20%,
        #fff 50%,
        var(--accent) 80%,
        transparent 100%
    );
    box-shadow:
        0 0 10px var(--accent),
        0 0 20px var(--accent),
        0 0 40px var(--accent);
    animation: energy-wave 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes energy-wave {
    0% { transform: translateX(-50%) scaleX(0.3); opacity: 0; }
    50% { transform: translateX(0%) scaleX(1); opacity: 1; }
    100% { transform: translateX(50%) scaleX(0.3); opacity: 0; }
}

/* Horizon line - goes through the logo */
.grid-horizon {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--accent) 30%, var(--accent) 70%, transparent 95%);
    box-shadow:
        0 0 20px var(--accent),
        0 0 40px var(--accent),
        0 0 60px rgba(255, 51, 51, 0.5);
    z-index: 15;
    transform: translateY(-50%);
}

/* ========================================
   LIGHT TRAILS
   ======================================== */

.light-trails {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.trail {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    opacity: 0;
}

.trail-1 {
    top: 20%;
    width: 200px;
    animation: trail-move-1 8s ease-in-out infinite;
}

.trail-2 {
    top: 35%;
    width: 150px;
    animation: trail-move-2 12s ease-in-out infinite 2s;
}

.trail-3 {
    top: 75%;
    width: 180px;
    animation: trail-move-3 10s ease-in-out infinite 4s;
}

@keyframes trail-move-1 {
    0% { left: -200px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes trail-move-2 {
    0% { right: -150px; left: auto; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { right: 100%; left: auto; opacity: 0; }
}

@keyframes trail-move-3 {
    0% { left: -180px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { left: 100%; opacity: 0; }
}

/* ========================================
   CIRCUIT LINES SVG
   ======================================== */

.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.circuit-path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    opacity: 0.6;
}

.circuit-left {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: circuit-draw 3s ease-out forwards, circuit-pulse 4s ease-in-out infinite 3s;
}

.circuit-right {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: circuit-draw 3s ease-out 0.5s forwards, circuit-pulse 4s ease-in-out infinite 3.5s;
}

.circuit-bottom {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: circuit-draw-up 2.5s ease-out 1s forwards, circuit-pulse 4s ease-in-out infinite 4s;
}

.circuit-corner-tl,
.circuit-corner-tr {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: circuit-draw 2s ease-out 0.3s forwards;
    opacity: 0.4;
}

@keyframes circuit-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes circuit-draw-up {
    to { stroke-dashoffset: 0; }
}

@keyframes circuit-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ========================================
   SUNRISE CONTAINER (GXM + Disc Rising)
   ======================================== */

.sunrise-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: sunrise 3.5s ease-out 0.5s forwards;
}

@keyframes sunrise {
    0% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(-50%, -50%) translateY(-12vh);
    }
}


/* ========================================
   TRON DISC (Central Element)
   ======================================== */

.tron-disc {
    position: relative;
    width: 500px;
    height: 500px;
    pointer-events: none;
    z-index: 15;
}

.disc-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 51, 51, 0.3);
}

.disc-outer {
    width: 100%;
    height: 100%;
    animation: disc-rotate 30s linear infinite;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(255, 51, 51, 0.2);
}

.disc-middle {
    width: 70%;
    height: 70%;
    animation: disc-rotate 20s linear infinite reverse;
    border-color: rgba(0, 255, 65, 0.2);
    border-width: 1px;
}

.disc-inner {
    width: 40%;
    height: 40%;
    animation: disc-pulse 4s ease-in-out infinite;
    border-color: rgba(255, 51, 51, 0.3);
    border-width: 1px;
}

@keyframes disc-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes disc-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        border-color: rgba(255, 51, 51, 0.3);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        border-color: rgba(255, 51, 51, 0.5);
    }
}

/* ========================================
   DATA STREAMS (Matrix-style falling code)
   ======================================== */

.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.data-stream {
    position: absolute;
    top: -100%;
    width: 2px;
    height: 150px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(255, 51, 51, 0.1) 20%,
        rgba(255, 51, 51, 0.8) 80%,
        var(--accent) 100%
    );
    opacity: 0.6;
    filter: blur(0.5px);
}

.stream-1 { left: 5%; animation: stream-fall 7s linear infinite; }
.stream-2 { left: 15%; animation: stream-fall 9s linear infinite 1s; height: 100px; }
.stream-3 { left: 25%; animation: stream-fall 6s linear infinite 2s; }
.stream-4 { right: 25%; animation: stream-fall 8s linear infinite 0.5s; height: 120px; }
.stream-5 { right: 15%; animation: stream-fall 7.5s linear infinite 3s; }
.stream-6 { right: 5%; animation: stream-fall 6.5s linear infinite 1.5s; height: 80px; }

/* Green accent streams */
.stream-2, .stream-5 {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0, 255, 65, 0.1) 20%,
        rgba(0, 255, 65, 0.8) 80%,
        #00ff41 100%
    );
}

@keyframes stream-fall {
    0% { top: -150px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { top: 100%; opacity: 0; }
}

/* ========================================
   TRON WIREFRAME MOUNTAINS
   ======================================== */

.tron-mountains {
    position: absolute;
    bottom: 50%;
    left: 0;
    width: 100%;
    height: 20%;
    pointer-events: none;
    z-index: 6;
}

/* Responsive */
@media (max-width: 768px) {
    .tron-mountains {
        height: 25%;
    }
}

@media (max-width: 480px) {
    .tron-mountains {
        height: 20%;
    }
}

/* ========================================
   STARS (Nightscape)
   ======================================== */

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    z-index: 8;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: subtle-twinkle 4s ease-in-out infinite;
}

.star.bright {
    width: 3px;
    height: 3px;
    opacity: 0.7;
    animation: none;
}

@keyframes subtle-twinkle {
    0%, 85%, 100% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.7;
    }
}


/* Star positions - scattered in upper half */
.star-1 { top: 8%; left: 5%; animation-delay: 0s; }
.star-2 { top: 12%; left: 15%; animation-delay: -0.5s; }
.star-3 { top: 5%; left: 25%; animation-delay: -1s; }
.star-4 { top: 18%; left: 35%; animation-delay: -1.5s; }
.star-5 { top: 8%; left: 45%; animation-delay: -2s; }
.star-6 { top: 15%; left: 55%; animation-delay: -0.3s; }
.star-7 { top: 6%; left: 65%; animation-delay: -2.5s; }
.star-8 { top: 20%; left: 75%; animation-delay: -1.2s; }
.star-9 { top: 10%; left: 85%; animation-delay: -0.8s; }
.star-10 { top: 4%; left: 92%; animation-delay: -1.8s; }
.star-11 { top: 25%; left: 8%; animation-delay: -2.2s; }
.star-12 { top: 30%; left: 18%; animation-delay: -0.7s; }
.star-13 { top: 22%; left: 28%; animation-delay: -1.3s; }
.star-14 { top: 35%; left: 12%; animation-delay: -2.8s; }
.star-15 { top: 28%; left: 82%; animation-delay: -0.4s; }
.star-16 { top: 33%; left: 90%; animation-delay: -1.6s; }
.star-17 { top: 38%; left: 6%; animation-delay: -2.1s; }
.star-18 { top: 40%; left: 95%; animation-delay: -0.9s; }


/* ========================================
   HERO CONTENT
   ======================================== */

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 25;
    text-align: center;
    padding: 0 20px;
    animation: sunrise 3.5s ease-out 0.5s forwards;
}

.hero-content h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.15em;
    text-shadow:
        0 0 20px rgba(255, 51, 51, 0.5),
        0 0 40px rgba(255, 51, 51, 0.3),
        0 0 60px rgba(255, 51, 51, 0.2);
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
    0%, 100% {
        text-shadow:
            0 0 20px rgba(255, 51, 51, 0.5),
            0 0 40px rgba(255, 51, 51, 0.3),
            0 0 60px rgba(255, 51, 51, 0.2);
    }
    50% {
        text-shadow:
            0 0 30px rgba(255, 51, 51, 0.7),
            0 0 60px rgba(255, 51, 51, 0.5),
            0 0 90px rgba(255, 51, 51, 0.3);
    }
}

.hero-content .hero-subbrand {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin: -0.38rem 0 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(255, 51, 51, 0.28),
        0 0 28px rgba(255, 51, 51, 0.16);
}

.hero-content .tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* ========================================
   CTA BUTTONS
   ======================================== */

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-primary {
    position: relative;
    overflow: hidden;
}

.hero-cta .btn-primary .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.4), transparent);
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    animation: fade-in 1s ease-out 0.5s forwards;
    opacity: 0;
}

@keyframes fade-in { to { opacity: 1; } }

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.6;
    box-shadow: 2px 2px 5px rgba(255, 51, 51, 0.3);
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(8px); }
}

/* ========================================
   HERO CHAT INQUIRY INTAKE
   ======================================== */

.hero-inquiry-card {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    z-index: 55;
    width: min(82vw, 560px);
    max-height: min(52vh, 320px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.95rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 51, 51, 0.38);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(10, 0, 0, 0.88), rgba(0, 0, 0, 0.74));
    box-shadow: 0 0 34px rgba(255, 51, 51, 0.16), inset 0 0 18px rgba(255, 51, 51, 0.06);
    backdrop-filter: blur(12px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 51, 51, 0.34) rgba(255, 51, 51, 0.06);
}

.hero-inquiry-card.is-email-step {
    max-height: min(72vh, 480px);
}

.hero-chat-thread {
    display: flex;
    margin-bottom: 0.65rem;
}

.hero-chat-bubble {
    max-width: 92%;
    border: 1px solid rgba(255, 51, 51, 0.28);
    border-radius: 16px 16px 16px 4px;
    background: rgba(255, 51, 51, 0.09);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 0.72rem 0.85rem;
}

.hero-chat-transcript {
    display: grid;
    gap: 0.45rem;
    max-height: 112px;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-bottom: 0.55rem;
    padding-right: 0.15rem;
}

.hero-chat-bubble--user {
    justify-self: end;
    max-width: 92%;
    border-radius: 16px 16px 4px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    white-space: pre-wrap;
}

.hero-chat-bubble--gxm::before {
    content: 'GXM';
    display: block;
    margin-bottom: 0.25rem;
    color: var(--accent-glow);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-chat-email-prompt,
.hero-chat-email-composer {
    display: none;
}

.hero-chat-email-prompt {
    margin: 0.55rem 0 0;
}

.hero-chat-email-prompt.is-visible {
    display: inline-block;
    border-color: rgba(49, 255, 147, 0.56);
    background: rgba(49, 255, 147, 0.09);
    box-shadow: 0 0 18px rgba(49, 255, 147, 0.16), inset 0 0 12px rgba(49, 255, 147, 0.05);
}

.hero-chat-email-composer.is-visible {
    display: grid;
}

.hero-chat-primary-submit {
    width: 100%;
    margin-top: 0.6rem;
}

.hero-chat-primary-submit.is-hidden {
    display: none;
}

.hero-inquiry-form textarea,
.hero-inquiry-form input {
    width: 100%;
    border: 1px solid rgba(255, 51, 51, 0.25);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    padding: 0.82rem 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hero-inquiry-form textarea {
    resize: none;
    min-height: 78px;
    border-radius: 16px 16px 4px 16px;
}

.hero-inquiry-form textarea::placeholder,
.hero-inquiry-form input::placeholder {
    color: rgba(255, 255, 255, 0.36);
}

.hero-inquiry-form .placeholder-fade {
    opacity: 0.42;
}

.hero-inquiry-form textarea:focus,
.hero-inquiry-form input:focus {
    border-color: rgba(255, 51, 51, 0.75);
    box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.12);
}

.hero-chat-composer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    margin-top: 0.6rem;
    align-items: stretch;
}

.hero-chat-email-composer {
    display: none;
}

.hero-chat-email-composer.is-visible {
    display: grid;
}

.hero-turnstile {
    display: none;
    grid-column: 1 / -1;
}

.hero-turnstile.is-visible {
    display: block;
}

.hero-inquiry-form .gxm-turnstile,
.hero-inquiry-consent {
    margin-top: 0.55rem;
}

.hero-inquiry-form .gxm-turnstile {
    width: 100%;
}

.hero-inquiry-submit {
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.78rem 1.1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-inquiry-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}

.hero-inquiry-form.is-submitting .hero-inquiry-submit {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.hero-inquiry-form.is-submitting textarea,
.hero-inquiry-form.is-submitting input {
    opacity: 0.82;
}

.hero-chat-email-composer.is-visible #heroSendButton {
    border-color: rgba(49, 255, 147, 0.78);
    background: linear-gradient(135deg, rgba(18, 154, 88, 0.96), rgba(49, 255, 147, 0.72));
    box-shadow: 0 0 20px rgba(49, 255, 147, 0.18);
}

.hero-chat-reopen-button {
    display: none;
    width: 100%;
    border: 1px solid rgba(49, 255, 147, 0.64);
    border-radius: 999px;
    background: rgba(49, 255, 147, 0.08);
    color: rgba(214, 255, 235, 0.95);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.74rem 1rem;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(49, 255, 147, 0.14), inset 0 0 10px rgba(49, 255, 147, 0.04);
}

.hero-inquiry-card.is-submitted {
    width: min(92vw, 260px);
    padding: 0.55rem;
    border-color: rgba(49, 255, 147, 0.38);
    background: rgba(0, 0, 0, 0.68);
    box-shadow: 0 0 24px rgba(49, 255, 147, 0.1), inset 0 0 14px rgba(49, 255, 147, 0.04);
}

.hero-inquiry-card.is-submitted .hero-chat-thread,
.hero-inquiry-card.is-submitted .hero-inquiry-form {
    display: none;
}

.hero-inquiry-card.is-submitted .hero-chat-reopen-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-inquiry-consent {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.68rem;
    line-height: 1.45;
}

.hero-inquiry-consent a {
    color: rgba(255, 138, 138, 0.9);
}

.hero-inquiry-status {
    min-height: 1.2rem;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (min-width: 769px) and (max-height: 720px) {
    .sunrise-container,
    .hero-content {
        top: 38%;
    }

    .hero-content h1 { font-size: clamp(4.5rem, 9vw, 7rem); }
    .hero-content .hero-subbrand { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
    .hero-content .tagline { font-size: clamp(0.85rem, 1.6vw, 1.05rem); }
}

@media (max-width: 768px) {
    .hero-tron {
        height: 100vh;
        height: 100svh;
        min-height: 640px;
        align-items: stretch;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .hero-content {
        position: absolute;
        top: clamp(180px, 32svh, 260px);
        left: 50%;
        width: 100%;
        margin: 0;
        padding: 0 10px;
        transform: translate(-50%, -50%);
        animation: none;
    }

    .hero-content h1 { font-size: 4rem; letter-spacing: 0.1em; }
    .hero-label { font-size: 0.8rem; }
    .hero-content .hero-subbrand { font-size: 1.22rem; letter-spacing: 0.24em; margin: -0.08rem 0 0.68rem; }
    .hero-content .tagline { font-size: 0.9rem; letter-spacing: 0.2em; margin-bottom: 0; }
    .tron-disc { width: 300px; height: 300px; }
    .grid-floor { background-size: 40px 40px; }
    .circuit-lines { display: none; }
    .light-trails { opacity: 0.5; }

    .hero-inquiry-card {
        position: absolute;
        left: 50%;
        right: auto;
        top: auto;
        bottom: max(clamp(20px, 4svh, 34px), env(safe-area-inset-bottom));
        width: min(calc(100% - 24px), 560px);
        max-height: min(46svh, 320px);
        overflow-y: auto;
        margin: 0 auto;
        padding: 0.85rem;
        transform: translateX(-50%);
    }

    .hero-chat-transcript {
        max-height: 18svh;
    }

    .hero-chat-composer { grid-template-columns: 1fr; }
    .hero-inquiry-submit { width: 100%; }
}

@media (max-width: 480px) {
    .hero-tron { padding: 0 8px; }
    .hero-content h1 { font-size: clamp(2.65rem, 16vw, 3.35rem); }
    .hero-content .hero-subbrand { font-size: 1rem; letter-spacing: 0.2em; margin: 0 0 0.58rem; }
    .hero-content .tagline { font-size: 0.78rem; letter-spacing: 0.14em; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
    .tron-disc { width: 250px; height: 250px; }
    .hero-inquiry-card { width: 100%; padding: 0.72rem; border-radius: 14px; }
    .hero-inquiry-form textarea { min-height: 72px; }
    .hero-inquiry-form textarea,
    .hero-inquiry-form input,
    .hero-inquiry-submit { font-size: 16px; }
    .hero-chat-bubble { font-size: 0.76rem; }
    .hero-inquiry-consent { font-size: 0.66rem; }
}

@media (max-width: 360px) {
    .hero-tron { padding-left: 6px; padding-right: 6px; }
    .hero-inquiry-card { padding: 0.6rem; }
}
