/* ----------------------------------
   CSS VARIABLES & CONFIGURATION
----------------------------------- */
:root {
    --hero-bg: url('../assets/silver-steps-hero.png');
    --hero-mobile-bg: url('../assets/silver-steps-mobile.png');
    
    /* Colors */
    --clr-black: #050505;
    --clr-white: #ffffff;
    --clr-glass-border: rgba(255, 255, 255, 0.25);
    --clr-glass-hover: rgba(255, 255, 255, 0.5);
    --clr-glass-bg: rgba(0, 0, 0, 0.3);
    
    /* Animation timings */
    --transition-speed: 250ms;
    --transition-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----------------------------------
   RESET & BASE
----------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-black);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; /* Single page lock */
}

/* ----------------------------------
   CINEMATIC REVEAL ANIMATION
----------------------------------- */
@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ----------------------------------
   HERO SECTION (100vw x 100vh)
----------------------------------- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: cinematicReveal 1.2s ease-out forwards;
}

/* ----------------------------------
   CTA BUTTONS (Floating Layout)
----------------------------------- */
.cta-container {
    position: absolute;
    bottom: 8%;
    left: 4%;
    display: flex;
    gap: 1.5rem;
    z-index: 10;
    
    background: var(--clr-glass-bg);
    padding: 1rem;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--clr-glass-border);
    border-radius: 30px;
    
    color: var(--clr-white);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    
    transition: all var(--transition-speed) var(--transition-easing);
}

/* Icons and Arrows */
.btn-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.btn-arrow {
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.25rem;
    transition: transform var(--transition-speed) var(--transition-easing);
}

/* Hover Micro-interactions */
.cta-button:hover,
.cta-button:focus-visible {
    border-color: var(--clr-glass-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
    outline: none;
}

.cta-button:hover .btn-arrow,
.cta-button:focus-visible .btn-arrow {
    transform: translateX(3px);
}

/* ----------------------------------
   RESPONSIVE DESIGN
----------------------------------- */
/* Tablet & Small Laptops */
@media (max-width: 1024px) {
    .cta-container {
        gap: 1rem;
        bottom: 6%;
    }
    
    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.65rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    body {
        overflow: hidden;
    }

    .hero-section {
        background-image: var(--hero-mobile-bg); /* Swaps to mobile artwork */
        background-size: cover;
        background-position: center;
    }
    
    .cta-container {
        top: auto;
        bottom: 5%;
        left: 5%;
        right: 5%;
        flex-direction: column;
        padding: 1.25rem;
        border-radius: 20px;
        background: var(--clr-glass-bg);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .cta-button {
        justify-content: center;
        padding: 1rem;
        font-size: 0.75rem;
        background: transparent;
    }
    
    .btn-arrow {
        position: absolute;
        right: 20px;
    }
}