:root {
    --brand-primary: #f5a623; /* Sophisticated Gold/Yellow */
    --brand-glow: rgba(245, 166, 35, 0.4);
    --dark-bg: #0a0a0c;
    --text-main: #f8f8f8;
    --text-muted: #a1a1aa;
    
    --glass-bg: rgba(20, 20, 25, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow: rgba(255, 255, 255, 0.03);
    
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* === CINEMATIC BACKGROUND === */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: #000;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Darken video */
    filter: saturate(0.8) contrast(1.1);
}

.video-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--dark-bg) 120%);
    z-index: -9;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: -8;
    pointer-events: none;
}

/* Ambient Glows */
.ambient-light {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -5;
    pointer-events: none;
    opacity: 0.5;
}

.light-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--brand-glow) 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
}

.light-2 {
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(100, 100, 255, 0.15) 0%, transparent 70%);
    bottom: -10vw;
    left: 10vw;
}

/* === NAVBAR === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(10,10,12,0.8) 0%, transparent 100%);
}

.logo-wrapper .brand-logo {
    height: 50px;
    filter: brightness(0) invert(1); /* Makes logo white if it's dark */
    opacity: 0.9;
    transition: opacity 0.3s;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-item i {
    width: 16px;
    height: 16px;
    color: var(--brand-primary);
}

.phone-item a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.phone-item a:hover {
    color: var(--brand-primary);
}

.divider {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
}

/* === MAIN LAYOUT === */
.cinematic-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 6rem;
    padding-top: 5rem; /* Account for navbar */
    gap: 4rem;
}

/* Left: Typography */
.hero-typography {
    flex: 1.2;
    max-width: 800px;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-primary);
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 100px;
    background: rgba(245, 166, 35, 0.05);
}

.hero-typography h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 300;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Right: Glass Form */
.hero-form-wrapper {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.premium-glass-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--brand-glow);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
}

.card-header, #lead-form {
    position: relative;
    z-index: 1;
}

.card-header h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Floating Inputs */
.floating-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    width: 18px;
    height: 18px;
    transition: color 0.3s;
    z-index: 2;
}

.floating-input-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.4rem 1.2rem 0.6rem 3.5rem;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.floating-input-group label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-input-group input:focus {
    outline: none;
    border-color: rgba(245, 166, 35, 0.5);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.05);
}

.floating-input-group input:focus ~ .input-icon {
    color: var(--brand-primary);
}

.floating-input-group input:focus ~ label,
.floating-input-group input:not(:placeholder-shown) ~ label {
    top: 1rem;
    font-size: 0.7rem;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.custom-select-wrapper select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.2rem 1rem 3.5rem;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select-wrapper select:focus {
    outline: none;
    border-color: rgba(245, 166, 35, 0.5);
}

.select-arrow {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.custom-select-wrapper select option {
    background: var(--dark-bg);
    color: #fff;
    padding: 10px;
}

/* Premium Button */
.premium-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.premium-btn .btn-text {
    font-weight: 600;
    font-size: 1.05rem;
    padding-left: 1.5rem;
    z-index: 2;
}

.premium-btn .btn-icon {
    background: var(--dark-bg);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.4s;
}

.premium-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--brand-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.premium-btn:hover::before {
    transform: scaleX(1);
}

.premium-btn:hover .btn-text {
    color: #fff;
}

.premium-btn:hover .btn-icon {
    transform: translateX(-4px);
    background: #fff;
    color: var(--brand-primary);
}

/* Messages */
.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}
.message.success { color: #34d399; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.message.error { color: #f87171; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); }
.hidden { display: none; }

/* === ANIMATIONS === */
.stagger-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.5s; }
.delay-4 { animation-delay: 0.7s; }
.delay-5 { animation-delay: 0.9s; }

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

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .cinematic-layout { padding: 0 4rem; }
}

@media (max-width: 992px) {
    .cinematic-layout {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 10rem 1.5rem 4rem;
        gap: 3rem;
    }
    .hero-typography { max-width: 100%; }
    .hero-desc { margin: 0 auto 3rem; font-size: 1.1rem; }
    .stats-row { justify-content: center; flex-wrap: wrap; }
    .hero-form-wrapper { justify-content: center; }
    
    .navbar { 
        flex-direction: column; 
        gap: 1rem; 
        padding: 1.5rem;
        background: rgba(10, 10, 12, 0.95);
        border-bottom: 1px solid var(--glass-border);
    }
}

@media (max-width: 480px) {
    .eyebrow { font-size: 0.75rem; letter-spacing: 2px; }
    .contact-pill { 
        flex-direction: column; 
        gap: 0.8rem; 
        padding: 1rem; 
        border-radius: 12px; 
        width: 100%;
    }
    .divider { display: none; }
    .premium-glass-card { padding: 2rem 1.5rem; border-radius: 16px; }
    .stats-row { flex-direction: column; gap: 1.5rem; }
    .card-header h2 { font-size: 1.8rem; }
}
