/* ===== Variables ===== */
:root {
    --primary: #0f1629;
    --primary-light: #1a2240;
    --accent: #ff6b35;
    --accent-hover: #ff531a;
    --accent-glow: rgba(255, 107, 53, 0.25);
    --gold: #f0b90b;

    --text: #e2e8f0;
    --text-dark: #1a202c;
    --text-muted: #94a3b8;
    --text-on-light: #334155;

    --bg-dark: #0b0f1e;
    --bg-section: #111827;
    --bg-card: #1a2240;
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: #e2e8f0;

    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 4px 24px rgba(255, 107, 53, 0.3);

    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* ===== Container ===== */
.o-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.o-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.o-btn--primary {
    background: var(--accent);
    color: #1a0a00;
    border-color: var(--accent);
}

.o-btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: var(--shadow-accent);
    transform: translateY(-2px);
}

.o-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.o-btn--outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Header ===== */
.c-header {
    background: var(--primary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
}

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

.c-header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.c-header__logo {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.c-header__logo span {
    color: var(--accent);
}

/* Burger */
.c-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.c-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* Navigation */
.c-header__nav {
    padding-bottom: 12px;
}

.c-header__list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.c-header__list a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all var(--transition);
}

.c-header__list a:hover,
.c-header__list a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.c-header__list a.is-active {
    color: var(--accent);
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 50%, var(--primary-light) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hero__feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.hero__feature strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.hero__feature span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section--alt {
    background: var(--bg-section);
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section__subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

/* ===== Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cards--three {
    grid-template-columns: repeat(3, 1fr);
}

.cards--two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card--highlight {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 107, 53, 0.08) 100%);
    position: relative;
}

.card--highlight::before {
    content: 'Best Offer';
    position: absolute;
    top: -11px;
    left: 24px;
    background: var(--accent);
    color: #fff;
    padding: 3px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card ul {
    margin-bottom: 16px;
}

.card ul li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.card__value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.card__link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: all var(--transition);
}

.card__link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* ===== Steps ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    padding: 32px 24px;
}

.step__number {
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.step p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ===== About ===== */
.about__content {
    max-width: 800px;
}

.about__content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== Quick Facts ===== */
.quick-facts {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 32px;
    margin-bottom: 40px;
}

.quick-facts__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-facts__header h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.quick-facts__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.quick-facts__stars {
    color: var(--gold);
    font-size: 20px;
    letter-spacing: 2px;
}

.quick-facts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 24px;
}

.quick-facts__item {
    background: var(--primary-light);
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quick-facts__label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-facts__value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.quick-facts__cta {
    text-align: center;
}

/* ===== Table of Contents ===== */
.toc-section {
    padding: 40px 0;
}

.toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 32px;
    max-width: 600px;
}

.toc__title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.toc__list {
    counter-reset: toc;
    padding-left: 0;
    list-style: none;
}

.toc__list li {
    counter-increment: toc;
    padding: 6px 0;
}

.toc__list li::before {
    content: counter(toc) ". ";
    color: var(--accent);
    font-weight: 600;
}

.toc__list a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

/* ===== Rating Box ===== */
.rating-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 600px;
}

.rating-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.rating-box__grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rating-box__item {
    display: grid;
    grid-template-columns: 140px 1fr 40px;
    align-items: center;
    gap: 16px;
}

.rating-box__label {
    font-size: 14px;
    color: var(--text-muted);
}

.rating-box__bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.rating-box__fill {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
}

.rating-box__score {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: right;
}

/* ===== Pros & Cons ===== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pros-cons__col {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}

.pros-cons__col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pros-cons__col--pro h3 {
    color: #34d399;
}

.pros-cons__col--con h3 {
    color: #f87171;
}

.pros-cons__col ul li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-muted);
}

.pros-cons__col--pro ul li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 700;
    font-size: 18px;
}

.pros-cons__col--con ul li::before {
    content: '\2212';
    position: absolute;
    left: 0;
    color: #f87171;
    font-weight: 700;
    font-size: 18px;
}

/* ===== Tables ===== */
.table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.info-table th {
    background: var(--primary-light);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.info-table td {
    padding: 12px 20px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.info-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.info-table tfoot td {
    background: rgba(255, 107, 53, 0.08);
    color: #fff;
    font-weight: 600;
    border-bottom: none;
}

/* ===== Providers ===== */
.providers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.provider {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}

.provider:hover {
    border-color: var(--accent);
    color: #fff;
}

/* ===== Footer updated ===== */
.footer__updated {
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

/* ===== FAQ ===== */
.faq {
    max-width: 800px;
}

.faq__item {
    border-bottom: 1px solid var(--border);
}

.faq__item summary {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition);
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq__item[open] summary::after {
    content: '\2212';
}

.faq__item p {
    padding: 0 0 20px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

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

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

/* ===== Footer ===== */
.footer {
    background: var(--primary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer__section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer__section ul li {
    margin-bottom: 8px;
}

.footer__section a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Cookie Notification ===== */
.cookie-notification {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: var(--primary-light);
    border-top: 1px solid var(--border);
    padding: 24px;
    z-index: 200;
    transition: bottom 0.4s ease;
}

.cookie-notification.open {
    bottom: 0;
}

.cookie-notification__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-notification__title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.cookie-notification p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-notification .o-btn {
    flex-shrink: 0;
    padding: 8px 20px;
    font-size: 13px;
}

/* ===== Scroll Top ===== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 50;
}

.scroll-top:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.scroll-top.visible {
    display: flex;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cards--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Header mobile */
    .c-burger {
        display: flex;
    }

    .c-header__nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--primary);
        padding: 80px 24px 32px;
        transition: left var(--transition);
        z-index: 105;
        border-right: 1px solid var(--border);
        overflow-y: auto;
    }

    .c-header__nav.is-active {
        left: 0;
    }

    .c-header__list {
        flex-direction: column;
        gap: 4px;
    }

    .c-header__list a {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }

    /* Hero mobile */
    .hero {
        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero__feature {
        padding: 16px;
    }

    .hero__feature strong {
        font-size: 22px;
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .o-btn {
        width: 100%;
    }

    /* Sections mobile */
    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 28px;
    }

    .section__subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    /* Quick facts mobile */
    .quick-facts__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-facts__header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Rating box mobile */
    .rating-box__item {
        grid-template-columns: 100px 1fr 36px;
        gap: 10px;
    }

    /* Pros cons mobile */
    .pros-cons {
        grid-template-columns: 1fr;
    }

    /* Cards mobile */
    .cards,
    .cards--two,
    .cards--three {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 24px;
    }

    /* Steps mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* FAQ mobile */
    .faq__item summary {
        font-size: 15px;
        padding: 16px 0;
    }

    /* Footer mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Cookie mobile */
    .cookie-notification__inner {
        flex-direction: column;
        text-align: center;
    }

    /* Scroll top mobile */
    .scroll-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .hero__features {
        grid-template-columns: 1fr 1fr;
    }

    .section h2 {
        font-size: 24px;
    }

    .card__value {
        font-size: 26px;
    }
}
