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

/* CSS Variables */
:root {
    --dark-bg: #0a0e1a;
    --card-bg: #151b2e;
    --accent-green: #00d9a3;
    --accent-blue: #4a9eff;
    --text-primary: #e8edf5;
    --text-muted: #8b95ab;
    --border-subtle: #1f2937;
    --shadow-glow: 0 8px 32px rgba(0, 217, 163, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--text-primary);
}

.main-nav a:hover::after,
.main-nav a.current::after {
    width: 100%;
}

/* Hero Banner */
.hero-banner {
    padding: 12rem 2rem 6rem;
    background: linear-gradient(135deg, #0a0e1a 0%, #151b2e 100%);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 217, 163, 0.1), transparent);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 800px;
}

.badge-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1.25rem;
    background: rgba(0, 217, 163, 0.1);
    border: 1px solid rgba(0, 217, 163, 0.3);
    border-radius: 20px;
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Main Wrapper */
.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Article Container */
.article-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 4rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-subtle);
}

.section-block {
    margin-bottom: 4rem;
}

.section-block:last-child {
    margin-bottom: 0;
}

.section-heading {
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), transparent);
}

.text-block {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* List Styles */
.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Info Blocks */
.highlight-block {
    background: rgba(0, 217, 163, 0.05);
    border-left: 4px solid var(--accent-green);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.warning-block {
    background: rgba(255, 165, 0, 0.05);
    border-left: 4px solid #ffa500;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.highlight-block h3,
.warning-block h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Steps */
.step-list {
    counter-reset: step;
    list-style: none;
}

.step-item {
    counter-increment: step;
    margin-bottom: 3rem;
    padding-left: 5rem;
    position: relative;
}

.step-item::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
}

.step-title {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-muted);
}

/* Comparison Table */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.compare-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
}

.compare-box.positive {
    border-color: var(--accent-green);
    background: rgba(0, 217, 163, 0.03);
}

.compare-box.negative {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.03);
}

.compare-label {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.compare-box.positive .compare-label {
    color: var(--accent-green);
}

.compare-box.negative .compare-label {
    color: #ff6b6b;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 217, 163, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
}

.btn-outline:hover {
    background: var(--accent-green);
    color: #0a0e1a;
}

/* CTA Section */
.cta-block {
    background: linear-gradient(135deg, rgba(0, 217, 163, 0.1), rgba(74, 158, 255, 0.1));
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    margin-top: 4rem;
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-text {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 3rem 2rem;
    margin-top: 6rem;
    text-align: center;
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-banner {
        padding: 8rem 1.5rem 4rem;
    }

    .article-container {
        padding: 2rem;
    }

    .feature-grid,
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .step-item {
        padding-left: 4rem;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}
