/* style.css */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

/* Localized cinematic gradient behind the text */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 40%, rgba(15,23,42,0) 80%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 1;
}

.hero-tagline {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800; /* Increased weight for readability */
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    text-shadow: 0 4px 16px rgba(16, 42, 67, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5); /* Stronger shadow */
}

.hero-capabilities {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--color-cream);
    font-weight: 500;
    text-shadow: 0 2px 12px rgba(16, 42, 67, 0.8), 0 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    max-width: 600px; /* Sensible line length */
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0 2rem;
    }
    .hero-tagline {
        font-size: 3rem;
    }
    .hero-capabilities {
        font-size: 1.25rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: transparent;
    color: var(--color-cream);
    padding: 8rem 2rem;
    margin: 0;
    border-radius: 0;
    backdrop-filter: none;
    text-shadow: 0 4px 12px rgba(16, 42, 67, 0.4);
}

.cta-section h2 {
    color: var(--color-cream);
}

.cta-section .btn-secondary {
    border-color: var(--color-cream);
    color: var(--color-cream);
    text-shadow: none;
}

.cta-section .btn-secondary:hover {
    background-color: var(--color-cream);
    color: var(--color-navy);
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

/* Animation Intro */
.intro-center-logo {
    width: 600px;
    height: 200px;
    position: relative;
    z-index: 10;
}

#intro-rocket-wrapper {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: -200px; /* Start offscreen */
    transform: translateY(-50%);
    z-index: 20;
    opacity: 0;
}

.intro-rocket {
    width: 100%;
    height: auto;
    transform: rotate(90deg); /* Face right */
}

.intro-smoke {
    position: absolute;
    top: 50%;
    left: -150px;
    width: 200px;
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0;
}


/* ==========================================================
   PURE CSS RETRO TERMINAL
   ========================================================== */

.terminal-enclosure {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 1rem;
    perspective: 1000px;
}

.terminal-casing {
    background: #e3dec9; /* Vintage beige plastic */
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        inset -4px -4px 10px rgba(0,0,0,0.15),
        inset 4px 4px 10px rgba(255,255,255,0.7),
        0 25px 50px rgba(0,0,0,0.3);
    border: 2px solid #c4bfab;
    transform: rotateX(2deg); /* Slight upward tilt */
}

.terminal-header-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.led-red, .led-green {
    width: 12px; 
    height: 12px; 
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.2);
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.5);
}

.led-red { 
    background: #ff3b30; 
    box-shadow: 0 0 10px #ff3b30, inset 1px 1px 2px rgba(255,255,255,0.5); 
}

.led-green { 
    background: #34c759; 
    box-shadow: 0 0 10px #34c759, inset 1px 1px 2px rgba(255,255,255,0.5); 
    animation: led-blink 3s infinite; 
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes led-blink {
        0%, 95% { opacity: 1; }
        96%, 99% { opacity: 0.3; }
        100% { opacity: 1; }
    }
}

.terminal-label {
    font-family: var(--font-code, monospace);
    font-size: 0.8rem;
    color: #8c8774;
    letter-spacing: 3px;
    margin-left: auto;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.5);
}

.terminal-screen-bezel {
    background: #0a0a0c;
    padding: 24px;
    border-radius: 12px;
    border: 6px solid #2a2b2e;
    border-bottom-color: #1a1b1d;
    border-right-color: #1a1b1d;
    box-shadow: inset 0 0 30px #000, 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    height: 450px;
    overflow: hidden;
}

.terminal-screen-bezel iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
    background: #fcf9f2; /* Paper background of the blog */
    position: relative;
    z-index: 1;
}

.crt-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
}

.crt-glare {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none;
    z-index: 11;
}

.terminal-control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 0 10px;
}

.retro-btn {
    background: #e2b84d; /* LANZAR Accent */
    color: #102a43; /* LANZAR Primary */
    border: 2px solid #b89232;
    padding: 12px 24px;
    font-family: var(--font-code, monospace);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 
        0 6px 0 #947424,
        0 10px 10px rgba(0,0,0,0.2),
        inset 1px 1px 2px rgba(255,255,255,0.5);
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.retro-btn:active {
    transform: translateY(6px);
    box-shadow: 
        0 0px 0 #947424,
        0 2px 4px rgba(0,0,0,0.2),
        inset 1px 1px 2px rgba(255,255,255,0.5);
}

.ventilation-grille {
    display: flex;
    gap: 8px;
}

.ventilation-grille span {
    width: 6px;
    height: 24px;
    background: #2a2b2e;
    border-radius: 4px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.8), 1px 1px 0 rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
    .terminal-casing {
        padding: 16px;
    }
    .terminal-screen-bezel {
        height: 350px;
        padding: 16px;
    }
    .retro-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .ventilation-grille {
        display: none;
    }
}
