/* 2026 redesign overrides, loaded after style.css */

:root {
    --sp-purple: #7922EA;
    --sp-purple-soft: rgba(121, 34, 234, 0.08);
    --sp-pink: #EF82EB;
    --sp-ink: #14101F;
    --sp-muted: #5D5A66;
    --sp-border: #ECEAF2;
    --sp-bg: #FBFAFD;
    --sp-green: #02B675;
    --sp-shadow-lg: 0 24px 60px -24px rgba(38, 16, 74, 0.25);
}

body {
    -webkit-font-smoothing: antialiased;
    color: var(--sp-ink);
}

.headline,
.headline-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.headline {
    font-size: clamp(2rem, 3.4vw, 2.6rem);
}

.works {
    padding-top: 104px;
}

.cashback {
    padding-top: 56px;
}

.reviews {
    padding-top: 80px;
}

/* Buttons */

.btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8A3BFF 0%, #7922EA 55%, #6A14D9 100%);
    border: none;
    padding: 10px 24px;
    box-shadow: 0 10px 22px -10px rgba(121, 34, 234, 0.6);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #9553FF 0%, #8430F5 55%, #7420E3 100%);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgba(121, 34, 234, 0.7);
}

.btn-outline-primary {
    border: 1.5px solid var(--sp-border);
    color: var(--sp-ink);
    background-color: #fff;
    padding: 10px 24px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    border-color: var(--sp-purple);
    color: var(--sp-purple);
    background-color: var(--sp-purple-soft);
}

.btn-xl {
    padding: 15px 32px;
    font-size: 1.05rem;
}

.btn-pink {
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.35);
}

.btn-pink:hover {
    transform: translateY(-1px);
}

/* Navbar */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(20, 16, 31, 0.06);
    padding: 18px 24px;
}

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

.navbar-nav {
    gap: 10px;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--sp-muted);
    border-radius: 999px;
    padding: 9px 18px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.navbar .nav-link:hover {
    color: var(--sp-ink);
    background-color: var(--sp-purple-soft);
}

.navbar .nav-link.active {
    color: var(--sp-purple);
    background-color: var(--sp-purple-soft);
}

.navbar .d-flex.gap-2 {
    margin-left: 26px;
}

.navbar .d-flex.gap-2 .btn {
    padding: 9px 22px;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 12px 8px;
    }

    .navbar .d-flex.gap-2 {
        margin: 10px 0 4px 16px;
    }
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--sp-bg);
    padding: 84px 0 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.hero-glow-1 {
    width: 620px;
    height: 620px;
    background: rgba(121, 34, 234, 0.11);
    top: -220px;
    right: -100px;
}

.hero-glow-2 {
    width: 460px;
    height: 460px;
    background: rgba(239, 130, 235, 0.13);
    bottom: -200px;
    left: -140px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(20, 16, 31, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 35% 25%, black 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 70% 60% at 35% 25%, black 0%, transparent 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--sp-muted);
    box-shadow: 0 6px 16px -8px rgba(38, 16, 74, 0.18);
}

.hero-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sp-green);
    box-shadow: 0 0 0 4px rgba(2, 182, 117, 0.15);
}

.hero-title {
    font-size: clamp(2.7rem, 5.2vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    color: var(--sp-ink);
    margin: 26px 0 0;
}

.hero-title .grad {
    background: linear-gradient(90deg, #7922EA 0%, #A957F0 55%, #EF82EB 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-sub {
    font-size: 1.19rem;
    line-height: 1.6;
    color: var(--sp-muted);
    font-weight: 500;
    max-width: 33rem;
    margin: 22px 0 34px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 40px;
    color: var(--sp-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-trust strong {
    color: var(--sp-ink);
    font-weight: 800;
}

.hero-in {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.hero-in-1 { animation-delay: 0.05s; }
.hero-in-2 { animation-delay: 0.15s; }
.hero-in-3 { animation-delay: 0.25s; }
.hero-in-4 { animation-delay: 0.35s; }
.hero-in-5 { animation-delay: 0.45s; }

@keyframes hero-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    height: 500px;
}

.hv-float {
    animation: hv-float 6.5s ease-in-out infinite;
}

@keyframes hv-float {
    0%, 100% { transform: translateY(-7px); }
    50% { transform: translateY(9px); }
}

.hv-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    box-shadow: var(--sp-shadow-lg);
}

.hv-balance {
    width: 320px;
    padding: 26px;
    left: calc(50% - 160px);
    top: 96px;
    z-index: 2;
}

.hv-balance .hv-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--sp-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hv-balance .hv-amount {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sp-ink);
    margin: 4px 0 2px;
}

.hv-balance .hv-amount small {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sp-green);
    margin-left: 8px;
}

.hv-balance svg {
    display: block;
    width: 100%;
    height: 64px;
    margin-top: 12px;
}

.hv-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sp-ink);
    box-shadow: 0 14px 32px -16px rgba(38, 16, 74, 0.3);
    white-space: nowrap;
}

.hv-chip img {
    width: 20px;
    height: 20px;
}

.hv-chip .pct {
    color: var(--sp-green);
    font-weight: 800;
}

.hv-chip-1 { top: 22px; left: 4%; animation-delay: 0.6s; z-index: 3; }
.hv-chip-2 { top: 252px; right: 1%; animation-delay: 1.4s; z-index: 3; }
.hv-chip-3 { bottom: 96px; left: 0; animation-delay: 2.1s; z-index: 3; }

.hv-toast {
    position: absolute;
    right: 6%;
    bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8A3BFF, #6A14D9);
    color: #fff;
    border-radius: 16px;
    padding: 14px 20px;
    font-weight: 700;
    box-shadow: 0 18px 40px -14px rgba(121, 34, 234, 0.55);
    animation-delay: 2.8s;
    z-index: 3;
}

.hv-toast .hv-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.9rem;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 56px 0 72px;
    }

    .hero-visual {
        height: 420px;
        margin-top: 56px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .hv-balance {
        top: 70px;
    }
}

@media (max-width: 575.98px) {
    .hv-balance {
        width: 280px;
        left: calc(50% - 140px);
    }

    .hv-chip-2 { right: -8px; }
    .hv-chip-3 { bottom: 70px; }
    .hv-toast { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hv-float,
    .hero-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Sections */

.works-info {
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    background: #fff;
    min-height: 0;
    height: calc(100% - 20px);
    padding: 36px 28px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.works-info:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 34, 234, 0.28);
    box-shadow: 0 22px 44px -26px rgba(38, 16, 74, 0.3);
}

.works-info > img {
    display: block;
    margin: 0 auto 18px;
}

.works-step {
    display: inline-block;
    background: var(--sp-purple-soft);
    color: var(--sp-purple);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.works-info h4 {
    font-weight: 800;
    letter-spacing: -0.01em;
}

.works-info p {
    font-size: 1.05rem;
    margin-bottom: 0;
}

.cta-stats {
    background: linear-gradient(135deg, #FFD84D 0%, #FEC803 100%);
    border-radius: 24px;
    padding: 36px;
}

.cta-stats h6 {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.works-block {
    border-radius: 16px;
    box-shadow: 0 10px 24px -18px rgba(38, 16, 74, 0.35);
    padding: 20px 24px;
    height: calc(100% - 20px);
}

.works-block h4 {
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.cta-bg {
    border-radius: 20px;
    background-image: url(../assets/img/cta-bg.png), linear-gradient(115deg, #8434FA 0%, #6E17DD 60%, #5B12BE 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right, center;
    background-size: auto, cover;
    box-shadow: 0 24px 50px -28px rgba(91, 18, 190, 0.65);
}

.cta-bg.radius-none {
    border-radius: 0;
    box-shadow: none;
}

.swiper-cash .swiper-slide-cash {
    border: 1px solid var(--sp-border);
    border-radius: 20px;
    box-shadow: 0 10px 26px -20px rgba(38, 16, 74, 0.25);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.swiper-cash .swiper-slide-cash:hover {
    transform: translateY(-4px);
    border-color: rgba(121, 34, 234, 0.35);
    box-shadow: 0 20px 40px -24px rgba(38, 16, 74, 0.35);
}

.swiper-btn-group .btn-circle {
    width: 52px;
    height: 52px;
    border: 1px solid var(--sp-border);
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.reviews {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(121, 34, 234, 0.28), transparent 65%),
        radial-gradient(700px 380px at 0% 110%, rgba(239, 130, 235, 0.12), transparent 60%),
        #0B0413;
}

.swiper .swiper-slide-reviews {
    border-radius: 20px;
}

.stars .iconify {
    color: #FFB800;
}

/* FAQ */

.faq .accordion-item {
    border: 1px solid var(--sp-border);
    border-radius: 18px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq .accordion-button {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--sp-ink);
    padding: 24px 30px;
    background: #fff;
}

.faq .accordion-button:not(.collapsed) {
    background: var(--sp-purple-soft);
    color: var(--sp-purple);
    box-shadow: none;
}

.faq .accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(121, 34, 234, 0.12);
}

.faq .accordion-body {
    color: var(--sp-muted);
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.75;
    padding: 20px 30px 32px;
}

/* Footer */

.footer-page .flag-link {
    transition: color 0.18s ease;
}

.footer-page .flag-link:hover {
    color: var(--sp-pink);
}

.footer-bottom .text-white {
    color: rgba(255, 255, 255, 0.55) !important;
}

.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 28px;
    padding: 22px 0 6px;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.85rem;
    line-height: 1.65;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Modals and forms */

.modal-backdrop {
    background-color: #14101F;
}

.modal-backdrop.show {
    opacity: 0.55;
}

.auth-dialog {
    max-width: 430px;
}

.modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 40px 100px -30px rgba(20, 16, 31, 0.45);
}

.auth-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    padding: 10px;
    border-radius: 50%;
}

.auth-close:hover {
    background-color: var(--sp-purple-soft);
}

.modal-body {
    padding: 36px 36px 28px;
}

.auth-title {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.55rem;
    margin-bottom: 4px;
}

.auth-sub {
    color: var(--sp-muted);
    font-weight: 500;
    margin-bottom: 24px;
}

.auth-switch {
    text-align: center;
    color: var(--sp-muted);
    font-weight: 500;
    margin: 20px 0 0;
}

.btn-auth-link {
    border: none;
    background: none;
    color: var(--sp-purple);
    font-weight: 700;
    padding: 0 2px;
}

.btn-auth-link:hover {
    text-decoration: underline;
}

.form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--sp-ink);
    margin-bottom: 6px;
}

.form-control {
    border: 1.5px solid var(--sp-border);
    border-radius: 13px;
    padding: 12px 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control::placeholder {
    color: #B4B0BE;
}

.form-control:focus {
    border-color: var(--sp-purple);
    box-shadow: 0 0 0 4px rgba(121, 34, 234, 0.12);
}

.modal-body .btn[type="submit"] {
    padding-top: 13px;
    padding-bottom: 13px;
    border-radius: 13px;
    margin-top: 8px;
}
