:root {
    /* Premium Palette */
    --primary: #0B1E33;
    /* Deep Navy */
    --primary-light: #152A42;
    /* Lighter Navy for hover/cards */
    --accent: #C9A64B;
    /* Elegant Gold */
    --accent-light: #E0C172;
    /* Lighter Gold */
    --text-main: #1A1A1A;
    /* Dark Charcoal */
    --text-light: #666666;
    /* Medium Gray */
    --text-white: #FFFFFF;
    /* White */
    --bg-white: #FFFFFF;
    --bg-light: #F5F7FA;
    /* Subtle Blue-Gray */
    --bg-anthracite: #1F2937;
    /* Dark Footer Background */

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-sm: 4px;
    --radius-md: 8px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
}

/* Strict Class-Based Reset */
.site-root {
    scroll-behavior: smooth;
    width: 100%;
}

.site-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

.site-root *,
.site-root *::before,
.site-root *::after {
    box-sizing: border-box;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.text-gold {
    color: var(--accent);
}

.text-green {
    color: #10B981;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-medium);
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 166, 75, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--primary);
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    animation: pulseText 1.5s infinite alternate;
}

.loader-progress {
    width: 0;
    height: 2px;
    background-color: var(--accent);
    animation: loadLine 1.5s ease forwards;
    box-shadow: 0 0 10px rgba(201, 166, 75, 0.5);
}

@keyframes pulseText {
    0% {
        opacity: 0.5;
        letter-spacing: 4px;
    }

    100% {
        opacity: 1;
        letter-spacing: 8px;
    }
}

@keyframes loadLine {
    0% {
        width: 0;
    }

    100% {
        width: 150px;
    }
}

/* Top Ad Banner */
.ad-banner {
    background-color: #F8F9FA;
    color: #666;
    font-size: 0.75rem;
    padding: 0.5rem 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid #E5E7EB;
}

.ad-text {
    margin: 0;
}

/* Header */
.site-header {
    background-color: var(--bg-white);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* CSS Icon: 3 Rising Bars */
.logo-mark {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 24px;
}

.logo-bar {
    width: 6px;
    background: linear-gradient(to top, var(--primary), var(--accent));
    border-radius: 2px;
}

.logo-bar:nth-child(1) {
    height: 12px;
    opacity: 0.8;
}

.logo-bar:nth-child(2) {
    height: 18px;
    opacity: 0.9;
}

.logo-bar:nth-child(3) {
    height: 24px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    line-height: 1;
}

.brand-text .highlight {
    color: var(--accent);
}

.desktop-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    font-size: 0.85rem;
    padding: 0.75rem 1.75rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 6px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    display: block;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 6rem 0;
    min-height: 85vh;
    /* Tall hero */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background Abstract decoration */
.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(201, 166, 75, 0.1) 0%, rgba(11, 30, 51, 0) 70%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Abstract Finance Visual (CSS Chart) */
.chart-card-placeholder {
    background: rgba(255, 255, 255, 0.05);
    /* Glassy Navy */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.chart-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-white);
}

.chart-badge {
    font-size: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.chart-graph {
    height: 200px;
    position: relative;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.graph-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, #10B981 100%);
    opacity: 0.3;
    clip-path: polygon(0 80%, 20% 60%, 40% 70%, 60% 30%, 80% 40%, 100% 10%, 100% 100%, 0 100%);
}

.graph-area {
    position: absolute;
    left: 0;
    bottom: 0%;
    width: 100%;
    height: 100%;
    /* Mock line */
    background: transparent;
    border-top: 2px solid var(--accent);
    /* Simplified abstract line */
}

.chart-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hover);
}

.text-paragraph {
    margin-bottom: 1.5rem;
    color: #4A5568;
    line-height: 1.8;
}

/* Strategies */
.strategies-section {
    background-color: var(--bg-light);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.strategy-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid transparent;
    transition: transform var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent);
}

.card-highlight {
    border-top-color: var(--primary);
    background-color: #ffffff;
    border: 1px solid var(--primary);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: var(--text-white);
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.strategy-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.strategy-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    height: 80px;
    /* Uniform height */
}

.strategy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}


.strategy-item {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-nav-item {
    margin-bottom: 0.75rem;
}

.modal-subheading {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.check-icon {
    color: var(--accent);
}

/* Why Us */
.advantages-section {
    background-color: var(--primary);
    color: var(--text-white);
}

.advantages-section .section-title {
    color: var(--text-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 5 items -> maybe 3 then 2? or grid flow */
    gap: 3rem;
}

.feature-item {
    text-align: left;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.feature-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.feature-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Quote Section */
.quote-section {
    background-color: #F0F2F5;
    padding: 8rem 0;
}

.quote-container {
    text-align: center;
    max-width: 800px;
}

.quote-heading {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.quote-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-sm);
}

.testimonial-text {
    font-style: italic;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-family: monospace;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--accent);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding-bottom: 1.5rem;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--bg-anthracite);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-white);
    display: block;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}



.footer-link,
.footer-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
}

.footer-link:hover,
.footer-btn:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 2rem 0;
    font-size: 0.75rem;
    background-color: #111827;
    /* Darker bottom */
}

.disclaimer-area {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 30, 51, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 2rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-white);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    padding: 3rem;
    border-radius: var(--radius-sm);
    position: relative;
    overflow-y: auto;
    color: var(--text-main);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}



/* Cookie Consent Popup (Modal) */
.cookie-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 30, 51, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(5px);
    z-index: 9999;
    /* Highest priority */
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    /* Hidden by default, JS toggles flex */
}

/* Specific class for JS to show it as flex */
.cookie-banner.active {
    display: flex;
}

.cookie-content {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: slideUp 0.4s ease-out;
}

.cookie-text {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Fix for invisible reject button on white background */
.cookie-actions .btn-secondary {
    color: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    background-color: transparent !important;
}

.cookie-actions .btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

/* Mobile Responsive */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 2000;
    transition: right 0.4s ease;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1rem;
    /* Ensure space between logo and close button */
}

/* Resize Logo for Mobile Menu */
.mobile-menu-header .brand-logo .brand-text {
    font-size: 1.1rem;
    /* Smaller font for mobile menu */
}

.mobile-menu-header .brand-logo .logo-mark {
    height: 18px;
    /* Smaller icon */
}

.mobile-menu-header .brand-logo .logo-bar:nth-child(1) {
    height: 9px;
}

.mobile-menu-header .brand-logo .logo-bar:nth-child(2) {
    height: 13.5px;
}

.mobile-menu-header .brand-logo .logo-bar:nth-child(3) {
    height: 18px;
}

.mobile-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.menu-close-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary);
    /* Ensure contrast */
    padding: 0.5rem;
    /* Touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -0.5rem;
    /* Align with container padding visually */
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
}

.mobile-cta {
    display: block;
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .strategies-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-section {
        padding: 4rem 0;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}