/* ═══════════════════════════════════════════════════════════════════════════
   GENESIS TUTORIAL PAGE STYLES - V2
   Updated for Single Step View Architecture
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   GLOBAL VARIABLES
   ───────────────────────────────────────────────────────────────────────────── */
:root {
    --genesis-gold: #f5b800;
    --bg-dark: #0a0a0a;
}

/* ─────────────────────────────────────────────────────────────────────────────
   ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CUSTOM UTILITIES
   ───────────────────────────────────────────────────────────────────────────── */

/* Technical Grid Overlay (if not in main CSS) */
.technical-grid {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Scroll Snap Container (Reserved for legacy or alternate views) */
.scroll-snap-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 3rem 2rem 5rem 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroll-snap-container::-webkit-scrollbar {
    display: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3D ELEMENTS
   ───────────────────────────────────────────────────────────────────────────── */
.perspective-container {
    perspective: 2000px;
}

.iphone-frame-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    width: 100%;
    max-width: 280px;
    /* Reduced from full width to fit screen better */
    margin: 0 auto;
}

/* Glass Card Override */
.glass-card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Typography Overrides */
.brand-font {
    font-family: 'Montserrat', sans-serif;
}

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE FIXES
   ───────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .iphone-frame-wrapper {
        max-width: 320px;
        /* Significantly smaller for mobile */
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BUTTON ANIMATIONS (Steam)
   ───────────────────────────────────────────────────────────────────────────── */
@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}