@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap');

:root {
    /* Premium Color Palette */
    --color-primary: #0F172A;
    /* Deep Navy - Authority */
    --color-primary-light: #1E293B;
    --color-secondary: #D4AF37;
    /* Muted Gold - Premium/Action */
    --color-secondary-hover: #B5952F;
    --color-accent: #3B82F6;
    /* Trust Blue - Highlights */
    --color-text-main: #1F2937;
    --color-text-muted: #4B5563;
    --color-text-light: #F9FAFB;
    --color-bg-light: #F8FAFC;
    --color-bg-white: #FFFFFF;

    /* Spacing & Layout */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #C5A028 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--color-secondary-hover) 0%, #B5952F 100%);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 0.8rem 0;
    border-bottom: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--color-secondary);
}

.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-cta {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    /* offset for fixed header */
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

/* Hero Section Redesign */
.hero {
    margin-top: 80px;
    padding: var(--spacing-md) 0;
    /* Reduced top padding */
    background: transparent;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Visual gets slightly more space */
    gap: var(--spacing-lg);
    align-items: stretch;
    /* Stretch to match height */
}

/* Visual Column (Image + Text Overlay) */
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Text at bottom */
    padding: var(--spacing-lg);
    color: white;
    min-height: 600px;
    box-shadow: var(--shadow-lg);
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-text-content {
    position: relative;
    z-index: 3;
}

.hero-text-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

.hero-text-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Form Styles Override */
.hero-form-wrapper {
    margin-top: 0;
    height: 100%;
}

.hero-form-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Remove old styles */
.advisor-container,
.advisor-image,
.advisor-bg-circle {
    display: none;
}

/* Mobile responsive for hero */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual-card {
        min-height: 400px;
    }
}

/* Trust Badges in Hero */
.trust-badge-container {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    opacity: 0.8;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* Hero Form Specifics */
.hero-form-wrapper {
    margin-top: 0;
}

.hero-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border-top: 5px solid var(--color-secondary);
    z-index: 10;
    position: relative;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.hero-form-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    padding-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: none;
    letter-spacing: normal;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: white;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 1rem;
}


/* Features/How it works */
.features {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    border-bottom: none;
    padding-bottom: 0;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    border-top: 4px solid var(--color-secondary);
    border: none;
    /* Reset potential corporate border */
    border-top: 4px solid var(--color-secondary);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--color-bg-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-secondary);
    font-family: 'Inter', sans-serif;
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* Video Section */
.video-section {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-xl) 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    /* slightly lighter than dark bg */
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.video-thumbnail {
    height: 200px;
    background-color: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.video-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.play-button {
    width: 60px;
    height: 60px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transition: transform var(--transition-fast);
    color: white;
    border: none;
}

.video-card:hover .play-button {
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-family: 'Inter', sans-serif;
    letter-spacing: normal;
}

/* Blog/Articles Section */
.blog-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols for denser read */
    gap: 2rem;
}

.blog-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border-left: 4px solid var(--color-secondary);
    border-right: none;
    border-top: none;
    border-bottom: none;
}

.blog-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
}

.blog-card p {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--color-primary-light);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
    }

    .hero-text {
        order: 1;
        text-align: center;
    }

    .trust-badge-container {
        justify-content: center;
    }

    .hero-form-wrapper {
        order: 2;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Navbar Mobile */
    .nav-content {
        position: relative;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger */
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        /* Hidden by default */
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
        /* Hide CTA button on mobile to save space, or move inside menu */
    }
}

/* Refactored Classes */
.trust-star {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.trust-check {
    color: var(--color-secondary);
    font-weight: bold;
}

.trust-badges-header {
    margin: 0 0 1rem 0;
}

.trust-badges-hero {
    justify-content: flex-start;
    margin-top: 1rem;
}

.advisor-container-hero {
    height: auto;
    margin-top: 2rem;
    justify-content: flex-start;
}

.advisor-bg-circle-hero {
    left: -50px;
}

.text-white {
    color: white !important;
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7);
}

.logo-footer {
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.footer-copyright {
    color: #64748B;
    font-size: 0.9rem;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.video-detail-text {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.form-textarea {
    min-height: 80px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: black;
    width: 90%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-premium);
    aspect-ratio: 16/9;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.modal-video {
    width: 100%;
    height: 100%;
}

/* Newsletter Popup */
.newsletter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.newsletter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.newsletter-card {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-premium);
}

.newsletter-overlay.active .newsletter-card {
    transform: translateY(0);
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: 50%;
}

.newsletter-form {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-input {
    padding: 0.8rem 1rem;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
}

.close-newsletter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.newsletter-skip {
    background: none;
    border: none;
    color: var(--color-text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}


/* Banner Modules */
.banner-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.banner-reversed .banner-grid {
    direction: rt;
    /* visual trick or just swap order in media query */
}

/* Better reversing approach with grid areas or order */
.banner-image-col {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-weight: 500;
}

.banner-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content-col h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.banner-content-col p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

/* Mobile responsive for banners */
@media (max-width: 768px) {
    .banner-grid {
        grid-template-columns: 1fr;
    }

    .banner-reversed .banner-content-col {
        order: 1;
    }

    .banner-reversed .banner-image-col {
        order: 2;
    }
}