:root {
    /* Color Palette - Wealth & Success Theme */
    --primary: hsl(45, 100%, 50%);
    /* Gold */
    --primary-light: hsl(45, 100%, 65%);
    --secondary: hsl(220, 30%, 15%);
    /* Deep Navy */
    --accent: hsl(150, 60%, 45%);
    /* Success Green */
    --bg-dark: hsl(220, 30%, 7%);
    --bg-card: hsl(220, 30%, 12%);
    --text-white: hsl(0, 0%, 100%);
    --text-muted: hsl(220, 10%, 70%);
    --gold-gradient: linear-gradient(135deg, hsl(45, 100%, 65%) 0%, hsl(45, 100%, 35%) 100%);

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Borders */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --radius-sm: 8px;
    --radius-md: 16px;
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-lg) 0;
    background: linear-gradient(to bottom, rgba(7, 10, 15, 0.7), rgba(7, 10, 15, 0.9)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--spacing-md);
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    font-weight: 700;
    border-radius: var(--radius-md);
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(255, 191, 0, 0.3);
    border: none;
    cursor: pointer;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 191, 0, 0.5);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.cta-button:hover::after {
    left: 120%;
    opacity: 1;
}

/* Sections */
section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.section-title .divider {
    height: 4px;
    width: 60px;
    background: var(--gold-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* Cards & Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Modern aspect ratio handling */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    margin: var(--spacing-lg) auto;
    max-width: 900px;
    background: #000;
    /* Prevent flicker */
}

/* Fallback for browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .video-wrapper {
        padding-bottom: 56.25%;
        height: 0;
    }
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
    /* Apply rounding directly to iframe */
    display: block;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-md) 0;
    }
}

/* Footer */
footer {
    background: var(--bg-card);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-links {
    margin-bottom: var(--spacing-md);
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}