/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0a0e17;
    --color-surface: #111827;
    --color-surface-light: #f7f8fa;
    --color-text: #1a1a2e;
    --color-text-light: #6b7280;
    --color-text-on-dark: #e5e7eb;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --color-accent-light: rgba(37, 99, 235, 0.08);
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    height: 72px;
    gap: 40px;
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo__mark {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.nav__link:hover {
    color: var(--color-accent);
}

.header__cta {
    padding: 10px 24px;
    font-size: 14px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e17 0%, #111827 50%, #1e293b 100%);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(37, 99, 235, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    padding: 140px 0 100px;
    max-width: 800px;
}

.hero__label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 100px;
    background: rgba(37, 99, 235, 0.06);
}

.hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.35;
    margin-bottom: 40px;
}

.hero__cta {
    font-size: 16px;
    padding: 16px 40px;
}

/* ===== Section ===== */
.section {
    padding: 100px 0;
}

.section--light {
    background: var(--color-surface-light);
}

.section--dark {
    background: var(--color-bg);
}

.section--dark .section__title {
    color: var(--color-white);
}

.section--dark p {
    color: var(--color-text-on-dark);
}

.section__title {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 16px;
    color: var(--color-text);
}

.section__subtitle {
    font-size: 17px;
    color: var(--color-text-light);
    max-width: 640px;
    margin-bottom: 48px;
}

/* ===== About ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}

.about__text p {
    font-size: 17px;
    margin-bottom: 16px;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.stat__number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 4px;
}

.stat__label {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===== Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.card {
    padding: 32px;
    background: var(--color-surface-light);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-accent-light);
    color: var(--color-accent);
    margin-bottom: 20px;
}

.card__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.card__text {
    font-size: 15px;
}

/* ===== Role ===== */
.role__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.role__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: border-color var(--transition);
}

.role__item:hover {
    border-color: var(--color-accent);
}

.role__marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
    margin-top: 8px;
}

.role__item p {
    font-size: 15px;
    color: var(--color-text);
}

/* ===== Steps (Investment Model) ===== */
.model__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.step {
    position: relative;
    padding: 32px 24px;
    background: var(--color-surface-light);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.step:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
}

.step__number {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 16px;
}

.step__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.step__text {
    font-size: 14px;
}

.model__callout {
    padding: 32px 40px;
    background: var(--color-accent-light);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.model__callout p {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text);
}

/* ===== Advantages ===== */
.advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
}

.advantage {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color var(--transition);
}

.advantage:hover {
    border-color: rgba(37, 99, 235, 0.4);
}

.advantage__icon {
    flex-shrink: 0;
    color: var(--color-accent);
}

.advantage p {
    font-size: 15px;
    color: var(--color-text-on-dark);
}

/* ===== Vision ===== */
.vision__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.vision__block .section__title {
    margin-bottom: 20px;
}

.vision__block p {
    font-size: 16px;
    margin-bottom: 16px;
}

.vision__accent {
    font-weight: 500;
    color: var(--color-text) !important;
    padding: 20px;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-accent);
    margin-top: 8px;
}

/* ===== Contacts ===== */
.contacts__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 100px 24px;
}

.contacts__inner .section__subtitle {
    margin-left: auto;
    margin-right: auto;
}

.contacts__cta {
    font-size: 16px;
    padding: 16px 48px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__left .logo__mark {
    color: var(--color-white);
}

.footer__legal {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer__right p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .burger {
        display: flex;
    }

    .header__cta {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

    .vision__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer__left {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero__inner {
        padding: 120px 0 60px;
    }

    .hero__label {
        font-size: 11px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero__cta {
        width: 100%;
    }
}
