/* DESIGN SYSTEM - GELDSTRATEGIES */
:root {
    /* Colors */
    --primary: #1E4A3B;
    /* Dark Green */
    --secondary: #1A3B5D;
    /* Navy */
    --accent: #2A9D8F;
    /* Teal */
    --bg-light: #F5F7FA;
    /* Light Gray Background */
    --white: #FFFFFF;
    --border-gray: #E5E9F0;
    --text-dark: #1E2A3A;
    --text-medium: #5F6B7A;
    --success: #48BB78;

    /* Typography */
    --font-heading: 'Public Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(30, 74, 59, 0.05);
    --shadow-md: 0 4px 12px rgba(30, 74, 59, 0.1);
    --shadow-lg: 0 20px 40px rgba(30, 74, 59, 0.12);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 20px;
}

/* BASE RESET - CLASS ONLY */
.page-html *,
.page-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-html,
.page-body {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* TYPOGRAPHY CLASSES */
.heading-primary,
.heading-secondary,
.heading-tertiary,
.heading-4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
}

.heading-primary {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.heading-secondary {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.heading-tertiary {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.heading-4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.text-paragraph {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 600px;
    margin-bottom: 2rem;
}

.site-text-sm {
    font-size: 1rem;
    color: var(--text-medium);
}

.site-text-xs {
    font-size: 0.85rem;
    color: var(--text-medium);
}

.site-italic {
    font-style: italic;
}

.text-accent {
    color: var(--accent);
}

.site-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SHARED UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-section-gray {
    background-color: #EDF2F7;
}

.site-section-dark {
    background-color: var(--secondary);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.site-link {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.site-list {
    list-style: none;
}

.site-btn-reset {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* BRANDING */
.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--secondary);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.8rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #265d4a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 74, 59, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* AD BAR */
.ad-bar {
    background-color: var(--secondary);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: transform 0.4s ease;
}

.ad-bar.hidden {
    transform: translateY(-100%);
}

/* HEADER */
.site-header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    top: 40px;
    /* Ad bar height */
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.site-header.scrolled {
    top: 0;
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* HERO SECTION */
.hero {
    padding: 220px 0 120px;
    background: radial-gradient(circle at top right, #EBF8F7 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 80px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

/* HERO IMAGE REFINEMENT - FORCED CONTROL */
body .hero-image-main {
    max-width: 450px !important;
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: perspective(1000px) rotateY(-5deg) !important;
    transition: var(--transition) !important;
    display: block !important;
    margin: 0 auto !important;
}

@media (max-width: 768px) {
    body .hero-image-wrapper .hero-image-main {
        max-width: 280px !important;
        transform: none !important;
        margin-top: 20px !important;
    }

    /* Compact buttons on mobile */
    .btn-large {
        padding: 13px 22px !important;
        font-size: 0.95rem !important;
    }

    .hero-actions {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

.hero-image-main:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-features {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.site-icon-success {
    color: var(--success);
    font-size: 1.4rem;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* MOCKUP GRAPHIC */
.dashboard-mockup {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-gray);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: #F8FAFC;
    padding: 15px;
    border-bottom: 1px solid var(--border-gray);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E2E8F0;
}

.mockup-body {
    flex: 1;
    display: flex;
}

.mockup-sidebar {
    width: 25%;
    border-right: 1px solid var(--border-gray);
    background: #F1F5F9;
}

.mockup-main {
    flex: 1;
    padding: 30px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mockup-card {
    height: 100px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
}

.mockup-card-large {
    height: 180px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    grid-column: span 2;
}

/* FEATURES GRID */
.features {
    padding: 120px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid transparent;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
}

/* AUDIENCE SECTION */
.audience {
    padding: 120px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.audience-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.audience-card:hover {
    box-shadow: var(--shadow-lg);
}

.audience-visual {
    margin-bottom: 30px;
}

.audience-icon {
    font-size: 4rem;
    color: var(--accent);
}

/* HOW IT WORKS */
.how-it-works {
    padding: 120px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
    position: relative;
}

.step-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 30px;
}

/* TRUST SECTION */
.trust {
    padding: 120px 0;
}

.trust-visual-wrapper {
    margin-bottom: 80px;
    padding: 0 24px;
    /* Side gaps */
    overflow: visible;
}

.section-image-below {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Trust image specific fix */
.trust-section-img {
    max-width: 760px !important;
    width: calc(100% - 48px) !important;
    object-fit: cover;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-item {
    text-align: center;
    color: var(--white);
}

.trust-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* PRICING */
.pricing {
    padding: 120px 0;
    background: radial-gradient(circle, #EBF8F7 0%, var(--bg-light) 100%);
}

.pricing-subtitle {
    margin: 0 auto 40px;
}

/* TESTIMONIALS */
.testimonials {
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    color: #F6AD55;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--secondary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: #F8FAFC;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-text {
    padding: 0 30px 25px;
}

/* ABOUT SECTION */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-placeholder ion-icon {
    font-size: 10rem;
    color: var(--bg-light);
    opacity: 0.2;
}

/* FOOTER */
.site-footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.8);
    padding: 100px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-heading {
    color: var(--white);
    margin-bottom: 30px;
}

.footer-link-item {
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 50px;
    text-align: center;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 25px;
    opacity: 0.6;
}

/* LOADER - SIMPLE */
.site-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: -0.5px;
}

.loader-logo-accent {
    color: var(--accent);
}

.loader-bar-wrap {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 50px;
    transition: width 0.15s ease;
}

.loader-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: var(--font-body);
}

/* BACK TO TOP */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* COOKIE POPUP */
.cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 400px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cookie-actions .btn {
    flex: 1;
}

/* MODALS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius-lg);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-header {
    padding: 25px 35px;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 40px 35px;
}

/* MOBILE RESPONSIVE */
.mobile-menu-toggle {
    display: none;
    font-size: 2.2rem;
    color: var(--secondary);
}

.mobile-menu-close {
    display: none;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container,
    .about-grid {
        gap: 40px;
    }

    .features-grid,
    .audience-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-header {
        top: 0;
    }

    .ad-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        z-index: 2000;
        padding: 100px 30px;
        transition: right 0.4s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-menu-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2.5rem;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid,
    .audience-grid,
    .steps-grid,
    .testimonials-grid,
    .trust-grid,
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .heading-primary {
        font-size: 2.5rem;
    }

    .heading-secondary {
        font-size: 2rem;
    }
}