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

:root {
    --red: #E8192C;
    --red-dark: #C0111F;
    --red-light: #ff4d5e;
    --black: #1a1a1a;
    --gray: #6b7280;
    --gray-light: #f3f4f6;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 68px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-size: .9rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--red); }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-want {
    border: 1.5px solid var(--red);
    color: var(--red) !important;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 600 !important;
    transition: background .2s, color .2s !important;
}
.nav-want:hover {
    background: var(--red) !important;
    color: var(--white) !important;
}


/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, #fff 0%, #fff5f6 50%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(232,25,44,.08) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,25,44,.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: rgba(255,255,255,.85);
    padding: 7px 16px;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .3px;
    margin-bottom: 20px;
}
.hero-badge span {
    display: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: normal;
    color: var(--red);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(232,25,44,.3);
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,25,44,.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--black);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid #e5e7eb;
    transition: border-color .2s, transform .15s;
}
.btn-secondary:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}
.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--red);
}
.hero-stat-label {
    font-size: .8rem;
    color: var(--gray);
    margin-top: 2px;
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    position: relative;
    z-index: 1;
    isolation: isolate;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
    padding: 24px;
    width: 100%;
    max-width: 480px;
    animation: float 5s ease-in-out infinite;
}

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

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}
.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-title { margin-left: auto; font-size: .75rem; color: var(--gray); }

.mockup-header {
    font-size: .85rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mockup-card {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 14px 12px;
}
.mockup-card-label { font-size: .7rem; color: var(--gray); margin-bottom: 4px; }
.mockup-card-value { font-size: 1rem; font-weight: 800; color: var(--black); }
.mockup-card-value.red { color: var(--red); }

.mockup-chart {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 16px;
    height: 90px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}
.chart-bar {
    flex: 1;
    background: #e5e7eb;
    border-radius: 4px 4px 0 0;
    transition: background .3s;
}
.chart-bar.active { background: var(--red); }
.chart-bar:hover { background: var(--red-light); }

.mockup-list { margin-top: 16px; }
.mockup-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: .78rem;
}
.mockup-list-item:last-child { border-bottom: none; }
.mockup-list-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--red);
    margin-right: 8px;
    flex-shrink: 0;
}
.mockup-list-name { display: flex; align-items: center; color: var(--black); font-weight: 500; }
.mockup-list-amount { font-weight: 700; color: var(--red); }

.badge-float {
    position: absolute;
    z-index: 2;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: 12px 16px;
    font-size: .78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.badge-float.top-right {
    top: -20px; right: -20px;
}
.badge-float.bottom-left {
    bottom: -10px; left: -20px;
}
.badge-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.badge-icon.green { background: #d1fae5; }
.badge-icon.red { background: rgba(232,25,44,.1); }

/* ── SECTION COMMON ── */
section {
    padding: 96px 5%;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 560px;
}

/* ── FEATURES ── */
.features { background: var(--white); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 56px;
}

.feature-card {
    background: var(--white);
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    cursor: default;
}
.feature-card:hover {
    border-color: var(--red);
    box-shadow: 0 12px 40px rgba(232,25,44,.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px; height: 52px;
    background: rgba(232,25,44,.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: background .2s;
}
.feature-card:hover .feature-icon { background: rgba(232,25,44,.15); }

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: .85rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ── MODULES ── */
.modules { background: #0d0d0d; color: var(--white); }
.modules .section-label { color: #ff6b78; }
.modules .section-label::before { background: #ff6b78; }
.modules .section-title { color: var(--white); }
.modules .section-desc { color: #9ca3af; }

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 56px;
}

.module-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 28px;
    transition: border-color .2s, background .2s;
}
.module-card:hover {
    border-color: var(--red);
    background: #1f1010;
}

.module-num {
    font-size: .75rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.module-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}
.module-items { list-style: none; }
.module-items li {
    font-size: .84rem;
    color: #9ca3af;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.module-items li::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── ADVANTAGES ── */
.advantages { background: var(--white); }

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.adv-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--gray-light);
    transition: transform .2s;
}
.adv-card:hover { transform: translateY(-6px); }
.adv-card:nth-child(2) { background: var(--red); color: var(--white); }
.adv-card:nth-child(2) .adv-desc { color: rgba(255,255,255,.75); }

.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.adv-num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--red);
    margin-bottom: 4px;
}
.adv-card:nth-child(2) .adv-num { color: var(--white); }
.adv-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.adv-desc {
    font-size: .84rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ── TELEGRAM ── */
.telegram-section { background: var(--white); }

.telegram-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.telegram-features {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.telegram-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tg-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.telegram-features strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
}

.telegram-features p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

.telegram-visual {
    display: flex;
    justify-content: center;
}

.tg-phone {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    width: 280px;
    overflow: hidden;
}

.tg-phone-header {
    background: #2b5278;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tg-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tg-name { font-weight: 600; font-size: 14px; }
.tg-status { font-size: 11px; opacity: 0.75; }

.tg-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f0f2f5;
    min-height: 200px;
}

.tg-msg {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 85%;
}

.tg-msg-out {
    background: #2b5278;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    font-family: monospace;
}

.tg-msg-in {
    background: #fff;
    color: var(--black);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .telegram-inner { grid-template-columns: 1fr; gap: 40px; }
    .telegram-visual { order: -1; }
}

/* ── CTA ── */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #c0111f 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 5%;
}
.cta-section .section-label { color: rgba(255,255,255,.7); }
.cta-section .section-label::before { background: rgba(255,255,255,.7); }
.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 36px;
}
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--red);
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .95rem;
    transition: transform .15s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.2); }

.contact-info {
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
}
.contact-item a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
    background: #0d0d0d;
    color: #6b7280;
    text-align: center;
    padding: 32px 5%;
    font-size: .82rem;
}
footer strong { color: var(--white); }

/* ── SCROLL ANIMATIONS ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .dashboard-mockup { max-width: 100%; }
    .badge-float.top-right { top: -10px; right: 0; }
    .badge-float.bottom-left { display: none; }
    .adv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    nav {
        padding: 10px 4%;
        height: auto;
        flex-wrap: wrap;
        gap: 0;
    }
    .nav-logo { flex: 1; }
    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 16px;
        padding: 8px 0 4px;
        border-top: 1px solid rgba(0,0,0,.06);
        margin-top: 8px;
    }
    .nav-links a { font-size: .82rem; }
    .nav-want { padding: 5px 12px !important; font-size: .82rem !important; }
    section { padding: 64px 4%; }
    .hero { padding: 150px 4% 60px; }
    .adv-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .modules-grid { grid-template-columns: 1fr; }
}
