 /* RESET & BASE STYLES */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: #050505;
            color: #e0e0e0;
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            overflow-x: hidden; 
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 80px; 
        }

        /* AMBIENT GLOW EFFECT */
        .ambient-glow {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
            border-radius: 50%;
            z-index: -2;
            animation: pulse 6s infinite ease-in-out;
            pointer-events: none;
        }

        @keyframes pulse {
            0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
            50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
            100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
        }

        /* HEADER & NAVIGATION */
        header {
            width: 100%;
            position: fixed;
            top: 0;
            background-color: rgba(5, 5, 5, 0.9);
            z-index: 10;
            padding: 10px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #1a1a1a;
        }

        .logo-container img {
            height: 60px;
            filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5));
        }

        nav a {
            color: #ccc;
            text-decoration: none;
            margin-left: 25px;
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            transition: color 0.3s ease, text-shadow 0.3s ease;
            position: relative;
            padding-bottom: 5px;
        }

        nav a:hover, nav a.active {
            color: #a855f7;
            text-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
        }

        nav a.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #a855f7;
            box-shadow: 0 0 5px #a855f7;
        }

        /* MAIN CONTENT CONTAINERS */
        main {
            width: 90%;
            max-width: 1200px;
            padding: 40px 0;
            flex-grow: 1;
        }

        /* FIX: ENSURE SECTIONS ARE HIDDEN BY DEFAULT */
        section {
            display: none !important;
            animation: fadeIn 0.8s ease-out;
            padding: 20px 0;
        }

        section.active {
            display: block !important;
        }

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

        /* TYPOGRAPHY */
        .page-title {
            font-family: 'Cinzel', serif;
            font-size: 3rem;
            letter-spacing: 0.1em;
            background: linear-gradient(to right, #ffffff, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 0.5rem;
            text-shadow: 0 0 20px rgba(165, 180, 252, 0.3);
            text-align: center;
        }

        .subtitle {
            font-size: 1.1rem;
            color: #888;
            margin-bottom: 3rem;
            letter-spacing: 0.05em;
            text-align: center;
        }
        
        /* 1. HOME SECTION STYLES */
        #home {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: calc(100vh - 80px);
            padding-bottom: 50px; 
            text-align: center;
        }
        
        #home-content {
            width: 100%;
            /* max-width: 800px; */
        }

        #home h1 {
            font-family: 'Cinzel', serif;
            font-size: 4rem;
            letter-spacing: 0.1em;
            background: linear-gradient(to right, #ffffff, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
            text-shadow: 0 0 20px rgba(165, 180, 252, 0.3);
            text-align: center;
        }

        #home p.subtitle {
            margin-bottom: 3rem;
        }

        /* The "SUMMONING" Bar (Input) */
        .input-container {
            position: relative;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }

        #prompt-input {
            width: 100%;
            background: transparent;
            border: none;
            border-bottom: 2px solid #333;
            padding: 15px 0;
            font-size: 1.5rem;
            color: #fff;
            font-family: 'Cinzel', serif;
            text-align: center;
            transition: all 0.4s ease;
            outline: none;
        }

        #prompt-input:focus {
            border-bottom: 2px solid #a855f7;
            box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.4);
        }

        #prompt-input::placeholder {
            color: #444;
            font-family: 'Inter', sans-serif;
            font-weight: 300;
            font-style: italic;
        }

        .summon-btn {
            display: block;
            margin: 3rem auto 0;
            padding: 12px 30px;
            background: transparent;
            border: 1px solid #333;
            color: #888;
            font-family: 'Inter', sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .summon-btn:hover:not(:disabled) {
            border-color: #a855f7;
            color: #fff;
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
        }

        /* Processing State */
        .summon-btn:disabled {
            background-color: rgba(168, 85, 247, 0.2);
            border-color: #a855f7;
            color: #fff;
            cursor: wait;
            animation: glow 1.5s infinite alternate;
        }
        @keyframes glow {
            from { box-shadow: 0 0 5px rgba(168, 85, 247, 0.5); }
            to { box-shadow: 0 0 20px rgba(168, 85, 247, 0.9); }
        }

        /* AI Output Area */
        #ai-output-container {
            margin-top: 4rem;
            width: 100%;
            text-align: left;
            background-color: #111;
            padding: 25px;
            border: 1px solid #333;
            border-left: 4px solid #a855f7;
            border-radius: 4px;
            box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
        }

        #ai-output-container h3 {
            color: #a5b4fc;
            margin-bottom: 15px;
            font-family: 'Cinzel', serif;
            font-size: 1.5rem;
        }

        #ai-response {
            white-space: pre-wrap;
            line-height: 1.8;
            color: #ccc;
        }
        
        /* Utility Buttons for Output */
        .output-actions {
            margin-top: 20px;
            display: flex;
            gap: 15px;
            justify-content: flex-end;
        }
        
        .output-actions button {
            background: transparent;
            border: 1px solid #a855f7;
            color: #a855f7;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .output-actions button:hover {
            background-color: #a855f7;
            color: #fff;
        }


        /* 2. CAREERS FORM STYLES */
        .form-selector {
            text-align: center;
            margin-bottom: 40px;
            border-bottom: 1px solid #1a1a1a;
            padding-bottom: 20px;
        }

        .form-selector button {
            background: transparent;
            border: 1px solid #333;
            color: #888;
            padding: 10px 20px;
            margin: 0 10px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            border-radius: 5px;
        }

        .form-selector button.active-role {
            border-color: #a855f7;
            color: #fff;
            background-color: rgba(168, 85, 247, 0.1);
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
        }
        
        /* Individual Form Container */
        .application-form {
            max-width: 700px;
            margin: 0 auto;
            background-color: #111;
            padding: 40px;
            border: 1px solid #333;
            border-radius: 8px;
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
        }

        .application-form h3 {
            color: #a5b4fc;
            font-family: 'Cinzel', serif;
            font-size: 2rem;
            margin-bottom: 20px;
            text-align: center;
            border-bottom: 1px solid #222;
            padding-bottom: 15px;
        }

        .application-form label {
            display: block;
            margin-bottom: 5px;
            color: #ccc;
            font-size: 0.9rem;
            margin-top: 15px;
        }

        .application-form input[type="text"],
        .application-form input[type="email"],
        .application-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            background-color: #1a1a1a;
            border: 1px solid #333;
            color: #fff;
            border-radius: 4px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
            font-family: 'Inter', sans-serif;
        }

        .application-form input:focus,
        .application-form textarea:focus {
            outline: none;
            border-color: #a855f7;
            box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
        }

        .application-form textarea {
            resize: vertical;
            min-height: 100px;
        }
        
        /* File Upload Custom Style */
        .file-upload-label {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 1px dashed #a855f7;
            background-color: rgba(168, 85, 247, 0.05);
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .file-upload-label:hover {
            background-color: rgba(168, 85, 247, 0.1);
        }

        .file-upload-label i {
            margin-right: 10px;
            color: #a855f7;
        }

        .application-form input[type="file"] {
            display: none; /* Hide the default file input */
        }
        
        .submit-app-btn {
            background-color: #a855f7;
            color: #fff;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-transform: uppercase;
            font-size: 1rem;
            letter-spacing: 0.1em;
            transition: background-color 0.3s ease, box-shadow 0.3s ease;
            width: 100%;
            margin-top: 25px;
        }

        .submit-app-btn:hover {
            background-color: #8b5cf6;
            box-shadow: 0 0 20px rgba(168, 85, 247, 0.7);
        }

        /* 3. CONTACT US STYLES */
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }
        
        .contact-info div {
            margin-bottom: 30px;
            padding: 20px;
            border: 1px solid #333;
            border-left: 5px solid #a855f7;
            border-radius: 4px;
            background-color: #111;
        }

        .contact-info i {
            color: #a855f7;
            font-size: 1.5rem;
            margin-right: 15px;
        }

        .contact-info h4 {
            color: #a5b4fc;
            font-size: 1.2rem;
            margin-bottom: 5px;
            display: inline-block;
        }

        .contact-info p, .contact-info a {
            color: #ccc;
            text-decoration: none;
            display: block;
            margin-left: 38px;
        }
        
        .contact-info a:hover {
            color: #a855f7;
        }

        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form textarea {
            width: 100%;
            padding: 12px;
            margin-bottom: 20px;
            background-color: #1a1a1a;
            border: 1px solid #333;
            color: #fff;
            border-radius: 4px;
            font-family: 'Inter', sans-serif;
        }

        .send-btn {
            background-color: #a855f7;
            color: #fff;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            text-transform: uppercase;
            font-size: 1rem;
            letter-spacing: 0.1em;
            width: 100%;
        }

        /* FOOTER */
        footer {
            width: 100%;
            text-align: center;
            padding: 20px 0;
            margin-top: 40px;
            border-top: 1px solid #1a1a1a;
            color: #555;
            font-size: 0.8rem;
        }
        
        /* === TOAST NOTIFICATION STYLES === */
        #toast-container {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            pointer-events: none; /* Allows clicks to pass through when no toast is visible */
        }

        .toast {
            min-width: 300px;
            padding: 15px 25px;
            background-color: #1a1a1a; /* Dark background */
            color: #e0e0e0;
            border: 1px solid #a855f7; /* Electric Purple border */
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
            text-align: center;
            font-size: 1rem;
            opacity: 0;
            transition: opacity 0.5s, transform 0.5s;
            transform: translateY(20px);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .toast i {
            margin-right: 10px;
            color: #a5b4fc; /* Light color for the icon */
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }


        /* Responsive adjustments */
        @media (max-width: 900px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            #home h1 { font-size: 2.5rem; }
            .page-title { font-size: 2rem; }
            .input-container { width: 90%; }
            nav a { margin-left: 7px; }
            header { padding: 10px 20px; }
            .application-form { padding: 20px; }
            .toast { min-width: 90%; font-size: 0.9rem; }
        }

        /* --- MOBILE HEADER FIX (Max-width 768px) --- */
        @media (max-width: 768px) {
            
            /* 1. Header Alignment and Padding */
            header {
                flex-direction: column; /* Stack logo and nav vertically */
                padding: 15px 5%; /* Increased vertical padding */
                align-items: flex-start; /* Align contents to the left */
            }

            .logo-container {
                margin-bottom: 10px; /* Space below the logo */
            }

            /* 2. Navigation Styling (Making links stack/wrap) */
            nav {
                width: 100%; /* Navigation takes full width */
                display: flex;
                flex-direction: row; /* Links remain in a row if possible */
                flex-wrap: wrap; /* Allows links to wrap to the next line */
                justify-content: space-between; /* Space links out */
                padding-top: 5px;
                border-top: 1px solid #1a1a1a; /* Visual separation from logo */
            }

            nav a {
                margin: 5px 0; /* Vertical margin for touch targets */
                margin-right: 0px; /* Spacing between links */
                font-size: 0.9rem; /* Slightly smaller font on mobile */
                padding-bottom: 3px;
            }
            
            /* ADJUST MAIN CONTENT PADDING */
            body {
                /* Dynamically adjust top padding based on the new header height */
                padding-top: 120px; 
            }
            
            /* Home Section Centering for Mobile */
            #home {
                min-height: calc(100vh - 120px);
            }
            
            /* Other mobile adjustments (already present in your code, keeping them here): */
            h1 { font-size: 2.5rem; }
            .page-title { font-size: 2rem; }
            .input-container { width: 90%; }
            .application-form { padding: 20px; }
            .toast { min-width: 90%; font-size: 0.9rem; }
            
            /* FIX for Mobile Header when shrinking: */
            .logo-container img {
                height: 35px; /* Slightly smaller logo */
            }
            .form-selector button {
                margin: 5px 5px; /* Reduced margin for mobile */    
            }
        }