:root {
    /* New Emerald Theme */
    --primary: #10b981;
    /* Emerald Green - Growth */
    --primary-dark: #047857;
    /* Deep Green - Trust */
    --accent: #f59e0b;
    /* Amber - CTA */
    --accent-hover: #d97706;
    --navy-900: #0f172a;
    /* Dark Slate - Contrast */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --bg-light: #f8fafc;
    /* Slate 50 */
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */
    --container-max: 1200px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Base Resets - Class Only Approach where possible, but allow essentials */
.site-root {
    scroll-behavior: smooth;
    box-sizing: border-box;
    width: 100%;
}

.site-body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scoped Reset */
.site-root *,
.site-root *::before,
.site-root *::after {
    box-sizing: border-box;
}

/* Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-small {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Specific Component Styling (No Tag Selectors) */

/* 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;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    color: var(--bg-white);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--bg-white);
    border-radius: 50%;
    animation: spin 1s infinite linear;
    margin: 0 auto 1rem;
}

.loader-text {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 500;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ad Banner */
.ad-banner {
    background-color: var(--bg-light);
    color: var(--text-light);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.ad-text {
    margin: 0;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

/* Abstract 'B' or Chart Icon */
.logo-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-2px, -4px);
    /* Arrow Up */
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 3px;
    background: white;
    bottom: 12px;
    left: 10px;
    border-radius: 2px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.brand-name .highlight-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Footer specific override */
.footer-col .brand-name .highlight-text {
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    margin-left: 2rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 6px;
}

.hamburger-line {
    width: 28px;
    height: 2.5px;
    background-color: var(--navy-900);
    display: block;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background-color: var(--bg-white);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    right: 0;
}

.menu-close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--navy-900);
    margin-bottom: 3rem;
    transition: transform 0.2s;
}

.menu-close-btn:hover {
    transform: rotate(90deg);
    color: var(--primary);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--navy-900);
    font-weight: 700;
    transition: color 0.2s;
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: auto;
    width: 100%;
    display: block;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 8rem 0;
    background: radial-gradient(circle at top right, #ecfdf5 0%, #fff 40%, #f0fdf4 100%);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-text-content {
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    color: var(--navy-900);
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    margin: 0 0 2.5rem 0;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -12px rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--primary);
    margin: 0 0 1rem 0;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    display: block;
}

.text-paragraph {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Why Us / Features */
.features-section {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-heading {
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.feature-text {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-main);
    margin: 0 0 1.5rem 0;
    font-size: 1.05rem;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--primary);
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* FAQ */
.faq-section {
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    border: none;
    background: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 4rem 0 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: var(--bg-white);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--bg-white);
}

.legal-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom {
    background-color: var(--primary-dark);
    padding: 2rem 0;
    font-size: 0.8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.disclaimer-text {
    margin-bottom: 1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 5000;
    border: 1px solid var(--border-color);
    display: none;
    /* Handled by JS */
    max-width: 600px;
    margin: 0 auto;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-accept {
    background-color: var(--primary);
    color: var(--bg-white);
}

.btn-reject {
    background-color: #f1f1f1;
    color: var(--text-main);
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .container {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .top-ad-banner {
        font-size: 0.7rem;
    }

    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-text-content {
        order: 1;
    }

    .hero-image-wrapper {
        order: 2;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Modal Styles */
.footer-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    text-align: left;
    transition: color 0.2s;
    font-weight: normal;
}

.footer-link-btn:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-card {
    background-color: var(--bg-white);
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s;
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-body {
    color: var(--text-main);
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem 0;
    font-family: var(--font-heading);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body a {
    color: var(--accent);
    text-decoration: underline;
}