:root {
    --bg-primary: #0b0e17;
    --bg-secondary: #111827;
    --bg-card: #161d2e;
    --bg-card-hover: #1c2540;
    --border-color: #1e2a42;
    --text-primary: #ffffff;
    --text-secondary: #8b95a8;
    --text-muted: #5a6478;
    --gold: #f8c712;
    --gold-dim: rgba(248, 199, 18, 0.15);
    --blue: #357ce1;
    --blue-dim: rgba(53, 124, 225, 0.15);
    --green: #2dbd85;
    --green-dim: rgba(45, 189, 133, 0.12);
    --red: #ea4d5b;
    --red-dim: rgba(234, 77, 91, 0.12);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(11, 14, 23, 0.92); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color); transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(11, 14, 23, 0.98); box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 68px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-size: 22px; font-weight: 700;
    color: var(--gold); letter-spacing: 2px;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: color 0.3s; position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a.active::after {
    content: ''; position: absolute; bottom: -4px; left: 50%;
    transform: translateX(-50%); width: 20px; height: 2px;
    background: var(--gold); border-radius: 1px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-lang {
    display: flex; align-items: center; gap: 4px; font-size: 13px;
    color: var(--text-secondary); cursor: pointer; padding: 6px 12px;
    border-radius: 6px; transition: all 0.3s;
}
.nav-lang:hover { color: var(--gold); background: var(--gold-dim); }
.nav-lang svg { width: 16px; height: 16px; }
.btn-login {
    padding: 8px 24px; border: 1px solid var(--gold); border-radius: 6px;
    color: var(--gold); font-size: 14px; font-weight: 500; cursor: pointer;
    transition: all 0.3s; background: transparent; font-family: var(--font-body);
}
.btn-login:hover { background: var(--gold-dim); }
.btn-register {
    padding: 8px 24px; border: none; border-radius: 6px;
    color: var(--bg-primary); font-size: 14px; font-weight: 600; cursor: pointer;
    transition: all 0.3s; background: linear-gradient(135deg, var(--gold), #f0a500);
    font-family: var(--font-body);
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(248, 199, 18, 0.3); }

.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; padding-top: 68px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(248, 199, 18, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 30%, rgba(53, 124, 225, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(45, 189, 133, 0.04) 0%, transparent 40%);
    animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-2%, 2%) rotate(3deg); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(30, 42, 66, 0.3) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(30, 42, 66, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
    position: absolute; width: 3px; height: 3px; background: var(--gold);
    border-radius: 50%; opacity: 0; animation: particleFloat 6s ease-in-out infinite;
}
.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 3s; }
.particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 4s; }
.particle:nth-child(6) { left: 90%; top: 15%; animation-delay: 5s; }
.particle:nth-child(7) { left: 35%; top: 85%; animation-delay: 1.5s; }
.particle:nth-child(8) { left: 55%; top: 10%; animation-delay: 2.5s; }
@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 0.6; transform: translateY(-40px) scale(1.5); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; padding: 0 20px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
    border-radius: 20px; background: var(--gold-dim);
    border: 1px solid rgba(248, 199, 18, 0.2); font-size: 13px;
    color: var(--gold); margin-bottom: 28px; animation: fadeInUp 0.8s ease-out;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-title {
    font-family: var(--font-display); font-size: 52px; font-weight: 800;
    line-height: 1.15; margin-bottom: 20px; letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold), #f0a500, var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: 18px; color: var(--text-secondary); margin-bottom: 40px;
    line-height: 1.7; animation: fadeInUp 0.8s ease-out 0.3s both;
}
.hero-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; animation: fadeInUp 0.8s ease-out 0.45s both;
}
.btn-hero-primary {
    padding: 14px 40px; border: none; border-radius: 8px;
    color: var(--bg-primary); font-size: 16px; font-weight: 700; cursor: pointer;
    background: linear-gradient(135deg, var(--gold), #f0a500);
    transition: all 0.3s; font-family: var(--font-body);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(248, 199, 18, 0.35); }
.btn-hero-secondary {
    padding: 14px 40px; border: 1px solid var(--border-color); border-radius: 8px;
    color: var(--text-primary); font-size: 16px; font-weight: 500; cursor: pointer;
    background: rgba(255,255,255,0.03); transition: all 0.3s; font-family: var(--font-body);
}
.btn-hero-secondary:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.hero-stats {
    display: flex; justify-content: center; gap: 60px;
    margin-top: 60px; animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-stat { text-align: center; }
.hero-stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--gold); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.notice-bar { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); overflow: hidden; height: 40px; }
.notice-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    height: 100%; display: flex; align-items: center; gap: 12px;
}
.notice-icon {
    flex-shrink: 0; display: flex; align-items: center; gap: 6px;
    color: var(--gold); font-size: 13px; font-weight: 600;
}
.notice-icon svg { width: 16px; height: 16px; }
.notice-scroll { flex: 1; overflow: hidden; position: relative; height: 100%; }
.notice-scroll-track { display: flex; flex-direction: column; animation: noticeScroll 12s ease-in-out infinite; }
.notice-scroll-track a {
    height: 40px; line-height: 40px; font-size: 13px; color: var(--text-secondary);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.3s;
}
.notice-scroll-track a:hover { color: var(--gold); }
.notice-scroll-track a .hot { color: var(--red); margin-left: 8px; font-size: 11px; }
@keyframes noticeScroll {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-40px); }
    66%, 96% { transform: translateY(-80px); }
    100% { transform: translateY(0); }
}

.market-ticker { background: var(--bg-secondary); border-bottom: 1px solid var(--border-color); padding: 20px 0; }
.ticker-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.ticker-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 18px 20px; transition: all 0.3s; cursor: pointer;
}
.ticker-card:hover { border-color: rgba(248, 199, 18, 0.3); background: var(--bg-card-hover); transform: translateY(-2px); }
.ticker-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ticker-pair { font-size: 15px; font-weight: 600; }
.ticker-pair .base { color: var(--text-primary); }
.ticker-pair .quote { color: var(--text-muted); font-size: 12px; }
.ticker-change { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.ticker-change.up { color: var(--green); background: var(--green-dim); }
.ticker-change.down { color: var(--red); background: var(--red-dim); }
.ticker-price { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.ticker-price.up { color: var(--green); }
.ticker-price.down { color: var(--red); }
.ticker-volume { font-size: 12px; color: var(--text-muted); }

.advantages { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--gold); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 36px 28px; text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative; overflow: hidden;
}
.advantage-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.advantage-card:hover { transform: translateY(-6px); border-color: rgba(248, 199, 18, 0.2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.advantage-card:hover::before { opacity: 1; }
.advantage-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; transition: all 0.4s;
}
.advantage-icon svg { width: 32px; height: 32px; }
.advantage-card:hover .advantage-icon { transform: scale(1.1); }
.advantage-icon.gold { background: var(--gold-dim); color: var(--gold); }
.advantage-icon.blue { background: var(--blue-dim); color: var(--blue); }
.advantage-icon.green { background: var(--green-dim); color: var(--green); }
.advantage-icon.red { background: var(--red-dim); color: var(--red); }
.advantage-title { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.advantage-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.market-section { padding: 80px 0; background: var(--bg-secondary); }
.market-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; justify-content: center; }
.market-tab {
    padding: 8px 24px; border-radius: 6px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); cursor: pointer; transition: all 0.3s;
    background: transparent; border: 1px solid transparent;
}
.market-tab:hover { color: var(--text-primary); }
.market-tab.active { color: var(--gold); background: var(--gold-dim); border-color: rgba(248, 199, 18, 0.2); }
.market-table-wrapper { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; }
.market-table { width: 100%; border-collapse: collapse; }
.market-table thead th {
    padding: 14px 20px; font-size: 12px; font-weight: 600; color: var(--text-muted);
    text-align: left; border-bottom: 1px solid var(--border-color);
    text-transform: uppercase; letter-spacing: 1px;
}
.market-table thead th:last-child { text-align: right; }
.market-table thead th:nth-child(3), .market-table thead th:nth-child(4) { text-align: right; }
.market-table tbody tr { transition: background 0.3s; }
.market-table tbody tr:hover { background: var(--bg-card-hover); }
.market-table tbody td { padding: 16px 20px; font-size: 14px; border-bottom: 1px solid rgba(30, 42, 66, 0.5); }
.market-table tbody td:last-child { text-align: right; }
.market-table tbody td:nth-child(3), .market-table tbody td:nth-child(4) { text-align: right; }
.market-table .pair-cell { display: flex; align-items: center; gap: 10px; }
.pair-icon {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 11px; font-weight: 700;
}
.pair-name { font-weight: 600; }
.pair-full { color: var(--text-muted); font-size: 12px; }
.price-up { color: var(--green); font-family: var(--font-display); font-weight: 500; }
.price-down { color: var(--red); font-family: var(--font-display); font-weight: 500; }
.change-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.change-badge.up { color: var(--green); background: var(--green-dim); }
.change-badge.down { color: var(--red); background: var(--red-dim); }
.btn-trade-sm {
    padding: 6px 18px; border-radius: 6px; font-size: 12px; font-weight: 600;
    color: var(--gold); background: var(--gold-dim);
    border: 1px solid rgba(248, 199, 18, 0.2); cursor: pointer; transition: all 0.3s;
    font-family: var(--font-body);
}
.btn-trade-sm:hover { background: var(--gold); color: var(--bg-primary); }

.download-section { padding: 100px 0; position: relative; overflow: hidden; }
.download-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(248, 199, 18, 0.04) 0%, transparent 60%); }
.download-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 80px; }
.download-info { flex: 1; }
.download-info .section-tag { text-align: left; }
.download-info .section-title { text-align: left; font-size: 32px; }
.download-info .section-desc { text-align: left; margin: 0; margin-bottom: 32px; }
.download-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-download {
    display: flex; align-items: center; gap: 10px; padding: 12px 24px;
    border-radius: 10px; border: 1px solid var(--border-color);
    background: var(--bg-card); cursor: pointer; transition: all 0.3s;
}
.btn-download:hover { border-color: var(--gold); background: var(--gold-dim); transform: translateY(-2px); }
.btn-download svg { width: 24px; height: 24px; color: var(--text-secondary); }
.btn-download:hover svg { color: var(--gold); }
.btn-download-text { text-align: left; }
.btn-download-text .small { font-size: 11px; color: var(--text-muted); }
.btn-download-text .big { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.download-visual { flex: 1; display: flex; justify-content: center; align-items: center; }
.phone-mockup {
    width: 280px; height: 520px;
    background: linear-gradient(145deg, var(--bg-card), var(--bg-card-hover));
    border: 1px solid var(--border-color); border-radius: 36px; padding: 12px;
    position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.phone-screen {
    width: 100%; height: 100%; background: var(--bg-primary);
    border-radius: 26px; overflow: hidden; display: flex; flex-direction: column;
}
.phone-status { height: 36px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--text-muted); }
.phone-app-header { padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.phone-app-logo { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--gold); }
.phone-chart { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.phone-chart-pair { font-size: 16px; font-weight: 600; }
.phone-chart-price { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--green); }
.phone-chart-change { font-size: 12px; color: var(--green); }
.phone-chart-svg { flex: 1; position: relative; }
.phone-chart-svg svg { width: 100%; height: 100%; }
.phone-nav-bar { height: 52px; display: flex; align-items: center; justify-content: space-around; border-top: 1px solid var(--border-color); padding: 0 8px; }
.phone-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 9px; color: var(--text-muted); }
.phone-nav-item.active { color: var(--gold); }
.phone-nav-item svg { width: 18px; height: 18px; }

.security-section { padding: 100px 0; background: var(--bg-secondary); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 36px 28px; transition: all 0.4s;
    position: relative; overflow: hidden;
}
.security-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue));
    opacity: 0; transition: opacity 0.4s;
}
.security-card:hover { transform: translateY(-4px); border-color: rgba(248, 199, 18, 0.15); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.security-card:hover::after { opacity: 1; }
.security-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; background: var(--gold-dim); color: var(--gold);
}
.security-icon svg { width: 28px; height: 28px; }
.security-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.security-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.cta-section { padding: 100px 0; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(248, 199, 18, 0.06) 0%, transparent 50%); }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-title { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.cta-desc { font-size: 18px; color: var(--text-secondary); margin-bottom: 40px; }
.cta-actions { display: flex; justify-content: center; gap: 16px; }

.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo {
    font-family: var(--font-display); font-size: 20px; font-weight: 700;
    color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.footer-brand .footer-logo svg { width: 28px; height: 28px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px; background: var(--bg-card);
    border: 1px solid var(--border-color); display: flex; align-items: center;
    justify-content: center; transition: all 0.3s; color: var(--text-muted);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-copyright { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

.page-banner {
    padding: 140px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(248, 199, 18, 0.06) 0%, transparent 60%);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner-title { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin-bottom: 12px; }
.page-banner-desc { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

@media (max-width: 1024px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(3, 1fr); }
    .download-inner { flex-direction: column; gap: 40px; }
    .download-info .section-tag, .download-info .section-title, .download-info .section-desc { text-align: center; }
    .download-btns { justify-content: center; }
}
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px);
    display: none; align-items: center; justify-content: center;
    animation: fadeInOverlay 0.3s ease;
}
.modal-overlay.active { display: flex; }
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 40px 36px; width: 420px;
    max-width: 90vw; position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute; top: 16px; right: 20px;
    font-size: 28px; color: var(--text-muted); cursor: pointer;
    transition: color 0.3s; line-height: 1;
}
.modal-close:hover { color: var(--gold); }
.modal-title {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--text-primary); margin-bottom: 28px; text-align: center;
}
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.modal-form .form-group label {
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
}
.modal-form .form-group input {
    padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border-color);
    background: var(--bg-primary); color: var(--text-primary);
    font-size: 14px; font-family: var(--font-body); outline: none;
    transition: border-color 0.3s;
}
.modal-form .form-group input:focus { border-color: var(--gold); }
.modal-form .form-group input::placeholder { color: var(--text-muted); }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; }
.btn-send-code {
    padding: 12px 16px; border: 1px solid var(--gold); border-radius: 8px;
    background: transparent; color: var(--gold); font-size: 13px;
    font-weight: 600; cursor: pointer; white-space: nowrap;
    font-family: var(--font-body); transition: all 0.3s;
}
.btn-send-code:hover { background: var(--gold-dim); }
.btn-send-code:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-modal-submit {
    padding: 14px; border: none; border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), #f0a500);
    color: var(--bg-primary); font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: var(--font-body); transition: all 0.3s;
    position: relative;
}
.btn-modal-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(248,199,18,0.3); }
.btn-modal-submit:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.modal-spinner {
    display: none; width: 24px; height: 24px; margin: 0 auto;
    border: 3px solid var(--border-color); border-top-color: var(--gold);
    border-radius: 50%; animation: spin 0.8s linear infinite;
}
.modal-spinner.active { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.modal-switch {
    text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 8px;
}
.modal-switch span { color: var(--gold); cursor: pointer; font-weight: 600; }
.modal-switch span:hover { text-decoration: underline; }
.toast {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    z-index: 99999; padding: 12px 28px; border-radius: 8px;
    font-size: 14px; font-weight: 500; font-family: var(--font-body);
    display: none; white-space: nowrap;
    animation: toastIn 0.3s ease;
}
.toast.error { display: block; background: rgba(234,77,91,0.15); border: 1px solid rgba(234,77,91,0.3); color: var(--red); }
.toast.success { display: block; background: rgba(45,189,133,0.15); border: 1px solid rgba(45,189,133,0.3); color: var(--green); }
.toast.info { display: block; background: rgba(53,124,225,0.15); border: 1px solid rgba(53,124,225,0.3); color: var(--blue); }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.btn-download-single {
    padding: 16px 40px !important; gap: 14px !important;
}
.btn-download-single svg {
    width: 28px !important; height: 28px !important; color: var(--gold) !important;
}
.btn-download-single .big {
    font-size: 16px !important; color: var(--text-primary);
}
.btn-download-single:hover {
    background: linear-gradient(135deg, var(--gold), #f0a500) !important;
    border-color: var(--gold) !important; transform: translateY(-3px) !important;
    box-shadow: 0 12px 40px rgba(248,199,18,0.25) !important;
}
.btn-download-single:hover svg { color: var(--bg-primary) !important; }
.btn-download-single:hover .big { color: var(--bg-primary) !important; }

@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-stats { gap: 30px; flex-wrap: wrap; }
    .hero-stat-value { font-size: 24px; }
    .ticker-wrapper { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-menu { display: none; }
    .cta-title { font-size: 28px; }
    .hero-actions { flex-direction: column; }
    .page-banner-title { font-size: 28px; }
}
