/* ── Reset & Base ────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Button ─────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 12px; font-size: 16px; font-weight: 600;
    border: none; cursor: pointer; transition: all .25s ease; text-decoration: none;
}
.btn--primary { background: #4f6ef7; color: #fff; }
.btn--primary:hover { background: #3a5bd9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,110,247,.35); }
.btn--outline { border: 1.5px solid #4f6ef7; color: #4f6ef7; background: transparent; }
.btn--outline:hover { background: #4f6ef7; color: #fff; }
.btn--lg { padding: 16px 40px; font-size: 18px; border-radius: 14px; }
.btn--full { width: 100%; }

/* ── Header ─────────────────────────────────── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10,10,15,.85); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: #fff; }
.logo__icon { font-size: 28px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__link { font-size: 15px; font-weight: 500; color: #aaa; transition: color .2s; }
.nav__link:hover { color: #fff; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }

/* ── Hero ───────────────────────────────────── */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f1a3a 40%, #1a2a5a 70%, #0a0a1a 100%);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,110,247,.15) 0%, transparent 70%);
}
.hero__inner { display: flex; align-items: center; gap: 60px; }
.hero__content { flex: 1; }
.hero__title { font-size: 52px; font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 20px; }
.hero__subtitle { font-size: 18px; color: #8a8aa0; margin-bottom: 36px; max-width: 480px; }
.hero__visual { flex: 1; display: flex; gap: 20px; justify-content: center; perspective: 800px; }
.hero__card {
    width: 140px; height: 160px; border-radius: 20px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600;
    box-shadow: 0 20px 50px rgba(0,0,0,.4); transition: transform .4s;
}
.hero__card:hover { transform: translateY(-8px) rotateY(5deg); }
.hero__card--1 { background: linear-gradient(135deg, #1a2040, #2a3060); color: #7aa0ff; transform: rotate(-5deg); }
.hero__card--2 { background: linear-gradient(135deg, #1a1510, #2a2520); color: #d4a574; transform: rotate(5deg); }
.hero__card--3 { background: linear-gradient(135deg, #0a2010, #1a3520); color: #74d4a5; transform: rotate(-3deg) translateY(40px); }
.hero__card-icon { font-size: 28px; font-weight: 800; }

/* ── Sections ───────────────────────────────── */
.section { padding: 100px 0; }
.section--dark { background: #0f0f18; }
.section__title { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.section__subtitle { font-size: 17px; color: #888; margin-bottom: 48px; max-width: 600px; }

/* ── How it works ───────────────────────────── */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.how-text p { font-size: 16px; color: #aaa; margin-bottom: 16px; line-height: 1.7; }
.how-text strong { color: #fff; }

/* ── Phone mockup ───────────────────────────── */
.phone-mockup {
    width: 280px; background: #1a1a2e; border-radius: 24px; padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5); margin: 0 auto;
}
.phone-mockup--small { width: 240px; }
.phone-mockup--dark { background: #1a1510; }
.phone-mockup__screen { background: #0d0d14; border-radius: 16px; padding: 16px; min-height: 300px; }
.phone-mockup__header { text-align: center; font-weight: 700; font-size: 16px; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.chat-bubble { padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; margin-bottom: 8px; max-width: 85%; }
.chat-bubble--bot { background: #1e2a4a; color: #b0c4ff; border-bottom-left-radius: 4px; }
.chat-bubble--user { background: #4f6ef7; color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }

/* ── Marquee ────────────────────────────────── */
.marquee { overflow: hidden; padding: 20px 0; background: #4f6ef7; }
.marquee__track {
    display: flex; gap: 60px; white-space: nowrap; min-width: 200%;
    animation: marquee 20s linear infinite;
}
.marquee__track span { font-size: 22px; font-weight: 800; color: #fff; text-transform: uppercase; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Project cards ──────────────────────────── */
.project-card {
    display: flex; gap: 60px; align-items: center;
    background: #f0f4ff; border-radius: 24px; padding: 60px; margin-bottom: 40px;
}
.project-card--reversed { flex-direction: row-reverse; }
.project-card__info { flex: 1; }
.project-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 16px; font-weight: 800; font-size: 14px;
    margin-bottom: 16px;
}
.project-card__icon--gpthub { background: #1a2040; color: #7aa0ff; }
.project-card__icon--lilit { background: #1a1510; color: #d4a574; font-size: 24px; }
.project-card__icon--topboost { background: linear-gradient(135deg, #0a2a10, #1a4a2a); color: #74d4a5; font-size: 32px; }
.project-card__name { font-size: 28px; font-weight: 800; color: #0a0a0f; margin-bottom: 8px; }
.project-card__tagline { font-size: 16px; font-weight: 700; color: #333; margin-bottom: 12px; text-transform: uppercase; }
.project-card__desc { font-size: 15px; color: #555; line-height: 1.7; margin-bottom: 24px; }
.project-card__screens { flex: 1; display: flex; justify-content: center; }

/* ── Advantages ─────────────────────────────── */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantage-card {
    background: #16162a; border-radius: 20px; padding: 36px;
    border: 1px solid rgba(255,255,255,.05); transition: transform .3s, box-shadow .3s;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(79,110,247,.15); }
.advantage-card__icon {
    width: 56px; height: 56px; border-radius: 14px; background: #4f6ef7;
    display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.advantage-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.advantage-card p { font-size: 15px; color: #888; line-height: 1.6; }

/* ── Shop ───────────────────────────────────── */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.shop-steps { margin: 32px 0; }
.shop-step { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.shop-step__num {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #4f6ef7, #3a5bd9);
    color: #fff; font-size: 18px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.shop-step p { font-size: 15px; color: #aaa; padding-top: 8px; }
.shop-note { font-size: 14px; color: #666; line-height: 1.6; }

/* Shop form */
.shop-form-wrap {
    background: #fff; border-radius: 20px; padding: 32px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.shop-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.shop-tab {
    padding: 10px 20px; border-radius: 24px; border: 1.5px solid #ddd;
    background: transparent; color: #333; font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all .2s;
}
.shop-tab--active { background: #0a0a0f; color: #fff; border-color: #0a0a0f; }

.shop-form--hidden { display: none; }
.shop-form__hint { font-size: 14px; color: #666; margin-bottom: 16px; }
.shop-radios { border: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.shop-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: #222; }
.shop-radio input[type="radio"] { display: none; }
.radio-ui {
    width: 20px; height: 20px; border-radius: 50%; border: 2px solid #ccc;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .2s;
}
.shop-radio input:checked ~ .radio-ui { border-color: #4f6ef7; }
.shop-radio input:checked ~ .radio-ui::after {
    content: ''; width: 10px; height: 10px; border-radius: 50%; background: #4f6ef7;
}
.shop-label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.shop-input {
    width: 100%; padding: 12px 16px; border: 1.5px solid #ddd; border-radius: 10px;
    font-size: 15px; outline: none; margin-bottom: 16px; transition: border-color .2s;
}
.shop-input:focus { border-color: #4f6ef7; }
.shop-checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: #666; margin-bottom: 20px; cursor: pointer; }
.shop-checkbox input { margin-top: 2px; }
.shop-checkbox a { color: #4f6ef7; text-decoration: underline; }

/* ── Footer ─────────────────────────────────── */
.footer { padding: 60px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer__links { display: flex; gap: 32px; margin-bottom: 24px; }
.footer__links a { font-size: 15px; color: #888; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__info {
    background: rgba(255,255,255,.04); border-radius: 16px; padding: 24px 32px;
}
.footer__info p { font-size: 14px; color: #888; margin-bottom: 8px; }
.footer__info strong { color: #bbb; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
    .nav { display: none; }
    .nav--open { display: flex; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(10,10,15,.97); padding: 40px 24px; gap: 24px; z-index: 99; }
    .burger { display: block; }

    .hero__inner { flex-direction: column; text-align: center; }
    .hero__title { font-size: 32px; }
    .hero__subtitle { margin: 0 auto 24px; }
    .hero__visual { margin-top: 40px; }

    .how-grid, .shop-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .project-card, .project-card--reversed { flex-direction: column; padding: 32px; }
    .section__title { font-size: 28px; }

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