:root {
            --primary-color: #EF4444; /* A deep, modern red */
            --primary-light: #FEE2E2;
            --secondary-color: #4A5568; /* Dark gray for text */
            --background-dark: #0A0A0A;
            --card-background: rgba(255, 255, 255, 0.1); /* Frosted glass effect - slightly more opaque */
            --text-color: #f8f8f8;
            --input-bg: rgba(255, 255, 255, 0.08); /* Translucent input background */
            --border-color: rgba(255, 255, 255, 0.15);
            --border-highlight: rgba(255, 255, 255, 0.25);
            --transition-speed: 0.3s;
        }
		
		/* ADDED GLOBAL .up CLASS */
    .up {
        color: var(--primary-color);
    }

        /* Base styles */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html, body {
            height: 100%;
            font-family: 'Inter', sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overscroll-behavior-y: contain;
            color: var(--text-color);
            background: #000000; /* Pure black background */
        }
        
        body {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            position: relative;
            min-height: 100vh;
        }

        /* Layout Container */
        .container {
            width: 100%;
            max-width: 1400px; /* Max width for desktop */
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Header */
        .header {
            width: 100%;
            padding: 1.5rem 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
            /* Header background keeps a slight blur effect */
            background: rgba(0, 0, 0, 0.8); 
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .logo .up {
            color: var(--primary-color);
        }

        .nav-toggle {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 25px;
            height: 20px;
            cursor: pointer;
        }

        .nav-toggle .line {
            height: 3px;
            background: var(--text-color);
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .nav-menu {
            display: none;
            flex-direction: column;
            position: absolute;
            top: 100%;
            right: 0;
            background: #111;
            border: 1px solid var(--border-color);
            border-top: none;
            border-radius: 0 0 0.5rem 0.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            z-index: 999;
            width: 100%;
        }

        .nav-menu.active {
            display: flex;
        }

        .nav-menu a {
            padding: 1rem;
            color: var(--text-color);
            text-decoration: none;
            font-size: 1rem;
            transition: background var(--transition-speed) ease;
        }

        .nav-menu a:hover {
            background-color: rgba(255, 255, 255, 0.05);
        }

        /* Hero Section - The main content */
        .hero {
            padding: 4rem 1rem;
            text-align: center;
            flex-grow: 1; /* Allows the main content to fill the remaining vertical space */
            display: flex;
            flex-direction: column;
            justify-content: center; /* Centers the content vertically on mobile */
            align-items: center;
            width: 100%;
            position: relative;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            width: 100%;
        }

        .main-heading {
            font-size: clamp(2rem, 8vw, 4.0rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        .sub-heading {
            font-size: clamp(1rem, 4vw, 1.5rem);
            font-weight: 400;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Card styles - Modern, WeTransfer-like look */
        .card {
            background: var(--card-background);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid var(--border-color);
            border-radius: 2rem; 
            padding: 2rem 2rem; /* Reduced padding */
            max-width: 400px; /* Compact max-width */
            width: 100%;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
            margin-top: 2rem;
            animation: fadeIn 0.5s ease-out;
            transition: all var(--transition-speed);
        }

        .card h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 2rem;
            line-height: 1.2;
            text-align: center;
        }
        
        /* Form Layout */
        .form-group-container {
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            margin-bottom: 1.5rem;
            overflow: hidden;
            background: var(--input-bg);
            transition: border-color var(--transition-speed) ease;
        }
        
        .form-group-container:focus-within {
             border-color: var(--primary-color);
             box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
        }

        .input-group {
            position: relative;
            margin: 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .input-group:last-child {
            border-bottom: none;
        }

        .input-field, textarea.input-field {
            width: 100%;
            padding: 1rem;
            font-size: 1rem;
            border: none;
            background: transparent;
            color: var(--text-color);
        }
        
        .input-field:focus, textarea.input-field:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.05);
        }

        .input-field::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }
        
        /* File Drop Area - Updated for WeTransfer look */
        .file-upload-label {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 180px; /* Taller area */
            margin-bottom: 1.5rem;
            border: 2px dotted var(--border-highlight);
            border-radius: 1rem;
            font-size: 1.1rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            background: rgba(255, 255, 255, 0.05);
            transition: all var(--transition-speed) ease;
            text-align: center;
        }

        .file-upload-label::before {
            content: '↑'; /* Simple upward arrow icon */
            font-size: 3rem;
            line-height: 1;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .file-upload-label:hover {
            border-color: var(--primary-color);
            color: var(--text-color);
            background: rgba(239, 68, 68, 0.05);
        }
        
        /* Drag-and-drop visual feedback */
        .file-upload-label.dragover {
            border-style: solid;
            border-color: var(--primary-color);
            background: rgba(239, 68, 68, 0.1);
            transform: scale(1.01);
        }

        /* Submit Button - Solid primary color */
        .btn-submit {
            width: 100%;
            padding: 1.2rem;
            border-radius: 1rem;
            font-size: 1.1rem;
            font-weight: 600;
            background: var(--primary-color);
            color: white;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
            transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
        }

        .btn-submit:hover {
            background: #CC3333; /* Slightly darker red */
            transform: translateY(-2px);
            box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
        }

        .file-size-info {
            font-size: 0.9rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 1.5rem;
            text-align: center;
        }
        
        .progress-container {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            margin-top: 1.5rem;
            border-radius: 4px;
            overflow: hidden;
            display: none;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: var(--primary-color);
            transition: width 0.4s ease-in-out;
            border-radius: 4px;
        }

        /* #status text is removed in the new implementation, but kept for old compatibility */
        #status {
            font-size: 0.9rem;
            font-weight: 500;
            margin-top: 1rem;
            text-shadow: 0 1px 3px rgba(0,0,0,0.2);
            line-height: 1.4;
            text-align: center;
            color: var(--primary-color);
        }
        
        /* Modal Base Styles */
        .modal {
            display: none; 
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
            align-items: center;
            justify-content: center;
        }
        
        /* Modal Content Styles */
        .modal-content {
            background: var(--card-background);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border: 1px solid var(--border-color);
            margin: auto;
            padding: 2.5rem; 
            border-radius: 1.5rem; 
            width: 90%;
            max-width: 500px;
            position: relative;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease-out;
        }
        
        /* STYLES FOR CLOSE BUTTON */
        .close-btn {
            color: var(--text-color);
            font-size: 2.5rem;
            font-weight: 300;
            position: absolute;
            top: 0.5rem;
            right: 1rem;
            cursor: pointer;
            transition: color var(--transition-speed) ease, transform 0.1s ease;
            line-height: 1; /* Ensure the X is vertically centered */
        }
        
        .close-btn:hover,
        .close-btn:focus {
            color: var(--primary-color);
            text-decoration: none;
            transform: scale(1.1);
        }
        /* END STYLES FOR CLOSE BUTTON */

        /* NEW PRICING MODAL TILE STYLES */
        .pricing-modal-content {
            max-width: 900px;
            width: 90%;
            text-align: center;
        }

        .pricing-cards {
            display: flex;
            gap: 1.5rem;
            margin-top: 2rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .pricing-card {
            flex: 1 1 30%; /* Allows 3 cards per row on desktop */
            min-width: 250px;
            background: rgba(255, 255, 255, 0.05); /* Slightly darker background than the modal content */
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            text-align: center;
            transition: all var(--transition-speed);
        }
        
        .pricing-card:hover {
            transform: translateY(-5px);
            border-color: var(--primary-color);
            box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
        }

        .pricing-card h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .pricing-card p {
            font-size: 0.95rem;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0.5rem;
        }

        .pricing-card .price {
            font-size: 3rem;
            font-weight: 800;
            color: var(--text-color);
            margin-top: 1.5rem;
            line-height: 1;
        }

        .pricing-card .price small {
            font-size: 1rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Basic style for modal close buttons (not the X button) */
        .modal-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-size: 1rem;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-color);
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: all var(--transition-speed);
            margin-top: 1rem;
        }

        .modal-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: var(--text-color);
        }
        /* END NEW PRICING MODAL TILE STYLES */

        /* --- NEW TOAST NOTIFICATION STYLES --- */
        #toastContainer {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10001; /* Higher than modals */
            pointer-events: none; /* Allows clicks to go through to elements behind */
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .toast-notification {
            padding: 1rem 1.5rem;
            border-radius: 0.75rem;
            color: white;
            font-weight: 600;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.5s ease-out;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            pointer-events: auto; /* Re-enable pointer events for the toast itself */
            min-width: 300px;
            max-width: 90vw;
            text-align: center;
        }

        .toast-notification.show {
            opacity: 1;
            transform: translateY(0);
        }

        .toast-notification.success {
            background-color: #34D399; /* Tailwind Green-500 */
        }

        .toast-notification.error {
            background-color: var(--primary-color); /* Red */
        }

        .toast-notification.info {
            background-color: #3B82F6; /* Tailwind Blue-500 */
        }
        /* --- END TOAST NOTIFICATION STYLES --- */


        /* Desktop & Tablet specific styles */
        @media (min-width: 768px) {
            .header {
                justify-content: flex-start;
                gap: 2rem;
                padding: 2rem;
                border-bottom: none;
                background: none;
                backdrop-filter: none;
            }

            .nav-toggle {
                display: none;
            }

            .nav-menu {
                display: flex;
                flex-direction: row;
                position: static;
                width: auto;
                background: none;
                border: none;
                box-shadow: none;
                gap: 1.5rem;
            }
            
            .nav-menu a {
                padding: 0.5rem 1rem;
                border-radius: 0.5rem;
                font-weight: 500;
            }

            .nav-menu a:hover {
                background-color: rgba(255, 255, 255, 0.05);
            }

            /* PRIMARY LAYOUT CHANGE: Centering the entire content block vertically */
            .hero {
                /* Set padding to 0 vertically to allow the align-items:center to perfectly center the content */
                padding: 0 1rem; 
                min-height: auto; /* Reset to let flex-grow determine height */
                
                /* Grid layout for side-by-side content */
                display: grid;
                grid-template-columns: 1fr 400px; /* Text takes 1fr, Card is fixed at 400px */
                gap: 4rem; 
                align-items: center; /* THIS IS THE KEY: Vertically centers the text and card within the hero section */
                text-align: left;
            }

            .hero-content {
                max-width: 700px; 
                text-align: left;
                align-self: center; 
            }
            
            .hero-content .main-heading, .hero-content .sub-heading {
                text-align: left;
                margin-left: 0;
                margin-right: 0;
            }

            .card {
                order: 2; 
                margin-top: 0;
                align-self: center; 
            }
        }

        /* Mobile specific styles for pricing cards */
        @media (max-width: 768px) {
            .pricing-cards {
                flex-direction: column;
                gap: 1rem;
            }
            
            .pricing-card {
                flex-basis: 100%;
            }
        }

        /* Animation Keyframes */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }