/* ============================================================================
   SUBTL LANDING — Bold, Energetic, Video/Glitch Aesthetic
   ============================================================================ */

:root {
    --color-black: #0a0a0a;
    --color-dark: #1a1a2e;
    --color-teal: #00d9ff;
    --color-magenta: #ff006e;
    --color-gold: #ffd60a;
    --color-white: #ffffff;
    --color-gray: #e0e0e0;
    
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
}

main {
    width: 100%;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #2d1b4e 50%, #1a1a2e 75%, #0a0a0a 100%);
}

/* Glitch effect overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 0, 110, 0.03),
            rgba(255, 0, 110, 0.03) 1px,
            transparent 1px,
            transparent 2px
        );
    animation: scanlines 8s linear infinite;
    pointer-events: none;
}

/* Film grain texture */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" result="noise"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

/* Glitch flicker effect */
@keyframes glitch-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: -2px 0 #00d9ff, 2px 0 #ff006e;
    }
    20%, 24%, 55% {
        opacity: 0.8;
        text-shadow: 2px 0 #00d9ff, -2px 0 #ff006e;
    }
}

/* Hero content container */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADLINE */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-headline .highlight {
    background: linear-gradient(90deg, #00d9ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* SOFTWARE ICONS */
.software-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.software-icons .icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.software-icons .icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.6));
}

.icon-separator {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-teal);
}

/* NARRATIVE */
.hero-narrative {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-solution {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    color: var(--color-white);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-solution strong {
    color: var(--color-teal);
    font-weight: 600;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA BUTTONS */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInScale 0.8s ease-out 0.5s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(90deg, #00d9ff, #00b8d4);
    color: var(--color-black);
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 217, 255, 0.5);
    background: linear-gradient(90deg, #00e8ff, #00c6e0);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
}

.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.btn-secondary:active {
    background: rgba(0, 217, 255, 0.2);
}

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 20px;
    }
    
    .hero-headline {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .software-icons {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .software-icons .icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-narrative,
    .hero-solution {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .cta-buttons {
        gap: 12px;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .software-icons {
        margin-bottom: 25px;
    }
    
    .hero-narrative,
    .hero-solution {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
