*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --accent: #fdcb6e;
    --accent-dark: #f0b429;
    --bg-dark: #0a0a1a;
    --bg-card: #12122a;
    --bg-card-hover: #1a1a3e;
    --bg-section: #0e0e22;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0c0;
    --text-muted: #6a6a8e;
    --border: #2a2a4a;
    --success: #00b894;
    --danger: #e17055;
    --gradient-hero: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #2d1b69 100%);
    --gradient-accent: linear-gradient(135deg, #6c5ce7, #a29bfe);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 40px rgba(108, 92, 231, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.logo:hover {
    color: var(--text-primary);
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-img {
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(108, 92, 231, 0.12);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== CTA BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 20px rgba(253, 203, 110, 0.3);
    letter-spacing: 0.02em;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(253, 203, 110, 0.45);
    color: #0a0a1a;
    filter: brightness(1.08);
}

.btn:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.15rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(108, 92, 231, 0.45);
    color: #fff;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%) !important;
    color: #1a1a2e !important;
    padding: 8px 20px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    transition: all var(--transition) !important;
    box-shadow: 0 2px 12px rgba(253, 203, 110, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(253, 203, 110, 0.4);
    background: var(--accent) !important;
    color: #0a0a1a !important;
}

.btn-header-mobile {
    display: none;
}

.cta-block {
    margin-top: 28px;
    text-align: center;
}

.cta-final {
    margin-top: 36px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-final .cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* ===== BANNER SLIDER ===== */
.banner-slider {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.banner-track {
    position: relative;
    width: 100%;
}

.banner-slide {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    position: relative;
    opacity: 1;
}

.banner-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.banner-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15);
}

.banner-dot:hover {
    border-color: var(--accent);
}

/* ===== HERO ===== */
.hero {
    padding: 64px 0 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 203, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hero-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all var(--transition);
}

.stat:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin: 48px 0;
}

.toc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.toc-list {
    padding-left: 20px;
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.toc-list a:hover {
    color: var(--accent);
    padding-left: 4px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    padding: 0 0 80px;
}

.content-section {
    margin-bottom: 56px;
    padding-top: 24px;
}

.content-section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.content-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: 32px;
    margin-bottom: 14px;
}

.content-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-section li strong {
    color: var(--text-primary);
}

/* ===== TABLE ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

caption {
    padding: 16px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left;
    background: var(--bg-card);
}

thead {
    background: var(--bg-card);
}

th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(42, 42, 74, 0.5);
}

tbody tr:hover {
    background: var(--bg-card-hover);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* ===== PROS & CONS ===== */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0;
}

.pros-card,
.cons-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.pros-card {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.06) 0%, var(--bg-card) 100%);
    border-color: rgba(0, 184, 148, 0.2);
}

.cons-card {
    background: linear-gradient(135deg, rgba(225, 112, 85, 0.06) 0%, var(--bg-card) 100%);
    border-color: rgba(225, 112, 85, 0.2);
}

.pros-card h3 {
    color: var(--success);
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.cons-card h3 {
    color: var(--danger);
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.pros-card ul,
.cons-card ul {
    list-style: none;
    padding-left: 0;
}

.pros-card li::before {
    content: '✓ ';
    color: var(--success);
    font-weight: 700;
}

.cons-card li::before {
    content: '✗ ';
    color: var(--danger);
    font-weight: 700;
}

.conclusion {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border-left: 3px solid var(--accent);
    font-style: italic;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    padding: 56px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-img {
    max-height: 48px;
    width: auto;
    height: auto;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-disclaimer {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 360px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 4px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .btn-header-mobile {
        display: inline-block;
    }

    .hero {
        padding: 48px 0 48px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .content-section h3 {
        font-size: 1.1rem;
    }

    .toc {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
    }

    .cta-block .btn {
        width: 100%;
    }

    .cta-final {
        padding: 28px 20px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat {
        padding: 18px 12px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    table {
        font-size: 0.8rem;
    }

    th, td {
        padding: 8px 10px;
    }
}
