/* ========================
   RESET & BASE
======================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

:root {
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --cyan: #06b6d4;
    --bg: #030308;
    --text: #f1f5f9;
    --text-dim: #94a3b8;
}

html, body {
    overflow: hidden;
    height: 100%;
    width: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* ========================
   CANVAS
======================== */
#canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================
   NOISE OVERLAY
======================== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 998;
    opacity: 0.4;
}

/* ========================
   CURSOR
======================== */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--purple-light);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: transform 0.1s, opacity 0.1s;
    z-index: 9999;
    pointer-events: none;
}

.cursor-glow {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,58,237,0.07) 0%, transparent 70%);
    position: fixed;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* ========================
   NAVBAR
======================== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(3,3,8,0.95) 0%, transparent 100%);
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124,58,237,0.5);
}

/* ========================
   NAV DOTS
======================== */
.nav-dots {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--purple-light);
    box-shadow: 0 0 10px var(--purple-light);
    transform: scale(1.6);
}

/* ========================
   SLIDER
======================== */
#slider-wrapper {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    will-change: transform;
    z-index: 2;
}

/* ========================
   SECTIONS
======================== */
section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ========================
   SLIDE WRAP
======================== */
.slide-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    padding: 80px 48px 40px;
}

/* ========================
   HERO
======================== */
.hero {
    flex-direction: column;
    text-align: center;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

/* Hacker title */
.hack-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hack-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(2.8rem, 8vw, 8rem);
    font-weight: 400;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 50%, #a78bfa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
    line-height: 1;
}

.hack-cursor {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(2.8rem, 8vw, 8rem);
    color: var(--purple-light);
    animation: blink 0.8s step-end infinite;
    line-height: 1;
}

.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 480px;
    text-align: center;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--purple), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ========================
   BUTTONS
======================== */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 52px;
    background: linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    background-size: 200% auto;
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.btn-main:hover {
    transform: translateY(-4px) scale(1.02);
    background-position: right center;
    box-shadow: 0 20px 60px rgba(124,58,237,0.5);
}

.btn-main:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-arrow {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.btn-main:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 44px;
    background: transparent;
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 100px;
    color: var(--purple-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-ghost:hover {
    border-color: var(--purple-light);
    background: rgba(124,58,237,0.1);
    transform: translateY(-3px);
}

/* ========================
   SECTION TITLES
======================== */
.section-title {
    text-align: center;
    margin-bottom: 48px;
    width: 100%;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--purple-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ========================
   STATS
======================== */
.stats-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.stat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 24px;
    padding: 44px 32px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, #06b6d4, transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover {
    border-color: rgba(124,58,237,0.4);
    background: rgba(124,58,237,0.06);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.stat-card:hover::before { opacity: 1; }

.stat-icon { font-size: 2.2rem; margin-bottom: 16px; }

.stat-num {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-num small { font-size: 1.2rem; }

.stat-label {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ========================
   FEATURES
======================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
}

.feat-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 28px 24px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feat-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feat-card:hover {
    border-color: rgba(124,58,237,0.3);
    background: rgba(124,58,237,0.05);
    transform: translateY(-5px);
}

.feat-card:hover::after { transform: scaleX(1); }

.feat-emoji { font-size: 1.8rem; margin-bottom: 12px; }

.feat-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feat-card p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ========================
   PRICING
======================== */
.pricing-slide {
    max-width: 1200px;
    padding-top: 70px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: 100%;
}

.price-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.4s;
    position: relative;
}

.price-card.hot {
    border-color: rgba(124,58,237,0.5);
    background: rgba(124,58,237,0.07);
}

.price-card.hot::before {
    content: 'ХИТ';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 16px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
}

.price-card.special {
    border-color: rgba(6,182,212,0.3);
    background: rgba(6,182,212,0.04);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.3);
}

.price-top { display: flex; flex-direction: column; gap: 4px; }

.price-emoji { font-size: 1.8rem; margin-bottom: 4px; }

.price-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.price-desc {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

.price-servers {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.special-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 50px;
    font-size: 0.68rem;
    color: var(--cyan);
    font-weight: 600;
    text-align: center;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.price-val {
    font-weight: 700;
    color: var(--text);
    font-size: 0.9rem;
}

.price-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124,58,237,0.4);
}

.price-btn.outline {
    background: transparent;
    border: 1px solid rgba(124,58,237,0.4);
    color: var(--purple-light);
}

.price-btn.outline:hover {
    background: rgba(124,58,237,0.1);
}

/* ========================
   FINAL CTA
======================== */
.final {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
    gap: 0;
}

.final h2 {
    font-size: clamp(2.2rem, 5.5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 20px;
}

.final h2 span {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 50%, #a78bfa 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

.final p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.final-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-note {
    position: absolute;
    bottom: 28px;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

/* ========================
   REVEAL
======================== */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   ANIMATIONS
======================== */
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================
   RESPONSIVE — TABLET
======================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================
   RESPONSIVE — MOBILE
======================== */
@media (max-width: 768px) {
    nav { padding: 16px 20px; }
    .nav-logo { font-size: 1.1rem; }
    .nav-dots { display: none; }

    .slide-wrap {
        padding: 76px 16px 24px;
        overflow-y: auto;
        max-height: 100vh;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-slide { padding-top: 76px; }

    .stats-inner { grid-template-columns: 1fr; gap: 12px; }
    .stat-card { padding: 28px 20px; }

    .features-grid { grid-template-columns: 1fr; gap: 12px; }
    .feat-card { padding: 20px 16px; }

    .pricing-grid { grid-template-columns: 1fr; gap: 14px; }

    .hack-text,
    .hack-cursor {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .hero-sub { font-size: 0.95rem; padding: 0 8px; }

    .btn-main {
        padding: 16px 36px;
        font-size: 1rem;
    }

    .btn-ghost {
        padding: 16px 32px;
        font-size: 0.9rem;
    }

    .final-btns { flex-direction: column; align-items: center; }

    .final h2 { font-size: 2.2rem; }
    .final p { font-size: 0.95rem; }

    .hero-scroll {
        bottom: 20px;
    }

    .section-title { margin-bottom: 28px; }
    .section-title h2 { font-size: 1.6rem; }
}

@media (max-width: 400px) {
    .hack-text, .hack-cursor { font-size: 2rem; }
    .btn-main { padding: 14px 28px; font-size: 0.95rem; }
}