* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #0a0e1a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 50%, #0d1230 100%);
}

.background-animation::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(3deg); }
}

.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

.particle:nth-child(1) { width: 3px; height: 3px; left: 10%; top: 20%; animation-duration: 12s; }
.particle:nth-child(2) { width: 5px; height: 5px; left: 25%; top: 60%; animation-duration: 18s; }
.particle:nth-child(3) { width: 4px; height: 4px; left: 50%; top: 10%; animation-duration: 15s; }
.particle:nth-child(4) { width: 6px; height: 6px; left: 70%; top: 70%; animation-duration: 20s; }
.particle:nth-child(5) { width: 3px; height: 3px; left: 85%; top: 30%; animation-duration: 14s; }
.particle:nth-child(6) { width: 5px; height: 5px; left: 40%; top: 80%; animation-duration: 16s; }
.particle:nth-child(7) { width: 4px; height: 4px; left: 15%; top: 90%; animation-duration: 19s; }
.particle:nth-child(8) { width: 3px; height: 3px; left: 90%; top: 50%; animation-duration: 13s; }

@keyframes float {
    0% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    25% { transform: translateY(-100px) translateX(50px) scale(1.5); opacity: 0.6; }
    50% { transform: translateY(-200px) translateX(-30px) scale(0.8); opacity: 0.2; }
    75% { transform: translateY(-150px) translateX(70px) scale(1.3); opacity: 0.5; }
    100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
}

nav {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.logo span {
    font-weight: 300;
    -webkit-text-fill-color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-links a:hover {
    color: #3b82f6;
}

.btn-nav {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

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

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.2)); }
    50% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.4)); }
}

.hero p {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.hero-subtitle {
    font-size: 15px;
    color: #64748b;
    margin-top: 20px;
}

.tariffs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.tariff-card {
    background: rgba(26, 31, 53, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px 24px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tariff-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s;
}

.tariff-card:hover::before {
    opacity: 0.3;
}

.tariff-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.tariff-card.popular {
    border-color: #f59e0b;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.05), rgba(26, 31, 53, 0.8));
}

.tariff-card.popular .badge {
    background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
    color: #1a1f35 !important;
}

.tariff-card.free-tariff {
    border-color: #10b981;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.05), rgba(26, 31, 53, 0.8));
}

.tariff-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.tariff-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.tariff-price {
    font-size: 38px;
    font-weight: 800;
    margin: 12px 0;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tariff-price .old-price {
    text-decoration: line-through;
    color: #ef4444 !important;
    font-size: 18px;
    -webkit-text-fill-color: #ef4444;
}

.tariff-features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
}

.tariff-features li {
    padding: 8px 0;
    color: #94a3b8;
    border-bottom: 1px solid rgba(59, 130, 246, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.tariff-features li::before {
    content: '✓';
    color: #3b82f6;
    font-weight: 700;
    font-size: 16px;
}

.btn-buy {
    margin-top: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-buy:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.tariff-card.popular .btn-buy {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1f35;
}

.tariff-card.free-tariff .btn-buy {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.download-section {
    background: rgba(26, 31, 53, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.download-section h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-download {
    padding: 14px 35px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid #3b82f6;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.btn-download:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.instruction {
    background: rgba(26, 31, 53, 0.4);
    border-radius: 20px;
    padding: 40px 30px;
    margin: 40px 0;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.instruction h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.step {
    text-align: center;
    padding: 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.support-section {
    text-align: center;
    padding: 30px 0;
}

.support-section h2 {
    font-size: 26px;
    margin-bottom: 10px;
}

.btn-support {
    display: inline-block;
    padding: 14px 45px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-support:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 136, 204, 0.4);
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #64748b;
    font-size: 13px;
}

/* ===== Адаптивность ===== */
@media (max-width: 768px) {
    nav {
        padding: 12px 16px;
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        gap: 10px;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .btn-nav {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .tariffs {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .download-section {
        padding: 25px 16px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
    
    .instruction {
        padding: 25px 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .tariff-price {
        font-size: 30px;
    }
    
    .container {
        padding: 15px 12px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* ===== Стили для ключей в профиле ===== */
.copy-btn,
.copy-btn-small {
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    border: none;
}

.copy-btn {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.copy-btn:hover {
    background: rgba(59, 130, 246, 0.4);
}

.copy-btn.success {
    background: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.key-display-area {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 12px;
    margin-top: 6px;
}

.key-display-area .key-text {
    font-family: monospace;
    font-size: 12px;
    color: #3b82f6;
    word-break: break-all;
    line-height: 1.6;
    max-height: 80px;
    overflow-y: auto;
}

.key-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.key-item .key-text {
    font-family: monospace;
    font-size: 11px;
    color: #3b82f6;
    word-break: break-all;
    flex: 1;
    min-width: 120px;
}

.key-item .copy-btn-small {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.key-item .copy-btn-small:hover {
    background: rgba(59, 130, 246, 0.3);
}

@media (max-width: 600px) {
    .key-item {
        flex-direction: column;
        align-items: stretch;
    }
}
