:root {
    --main-background: #05070a;
    --secondary-background: #0d1117;
    --primary-text: #ffffff;
    --secondary-text: #94a3b8;
    --accent-gradient: linear-gradient(135deg, #ff007a 0%, #8000ff 100%);
    --glass-background: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 12px;
    --input-background: rgba(255, 255, 255, 0.05);
    --input-border: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--main-background);
    color: var(--primary-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

button:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

input,
textarea,
select {
    font-family: inherit;
    color: inherit;
}

@media (max-width: 768px) {
    h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    h3 {
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }

    p,
    a,
    span,
    li {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.glass-effect {
    background: var(--glass-background);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
}

/* ===== footer_section ===== */
#footer {
    width: 100%;
}

/* ===== mechanics_section ===== */
.js-mechanics-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 122, 0.3);
}

/* ===== advantages_section ===== */
.js-advantage-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== process_section ===== */
.process-card {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 122, 0.3);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.js-process-scroll {
    cursor: grab;
}

.js-process-scroll:active {
    cursor: grabbing;
}

/* ===== privacy_section ===== */
#privacy {
    width: 100%;
    position: relative;
}

.js-privacy-animate {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== dirty_crypto_section ===== */
.js-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.js-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
}

.hero-glow {
    filter: drop-shadow(0 0 20px rgba(255, 0, 122, 0.5));
}

.glass-card {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

/* ===== scenarios_section ===== */
.glass-card {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
}

/* ===== faq_section ===== */
.js-faq-content:not(.hidden) {
    animation: faqFadeIn 0.4s ease-out;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== audience_section ===== */
#audience {
    scroll-margin-top: 80px;
}

.js-audience-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.js-audience-card:hover {
    transform: translateY(-8px);
    border-color: #ffffff;
}

/* ===== risks_section ===== */
#risks {
    width: 100%;
}

.risks-container {
    width: 100%;
}

.accent-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.risk-card {
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ===== contact_section ===== */
#contact .contact-form-container {
    background: var(--accent-gradient);
    width: 100%;
}

#contact .js-contact-form {
    width: 100%;
}

#contact input::placeholder,
#contact textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== header_section ===== */
#header {
    width: 100%;
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}