:root {
    --primary: #0a1628;
    --primary-light: #132040;
    --accent: #1565c0;
    --accent-light: #42a5f5;
    --accent-glow: rgba(21,101,192,0.25);
    --gold: #ffc107;
    --gold-light: #ffd54f;
    --green: #2e7d32;
    --bg: #0b1929;
    --bg-card: #0f2137;
    --text: #e0e8f0;
    --text-secondary: #8fa8c8;
    --border: #1a3555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7; color: var(--text); background: var(--bg);
    padding-top: 60px; padding-bottom: 70px;
}

.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 10000;
    background: linear-gradient(135deg, #061222, #0d2040);
    padding: 0 20px; height: 56px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 15px rgba(21,101,192,0.2);
    border-bottom: 1px solid var(--accent);
}
.site-logo { color: #fff; font-size: 1.3em; font-weight: 800; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.site-logo span { color: var(--accent-light); }
.header-cta { background: var(--accent); color: #fff; padding: 8px 20px; border-radius: 6px; font-weight: 700; font-size: 0.85em; cursor: pointer; border: none; transition: background 0.2s; }
.header-cta:hover { background: var(--accent-light); }

.nav-links { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.8em; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-light); }
.lang-switch { background: rgba(21,101,192,0.2); border: 1px solid var(--accent); color: var(--accent-light); padding: 3px 10px; border-radius: 4px; font-size: 0.75em; font-weight: 700; text-decoration: none; }

.container { max-width: 900px; margin: 0 auto; padding: 30px 20px; }

h1 { font-size: 2em; color: #fff; margin-bottom: 0.5em; line-height: 1.3; }
.subtitle { color: var(--text-secondary); font-size: 1.1em; margin-bottom: 1.5em; padding-bottom: 1.5em; border-bottom: 1px solid var(--border); }
.update-badge { display: inline-block; background: rgba(21,101,192,0.15); color: var(--accent-light); padding: 4px 12px; border-radius: 20px; font-size: 0.8em; font-weight: 700; margin-bottom: 15px; border: 1px solid rgba(21,101,192,0.3); }

h2 { color: #fff; font-size: 1.5em; margin-top: 2.5em; margin-bottom: 0.8em; padding-bottom: 0.5em; border-bottom: 1px solid var(--border); }
h3 { color: var(--accent-light); font-size: 1.2em; margin-top: 1.5em; margin-bottom: 0.6em; }
p { margin-bottom: 1.3em; color: var(--text-secondary); font-size: 1.02em; }
strong { color: var(--text); }
ul, ol { margin: 0.8em 0 1.3em 1.5em; color: var(--text-secondary); }
li { margin-bottom: 0.4em; }
a { color: var(--accent-light); }

.hero-box {
    background: linear-gradient(135deg, #0d2040, #1a3a6a);
    border: 2px solid var(--accent); border-radius: 16px;
    padding: 40px 30px; text-align: center; margin: 20px 0;
    position: relative; overflow: hidden;
}
.hero-box::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(21,101,192,0.1) 0%, transparent 70%); }
.hero-stats { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 20px; position: relative; }
.hero-stat { background: rgba(21,101,192,0.15); border: 1px solid rgba(21,101,192,0.3); border-radius: 10px; padding: 12px 20px; text-align: center; }
.hero-stat .val { font-size: 1.4em; font-weight: 900; color: var(--accent-light); }
.hero-stat .lbl { font-size: 0.75em; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }

.cta-btn {
    display: inline-block; background: var(--accent); color: #fff; padding: 16px 40px;
    border: none; border-radius: 10px; font-size: 1.15em; font-weight: 800;
    text-align: center; cursor: pointer; transition: background 0.2s; text-decoration: none;
}
.cta-btn:hover { background: var(--accent-light); color: #fff; }
.cta-btn.green { background: var(--green); }

.info-box { background: rgba(21,101,192,0.08); border: 1px solid rgba(21,101,192,0.2); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.info-box.green { background: rgba(46,125,50,0.08); border-color: rgba(46,125,50,0.2); border-left-color: var(--green); }
.info-box.gold { background: rgba(255,193,7,0.08); border-color: rgba(255,193,7,0.2); border-left-color: var(--gold); }

.table-wrapper { overflow-x: auto; margin: 20px 0; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 0.92em; background: var(--bg-card); border-radius: 8px; overflow: hidden; }
.comp-table th { background: var(--accent); color: #fff; padding: 12px 10px; text-align: left; font-weight: 700; }
.comp-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.comp-table tr:hover { background: rgba(21,101,192,0.05); }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: 20px 0; }
.step-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.step-num { width: 36px; height: 36px; background: var(--accent); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; margin-bottom: 10px; }
.step-card h4 { color: #fff; margin-bottom: 6px; }
.step-card p { font-size: 0.9em; margin: 0; }

.faq-item { margin: 12px 0; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.faq-q { background: var(--bg-card); padding: 14px 18px; cursor: pointer; font-weight: 700; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; font-size: 1.3em; color: var(--accent); }
.faq-q.open::after { content: '−'; }
.faq-a { padding: 14px 18px; display: none; color: var(--text-secondary); background: rgba(15,33,55,0.8); }
.faq-a.open { display: block; }

.internal-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.internal-links a { background: rgba(21,101,192,0.12); border: 1px solid rgba(21,101,192,0.25); padding: 8px 16px; border-radius: 8px; font-size: 0.9em; font-weight: 600; text-decoration: none; color: var(--accent-light); transition: background 0.2s; }
.internal-links a:hover { background: rgba(21,101,192,0.25); }

.footer { text-align: center; padding: 30px 20px; margin-top: 40px; font-size: 0.85em; color: #445; border-top: 1px solid var(--border); }

.sticky-bottom-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(135deg, #061222, #0d2040);
    border-top: 1px solid var(--accent); z-index: 9999;
    display: flex; justify-content: space-around; align-items: center; padding: 8px 0;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.5);
}
.bottom-bar-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; color: #556; font-size: 0.6em; font-weight: 600; text-transform: uppercase; transition: color 0.2s; gap: 2px; text-decoration: none; }
.bottom-bar-item:hover, .bottom-bar-item.active { color: #fff; }
.bottom-bar-item .bar-icon { font-size: 18px; }
.bottom-bar-item.register-btn { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 30px; font-size: 0.8em; font-weight: 800; margin-top: -12px; border: 2px solid #1a3555; }

@media (max-width: 768px) {
    .container { padding: 20px 15px; }
    h1 { font-size: 1.5em; }
    h2 { font-size: 1.3em; }
    .nav-links { gap: 8px; }
    .nav-links a { font-size: 0.7em; }
    .hero-box { padding: 25px 15px; }
    .hero-stats { gap: 10px; }
    .step-grid { grid-template-columns: 1fr 1fr; }
}
