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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0d10;
    color: #e0e0e0;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.header {
    padding: 30px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 40px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #a0f0ff, #7aa2f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(122, 162, 247, 0.3);
}

.logo span {
    font-weight: 300;
    font-size: 16px;
    color: #aaa;
    margin-left: 8px;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: none;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: #7aa2f7;
}

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

.hero h1 {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #c0d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .subhead {
    font-size: 18px;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.price-badge {
    display: inline-block;
    background: rgba(122, 162, 247, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 60px;
    padding: 8px 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #7aa2f7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    min-width: 240px;
}

.btn-primary {
    background: linear-gradient(145deg, #7aa2f7, #5d7cdb);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(122, 162, 247, 0.4);
    background: linear-gradient(145deg, #8bb2ff, #6e8ef0);
}

.btn-secondary {
    background: rgba(30, 30, 40, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(50, 50, 70, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.btn i {
    font-size: 20px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin: 70px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, #f0f0f0, #b0c0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.detail-card {
    background: rgba(20, 22, 27, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 28px;
    padding: 28px 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.5);
}

.detail-card:hover {
    transform: translateY(-6px);
    border-color: rgba(122, 162, 247, 0.3);
    background: rgba(30, 33, 40, 0.8);
}

.detail-icon {
    font-size: 40px;
    color: #7aa2f7;
    margin-bottom: 15px;
}

.detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.detail-card p {
    font-size: 14px;
    color: #aaa;
}

/* Карточки тарифов */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin: 40px 0 60px;
}

.card {
    background: rgba(18, 20, 25, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 40px;
    padding: 32px 24px;
    width: 100%;
    max-width: 340px;
    transition: all 0.3s ease;
    box-shadow: 0 25px 40px -20px #000;
    display: flex;
    flex-direction: column;
}

.card.major {
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(25, 28, 35, 0.9);
    transform: scale(1.02);
}

.card.major .card-price {
    color: #ffd966;
}

.card-badge {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd966;
    border-radius: 60px;
    padding: 4px 16px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.card-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-price {
    font-size: 36px;
    font-weight: 800;
    color: #7aa2f7;
    margin-bottom: 20px;
}

.card-price small {
    font-size: 16px;
    font-weight: 400;
    color: #888;
}

.card-features {
    list-style: none;
    margin: 25px 0;
    flex-grow: 1;
}

.card-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i {
    color: #7aa2f7;
    width: 24px;
}

.card .btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    min-width: auto;
    margin-top: auto;
}

/* Партнёрка */
.partner-card {
    background: linear-gradient(145deg, rgba(122, 162, 247, 0.15), rgba(90, 120, 200, 0.1));
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 40px;
    padding: 40px 30px;
    text-align: center;
    max-width: 700px;
    margin: 50px auto;
    backdrop-filter: blur(10px);
}

.partner-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #ffd966);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.partner-card .big-percent {
    font-size: 56px;
    font-weight: 800;
    color: #ffd966;
    line-height: 1.2;
}

.partner-card p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Футер */
.footer {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: #888;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #7aa2f7;
}

/* Адаптация */
@media (max-width: 600px) {
    .btn {
        width: 100%;
        min-width: auto;
    }
    .buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero h1 {
        font-size: 36px;
    }
    .card.major {
        transform: none;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .partner-card h3 {
        font-size: 28px;
    }
}
