@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

:root {
    --bg-color: #03000a;
    --text-main: #f0ebf5;
    --text-muted: #a395b5;
    --accent-primary: #8e2de2;
    --accent-secondary: #4a00e0;
    --accent-glow: rgba(142, 45, 226, 0.5);
    --glass-bg: rgba(20, 10, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    /* Эффект туманности */
    background-image: 
        radial-gradient(circle at 15% 30%, rgba(142, 45, 226, 0.25), transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(74, 0, 224, 0.25), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(200, 30, 120, 0.15), transparent 50%);
    background-attachment: fixed;
}

/* Навигация */
header {
    background: rgba(3, 0, 10, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    background: linear-gradient(to right, #e2b0ff, #8e2de2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Контент */
main {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(142, 45, 226, 0.2);
    border: 1px solid var(--accent-primary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--accent-glow);
}

h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(to right, #ff7ae5, #8e2de2, #4a00e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

/* Кнопки */
.btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(142, 45, 226, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Стеклянные карточки */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

.card ul {
    list-style-type: none;
}

.card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.card ul li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Подвал */
footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    h1 { font-size: 40px; }
    .nav-links { display: none; /* Для мобилок лучше сделать бургер в будущем */ }
    .btn-group { flex-direction: column; }
}
