:root {
    --primary-color: #000000;
    --accent-color: #38bdf8;
    --text-color: #e2e8f0;
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --border-color: #334155;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --accent-gradient: linear-gradient(to right, #400000, #ff6600);
}

/* Hero Section Video */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    /* User requirement 2d */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Ensure background is visible through transparent parts */
}

/* Login Button - Glass & Red Gradient */
.menu-login-btn {
    background: linear-gradient(to right, #400000, #ff6600) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.menu-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(129, 140, 248, 0.1) 0%, transparent 20%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 3rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #94a3b8;
}

select,
input,
textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.5);
    border: var(--glass-border);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

select:focus,
input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.3);
}

/* Glass Navbar - Modern Floating & Rounded */
.glass-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    margin: 1.5rem auto 2rem auto;
    /* Centered, top margin */
    background: rgba(15, 23, 42, 0.4);
    /* High transparency dark */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 1rem;
    z-index: 100;
    width: 95%;
    /* Responsive width */
    max-width: 1100px;
    border-radius: 50px;
    /* Fully rounded pill shape */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s;
}

.brand-link:hover {
    opacity: 0.8;
}

/* Red Gradient Text */
.text-gradient-red {
    background: linear-gradient(to right, #400000, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Premium Auth Styles */
.auth-card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 3.5rem;
    max-width: 480px;
    width: 100%;
    margin: 4rem auto;
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect behind card */
.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.auth-content-wrapper {
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: block;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.auth-title-gradient {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    background: linear-gradient(to right, #ff3300, #ff9900);
    /* Bright orange-red */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.auth-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    /* Taller, more luxurious padding */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 1rem;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.auth-input::placeholder {
    color: #64748b;
}

.auth-input:focus {
    outline: none;
    border-color: #ff6600;
    /* Subtle brand orange */
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
    transform: translateY(-1px);
}

.btn-gradient-block {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #cc0000 0%, #ff6600 100%);
    color: white;
    font-weight: 800;
    border: none;
    border-radius: 1rem;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    margin-top: 2rem;
    box-shadow: 0 10px 20px -5px rgba(255, 102, 0, 0.4);
}

.btn-gradient-block:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(255, 102, 0, 0.6);
    filter: brightness(1.1);
}

.auth-label {
    display: block;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    opacity: 0.8;
}

.auth-link-gradient {
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(to right, #ff3300, #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: none !important;
    transition: filter 0.2s;
}

.auth-link-gradient:hover {
    filter: brightness(1.2);
    text-decoration: none;
}

/* Nav Buttons */
.nav-link-text {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-link-text:hover {
    color: #cbd5e1;
}

.nav-btn-glass {
    background: rgba(255, 255, 255, 0.01);
    /* Even more transparent */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.8rem 2rem;

    /* Gradient Text Logic (Default) */
    background-image: linear-gradient(to right, #400000, #ff6600);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: transparent;
    /* Fallback */

    text-decoration: none !important;
    /* Force no underscore */
    font-weight: 800;
    /* Thicker */
    font-size: 1.1rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Specific class to override gradient text with white text for CTA */
.cta-override {
    background-image: none !important;
    -webkit-text-fill-color: white !important;
    -moz-text-fill-color: white !important;
    color: white !important;
}

.nav-btn-glass:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 102, 0, 0.1);
    text-decoration: none !important;

    /* Override gradient text for solid white visibility on hover */
    background-image: none !important;
    -webkit-text-fill-color: white !important;
    -moz-text-fill-color: white !important;
    color: white !important;
}

/* Optional: Add a subtle gradient hint on hover via pseudo-element if desired, 
   but user asked for highly transparent. Sticking to clean glass. */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.image-preview {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    border: var(--glass-border);
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-preview:hover img {
    transform: scale(1.05);
}

.plan-item {
    background: rgba(15, 23, 42, 0.3);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.plan-item h3 {
    margin: 0 0 0.5rem 0;
    color: var(--accent-color);
}

.plan-item p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-glass-red {
    background: var(--accent-gradient) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white !important;
    transition: all 0.3s ease;
}

.btn-glass-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4) !important;
}