/* ═══════════════════════════════════════════════════════
   1. CSS VARIABLES — Soft UI / Светлая тема
   ═══════════════════════════════════════════════════════ */
:root {
    /* Theme Colors — Soft UI */
    --soft-bg: #e0e5ec;
    --soft-surface: #e0e5ec;
    --soft-raised: #f0f5fc;
    --soft-inset: #d1d9e6;
    --soft-accent: #4a6cf7;
    --soft-accent-dark: #3b5de7;
    --soft-accent-light: #6b8cff;
    --soft-success: #27ae60;
    --soft-warning: #f39c12;
    --soft-danger: #e74c3c;

    /* Backgrounds */
    --bg-body: #e0e5ec;
    --bg-card: #e0e5ec;
    --bg-header: rgba(224, 229, 236, 0.92);
    --bg-footer: #d1d9e6;

    /* Text */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #95a5a6;
    --text-on-accent: #ffffff;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Neumorphic / Soft UI Shadows */
    --shadow-raised: 6px 6px 12px #b8bec7, -6px -6px 12px #ffffff;
    --shadow-raised-sm: 3px 3px 6px #b8bec7, -3px -3px 6px #ffffff;
    --shadow-inset: inset 4px 4px 8px #b8bec7, inset -4px -4px 8px #ffffff;
    --shadow-raised-hover: 8px 8px 16px #b8bec7, -8px -8px 16px #ffffff;
    --shadow-sm: 2px 2px 5px #b8bec7, -2px -2px 5px #ffffff;
    --shadow-md: 6px 6px 12px #b8bec7, -6px -6px 12px #ffffff;
    --shadow-lg: 10px 10px 20px #b8bec7, -10px -10px 20px #ffffff;

    /* Header */
    --header-height: 70px;

    /* Fonts — Lexend + Red Hat Display */
    --font-heading: 'Red Hat Display', sans-serif;
    --font-body: 'Lexend', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

/* ═══════════════════════════════════════════════════════
   3. TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════
   4. CONTAINER
   ═══════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ═══════════════════════════════════════════════════════
   5. HEADER
   ═══════════════════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--soft-accent);
    letter-spacing: -0.5px;
}

.logo:hover {
    color: var(--soft-accent-dark);
}

/* ═══════════════════════════════════════════════════════
   6. NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav-desktop {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--soft-accent);
}

.nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--soft-accent);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   7. BURGER MENU
   ═══════════════════════════════════════════════════════ */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .burger-menu {
        display: flex;
    }
}

.burger-menu.is-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.is-open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.is-open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════
   8. MOBILE NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav-mobile {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-card);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    z-index: 999;
    transition: right var(--transition-normal);
    overflow-y: auto;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
}

.nav-mobile.is-open {
    right: 0;
}

.nav-mobile__link {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-mobile__link:hover {
    background: var(--soft-raised);
    color: var(--soft-accent);
    box-shadow: var(--shadow-raised-sm);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: var(--transition-normal);
}

.nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════════════
   9. MAIN CONTENT
   ═══════════════════════════════════════════════════════ */
.main {
    padding-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* ═══════════════════════════════════════════════════════
   10. HERO SECTION
   ═══════════════════════════════════════════════════════ */
.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: linear-gradient(135deg, #e0e5ec 0%, #d1d9e6 50%, #e0e5ec 100%);
    color: white;
}

.hero__title {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.hero__title span {
    color: var(--soft-accent);
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════
   11. SECTIONS
   ═══════════════════════════════════════════════════════ */
.section {
    padding: var(--space-3xl) 0;
}

.section__title {
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

.section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: -12px auto var(--space-xl);
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════
   12. BUTTONS — Soft UI
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn--primary {
    background: var(--soft-accent);
    color: var(--text-on-accent);
    box-shadow: 4px 4px 8px #b8bec7, -4px -4px 8px #ffffff;
}

.btn--primary:hover {
    background: var(--soft-accent-dark);
    box-shadow: 6px 6px 12px #b8bec7, -6px -6px 12px #ffffff;
    transform: translateY(-2px);
}

.btn--primary:active {
    box-shadow: var(--shadow-inset);
    transform: translateY(0);
}

.btn--secondary {
    background: var(--bg-card);
    color: var(--soft-accent);
    box-shadow: 4px 4px 8px #b8bec7, -4px -4px 8px #ffffff;
}

.btn--secondary:hover {
    color: var(--soft-accent-dark);
    box-shadow: 6px 6px 12px #b8bec7, -6px -6px 12px #ffffff;
    transform: translateY(-2px);
}

.btn--secondary:active {
    box-shadow: var(--shadow-inset);
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   13. CARDS — Soft UI
   ═══════════════════════════════════════════════════════ */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-raised);
    transition: var(--transition-normal);
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-raised-hover);
    transform: translateY(-3px);
}

.card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

.card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.15rem;
}

.card p {
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   14. OFFER CARDS — Soft UI
   ═══════════════════════════════════════════════════════ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    box-shadow: var(--shadow-raised);
    transition: var(--transition-normal);
    position: relative;
}

.offer-card:hover {
    box-shadow: var(--shadow-raised-hover);
    transform: translateY(-3px);
}

.offer-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.offer-card__logo-wrap {
    width: 90px;
    height: 65px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm);
    flex-shrink: 0;
}

.offer-card__logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
}

.offer-card__info h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.offer-card__rating {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.offer-card__bonus {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--soft-accent);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    text-align: center;
}

.offer-card__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.offer-card__feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.offer-card__feature::before {
    content: '✓';
    color: var(--soft-success);
    font-weight: 700;
}

.offer-card__buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: auto;
    flex-wrap: wrap;
}

.offer-card__buttons .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   15. FAQ SECTION — Soft UI
   ═══════════════════════════════════════════════════════ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
}

.faq__question:hover {
    color: var(--soft-accent);
}

.faq__question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition-normal);
    color: var(--soft-accent);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq__item.is-open .faq__question {
    color: var(--soft-accent);
}

.faq__item.is-open .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: var(--bg-card);
}

.faq__item.is-open .faq__answer {
    max-height: 500px;
}

.faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq__answer a {
    color: var(--soft-accent);
    text-decoration: underline;
}

.faq__answer a:hover {
    color: var(--soft-accent-dark);
}

/* ═══════════════════════════════════════════════════════
   16. FOOTER — Soft UI
   ═══════════════════════════════════════════════════════ */
.footer {
    background: var(--bg-footer);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer__section h4 {
    margin-bottom: var(--space-md);
    color: var(--soft-accent);
    font-family: var(--font-heading);
}

.footer__section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer__section ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer__section a:hover {
    color: var(--soft-accent);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid #c8cfd8;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer__bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Compliance Logos */
.footer__compliance {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md) var(--space-lg);
    margin-top: var(--space-lg);
    align-items: center;
    justify-items: start;
    max-width: 320px;
}

@media (max-width: 768px) {
    .footer__compliance {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        max-width: 100%;
    }
}

.footer__compliance-logo {
    height: 50px;
    width: auto;
    max-width: 90px;
    opacity: 0.85;
    transition: var(--transition-fast);
    object-fit: contain;
}

.footer__compliance-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer__compliance-logo--light-bg {
    background-color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════
   17. DISCLAIMER
   ═══════════════════════════════════════════════════════ */
.disclaimer {
    background: #cdd4de;
    padding: var(--space-md) 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.disclaimer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.disclaimer strong {
    color: var(--soft-danger);
}

/* ═══════════════════════════════════════════════════════
   18. MODALS — Soft UI
   ═══════════════════════════════════════════════════════ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    backdrop-filter: blur(4px);
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal__content h2 {
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.modal__content p {
    margin-bottom: var(--space-md);
}

.modal__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════
   19. COOKIE BANNER — Soft UI
   ═══════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--soft-raised);
    padding: var(--space-lg) 0;
    z-index: 1500;
    transform: translateY(100%);
    transition: var(--transition-normal);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cookie-banner p {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cookie-banner a {
    color: var(--soft-accent);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   20. ARTICLE CARDS — Soft UI
   ═══════════════════════════════════════════════════════ */
.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-raised);
    position: relative;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-raised-hover);
}

.article-card__content {
    padding: var(--space-xl);
}

.article-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--soft-accent);
    margin-bottom: var(--space-sm);
    display: inline-block;
    font-weight: 600;
}

.article-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.article-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════
   21. STARS
   ═══════════════════════════════════════════════════════ */
.stars {
    color: #ffc107;
}

/* ═══════════════════════════════════════════════════════
   22. UTILITY CLASSES
   ═══════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ═══════════════════════════════════════════════════════
   23. SCROLLBAR
   ═══════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--soft-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--soft-accent-dark);
}

/* ═══════════════════════════════════════════════════════
   24. RESPONSIVE UTILITIES
   ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero {
        padding: var(--space-2xl) 0;
    }

    .section {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(1.6rem, 5vw, 2.5rem);
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    .offer-card__header {
        flex-direction: column;
        text-align: center;
    }

    .offer-card__buttons {
        flex-direction: column;
    }

    .offer-card__buttons .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .modal__buttons {
        flex-direction: column;
    }
}