/* Базовые настройки и переменные */
:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary-gradient: linear-gradient(135deg, #ff6b6b, #ff8e53, #e52e71);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Эффект свечения на фоне (Background Glows) */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
}

.glow-1 {
    top: -100px;
    left: -200px;
    background: radial-gradient(circle, rgba(229,46,113,0.4) 0%, rgba(0,0,0,0) 70%);
}

.glow-2 {
    bottom: 20%;
    right: -200px;
    background: radial-gradient(circle, rgba(255,138,0,0.3) 0%, rgba(0,0,0,0) 70%);
}

/* Контейнер */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Шапка (Navbar) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #e52e71;
}

.nav-links {
    display: none; /* Скрываем на мобилках */
    gap: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-main);
    transition: color 0.3s;
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(255,255,255,0.05);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* Главный экран (Hero) */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 0 4rem 0;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Бейдж над заголовком */
.hero-badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Кнопка действия */
.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Статистика */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Блок Преимуществ */
.features {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Масс-медиа / Планшеты и ПК */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .title { font-size: 5rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Карточки со стеклом */
.glass {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.feature-card {
    padding: 2rem;
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bg-orange { background: rgba(255, 138, 0, 0.1); color: #ff8a00; }
.bg-pink { background: rgba(229, 46, 113, 0.1); color: #e52e71; }
.bg-purple { background: rgba(138, 43, 226, 0.1); color: #8a2be2; }

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.feature-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Подвал */
.footer {
    margin-top: auto;
    padding: 2rem;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a:hover { color: var(--text-main); }

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}