@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Caveat:wght@700&display=swap');

:root {
    --bg: #050506; --bg-soft: #0b0b0f; --panel: #0f1014; --panel-2: #13141a;
    --line: rgba(255,255,255,.08); --line-strong: rgba(255,255,255,.14);
    --text: #ffffff; --muted: #a3a7b5;
    --accent: #ff7a00; --accent-2: #ff9d47; --accent-soft: rgba(255,122,0,.12);
    --shadow: 0 30px 80px rgba(0,0,0,.45);
    --radius: 28px; --radius-md: 22px; --radius-sm: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: radial-gradient(circle at top, rgba(255,122,0,.14), transparent 18%),
                linear-gradient(180deg, #040404 0%, #09090b 32%, #050506 100%);
    color: var(--text); min-height: 100vh; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { display: block; max-width: 100%; }
.container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 80px 0; }
.muted { color: var(--muted); }

/* Topbar */
.topbar-wrapper { position: fixed; top: 20px; left: 0; right: 0; z-index: 1000; pointer-events: none; transition: top 0.3s ease; }
.topbar-wrapper.scrolled { top: 10px; }
.topbar {
    pointer-events: auto;
    background: rgba(11,11,15,0.7); backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 28px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4); transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.topbar-wrapper.scrolled .topbar { padding: 10px 24px; background: rgba(11,11,15,0.85); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; transition: transform 0.2s ease; }
.brand:hover { transform: scale(1.02); }
.brand-mark {
    width: 16px; height: 16px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    box-shadow: 0 0 20px rgba(255,122,0,0.6); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { box-shadow: 0 0 20px rgba(255,122,0,0.6), 0 0 40px rgba(255,122,0,0.3); }
    50% { box-shadow: 0 0 30px rgba(255,122,0,0.8), 0 0 60px rgba(255,122,0,0.4); }
}
.brand strong {
    font-size: 20px; letter-spacing: -.04em; text-transform: uppercase;
    background: linear-gradient(135deg, #fff, var(--accent-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
    padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 700;
    color: var(--muted); position: relative; overflow: hidden; transition: all 0.3s ease;
}
.nav a:hover { color: #fff; transform: translateY(-1px); }
.nav a.active { color: #fff; background: linear-gradient(135deg, rgba(255,122,0,0.15), rgba(255,157,71,0.1)); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions > * { flex-shrink: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 24px; border-radius: 999px; font-weight: 800; cursor: pointer;
    transition: all .3s cubic-bezier(0.4,0,0.2,1); border: none; font-size: 14px;
    letter-spacing: -0.02em; position: relative; overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #111;
    box-shadow: 0 8px 20px rgba(255,122,0,0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,122,0,0.4); }
.btn-outline {
    background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong);
    color: #fff; backdrop-filter: blur(10px);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: translateY(-1px); }
.w-full { width: 100%; }

/* Hero */
.hero-clean { padding: 140px 0 60px; }
.hero-shell {
    position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr;
    gap: 40px; align-items: center; padding: 60px; border-radius: 40px;
    border: 1px solid var(--line);
    background: radial-gradient(circle at left top, rgba(255,122,0,0.1), transparent 40%),
                linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    overflow: hidden;
}
.hero-title-clean { font-size: clamp(48px,6vw,84px); line-height: 0.95; letter-spacing: -0.05em; margin: 0 0 24px; font-weight: 800; }
.accent { color: var(--accent-2); }
.hero-copy-clean { font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 540px; margin-bottom: 32px; }
.hero-stats-clean { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 40px; }
.stat-item strong { display: block; font-size: 32px; font-weight: 800; color: #fff; }
.stat-item span { color: var(--muted); font-size: 14px; }
.hero-side-col { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-mascot { width: 100%; max-width: 400px; filter: drop-shadow(0 0 50px rgba(255,122,0,0.2)); animation: mascotFloat 4s ease-in-out infinite; }
@keyframes mascotFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Tariffs */
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 48px; letter-spacing: -0.04em; }
.tariff-grid-separated { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tariff-card-next {
    background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 32px;
    padding: 32px; transition: 0.3s ease; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.tariff-card-next:hover { transform: translateY(-10px); border-color: var(--accent); background: rgba(255,122,0,0.02); }
.tariff-card-vds::after {
    content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,122,0,0.15), transparent 70%);
}
.tariff-name-wrap h3 { font-size: 28px; margin: 0 0 8px; }
.mini-label { font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tariff-price { font-size: 42px; font-weight: 800; margin: 20px 0; }
.tariff-price span { font-size: 16px; color: var(--muted); }
.specs { margin-bottom: 30px; flex-grow: 1; }
.spec { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec:last-child { border: none; }
.spec span { color: var(--muted); }
.tariff-card-next.hidden { display: none; }

/* Filters */
.filter-btn, .cpu-btn {
    padding: 14px 28px; border-radius: 999px; border: 1px solid var(--line);
    background: rgba(255,255,255,0.02); color: var(--muted); font-weight: 700; font-size: 15px;
    cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover, .cpu-btn:hover { background: rgba(255,255,255,0.05); color: #fff; }
.filter-btn.active, .cpu-btn.active {
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    border-color: var(--accent); color: #111; box-shadow: 0 10px 25px rgba(255,122,0,0.3);
}

/* Page indicator */
.page-indicator { position: fixed; left: 30px; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 16px; }
.page-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 2px solid transparent; cursor: pointer; transition: all 0.3s ease; position: relative; }
.page-dot:hover { background: rgba(255,255,255,0.4); transform: scale(1.2); }
.page-dot.active { background: var(--accent); border-color: var(--accent-2); box-shadow: 0 0 20px rgba(255,122,0,0.5); }
.page-dot::after { content: attr(data-label); position: absolute; left: 25px; top: 50%; transform: translateY(-50%); background: var(--panel); border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.2s; }
.page-dot:hover::after { opacity: 1; left: 30px; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; animation: overlayIn 0.25s ease; }
@keyframes overlayIn { from { opacity:0; } to { opacity:1; } }
.modal-content { background: rgba(15,16,20,0.95); border: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.13); border-radius: 32px; max-width: 800px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 40px; position: relative; animation: modalPop 0.35s cubic-bezier(0.34,1.56,0.64,1); box-shadow: 0 40px 100px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.05); }
@keyframes modalPop { from { opacity:0; transform: scale(0.92) translateY(24px); } to { opacity:1; transform: scale(1) translateY(0); } }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--line); color: var(--muted); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0; line-height: 1; }
.modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.modal-content h2 { font-size: 36px; margin: 0 0 24px; letter-spacing: -0.03em; }
.modal-content h3 { font-size: 24px; margin: 32px 0 16px; color: var(--accent-2); }
.modal-content p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.modal-signature { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); text-align: right; }
.modal-signature .signature-text { font-family: 'Caveat', cursive; font-size: 48px; font-weight: 700; background: linear-gradient(135deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transform: rotate(-3deg); display: inline-block; }
.modal-signature .signature-date { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Inputs */
.contact-input { width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px; color: #fff; font-family: 'Manrope', sans-serif; font-size: 14px; transition: 0.2s; }
.contact-input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.05); }
.contact-input::placeholder { color: var(--muted); }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; display: grid; gap: 16px; }
.faq-modern { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.faq-modern summary { padding: 24px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-modern summary::after { content: '\2b'; font-family: serif; color: var(--accent); font-size: 20px; }
.faq-modern[open] summary::after { content: '\2013'; }
.faq-modern p { padding: 0 24px 24px; color: var(--muted); line-height: 1.6; }

/* Reviews */
.review-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 24px; padding: 24px; transition: 0.3s ease; }
.review-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: #111; }
.review-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.review-stars { color: var(--accent); font-size: 14px; }
.review-text { color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.review-date { color: var(--muted); font-size: 12px; opacity: 0.7; }

/* Blog */
.blog-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; transition: 0.3s ease; }
.blog-card:hover { transform: translateY(-10px); border-color: var(--line-strong); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.blog-image { height: 200px; display: flex; align-items: center; justify-content: center; }
.blog-content { padding: 24px; }
.blog-date { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.blog-content h3 { font-size: 20px; margin: 0 0 12px; }
.blog-content p { color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-link { color: var(--accent); font-weight: 700; font-size: 14px; }
.blog-link:hover { color: var(--accent-2); }

/* Footer */
footer { margin-top: 100px; padding: 60px 0; border-top: 1px solid var(--line); background: rgba(0,0,0,0.2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand h4 { font-size: 24px; margin: 0 0 16px; }
.footer-brand p { color: var(--muted); max-width: 300px; }
.footer-links h5 { font-size: 18px; margin-bottom: 20px; }
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }

/* Progress bar */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); z-index: 10000; transition: width 0.3s ease; box-shadow: 0 0 10px var(--accent); }

/* Scroll top */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #111; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s ease; z-index: 1000; box-shadow: 0 10px 30px rgba(255,122,0,0.3); }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-5px); }

/* Toast */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }
.toast { background: var(--panel); border: 1px solid var(--line-strong); border-radius: 16px; padding: 16px 20px; min-width: 320px; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); animation: slideInRight 0.4s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: flex-start; gap: 14px; pointer-events: auto; position: relative; overflow: hidden; }
.toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); }
@keyframes slideInRight { from { transform: translateX(450px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast-icon { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-icon i { color: #111; }
.toast-content { flex: 1; padding-top: 2px; }
.toast-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.toast-message { color: var(--muted); font-size: 13px; line-height: 1.5; }
.toast-close { width: 24px; height: 24px; border-radius: 8px; background: rgba(255,255,255,0.05); border: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; flex-shrink: 0; }
.toast-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Theme toggle / icon buttons */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 18px; color: var(--accent-2); }
.theme-toggle:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: rotate(180deg) scale(1.05); }

.topbar-icon-btn { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.25s ease; color: var(--muted); text-decoration: none; flex-shrink: 0; }
.topbar-icon-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: var(--accent-2); transform: scale(1.08); }

/* Ghost button — нейтральный выход */
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--line-strong); color: #fff; transform: translateY(-1px); }

/* Light theme */
body.light-theme { --bg: #ffffff; --bg-soft: #f5f5f5; --panel: #ffffff; --panel-2: #f9f9f9; --line: rgba(0,0,0,.08); --line-strong: rgba(0,0,0,.14); --text: #111111; --muted: #666666; background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%); }

/* Mobile menu */
.mobile-menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--line); align-items: center; justify-content: center; cursor: pointer; font-size: 20px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--panel); border-left: 1px solid var(--line); z-index: 9999; transition: 0.3s ease; padding: 80px 30px 30px; }
.mobile-menu.active { right: 0; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu nav a { font-size: 18px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Dashboard specific */
.dash-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; min-height: calc(100vh - 200px); padding-top: 120px; }
.dash-sidebar { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07); border-radius: 24px; padding: 24px; height: fit-content; position: sticky; top: 100px; box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04); }
.dash-sidebar nav { display: flex; flex-direction: column; gap: 8px; }
.dash-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; transition: 0.2s; cursor: pointer; border: none; border-left: 2px solid transparent; background: none; width: 100%; text-align: left; }
.dash-nav-item svg { flex-shrink: 0; }
.dash-nav-item:hover { background: rgba(255,255,255,0.06); color: #fff; box-shadow: inset 0 0 16px rgba(255,255,255,0.02); }
.dash-nav-item.active { background: rgba(255,122,0,0.1); color: var(--accent-2); border-left: 2px solid var(--accent); box-shadow: inset 0 0 20px rgba(255,122,0,0.07), 0 0 12px rgba(255,122,0,0.08); }
.dash-nav-item.active svg { filter: drop-shadow(0 0 4px rgba(255,122,0,0.5)); }
.dash-nav-item.logout { color: rgba(239,68,68,0.45); border-left: 2px solid transparent; }
.dash-nav-item.logout:hover { background: transparent; color: #ef4444; border-left-color: #ef4444; box-shadow: none; }
.dash-content { display: none; }
.dash-content.active { display: block; }
.stat-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.stat-card.accent-card { background: rgba(255,122,0,0.08); border-color: rgba(255,122,0,0.3); }
.stat-card .label { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.stat-card .value { font-size: 28px; font-weight: 800; }
.server-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: 0.2s; }
.server-card:hover { border-color: var(--line-strong); }
.server-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.server-status.running { background: rgba(34,197,94,0.15); color: #22c55e; }
.server-status.stopped { background: rgba(239,68,68,0.15); color: #ef4444; }
.server-status.installing { background: rgba(255,122,0,0.15); color: var(--accent-2); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state-icon { opacity: 0.35; color: var(--accent-2); }

/* CTA pulse button */
.btn-cta-pulse { box-shadow: 0 8px 20px rgba(255,122,0,0.25); animation: ctaPulse 2.5s ease-in-out infinite; }
@keyframes ctaPulse {
    0%,100% { box-shadow: 0 8px 20px rgba(255,122,0,0.25); }
    50% { box-shadow: 0 8px 32px rgba(255,122,0,0.55), 0 0 0 6px rgba(255,122,0,0.08); }
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-shell { grid-template-columns: 1fr; text-align: center; }
    .hero-copy-clean { margin: 0 auto 32px; }
    .tariff-grid-separated { grid-template-columns: repeat(2,1fr); }
    .page-indicator { display: none; }
    .dash-grid { grid-template-columns: 1fr; }
    .dash-sidebar { position: static; }
}
@media (max-width: 768px) {
    .topbar { padding: 8px 16px; }
    .nav { display: none; }
    .hero-title-clean { font-size: 42px; }
    .tariff-grid-separated { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar-actions .btn { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* Wizard */
.wizard-step { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--muted); transition:0.2s; }
.wizard-step-num { width:28px; height:28px; border-radius:50%; border:2px solid var(--line-strong); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; transition:0.2s; flex-shrink:0; }
.wizard-step.current .wizard-step-num { border-color:var(--accent); background:var(--accent); color:#111; }
.wizard-step.current { color:#fff; }
.wizard-step.done .wizard-step-num { border-color:var(--accent); background:rgba(255,122,0,0.15); color:var(--accent-2); }
.wizard-step.done { color:var(--accent-2); }
.wizard-line { flex:1; height:1px; background:var(--line); margin:0 8px; transition:background 0.3s; }
.wizard-line.done { background:var(--accent); }
.wizard-pane { display:none; }
.wizard-pane.active { display:block; }

/* Plan cards */
.plan-card { background:rgba(255,255,255,0.02); border:1px solid var(--line); border-radius:16px; padding:16px; cursor:pointer; transition:all 0.2s ease; }
.plan-card:hover { border-color:var(--line-strong); background:rgba(255,255,255,0.04); transform:translateY(-2px); }
.plan-card.selected { border-color:var(--accent); background:rgba(255,122,0,0.07); box-shadow:0 0 20px rgba(255,122,0,0.15); }

/* Period buttons */
.period-btn { background:rgba(255,255,255,0.02); border:1px solid var(--line); border-radius:12px; padding:12px 8px; cursor:pointer; transition:all 0.2s; color:#fff; text-align:center; }
.period-btn:hover { border-color:var(--line-strong); background:rgba(255,255,255,0.05); }
.period-btn.active { border-color:var(--accent); background:rgba(255,122,0,0.1); }

/* Payment methods */
.pay-method { display:flex; flex-direction:column; align-items:center; gap:6px; padding:14px 8px; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,0.02); cursor:pointer; transition:all 0.2s; font-size:13px; font-weight:600; color:var(--muted); text-align:center; }
.pay-method:hover { border-color:var(--line-strong); color:#fff; background:rgba(255,255,255,0.05); }
.pay-method.active { border-color:var(--accent); background:rgba(255,122,0,0.08); color:#fff; box-shadow:0 0 16px rgba(255,122,0,0.12); }
.pay-method.active svg, .pay-method.active i { color:var(--accent-2); }

/* Promo input & button */
.promo-input { background: rgba(255,255,255,0.03) !important; color: #fff !important; }
.promo-apply-btn { padding: 0 18px; border-radius: 12px; background: rgba(255,122,0,0.1); border: 1px solid rgba(255,122,0,0.25); color: var(--accent-2); font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; transition: all 0.2s; flex-shrink: 0; }
.promo-apply-btn:hover:not(:disabled) { background: rgba(255,122,0,0.2); }
.promo-apply-btn:disabled { opacity: 0.8; cursor: default; }

/* Social buttons */
.btn-social { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 12px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; border: 1px solid var(--line); background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); color: #fff; }
.btn-social:hover { transform: translateY(-2px); }
.btn-social-tg { border-color: rgba(42,171,238,0.3); }
.btn-social-tg:hover { background: rgba(42,171,238,0.1); border-color: rgba(42,171,238,0.5); box-shadow: 0 4px 16px rgba(42,171,238,0.15); }
.btn-social-dc { border-color: rgba(114,137,218,0.3); }
.btn-social-dc:hover { background: rgba(114,137,218,0.1); border-color: rgba(114,137,218,0.5); box-shadow: 0 4px 16px rgba(114,137,218,0.15); }

/* Pay hint */
.pay-hint { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 10px 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* Защита от click-jacking — псевдоэлементы не должны перекрывать клики */
.btn::before, .btn::after { pointer-events: none; }
.modal-content button,
.modal-content .plan-card,
.modal-content .pay-method,
.modal-content .btn-social,
.modal-content .promo-apply-btn { pointer-events: auto !important; cursor: pointer; position: relative; z-index: 1; }
