:root {
    --blue: #2E3B5C;
    --blue-dark: #252f47;
    --red: #dc2626;
    --red-dark: #b91c1c;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Header: solid blue, white logo, red + outline buttons ========== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background: var(--blue);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-nav-primary {
    background: var(--red);
    color: var(--white);
    border: none;
}

.btn-nav-primary:hover {
    background: var(--red-dark);
    color: var(--white);
}

.btn-nav-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-nav-outline:hover {
    background: var(--white);
    color: var(--blue);
}

/* ========== Hero: blue bg, white wave at bottom, centered content + dashboard mock ========== */
.hero {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background: var(--blue);
    color: var(--white);
    padding: 140px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    height: 80px;
    margin-left: -50vw;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M0 80h1440V50c-240 30-480 30-720 0s-480-30-720 0V80z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 100% 80px;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-hero-primary {
    background: var(--red);
    color: var(--white);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-outline:hover {
    background: var(--white);
    color: var(--blue);
}

/* Hero dashboard mockup */
.hero-dashboard {
    position: relative;
}

.dashboard-preview {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.dashboard-preview-header {
    height: 24px;
    background: var(--gray-200);
}

.dashboard-preview-body {
    padding: 1.5rem;
}

.chart-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 80px;
    margin-bottom: 1rem;
}

.chart-bar {
    flex: 1;
    background: var(--blue);
    border-radius: 6px 6px 0 0;
    min-height: 20px;
}

.chart-pie-row {
    display: flex;
    gap: 1rem;
}

.chart-pie {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--blue) 0% 40%, var(--red) 40% 70%, #eab308 70% 100%);
}

.chart-line {
    flex: 1;
    height: 60px;
    background: linear-gradient(180deg, transparent 50%, var(--gray-200) 50%);
    border-radius: 8px;
}

/* ========== Section: Meet our intuitive platform (white, 4 cards) ========== */
.section {
    padding: 5rem 0;
}

.section-platform {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.platform-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.platform-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.platform-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.platform-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.platform-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.platform-link:hover {
    text-decoration: underline;
}

/* ========== Full dashboard preview ========== */
.section-dashboard-preview {
    background: var(--gray-100);
}

.dashboard-full-mock {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.dashboard-sidebar {
    width: 220px;
    min-width: 220px;
    background: var(--blue);
}

.dashboard-main {
    flex: 1;
    padding: 2rem;
}

.kpi-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    flex: 1;
    background: var(--gray-100);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.kpi-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.chart-block {
    height: 160px;
    border-radius: 12px;
}

.chart-bars {
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 60%, transparent 60%);
}

.chart-doughnut {
    background: radial-gradient(circle at center, transparent 45%, var(--gray-200) 45%), conic-gradient(var(--blue) 0% 35%, var(--red) 35% 65%, #eab308 65% 100%);
}

.chart-line-graph {
    background: var(--gray-100);
}

/* ========== Discover effortless customer support: blue section ========== */
.section-support {
    background: var(--blue);
    color: var(--white);
}

.support-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.support-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.support-text p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.btn-support {
    display: inline-block;
    padding: 14px 28px;
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-support:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.support-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.support-block {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.75rem;
    border-radius: 14px;
}

.support-block-icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.support-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.support-block p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    opacity: 1;
}

/* ========== The tools you get: two columns ========== */
.section-tools {
    background: var(--white);
}

.tools-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tools-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tools-visual .dashboard-preview.small {
    max-width: 400px;
    margin-left: auto;
}

.tools-visual .chart-row {
    height: 60px;
}

/* ========== Partner logos ========== */
.section-partners {
    padding: 3rem 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ========== Testimonials ========== */
.section-testimonials {
    background: var(--gray-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: #eab308;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Pre-footer CTA: white, wave, red button ========== */
.section-cta {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    height: 60px;
    margin-left: -50vw;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M0 60h1440V35c-240 25-480 25-720 0s-480-25-720 0V60z' fill='%232E3B5C'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: 100% 60px;
}

.cta-inner h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cta-inner p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cta-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.25rem;
}

.btn-cta-large {
    display: inline-block;
    padding: 16px 40px;
    background: var(--red);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-cta-large:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== Footer: blue, wave at top, multi-column ========== */
.landing-footer {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background: var(--blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-inner {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand a {
    text-decoration: none;
}

.footer-copy {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-links-col h4,
.footer-subscribe h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links-col a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links-col a:hover {
    color: var(--white);
}

.subscribe-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.subscribe-form input {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.subscribe-form input:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-subscribe {
    padding: 10px 20px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-subscribe:hover {
    background: var(--red-dark);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .support-text .btn-support {
        margin-bottom: 1rem;
    }

    .tools-two-col {
        grid-template-columns: 1fr;
    }

    .tools-visual .dashboard-preview.small {
        margin-left: 0;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-subscribe {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-dashboard {
        order: -1;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-full-mock {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        min-height: 60px;
    }

    .charts-row {
        grid-template-columns: 1fr;
    }

    .support-blocks {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .subscribe-form {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        gap: 8px;
    }

    .btn-nav {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }

    .kpi-row {
        flex-direction: column;
    }
}
