@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #000000; /* Pure black */
    --bg-secondary: #0a0a0a; /* Very dark charcoal */
    --gold-accent: #d4af37; /* Premium metallic gold */
    --gold-glow: rgba(212, 175, 55, 0.4);
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --border-subtle: rgba(212, 175, 55, 0.15);
    --glass-bg: rgba(10, 10, 10, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
    font-family: 'Cinzel', serif; /* Luxurious serif font */
}

/* Glassmorphism & Cards */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    height: 55px;
    width: auto;
    border-radius: 4px;
    margin: 0;
}

.brand-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.brand-text span {
    color: var(--gold-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.nav-cta) {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--gold-accent);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: transparent;
    color: var(--gold-accent);
    border: 1px solid var(--gold-accent);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-cta:hover {
    background: var(--gold-accent);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 5% 8rem 5%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.5) 100%), url('assets/hero-neon-car.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-content {
    max-width: 700px;
}

.hero-subtitle {
    color: var(--gold-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

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

.btn-primary {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--bg-primary);
    padding: 1.25rem 3rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px var(--gold-glow);
    background: #fff;
    color: #000;
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 5%;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.section-header .divider {
    height: 3px;
    width: 60px;
    background: var(--gold-accent);
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    padding: 3rem 2rem;
    text-align: left;
    position: relative;
    transition: transform 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.15);
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-weight: 700;
}

.step-card h3 {
    color: var(--gold-accent);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.step-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.step-card p, .step-card ul {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
}

.step-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.step-card ul li {
    margin-bottom: 0.5rem;
}

/* Why It Works & Form Section */
.dual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 5%;
    background: var(--bg-secondary);
}

.why-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.why-list {
    list-style: none;
}

.why-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-accent);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Form Styling */
.form-container {
    padding: 3rem;
}

.form-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.step-indicator {
    color: var(--gold-accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    color: #fff;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold-accent);
    background: rgba(0, 0, 0, 0.4);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.btn-submit {
    width: 100%;
    background: var(--gold-accent);
    color: var(--bg-primary);
    border: none;
    padding: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px var(--gold-glow);
    background: #fff;
    color: #000;
}

/* Calculator Section */
.calculator-section {
    padding: 8rem 5%;
    background: var(--bg-primary);
}

.calc-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0;
    overflow: hidden;
}

.calc-inputs {
    padding: 3rem;
    border-right: 1px solid var(--border-subtle);
}

.calc-results {
    padding: 3rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.calc-results h3 {
    color: var(--text-muted);
    font-size: 1.125rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.payment-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold-accent);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.rate-applied {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.rate-applied span {
    color: #fff;
    font-weight: bold;
}

.disclaimer {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Custom Sliders */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    margin-top: 0.5rem;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-accent);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    border: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .dual-section {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    .hero {
        padding-top: 8rem;
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
