﻿@font-face {
    font-family: 'aileron-regular';
    src: url('../font/aileron/aileron-regular.otf') format('opentype');
}

@font-face {
    font-family: 'aileron-semibold';
    src: url('../font/aileron/aileron-semibold.otf') format('opentype');
}

@font-face {
    font-family: 'aileron-bold';
    src: url('../font/aileron/aileron-bold.otf') format('opentype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'aileron-regular';
}

body {
    background: #f5f7fa;
    color: #111827;
    line-height: 1.6;
}
.header_inner {
    width: 100%;
    background: linear-gradient(to right, #193076, #05164b);
    position: sticky;
    top: 0px;
    z-index: 999;
}
/* Header */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    color: white;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1000;
    max-width: 1200px;
    margin: 0 auto;
}
    .header .logo svg {
        background-color: #fff;
        border-radius: 8px;
        padding: 3px;
    }
.logo {
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

    nav a {
        color: white;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.3s;
    }

        nav a:hover {
            color: #60a5fa;
        }

.btn-login {
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

    .hamburger span {
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 2px;
    }

/* Mobile menu */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 5%;
    background: #1e293b;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

    .mobile-nav a {
        color: white;
        text-decoration: none;
        padding: 0.6rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

        .mobile-nav a:last-child {
            border-bottom: none;
        }

/* Hero */
.hero {
    background: url(../images/gradient.png) no-repeat center center / cover;
    color: white;
    text-align: center;
    padding: 4rem 2rem 5rem;
    min-height: 580px;
}

    .hero h1 {
        font-size: 45px;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

        .hero h1 span {
            color: #5D87FF;            
        }

    .hero p {
        font-size: 15px;
        opacity: 0.85;
        margin-bottom: 1.5rem;
    }

    .hero .btn-preview {
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        padding: 0.6rem 1.4rem;
        border-radius: 6px;
        font-size: 0.9rem;
        cursor: pointer;
    }

/* Dashboard mockup */
.dashboard {
    max-width: 1000px;
    margin: -15rem auto 5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    .dashboard img {
        width: 100%;
        display: block;
    }

/* Features */
.features {
    text-align: center;
    margin-bottom: 5rem;
}

    .features h2 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #111827;
    }
    .features .card-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1100px;
        margin: 30px auto;
        padding: 0 20px;
    }

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    border: 0px;
    box-shadow: 0px 5px 20px 5px #919EAB17;
}

    .card img {
        height: 40px;
        margin-bottom: 10px;
    }

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        color: #1e1e2f;
        margin-top:15px;
    }

    .card p {
        font-size: 0.9rem;
        color: #666;
    }

.graph-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
    gap: 30px;
}

.text-block {
    flex: 1 1 400px;
}

    .text-block h4 {
        color: #888;
        font-size: 0.9rem;
    }

    .text-block h2 {
        font-size: 36px;
        margin: 10px 0;
        font-weight: bold;
        letter-spacing: 0.5px;
    }

    .text-block span {
        color: #2c53ff;
        font-weight: bold;
    }

    .text-block p {
        color: #555;
        margin-top: 10px;
        max-width: 400px;
    }

.graph-block {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
    .graph-block img {
        width:100%;
        max-width:615px;
    }
    .bar-chart, .line-chart {
        background: #fff;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .line-chart .value {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .line-chart span {
        color: #2c53ff;
    }
.footer_inner {
    width: 100%;
    background: #f0f2f8;
}
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1100px;
    margin: 0px auto;
}

.footer-left img {
    height: 30px;
}
.footer-right {
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-right p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom:0px;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}
