/* ============================================
   NTH HOSTING — Ultra Modern Design System
   ============================================ */

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

/* === CUSTOM SCROLLBARS === */
/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, .35) transparent;
}

/* Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, .3);
    border-radius: 100px;
    transition: background .2s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, .55);
}

::-webkit-scrollbar-thumb:active {
    background: rgba(124, 58, 237, .7);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Hide text cursor on non-editable elements */
* {
    caret-color: transparent;
}
input, textarea, select,
[contenteditable="true"],
[role="textbox"] {
    caret-color: auto;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --primary-glow: rgba(124, 58, 237, .45);
    --accent: #06b6d4;
    --accent-light: #67e8f9;
    --accent-glow: rgba(6, 182, 212, .35);
    --neon-pink: #ec4899;
    --neon-green: #10b981;
    --bg-dark: #050510;
    --bg-section: #0a0a1f;
    --bg-card: rgba(15, 15, 40, .6);
    --bg-card-solid: #0f0f28;
    --bg-glass: rgba(255, 255, 255, .03);
    --text: #eeeef8;
    --text-secondary: #b0b0d0;
    --text-muted: #6b6b8d;
    --border: rgba(255, 255, 255, .06);
    --border-glow: rgba(124, 58, 237, .25);
    --radius: 20px;
    --radius-sm: 14px;
    --radius-xs: 10px;
    --transition: .35s cubic-bezier(.4, 0, .2, 1);
    --transition-bounce: .5s cubic-bezier(.34, 1.56, .64, 1);
    --shadow-card: 0 8px 32px rgba(0,0,0,.3);
    --shadow-glow: 0 0 40px var(--primary-glow);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

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

/* === GRADIENT TEXT === */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--neon-pink));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* === MESH BACKGROUND LAYER === */
.mesh-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.mesh-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .12;
    animation: orbFloat 20s ease-in-out infinite;
}
.mesh-bg__orb--1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; left: -100px;
    animation-delay: 0s;
}
.mesh-bg__orb--2 {
    width: 500px; height: 500px;
    background: var(--accent);
    bottom: -150px; right: -100px;
    animation-delay: -7s;
}
.mesh-bg__orb--3 {
    width: 400px; height: 400px;
    background: var(--neon-pink);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: .06;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, -40px) scale(1.05); }
    50%      { transform: translate(-20px, 20px) scale(.95); }
    75%      { transform: translate(10px, 30px) scale(1.02); }
}

/* === ANIMATIONS === */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
    from { opacity: 0; transform: scale(.8); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%      { transform: translateY(-15px) rotate(.5deg); }
    66%      { transform: translateY(-8px) rotate(-.5deg); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%      { opacity: .2; }
}
@keyframes particleRise {
    0%   { transform: translateY(0) translateX(0) scale(0); opacity: 0; }
    10%  { opacity: .8; transform: scale(1); }
    90%  { opacity: .6; }
    100% { transform: translateY(-100vh) translateX(50px) scale(.5); opacity: 0; }
}
@keyframes scrollPulse {
    0%, 100% { transform: translateY(0); opacity: .6; }
    50%      { transform: translateY(12px); opacity: 1; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 var(--primary-glow); }
    50%      { box-shadow: 0 0 0 20px rgba(124, 58, 237, 0); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes slideInServer {
    from { opacity: 0; transform: translateX(-40px) scale(.9); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes glowPulse {
    0%, 100% { opacity: .5; filter: blur(40px); }
    50%      { opacity: .8; filter: blur(50px); }
}

[data-animate] { opacity: 0; }
[data-animate].animated {
    animation-fill-mode: both;
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.22, .61, .36, 1);
    animation-delay: var(--delay, 0s);
}
[data-animate="fade-up"].animated   { animation-name: fadeUp; }
[data-animate="fade-left"].animated { animation-name: fadeLeft; }
[data-animate="zoom-in"].animated   { animation-name: zoomIn; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: .3px;
    font-family: inherit;
}
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width .6s ease, height .6s ease;
}
.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), #9333ea, var(--accent));
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.2);
    background-position: 100% 0;
}
.btn--primary:active { transform: translateY(-1px); }

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}
.btn--outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(124,58,237,.15);
}

.btn--glass {
    background: rgba(255,255,255,.05);
    color: var(--text);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.08);
}
.btn--glass:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,.15);
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

.btn--lg { padding: 17px 40px; font-size: 16px; border-radius: 16px; }
.btn--sm { padding: 10px 22px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; justify-content: center; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(5, 5, 16, .8);
    backdrop-filter: blur(24px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
    transition: var(--transition);
}
.logo:hover { transform: scale(1.03); }
.logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
    position: relative;
}
.logo__icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: -1;
    opacity: .3;
    filter: blur(8px);
}
.logo__text span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav */
.nav { display: flex; gap: 6px; }
.nav__link {
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: var(--transition);
}
.nav__link:hover,
.nav__link.active { color: #fff; }
.nav__link:hover::after,
.nav__link.active::after { width: 20px; }
.nav__link:hover { background: rgba(255,255,255,.04); }
.nav__link.active { background: rgba(124,58,237,.1); }

/* Nav badge (unread indicator) */
.nav__link { position: relative; }
.nav__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 12px rgba(239,68,68,.6), 0 0 4px rgba(239,68,68,.3);
    animation: badgePulse 1.5s ease-in-out infinite;
    transform: translate(50%, -50%);
    pointer-events: none;
    z-index: 2;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(239,68,68,.5); transform: translate(50%, -50%) scale(1); }
    50% { box-shadow: 0 0 24px rgba(239,68,68,.9), 0 0 8px rgba(249,115,22,.4); transform: translate(50%, -50%) scale(1.1); }
}

.header__actions { display: flex; gap: 10px; align-items: center; }

/* === HEADER PROFILE WIDGET === */
.header-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 6px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.header-profile:hover {
    background: rgba(124,58,237,.1);
    border-color: rgba(124,58,237,.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124,58,237,.12);
}
.header-profile__avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.header-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.header-profile__letter {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.header-profile__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.header-profile__name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}
.header-profile__email {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}
.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 100px;
    overflow: hidden;
    background: var(--bg-dark);
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(124,58,237,.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(6,182,212,.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 20%, rgba(236,72,153,.05) 0%, transparent 50%);
    z-index: 1;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: particleRise linear infinite;
}
.particle--purple { background: var(--primary-light); box-shadow: 0 0 6px var(--primary-light); }
.particle--cyan   { background: var(--accent-light); box-shadow: 0 0 6px var(--accent-light); }
.particle--pink   { background: var(--neon-pink); box-shadow: 0 0 6px var(--neon-pink); }

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(124,58,237,.1);
    border: 1px solid rgba(124,58,237,.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 28px;
    animation: pulseGlow 3s ease infinite;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 26px;
    letter-spacing: -2px;
}

.hero__desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    gap: 48px;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    position: relative;
}
.hero__stat::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
}
.hero__stat:first-child::before { display: none; }
.hero__stat-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.hero__stat-number {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.hero__stat-suffix {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.hero__stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    white-space: nowrap;
}

/* Server rack */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.hero__server-rack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 28px;
    background: rgba(15, 15, 40, .5);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 80px rgba(124,58,237,.08),
        0 20px 60px rgba(0,0,0,.4),
        inset 0 1px 0 rgba(255,255,255,.05);
    animation: float 8s ease-in-out infinite;
    position: relative;
}
.hero__server-rack::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(124,58,237,.3), transparent 40%, transparent 60%, rgba(6,182,212,.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.server-unit {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
    border-radius: var(--radius-xs);
    animation: slideInServer .7s ease both;
    animation-delay: var(--delay, 0s);
    transition: var(--transition);
}
.server-unit:hover {
    background: rgba(255,255,255,.04);
    border-color: rgba(124,58,237,.15);
}
.server-unit__lights { display: flex; gap: 8px; }
.light {
    width: 8px; height: 8px;
    border-radius: 50%;
    transition: var(--transition);
}
.light--green { background: #10b981; box-shadow: 0 0 10px rgba(16,185,129,.6); }
.light--blue  { background: #3b82f6; box-shadow: 0 0 10px rgba(59,130,246,.6); }
.blink { animation: blink 2.5s ease-in-out infinite; }
.server-unit__bars {
    display: flex;
    gap: 3px;
    flex: 1;
}
.server-unit__bars span {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.server-unit__bars span:nth-child(1) { opacity: .7; max-width: 75%; }
.server-unit__bars span:nth-child(2) { opacity: .5; max-width: 55%; }
.server-unit__bars span:nth-child(3) { opacity: .35; max-width: 85%; }
.server-unit__bars span:nth-child(4) { opacity: .25; max-width: 40%; }

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.hero__scroll a {
    color: var(--text-muted);
    font-size: 22px;
    animation: scrollPulse 2.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.hero__scroll a:hover {
    color: var(--primary-light);
    border-color: var(--border-glow);
    background: rgba(124,58,237,.08);
}

/* === SECTION HEADER === */
.section-header {
    text-align: center;
    margin-bottom: 68px;
}
.section-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 20px;
    background: rgba(124,58,237,.08);
    border: 1px solid rgba(124,58,237,.18);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}
.section-header__title {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.section-header__desc {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === FEATURES === */
.features {
    padding: 120px 0;
    position: relative;
    background: var(--bg-section);
    overflow: hidden;
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--neon-pink));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s ease;
}
.feature-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, var(--primary-glow), transparent 60%);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
    z-index: -1;
}
.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,.05);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-card), 0 0 50px rgba(124,58,237,.08);
}
.feature-card:hover::before {
    transform: scaleX(1);
    animation: shimmer 2s linear infinite;
}
.feature-card:hover::after { opacity: .15; }

.feature-card__icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(6,182,212,.08));
    border: 1px solid rgba(124,58,237,.15);
    border-radius: 16px;
    font-size: 24px;
    color: var(--primary-light);
    margin-bottom: 22px;
    transition: var(--transition-bounce);
    position: relative;
}
.feature-card:hover .feature-card__icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px var(--primary-glow);
}
.feature-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -.3px;
}
.feature-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* === HOW IT WORKS / STEPS === */
.how-it-works {
    padding: 120px 0;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 0 1 320px;
    text-align: center;
    padding: 44px 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(12px);
}
.step:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    background: rgba(255,255,255,.05);
    box-shadow: var(--shadow-card), 0 0 50px rgba(124,58,237,.06);
}
.step__number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px var(--primary-glow);
}
.step__icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 20px;
    background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(6,182,212,.06));
    border: 1px solid rgba(124,58,237,.12);
    border-radius: 20px;
    font-size: 26px;
    color: var(--primary-light);
    transition: var(--transition-bounce);
}
.step:hover .step__icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 8px 25px var(--primary-glow);
}
.step__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -.3px;
}
.step__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    flex: 0 0 60px;
    color: var(--text-muted);
    font-size: 16px;
    opacity: .4;
}

/* === FAQ === */
.faq {
    padding: 120px 0;
    background: var(--bg-section);
    position: relative;
    overflow: hidden;
}
.faq__list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}
.faq-item:hover { border-color: rgba(255,255,255,.1); }
.faq-item.open {
    border-color: rgba(124,58,237,.3);
    box-shadow: 0 8px 40px rgba(124,58,237,.08), 0 0 80px rgba(124,58,237,.03);
    background: rgba(124,58,237,.03);
}
.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: left;
    gap: 16px;
}
.faq-item__question:hover { color: var(--primary-light); }
.faq-item__question i {
    font-size: 12px;
    color: var(--text-muted);
    transition: var(--transition);
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
}
.faq-item.open .faq-item__question i {
    transform: rotate(180deg);
    color: var(--primary-light);
    background: rgba(124,58,237,.12);
}
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4, 0, .2, 1), padding .45s ease;
}
.faq-item.open .faq-item__answer {
    max-height: 500px;
    padding: 0 28px 22px;
}
.faq-item__answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* === CTA === */
.cta {
    padding: 120px 0;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}
.cta__inner {
    text-align: center;
    padding: 90px 50px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
}
.cta__inner::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), transparent 30%, transparent 70%, var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.cta__inner::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-glow), transparent 60%);
    opacity: .15;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}
.cta__content { position: relative; z-index: 2; }
.cta__title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    margin-bottom: 18px;
    letter-spacing: -1px;
}
.cta__desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.cta__desc strong { color: var(--accent-light); font-weight: 700; }
.cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.footer {
    padding: 60px 0 0;
    background: #030308;
    border-top: 1px solid var(--border);
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}
.footer__col {
    display: flex;
    flex-direction: column;
}
.footer__col--brand {
    gap: 16px;
}
.footer__col-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}
.footer__link:hover {
    color: #fff;
    padding-left: 6px;
}
.footer__tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}
.footer__socials {
    display: flex;
    gap: 10px;
}
.footer__social {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-muted);
    transition: var(--transition-bounce);
}
.footer__social:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}
.footer__social--discord:hover {
    background: #5865F2;
    border-color: #5865F2;
    box-shadow: 0 6px 20px rgba(88,101,242,.35);
}
.footer__social--telegram:hover {
    background: #26a5e4;
    border-color: #26a5e4;
    box-shadow: 0 6px 20px rgba(38,165,228,.35);
}
.footer__social--vk:hover {
    background: #0077ff;
    border-color: #0077ff;
    box-shadow: 0 6px 20px rgba(0,119,255,.35);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}
.footer__bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.footer__bottom p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}
.footer__legal-entity {
    font-size: 11.5px !important;
    color: rgba(255,255,255,0.2) !important;
    letter-spacing: 0.3px;
}

/* === TRUSTED / PARTNERS === */
.trusted {
    padding: 48px 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.trusted__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.trusted__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.trusted__logos {
    display: flex;
    gap: 32px;
    align-items: center;
    flex: 1;
    justify-content: space-around;
    overflow: hidden;
}
.trusted__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: .45;
    transition: var(--transition);
    white-space: nowrap;
    cursor: default;
}
.trusted__item:hover {
    opacity: .8;
    color: var(--text-secondary);
}
.trusted__item i {
    font-size: 20px;
    color: var(--primary-light);
    opacity: .6;
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(124, 58, 237, .15);
    border: 1px solid rgba(124, 58, 237, .25);
    color: var(--primary-light);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 999;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__desc { margin: 0 auto 40px; }
    .hero__buttons { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__visual { display: none; }
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .trusted__inner { flex-direction: column; gap: 20px; text-align: center; }
    .trusted__logos { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .steps { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .step__connector { display: none; }
    .step { flex: 0 1 300px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(5,5,16,.97);
        backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav.open { opacity: 1; pointer-events: all; }
    .nav__link { font-size: 22px; padding: 14px 24px; }
    .nav__link::after { bottom: 8px; }
    .header__actions { display: none; }
    .burger { display: flex; }
    .features__grid { grid-template-columns: 1fr; }
    .hero__stats { flex-direction: column; gap: 24px; align-items: center; }
    .hero__stat::before { display: none; }
    .cta__inner { padding: 60px 24px; border-radius: 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer__col--brand { align-items: center; }
    .footer__socials { justify-content: center; }
    .trusted__logos { gap: 16px; }
    .trusted__item { font-size: 13px; }
    .trusted__item span { display: none; }
    .trusted__item i { font-size: 24px; }
    .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; border-radius: 12px; }
    .step { flex: 0 1 100%; }
}

/* Admin nav link */

/* === NAV SOON BADGE === */
.nav__link--soon {
    cursor: default;
    opacity: .45;
    pointer-events: none;
    position: relative;
}

.nav__soon-badge {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 1px 6px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    color: #fff;
    white-space: nowrap;
    line-height: 1.4;
    background-size: 200% 200%;
    animation: soonShimmer 2.5s ease-in-out infinite, soonFloat 2s ease-in-out infinite;
}

@keyframes soonShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes soonFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-2px); }
}
.nav__link--admin {
    color: #f59e0b !important;
}
.nav__link--admin:hover,
.nav__link--admin.active {
    color: #fbbf24 !important;
}
.nav__link--admin i { margin-right: 4px; }
