
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #090b12;
    --surface: #111522;
    --surface-2: #191f30;
    --surface-3: #222b40;
    --primary: #8ab4ff;
    --primary-dark: #4d8dff;
    --secondary: #c5a5ff;
    --text: #f2f3fa;
    --muted: #a4adc1;
    --border: rgba(180, 195, 230, .12);
    --radius: 22px;
    --shadow: 0 18px 50px rgba(0,0,0,.24);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(ellipse at 85% 0%, rgba(77,141,255,.10), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.8;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9,11,18,.84);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .4px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #07101f;
    background: linear-gradient(135deg, #a5c9ff, #8b75ff);
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 5px 25px rgba(105,145,255,.28);
}

.logo-light {
    color: var(--primary);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navigation a {
    padding: 9px 15px;
    color: var(--muted);
    border-radius: 30px;
    font-size: 13px;
    transition: .25s;
}

.navigation a:hover,
.navigation a.active {
    background: rgba(138,180,255,.13);
    color: var(--primary);
}

.header-button {
    padding: 10px 20px;
    background: var(--primary);
    color: #07101f;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
}

.header-button:hover {
    background: #b6d2ff;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    color: var(--text);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    width: 43px;
    height: 43px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 55px;
    padding-top: 70px;
    padding-bottom: 80px;
}

.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(35px, 5vw, 61px);
    line-height: 1.55;
    font-weight: 800;
    max-width: 650px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
    background: linear-gradient(90deg, #83b7ff, #c3a2ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content > p {
    color: var(--muted);
    max-width: 530px;
    margin-top: 20px;
    font-size: 15px;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    padding: 12px 23px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    transition: .25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.button:hover {
    transform: translateY(-3px);
}

.primary {
    background: var(--primary);
    color: #07101f;
    box-shadow: 0 8px 25px rgba(100,155,255,.2);
}

.secondary {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

/* HERO VISUAL */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    max-width: 390px;
    min-height: 290px;
    border: 1px solid rgba(138,180,255,.2);
    border-radius: 32px;
    background:
        radial-gradient(circle at 50% 20%, rgba(138,180,255,.16), transparent 55%),
        linear-gradient(145deg, #1b2540, #111522 65%);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px;
    transition: .35s;
}

.visual-card:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 25px 65px rgba(66,120,255,.15);
}

.visual-icon {
    width: 100px;
    height: 100px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: linear-gradient(135deg, #8ab4ff, #a78bfa);
    color: #101629;
    font-size: 37px;
    font-weight: 800;
    box-shadow: 0 12px 40px rgba(110,145,255,.28);
}

.visual-card h3 {
    margin-top: 25px;
    font-size: 19px;
}

.visual-card p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 8px;
}

/* SECTIONS */

.features {
    padding-top: 50px;
    padding-bottom: 110px;
}

.section-heading {
    text-align: center;
    margin-bottom: 38px;
}

.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
}

.section-heading p {
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 27px;
    min-height: 190px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: .3s;
}

.feature-card:hover {
    background: var(--surface-2);
    border-color: rgba(138,180,255,.45);
    transform: translateY(-6px);
}

.feature-card > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.feature-card h3 {
    margin-top: 17px;
    font-size: 19px;
}

.feature-card p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

/* INNER PAGES */

.page-section {
    min-height: 65vh;
    padding-top: 100px;
    padding-bottom: 100px;
}

.page-section h1 {
    font-size: 43px;
    margin-bottom: 14px;
}

.page-section p {
    color: var(--muted);
}

/* FOOTER */

.footer {
    border-top: 1px solid var(--border);
    background: #0c0f18;
}

.footer-content {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer strong {
    color: var(--primary);
    font-size: 15px;
}

.footer p,
.footer-content > span {
    color: var(--muted);
    font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
    .navigation {
        gap: 0;
    }

    .navigation a {
        padding: 8px;
        font-size: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }

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

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

    .hero-visual {
        order: -1;
    }

    .visual-card {
        max-width: 320px;
        min-height: 250px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-content {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 76px;
        right: 14px;
        left: 14px;
        padding: 12px;
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 12px 15px;
        font-size: 13px;
    }

    .header-button {
        display: none;
    }

    .logo {
        font-size: 14px;
    }

    .hero {
        padding-top: 45px;
        padding-bottom: 65px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .feature-card {
        min-height: 160px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .page-section {
        padding-top: 65px;
    }

    .page-section h1 {
        font-size: 33px;
    }

    .footer-content {
        padding-top: 25px;
        padding-bottom: 25px;
        flex-direction: column;
        text-align: center;
    }
}
