*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f5f0eb;
    --bg-secondary: #eae4dd;
    --bg-card: #ffffff;
    --bg-dark: #1a1a2e;
    --bg-accent: #16213e;
    --text-primary: #2d2d3a;
    --text-secondary: #5a5a6e;
    --text-light: #8a8a9a;
    --accent: #c06014;
    --accent-hover: #a34f0f;
    --accent-light: #f4e8df;
    --border: #d8d0c8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', sans-serif;
    --font-ui: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1200px;
    --header-height: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(245, 240, 235, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.burger-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

.hero {
    position: relative;
    padding: 80px 24px 60px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-accent) 100%);
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192,96,20,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background: rgba(192,96,20,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.hero-stat {
    text-align: left;
}

.hero-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.4;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 10px;
}

.card-link::after {
    content: '\2192';
}

.intro-section {
    background: var(--bg-secondary);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.intro-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.intro-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--accent);
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article-hero {
    position: relative;
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-accent) 100%);
    color: #fff;
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero .breadcrumb {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.article-hero .breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.article-hero .breadcrumb a:hover {
    color: #fff;
}

.article-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.article-hero .article-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-content p {
    font-size: 1.02rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px 24px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
    font-size: 1rem;
}

.article-content img {
    border-radius: var(--radius-md);
    margin: 32px 0;
    box-shadow: var(--shadow-md);
}

.article-content .image-caption {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: -24px;
    margin-bottom: 32px;
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--accent-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.article-nav a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.article-nav a:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg-dark);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 14px 20px;
    text-align: left;
}

.comparison-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--bg-secondary);
}

.page-hero {
    padding: 60px 24px 40px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-accent) 100%);
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.page-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.page-content ul {
    margin: 12px 0 20px 24px;
    color: var(--text-secondary);
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    margin: 32px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info strong {
    color: var(--text-primary);
}

.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.footer-col p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: #fff;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.cookie-text h3 {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.cookie-text a {
    color: var(--accent);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-accept:hover {
    background: var(--accent-hover);
}

.cookie-reject {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.2);
}

.cookie-reject:hover {
    background: rgba(255,255,255,0.15);
}

.specs-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.specs-box h4 {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.specs-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.specs-box li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.specs-box li:last-child {
    border-bottom: none;
}

.specs-box .spec-label {
    color: var(--text-light);
}

.specs-box .spec-value {
    color: var(--text-primary);
    font-weight: 500;
}

.rating-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-light);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.rating-score {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

.rating-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 968px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 1050;
        padding: 80px 24px 24px;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid var(--border);
    }

    .main-nav a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.visible {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 60px 24px 48px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        gap: 16px;
    }

    .cookie-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}