* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #0f1214;
    color: #f5f7f9;
    line-height: 1.5;
    position: relative;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(119, 184, 69, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

.header { padding: 24px 0; margin-bottom: 48px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: #f5f7f9; }
.logo span { background: linear-gradient(135deg, #77B845, #5a8f35); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 28px; }
.nav a { color: #a2aab5; text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav a:hover { color: #77B845; }

.btn { display: inline-block; padding: 12px 28px; border-radius: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: #77B845; color: #0f1214; }
.btn-primary:hover { background: #88cc50; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid #77B845; color: #77B845; }
.btn-outline:hover { background: rgba(119, 184, 69, 0.1); }
.btn-block { width: 100%; text-align: center; }

.hero { margin-bottom: 58px; background: linear-gradient(135deg, rgba(119, 184, 69, 0.08), transparent); border-radius: 32px; padding: 48px; border: 1px solid rgba(119, 184, 69, 0.2); position: relative; overflow: hidden; }
.hero::before { content: "🥝"; position: absolute; bottom: -80px; right: -40px; font-size: 280px; opacity: 0.06; pointer-events: none; transform: rotate(-15deg); }
.hero-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; }
.hero-title .accent { color: #77B845; }
.hero-text { color: #a2aab5; font-size: 1rem; margin-bottom: 12px; max-width: 500px; position: relative; z-index: 1; }
.hero-hint { color: #77B845; font-size: 0.95rem; margin-bottom: 28px; position: relative; z-index: 1; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

.how-it-works { margin-bottom: 64px; }
.how-it-works h2 { text-align: center; margin-bottom: 40px; font-size: 1.5rem; font-weight: 600; color: #a2aab5; letter-spacing: 1px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; }
.step-number { width: 48px; height: 48px; background: rgba(119, 184, 69, 0.15); border: 1px solid rgba(119, 184, 69, 0.3); border-radius: 60px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: #77B845; margin: 0 auto 16px; }
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: #a2aab5; }

.advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 64px; }
.adv-card { background: transparent; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; padding: 24px 16px; text-align: center; transition: 0.2s; }
.adv-card:hover { border-color: rgba(119, 184, 69, 0.4); transform: translateY(-2px); }
.adv-icon { font-size: 2rem; margin-bottom: 12px; }
.adv-card p { font-size: 0.9rem; font-weight: 500; color: #f5f7f9; }
.adv-card small { font-size: 0.7rem; color: #a2aab5; margin-top: 8px; display: block; }

.devices { margin-bottom: 64px; }
.devices-grid { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.device-card a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; }
.device-icon { font-size: 24px; }
.device-card span { font-size: 0.9rem; color: #a2aab5; }
.arrow { font-size: 1rem; color: #77B845; opacity: 0.6; transition: opacity 0.2s, transform 0.2s; }
.device-card a:hover .arrow { opacity: 1; transform: translateX(2px); }

.section { margin-bottom: 64px; }
.section-title { font-size: 1.5rem; font-weight: 600; text-align: center; margin-bottom: 40px; color: #a2aab5; letter-spacing: 1px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { 
    background: #171a1e; 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 24px; 
    padding: 28px 24px; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    transition: all 0.2s ease;
}
.price-card:hover { 
    border-color: #77B845; 
    transform: translateY(-2px); 
}
.price-card.active { 
    border-color: #77B845; 
    background: linear-gradient(135deg, rgba(119, 184, 69, 0.05), transparent); 
    transform: translateY(-2px);
}
/* .price-card.popular { 
    border-color: rgba(255, 255, 255, 0.08); 
    background: #171a1e; 
} */
.price-card.active.popular { 
    border-color: #77B845; 
    background: linear-gradient(135deg, rgba(119, 184, 69, 0.05), transparent); 
}
.popular-tag { position: absolute; top: -12px; right: 20px; background: #77B845; color: #0f1214; padding: 4px 14px; border-radius: 40px; font-size: 0.7rem; font-weight: 600; }
.price-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.price { font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; }
.price span { font-size: 0.9rem; font-weight: 400; color: #a2aab5; }
.price .accent { color: #77B845; font-size: 2.2rem; }
.price-features { list-style: none; margin-bottom: 28px; flex: 1; }
.price-features li { font-size: 0.85rem; padding: 6px 0; color: #a2aab5; }
.buy-btn { margin-top: auto; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; margin-bottom: 64px; }
.faq-item { background: #171a1e; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 20px; overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; background: none; border: none; color: #f5f7f9; font-size: 1rem; font-weight: 500; cursor: pointer; text-align: left; transition: background 0.2s; }
.faq-question:hover { background: rgba(119, 184, 69, 0.05); }
.faq-icon { color: #77B845; font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 24px 24px; color: #a2aab5; line-height: 1.6; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.faq-item.open .faq-answer { display: block; }

.contacts-telegram { background: linear-gradient(135deg, rgba(119, 184, 69, 0.08), transparent); border-radius: 24px; padding: 40px; text-align: center; margin-bottom: 48px; border: 1px solid rgba(119, 184, 69, 0.15); }
.contacts-telegram h3 { font-size: 1.4rem; margin-bottom: 12px; }
.contacts-telegram p { color: #a2aab5; margin-bottom: 24px; }
.telegram-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 32px 0; text-align: center; }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { color: #a2aab5; text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: #77B845; }
.payment-methods { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-bottom: 20px; }
.payment-methods span { color: #a2aab5; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }
.copyright { color: #a2aab5; font-size: 0.75rem; }

@media (max-width: 800px) { 
    .advantages-grid, .pricing-grid, .steps-grid { grid-template-columns: 1fr; }
    .devices-grid { gap: 20px; }
    .hero { padding: 32px 24px; } 
    .hero-title { font-size: 2rem; }
    .header { flex-direction: column; gap: 16px; }
}

/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal {
    background: #171a1e;
    border-radius: 32px;
    max-width: 480px;
    width: 90%;
    padding: 32px;
    border: 1px solid rgba(119, 184, 69, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.show .modal {
    transform: scale(1);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}
.close-btn {
    background: none;
    border: none;
    color: #a2aab5;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}
.close-btn:hover {
    color: #77B845;
}
.tariffs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.tariff-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}
.tariff-btn.active {
    border-color: #77B845;
    background: linear-gradient(135deg, rgba(119, 184, 69, 0.08), transparent);
}
.tariff-months {
    font-size: 1.1rem;
    font-weight: 600;
}
.tariff-price {
    font-size: 0.85rem;
    color: #77B845;
}
.email-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #f5f7f9;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: 0.2s;
}
.email-input:focus {
    outline: none;
    border-color: #77B845;
}
.payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.payment-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    color: #a2aab5;
    font-size: 14px;
    font-weight: 500;
}
.payment-btn.active {
    border-color: #77B845;
    background: rgba(119, 184, 69, 0.1);
    color: #77B845;
}
.pay-btn {
    width: 100%;
    background: #77B845;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #0f1214;
    cursor: pointer;
    transition: 0.2s;
}
.pay-btn:hover {
    background: #88cc50;
    transform: translateY(-1px);
}
.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: -12px;
    margin-bottom: 12px;
}
