:root {
    --background: #0c0c1d;
    --foreground: #eceff4;
    --card: #1e1e3f;
    --card-foreground: #eceff4;
    --muted: #151530;
    --muted-foreground: #8b90b7;
    --primary: #ff00c8;
    --primary-foreground: #ffffff;
    --secondary: #00ffcc;
    --secondary-foreground: #0c0c1d;
    --accent: #9000ff;
    --border: #2e2e5e;
    --input: #2e2e5e;
    --nav-height: 84px;
    --gradient-primary: linear-gradient(135deg, #ff00c8 0%, #00ffcc 100%);
    --gradient-secondary: linear-gradient(135deg, #9000ff 0%, #00e5ff 100%);
    --gradient-footer: linear-gradient(345deg, #730cc3 0%, #00ffc9 100%);
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    --dark-color: var(--foreground);
    --light-color: var(--muted);
    --radius-lg: 24px;
    --shadow-soft: 0 30px 80px rgba(0, 0, 0, 0.35);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background: var(--background);
    overflow-x: hidden;
}

a {
    color: var(--primary);
}

.how-it-works .row {
    justify-content: center;
}

.navbar {
    position: sticky;
    top: 0;
    background: rgba(12, 12, 29, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(12, 12, 29, 0.9);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.navbar-brand img {
    height: 42px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(236, 239, 244, 0.9) !important;
    margin: 0 10px;
    padding: 8px 18px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 0, 200, 0.18);
    color: var(--primary-foreground) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse {
    margin-top: 10px;
}

.main-content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    background: var(--background);
}

.section {
    padding: 90px 0;
    background: var(--background);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title span {
    color: var(--primary);
}

/* CTA section */
.section-cta {
    padding: 70px 0 50px;
    background: radial-gradient(circle at top, rgba(255, 0, 200, 0.12), transparent 60%);
}

.cta-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(30, 30, 63, 0.95), rgba(12, 12, 29, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.cta-shell h2 {
    font-size: 2.3rem;
    margin-bottom: 2rem;
}

.cta-tags {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.cta-tags li {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 0.85rem 1rem;
    font-weight: 600;
}

.cta-note {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(236, 239, 244, 0.85);
}

.cta-pricing {
    margin: 0 auto;
    /* margin-top: -20px; */
    padding: 3rem 0 0 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.578);
}

/* How it works */
.how-it-works {
    background: linear-gradient(180deg, rgba(30, 30, 63, 0.9), rgba(12, 12, 29, 1));
}

.step-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(255, 0, 200, 0.4);
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: rgb(255 255 255);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgb(0 165 255 / 25%);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.step-description {
    color: var(--muted-foreground);
}

/* Advantages */
.advantages {
    background: var(--background);
}

.advantage-card {
    background: radial-gradient(circle at top, rgba(255, 0, 200, 0.08), rgba(18, 18, 45, 1));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.07);
    height: 100%;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-6px);
}

.advantage-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.advantage-icon img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s ease;
}


.advantage-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Pricing */
.pricing {
    background: linear-gradient(180deg, rgba(12, 12, 29, 1), rgba(18, 18, 45, 1));
}

.pricing-card {
    background: var(--card);
    border-radius: 28px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.pricing-card.popular {
    border-color: rgba(255, 0, 200, 0.5);
    transform: scale(1.05);
}

.pricing-card.popular::before {
    content: 'Популярный';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 22px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.4);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.pricing-price {
    font-size: 2.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.pricing-period {
    color: var(--muted-foreground);
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
    font-weight: 800;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.045rem 0;
    color: rgba(236, 239, 244, 0.8);
}

.pricing-features li i {
    color: var(--secondary);
    margin-right: 10px;
}

/* FAQ */
.faq {
    background: radial-gradient(circle at top, rgba(0, 229, 255, 0.08), rgba(12, 12, 29, 1));
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 18px !important;
    overflow: hidden;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

.accordion-header button {
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--foreground);
    padding: 1.5rem;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.accordion-header button:not(.collapsed) {
    background: rgba(255, 0, 200, 0.08);
    color: var(--primary);
}

.accordion-body {
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.2);
}

.accordion-button::after {
    content: '';
    width: 14px;
    height: 14px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
    margin-left: auto;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(45deg);
}

/* Contacts */
.contacts {
    background: var(--gradient-footer);
    color: white;
}

.contacts .section-title {
    color: white;
    -webkit-text-fill-color: white;
}

.contact-text {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 20px 40px rgba(255, 0, 200, 0.25);
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 229, 255, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    padding: 14px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--secondary-foreground);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .cta-shell {
        padding: 2.5rem;
    }

    .cta-tags {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }

    .section {
        padding: 70px 0;
    }

    .pricing-card.popular {
        transform: none;
        margin-bottom: 2rem;
    }

    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .cta-tags {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.9rem;
    }

    .cta-shell {
        padding: 2rem;
    }

    .step-card,
    .advantage-card,
    .pricing-card {
        margin-bottom: 0.2rem;
    }

    .cta-tags {
        grid-template-columns: minmax(160px, 1fr);
    }

}