
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-dark: #190a2d;
    --purple-mid: #280e4b;
    --purple-bright: #9022e5;
    --magenta: #cc33ee;
    --text-main: #ffffff;
    --text-muted: #d0b8ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(170, 0, 255, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: linear-gradient(160deg, #0e061c 0%, #190a2d 40%, #280e4b 70%, #0e061c 100%);
    min-height: 100vh;
    color: var(--text-main);
    overflow-x: hidden;
}

/* ── particles bg ── */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140,40,218,.8) 30%, transparent 70%);
    animation: drift linear infinite;
    opacity: 0;
    will-change: transform, opacity;
}

@keyframes drift {
    0%   { opacity: 0; transform: translateY(100vh) scale(0); }
    10%  { opacity: var(--opacity-peak); }
    90%  { opacity: calc(var(--opacity-peak) * .5); }
    100% { opacity: 0; transform: translateY(-20vh) scale(1.5); }
}

/* ── layout ── */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HERO ── */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 20px 60px;
    animation: fadeDown .8s ease-out both;
}

.logo-wrap {
    display: inline-block;
    line-height: 0;
    /*filter: drop-shadow(0 0 40px rgba(140,40,218,.7));*/
    margin-bottom: 30px;
}

.hero-logo {
    width: 360px;
    height: 360px;
    object-fit: contain;
    display: block;
    /*animation: float 4s ease-in-out infinite;*/
    filter: drop-shadow(0 0 40px rgba(140,40,218,.9));
    
}



.hero-logo2 {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
    /*animation: float 4s ease-in-out infinite;*/
    filter: drop-shadow(0 0 40px rgba(140,40,218,.7));
}



.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(140,40,218,.15);
    border: 1px solid rgba(140,40,218,.4);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.hero-badge .dot {
    width: 8px; height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #e5a8ee 0%, #dd77f6 50%, #9022e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 44px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #8822dd 0%, #cc33ee 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 8px 30px rgba(140,40,218,.45);
    position: relative;
    overflow: hidden;
}
.hero-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,0);
    transition: background .25s;
}
.hero-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 40px rgba(204,51,238,.55);
}
.hero-cta:hover::after { background: rgba(255,255,255,.08); }
.hero-cta:active { transform: scale(.97); }

.hero-cta svg { flex-shrink: 0; }

/* ── STATS BAR ── */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 36px 20px;
    margin-bottom: 20px;
    animation: fadeUp .9s .2s ease-out both;
    
}

.stat {
    text-align: center;
    width:33%;
    max-width:200px;
}
.stat-num {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(90deg, #dd77f6, #9022e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: .85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── SECTION LABEL ── */
.section-label {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeUp .9s .3s ease-out both;
}
.section-label h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 10px;
}
.section-label p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ── THREE COLUMNS ── */
.columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    animation: fadeUp 1s .4s ease-out both;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--card-border);
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 16px;
    align-items: start;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: -50%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(140,40,218,.15) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform .6s ease;
    pointer-events: none;
}
.card:hover::before { transform: translateX(100%); }

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(204,51,238,.55);
    box-shadow: 0 20px 50px rgba(119,61,193,.35);
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    transition: transform .3s, box-shadow .3s;
    position: relative;
}

.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }

.card-icon svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

.icon-sales {
    background: linear-gradient(135deg,#5b2492,#9022e5);
    box-shadow: 0 6px 24px rgba(144,34,229,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-notify {
    background: linear-gradient(135deg,#004d80,#0099ee);
    box-shadow: 0 6px 24px rgba(0,136,204,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-analytics {
    background: linear-gradient(135deg,#005c30,#00cc6a);
    box-shadow: 0 6px 24px rgba(0,204,106,.5), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-stock {
    background: linear-gradient(135deg,#a83c00,#ff7722);
    box-shadow: 0 6px 24px rgba(237,99,0,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-search {
    background: linear-gradient(135deg,#066b6d,#00ccdd);
    box-shadow: 0 6px 24px rgba(0,170,204,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-support {
    background: linear-gradient(135deg,#7a0038,#ee1166);
    box-shadow: 0 6px 24px rgba(204,17,85,.6), inset 0 1px 0 rgba(255,255,255,.18);
}
.icon-updates {
    background: linear-gradient(135deg,#4a5c00,#aacc00);
    box-shadow: 0 6px 24px rgba(150,190,0,.6), inset 0 1px 0 rgba(255,255,255,.18);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.step_api {
    margin-left:-15px;
    margin-top:-15px;
}

.card-desc {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.65;
    grid-column: 1 / -1;
    grid-row: 2;
}

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    grid-column: 1 / -1;
    grid-row: 3;
}
.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.card-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--magenta);
    margin-top: 5px;
}


.card-features a, .steps a {
    color: var(--magenta);
    text-decoration: none;
}
.card-features a:hover, .steps a:hover { text-decoration: underline; }

/* Цвет точек по иконке карточки */
/*
.card:has(.icon-sales)     .card-features li::before { background: #b066ff; }
.card:has(.icon-notify)    .card-features li::before { background: #33aaff; }
.card:has(.icon-analytics) .card-features li::before { background: #00dd77; }
.card:has(.icon-stock)     .card-features li::before { background: #ff8833; }
.card:has(.icon-search)    .card-features li::before { background: #33ddff; }
.card:has(.icon-support)   .card-features li::before { background: #ff6699; }
*/

/* ── HOW IT WORKS ── */
.how {
    padding: 20px 0 80px;
    animation: fadeUp 1s .5s ease-out both;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}



.step {
    text-align: center;
    padding: 32px 20px;
    background: var(--card-bg);
    border: 1.5px solid var(--card-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-bright), var(--magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(140,40,218,.4);
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── FOOTER ── */
.footer {
    border-top: 1px solid rgba(140,40,218,.2);
    padding: 30px 20px;
    text-align: center;
    color: rgba(208,184,255,.5);
    font-size: .85rem;
}

.footer a {
    color: var(--magenta);
    text-decoration: none;
}
.footer a:hover { text-decoration: underline; }

/* ── ANIMATIONS ── */
/*
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}
*/

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(.85); }
}


/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .columns,
    .steps { grid-template-columns: repeat(2, 1fr); }
    .columns .card:last-child:nth-child(odd),
    .steps .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .steps::before { display: none; }
    .hero { padding: 50px 20px 40px; }
    .hero-logo { width: 240px; height: 240px; }
    .hero-logo2 { width: 120px; height: 120px; }

}

@media (max-width: 660px) {
    .columns,
    .steps { grid-template-columns: 1fr; }
    .stats-bar { gap: 24px; }
    .hero h1 { font-size: 1.8rem; }
    .hero p   { font-size: .95rem; }
    .card { padding: 28px 22px; }
    .hero-cta { padding: 14px 32px; font-size: 1rem; }
    .hero-logo2 { width: 100px; height: 100px; }
}