* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f4f1ec;
    color: #111;
}


html {

    scroll-behavior: smooth;

}

/* CONTAINER */

.container {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
}

h3 {
    font-weight: 500;
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;
}

.hero h1 {
    font-size: 56px;
}

.hero-img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin-bottom: 4vh;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.grid-3 img:hover {
    transform: translateY(-8px);
}

h2{

    margin-bottom: 3rem;

}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

/* SECTION */

.section {
    margin-bottom: 110px;
}

.text-large {
    font-size: 32px;
    max-width: 700px;
}

/* SCROLL REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
SUCCESS DASHBOARD
========================= */

.success-dashboard {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
}

.success-dashboard.dark-mode {
    background: #0f172a;
    color: white;
}

.theme-toggle {
    margin-bottom: 20px;
}

.theme-toggle button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* METRICS */

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    background: #f3f4f6;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: .3s;
}

.success-dashboard.dark-mode .metric-card {
    background: #1e293b;
}

.metric-card:hover {
    transform: translateY(-6px);
}

.metric-value {
    font-size: 32px;
    font-weight: 600;
}

/* NAVIGATION */
nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2000;
}

.nav-links {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    list-style: none;
    z-index: 1500;
    overflow-y: hidden;
}

.nav-links a {
    text-decoration: none;
    font-size: clamp(0.85rem, 1vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3E64E8;
}

nav a:hover {
    opacity: 0.6;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    position: relative;
    z-index: 2500;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #3E64E8;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    transform: rotate(-45deg);
}

/* FOOTER */
.footer {
    background: linear-gradient(180deg, #3d6fb6, #8ec6e8);
    color: white;
    padding: 80px 40px 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 50px;
}

/* Logo */
.footer-logo {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Newsletter */
.footer-newsletter {
    text-align: center;
}

.footer-newsletter h4 {
    margin-bottom: 15px;
    font-weight: 500;
}

.newsletter-input {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-input input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    width: 250px;
}

.newsletter-input button {
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    background: white;
    color: #3d6fb6;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.newsletter-input button:hover {
    background: #e6f3fb;
}

/* Bottom Row */
.footer-bottom {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    opacity: 0.7;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-email {
    text-align: right;
    font-weight: 500;
}

/* Copyright */
.footer-copy {
    font-size: 12px;
    opacity: 0.8;
}

/* DASHBOARD LAYOUT */

.dashboard-container {
    margin-top: 40px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.metric-card {
    padding: 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.metric-value {
    font-size: 36px;
    font-weight: 600;
    margin-top: 10px;
}

.metric-label {
    font-size: 13px;
    opacity: .6;
}

/* =========================
SCROLL REVEAL
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
DASHBOARD
========================= */

.success-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.metric {
    background: white;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .3s ease;
}

.metric:hover {
    transform: translateY(-6px);
}

.metric-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.metric-value {
    font-size: 40px;
    font-weight: 700;
}

/* =========================
CHARTS
========================= */

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.chart-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}



@media (max-width: 768px) {

    /* NAV */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: rgba(200, 226, 246, 0.2);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
        overflow: hidden;

    }
}

/* RESPONSIVE MEDIA QUERY */
@media (max-width: 768px) {

    /* NAV */
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: rgba(200, 226, 246, 0.2);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
        overflow: hidden;

    }

    /* HERO */
    .hero-text {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .circle {
        width: 120px;
        height: 120px;
    }

    /* FEATURES STACK */
    .features {
        flex-direction: column;
        gap: 2rem;
        padding: 40px 20px;
    }

    /* PROJECTS */
    .projects {
        grid-template-columns: 1fr;
        padding: 40px 20px;
        gap: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-img {
        height: auto;
        aspect-ratio: 16/9;
    }

    .scroll-indicator {
        width: 40px;
        height: 40px;
    }

    .arrow {
        width: 8px;
        height: 8px;
        border-width: 2px;
    }


    .footer-newsletter {
        display: none;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-divider {
        display: none;
    }

    .footer-email {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}