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

:root {
    --bg-dark: #020617;
    --bg-card: rgba(15, 23, 42, 0.7);
    --accent-primary: #EAB308; /* Radiant Gold */
    --accent-secondary: #CA8A04; /* Deep Gold */
    --accent-blue: #1D4ED8; /* Royal Blue */
    --accent-blue-light: #3B82F6;
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    --shadow-glow: 0 0 30px rgba(234, 179, 8, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Gradients */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-1 {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, transparent 70%);
    filter: blur(120px);
    animation: pulse 15s infinite alternate;
}

.glow-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.05) 0%, transparent 70%);
    filter: blur(120px);
    animation: pulse 20s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--accent-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-image {
    position: relative;
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), var(--shadow-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: rotateY(0) rotateX(0);
}

/* Buttons */
.btn {
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #020617;
    box-shadow: 0 10px 40px rgba(234, 179, 8, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(234, 179, 8, 0.4);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid var(--glass-border);
    margin-left: 1.5rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Cards & Sections */
section {
    padding: 10rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: 0.8s;
}

.glass-card:hover::after {
    left: 200%;
}

.glass-card:hover {
    border-color: rgba(234, 179, 8, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* Calculator Widget */
.calculator-widget {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem;
    background: linear-gradient(145deg, rgba(30, 58, 138, 0.1), rgba(15, 23, 42, 0.4));
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    text-align: left;
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calc-input-group {
    margin-bottom: 2rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
    border: 4px solid var(--bg-dark);
}

.calc-result {
    text-align: center;
    padding: 2rem;
    background: rgba(2, 6, 23, 0.4);
    border-radius: 24px;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.calc-result-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* How it Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    counter-reset: step-counter;
}

.step {
    position: relative;
    padding: 4rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: #020617;
    box-shadow: 0 10px 25px rgba(234, 179, 8, 0.3);
}

/* Footer */
footer {
    background: #010413;
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    max-width: 350px;
}

.footer-links h4 {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-primary);
    padding-left: 8px;
}

/* Risk Disclosure */
.risk-disclosure {
    background: rgba(234, 179, 8, 0.02);
    border: 1px solid rgba(234, 179, 8, 0.1);
    padding: 3rem;
    border-radius: 24px;
    margin-top: 5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
    line-height: 1.8;
}

.risk-disclosure strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Registration Form */
.registration-form {
    max-width: 600px;
    margin: 4rem auto 0;
    text-align: left;
    background: rgba(2, 6, 23, 0.3);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-primary);
    margin-top: 2px;
}

.form-checkbox a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 8rem 0 5rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }

    .btn {
        width: 100%;
        margin-left: 0;
        margin-bottom: 1rem;
    }
}
