/* General Styles */
:root {
    --primary-color: #007AFF; /* Main Blue from financialmaster.app */
    --primary-darker: #005bb5;
    --secondary-color: #4A5568; /* Dark Gray for text */
    --accent-color: #38A169; /* A complementary green (adjust as needed) */
    --light-gray-bg: #F7FAFC; /* Very light gray background */
    --border-color: #E2E8F0;
    --text-color-light: #718096; /* Lighter gray text */
    --white: #fff;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    --border-radius: 8px; /* More rounded like the site */
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --section-padding: 80px 0;
}

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

html {
    scroll-behavior: smooth;
}



.container {
    width: 90%;
    max-width: 1200px; /* Slightly wider container */
    margin: auto;
    padding: 0 15px;
}





p {
    margin-bottom: 1.25rem;
    color: var(--secondary-color);
    font-size: 1rem; /* Base paragraph size */
}

p.sub-headline, .section-header p {
    font-size: clamp(1rem, 2vw, 1.15rem); /* Larger sub-text */
    color: var(--text-color-light);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-darker);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray-bg);
}

.text-center {
    text-align: center;
}

/* Header & Navbar */
.site-header {
    background-color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A202C; /* Dark logo text */
}
.logo svg {
    margin-right: 10px;
}
.logo:hover {
    color: #1A202C;
}


.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 8px 0px; /* Underline on hover effect */
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}


.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important; /* Important to override other 'a' styles */
    padding: 10px 20px !important;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.nav-cta:hover {
    background-color: var(--primary-darker);
    color: var(--white) !important;
}
.nav-cta::after { /* Remove hover line from cta button */
    display:none;
}


.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
}

.burger-menu .burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}


/* Hero Section */
.hero-section {
    background-color: var(--white); /* Clean white background */
    padding-top: 140px; /* Adjust for fixed header */
    padding-bottom: 60px;
    min-height: 85vh; /* Increased height */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    color: var(--primary-color); /* Blue heading for hero */
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.interactive-dashboard-placeholder {
    background-color: #EBF4FF; /* Light blue tint background */
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden; /* For any decorative elements */
}
.interactive-dashboard-placeholder img {
    border-radius: calc(var(--border-radius) - 10px); /* Inner radius */
}
.dashboard-elements {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}
.dash-module {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 500;
}


.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 28px; /* Slightly larger buttons */
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-darker);
    border-color: var(--primary-darker);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--light-gray-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    color: var(--primary-color);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}
.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}
.btn-light:hover {
    background-color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.9);
    color: var(--primary-darker);
}


.btn-large {
    padding: 16px 36px !important;
    font-size: 1.1rem !important;
}


/* Section Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-block;
    background-color: #EBF4FF; /* Light blue for tags */
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.section-header h2 {
    margin-bottom: 0.5rem;
}


/* Solutions Overview */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.solution-icon {
    color: var(--primary-color);
    background-color: #EBF4FF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.solution-icon svg {
    width: 28px;
    height: 28px;
}
.solution-card h3 {
    font-size: 1.5rem; /* Slightly larger */
    margin-bottom: 0.75rem;
}
.solution-card h4 {
    font-size: 1.1rem;
    color: #2D3748; /* Darker for sub-service */
    font-weight: 600;
    margin-top: 0.75rem;
}
.solution-card p {
    font-size: 0.95rem;
    color: var(--text-color-light);
    flex-grow: 1;
}
.learn-more-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}
.learn-more-link:hover {
    text-decoration: underline;
}


/* Invest Section */
.investment-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.feature-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover; /* In case you use non-text images */
}
.feature-item h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}
.feature-item p {
    font-size: 0.95rem;
    color: var(--text-color-light);
}


/* Success Stories */
.testimonials-slider { /* Basic grid, not a real slider */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    background-color: var(--light-gray-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}
.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 25px; /* Space for quote mark */
}
.testimonial-quote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}
.author-name {
    font-weight: 600;
    color: #1A202C;
    display: block;
}
.author-title {
    font-size: 0.9rem;
    color: var(--text-color-light);
}


/* Educational Resources */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.resource-item {
    display: block;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: var(--secondary-color); /* Reset link color */
}
.resource-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px -3px rgba(0,0,0,0.07), 0 3px 5px -2px rgba(0,0,0,0.04);
    color: var(--primary-color); /* Change text color on hover */
}
.resource-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}
.resource-icon svg {
    width: 32px;
    height: 32px;
}
.resource-item h4 {
    font-size: 1.15rem;
    color: #1A202C; /* Keep heading dark */
    margin-bottom: 0.5rem;
}
.resource-item:hover h4 {
    color: var(--primary-color); /* Change heading on hover */
}
.resource-item p {
    font-size: 0.9rem;
    color: var(--text-color-light);
}


/* Pricing Plans */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.plan-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border-color);
}
.plan-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.03); /* Make popular plan slightly larger */
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.plan-header h3 {
    font-size: 1.6rem;
    color: #1A202C;
}
.plan-description {
    font-size: 0.95rem;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    min-height: 40px; /* Ensure consistent height */
}
.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}
.plan-price span {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}
.plan-features {
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}
.plan-features li {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}
.plan-features .checkmark {
    color: var(--accent-color);
    margin-right: 8px;
    font-weight: bold;
    font-size: 1.2rem;
}
.plan-features li:not(:has(.checkmark)) { /* Style for features not included */
    color: var(--text-color-light);
    text-decoration: line-through;
}
.plan-features li:not(:has(.checkmark))::before { /* Add a subtle cross or dash */
    content: '–';
    margin-right: 8px;
    color: var(--text-color-light);
}


.plan-card .btn {
    margin-top: auto; /* Pushes button to bottom */
    width: 100%;
}

/* Final CTA Section */
.bg-primary-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-darker));
}
.final-cta-section {
    color: var(--white);
}
.final-cta-heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.final-cta-subheading {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}



/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .hero-text .sub-headline { margin-left: auto; margin-right: auto; }
    .cta-buttons {
        justify-content: center;
    }
    .interactive-dashboard-placeholder img {
        max-width: 450px; /* Adjust size for tablet */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .nav-links .nav-cta {
        margin-top: 10px;
        display: inline-block; /* Fit content */
        width: auto; /* Reset width */
        padding: 10px 25px !important;
    }

    .burger-menu {
        display: flex;
    }
    /* Burger animation */
    .burger-menu.toggle .burger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .burger-menu.toggle .burger-line:nth-child(2) {
        opacity: 0;
    }
    .burger-menu.toggle .burger-line:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -7px);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons .btn {
        width: 70%;
        max-width: 300px; /* Max width for buttons on mobile */
    }
    .pricing-grid, .solutions-grid, .investment-features-grid, .resources-grid, .testimonials-slider {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    .plan-card.popular {
        transform: scale(1); /* Reset popular scale on mobile for better stacking */
    }
    /* .footer-grid {
        text-align: center;
    }
    .footer-column ul { padding-left: 0; }
    .footer-social-icons { text-align: center; } */
}

@media (max-width: 480px) {
    :root { --section-padding: 60px 0; }
    .hero-text h1 { font-size: 1.8rem; }
    .hero-text .sub-headline { font-size: 0.95rem; }
    .section-header h2 { font-size: 1.6rem; }
    .section-header p { font-size: 0.95rem; }
    .cta-buttons .btn { width: 90%; }
    .interactive-dashboard-placeholder img {
        max-width: 100%;
    }
    .dashboard-elements { display: none; } /* Hide on very small screens if too cluttered */
}
