/* --- ELITE V3: METALLIC GOLD & DARK LUXURY --- */

:root {
    --bg-deep: #020617;       /* Deepest Navy */
    
    /* THE LUXURY PALETTE */
    --gold-metal: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c); /* REAL GOLD TEXTURE */
    --gold-solid: #D4AF37;    /* Fallback Metallic Gold */
    --gold-light: #F4E088;    /* Gold Highlight */
    --gold-dim: rgba(212, 175, 55, 0.15); /* Subtle Glow */
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;    
    
    --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; /* Modern Font Stack */
    --font-body: 'Roboto', Helvetica, Arial, sans-serif;
    
    --glass-bg: rgba(10, 25, 47, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

/* 1. RESET & BASIC SETUP */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-deep);
    background-image: radial-gradient(circle at 50% 10%, #0f1c3f 0%, #020617 60%);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3 { 
    font-family: var(--font-head); 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-weight: 800; /* Force Bold */
}

/* 2. THE "METALLIC" TEXT EFFECT (Applies the gradient to text) */
.text-gold-metallic {
    background: var(--gold-metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Makes the gradient visible inside text */
    text-shadow: none;
    font-weight: 800;
}

/* 3. BUTTONS (3D Gold Look) */
.btn-gold, button[type="submit"] {
    background: linear-gradient(145deg, #D4AF37, #AA771C) !important;
    color: #000 !important;
    border: 1px solid #F4E088 !important;
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-gold:hover, button[type="submit"]:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* 4. HERO SECTION */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

/* 5. GLASSMORPHISM CARDS */
.calculator-section, .card, .form-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-radius: 12px;
}

/* 6. CALCULATOR STYLING */
.calculator-section {
    max-width: 800px;
    margin: -40px auto 80px;
    padding: 50px;
    position: relative;
    z-index: 10;
    border-top: 1px solid var(--gold-dim);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.revenue-display {
    text-align: center;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.amount {
    font-size: 2.5rem;
    font-family: var(--font-head);
    font-weight: 700;
    /* Apply Metallic Effect to the Number */
    background: var(--gold-metal);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Sliders */
.slider-container label { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 0.9rem; }
.slider-container input[type=range] {
    width: 100%; height: 4px; background: #1e293b; border-radius: 2px; appearance: none;
}
.slider-container input[type=range]::-webkit-slider-thumb {
    appearance: none; width: 20px; height: 20px;
    background: var(--gold-solid); /* Metallic Thumb */
    border-radius: 50%; cursor: pointer; box-shadow: 0 0 10px var(--gold-solid);
}

/* 7. GRID & CARDS */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.card {
    padding: 40px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}

.card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(15, 30, 60, 0.6), rgba(10, 20, 40, 0.4));
    border-color: var(--gold-solid);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.1);
}

.icon { font-size: 2.5rem; margin-bottom: 25px; display: block; filter: drop-shadow(0 0 10px rgba(255,255,255,0.2)); }
.card h3 { color: white; margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* 8. ANIMATION */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-content, .calculator-section, .grid-container { animation: fadeUp 0.8s ease-out forwards; }
.grid-container { animation-delay: 0.3s; opacity: 0; }

/* 9. MOBILE */
@media (max-width: 768px) {
    .calculator-section { padding: 30px 20px; margin-top: 20px; }
    .calc-grid { grid-template-columns: 1fr; border: none; }
    .revenue-display { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px; }
    h1 { font-size: 2.2rem !important; }
}