/* --- Base & Resets --- */
:root {
    --gold: #c5a059;
    --dark-bg: #010204;
    --glass-border: rgba(197, 160, 89, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

body {
    /* Deep dark background with subtle shift */
    background: linear-gradient(-45deg, #010204, #0a192f, #050505, #000000);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    
    /* MOBILE FIX: Uses dynamic viewport height so mobile browsers don't cut off the background */
    min-height: 100dvh; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    position: relative;
    transition: opacity 0.5s ease, filter 0.5s ease; /* Supports exit-animation */
}

/* --- AI Neural Network Canvas --- */
#aiNetwork {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Ambient Orbs (Updated to Gold tones) --- */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
    width: 40vw; height: 40vw;
    background: rgba(197, 160, 89, 0.1); /* Subtle Gold */
    top: -10%; left: -10%;
}

.orb-2 {
    width: 35vw; height: 35vw;
    background: rgba(99, 102, 241, 0.05); /* Very light Indigo */
    bottom: -10%; right: -10%;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* --- Premium Glassmorphism Container --- */
.glass-container {
    background: rgba(1, 2, 4, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 2px; /* Changed to sharp edges for "Tactical" feel */
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    text-align: center;
    z-index: 10;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Typography --- */
.hero-text {
    font-family: 'Cinzel', serif; /* Matching your Vajra branding */
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.gold-text { color: var(--gold); }

.subtext {
    font-size: 1rem;
    color: #8a94a6;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- Buttons --- */
.btn {
    padding: 1.1rem 2rem;
    border-radius: 2px; /* Matches the tactical feel */
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.button-group, .options-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: var(--gold);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #e4e4e7;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* --- Unified Premium Button --- */
.btn-premium {
    background: var(--gold);
    color: #000;
    font-family: 'Cinzel', serif;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
    margin-top: 1rem;
}

.btn-premium:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
}

/* --- Input Fields --- */
.glass-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: white;
    outline: none;
    transition: 0.3s;
}

.glass-input:focus {
    border-color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
}

/* --- EXIT ANIMATION --- */
.exit-animation {
    opacity: 0 !important;
    filter: blur(20px);
}

/* --- Slide Animations --- */
/* (Keep whatever animation code you currently have below this line, and then add the Mobile View block below!) */

/* =========================================
   🚀 MOBILE RESPONSIVENESS FIX
   ========================================= */

@media (max-width: 992px) {
    /* Stack the text and image vertically */
    .step-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .step-text {
        max-width: 100%;
    }

    .step-visual {
        flex: 0 0 auto;
        width: 100%; /* Image takes full width of phone */
        max-width: 400px; /* But doesn't get too giant */
        margin: 0 auto;
    }
    
    .navbar {
        padding: 1.5rem;
    }

    .nav-links {
        display: none; /* Hides menu links on mobile to save space */
    }
}

@media (max-width: 480px) {
    .step-text h3 {
        font-size: 1.8rem; /* Smaller headings for small phones */
    }

    .step-text p {
        font-size: 0.95rem;
    }
}

/* Base resets to prevent horizontal scrolling */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}