:root {
    --primary: #4338ca;
    --primary-light: #6366f1;
    --accent: #f43f5e;
    --accent-hover: #e11d48;
    --bg-main: #f8fafc;
    --bg-light: #f1f5f9;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid var(--accent);
    box-shadow: 0 4px 14px 0 rgba(244, 63, 94, 0.39);
}

.btn:hover {
    background-color: var(--accent-hover);
    color: #fff;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #fff;
}

.navbar {
    background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    padding-top: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    top: 0;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-light);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.foda-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    overflow: hidden;
}

.foda-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.foda-tab {
    flex: 1;
    background: var(--bg-light);
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.foda-tab:hover {
    background: #e4e9f2;
}

.foda-tab.active {
    background: #fff;
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
}

.foda-content {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.4s ease-in-out;
}

.foda-content.active {
    display: block;
}

.foda-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.foda-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.foda-text ul {
    list-style: none;
}

.foda-text ul li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.foda-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
}

.foda-text ul li strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 0.2rem;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-image {
    flex: 1;
}

.split-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.split-text {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-list .icon {
    font-size: 2rem;
    margin-right: 1.5rem;
}

.feature-list strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.3rem;
}

.footer {
    background-color: #0f172a;
    /* Slate 900 for better contrast */
    color: #f8fafc;
    /* Crisp white-slate text */
    text-align: center;
    padding: 3rem 0;
}

@media (max-width: 992px) {

    .hero-content,
    .content-split {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .foda-tabs {
        flex-wrap: wrap;
    }

    .foda-tab {
        flex-basis: 50%;
    }

    .feature-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .foda-tab {
        flex-basis: 100%;
        border-bottom: 1px solid var(--border);
    }

    .foda-content {
        padding: 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        min-height: auto;
        padding-bottom: 3rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chart-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-top: 3rem;
    width: 100%;
}

.chart-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    height: 350px;
}

.carousel-btn:hover {
    background: white !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.carousel-dots .dot:hover {
    opacity: 0.8 !important;
}