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

:root {
    --bg: #0a0a0f;
    --bg-alt: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text: #e0e0e0;
    --text-muted: #9999aa;
    --accent: #ff6b2b;
    --accent-glow: #ff7b42;
    --accent-dark: #cc5518;
    --gradient-1: linear-gradient(135deg, #ff6b2b 0%, #ff3c6a 50%, #c0392b 100%);
    --gradient-2: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-hero: linear-gradient(160deg, #0a0a16 0%, #111128 30%, #1a1030 60%, #0f0f1e 100%);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.55);
    --shadow-accent: 0 0 30px rgba(255, 107, 43, 0.25);
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.header--scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.logo__icon {
    font-size: 1.7rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.logo__text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #bbbbcc;
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav__link:hover {
    color: #fff;
}

.nav__link:hover::after {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger__line {
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 107, 43, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 70%, rgba(255, 60, 106, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(100, 60, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffccb0 40%, #ff6b2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #9999b0;
    max-width: 650px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: -0.01em;
}

.btn--primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 107, 43, 0.4);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Stats */
.hero__stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* === SECTIONS === */
.section {
    padding: 90px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.section--faq {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.section__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: #fff;
    position: relative;
    padding-left: 18px;
}

.section__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section__content {
    display: grid;
    gap: 20px;
}

.text-block {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.text-block:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 107, 43, 0.2);
    box-shadow: var(--shadow);
}

.text-block p {
    margin-bottom: 16px;
    font-size: 1.02rem;
    color: #cccdd8;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.text-block strong {
    color: #ff9a6c;
    font-weight: 600;
}

/* === FAQ === */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.faq__item:hover {
    border-color: rgba(255, 107, 43, 0.15);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: var(--transition);
}

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

.faq__icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq__item--open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item--open .faq__answer {
    max-height: 400px;
}

.faq__answer p {
    padding: 0 24px 20px;
    color: #bbbcc8;
    font-size: 0.95rem;
}

/* === FOOTER === */
.footer {
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo--footer {
    font-size: 1.2rem;
}

.footer__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 340px;
}

.footer__heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a,
.footer__links span {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--accent-glow);
}

.footer__bottom {
    grid-column: 1 / -1;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    font-size: 0.85rem;
    color: #666677;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 32px 40px;
        transition: right var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav--open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 24px;
    }

    .nav__link {
        font-size: 1.15rem;
    }

    .burger {
        display: flex;
    }

    .hero__stats {
        gap: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .text-block {
        padding: 20px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.7rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

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

    .stat__number {
        font-size: 1.5rem;
    }

    .section__title {
        font-size: 1.3rem;
        padding-left: 14px;
    }

    .faq__question {
        font-size: 0.95rem;
        padding: 16px 18px;
    }

    .faq__answer p {
        padding: 0 18px 16px;
    }
}