/* Общие настройки */
:root {
    --bg: #050509; /* Почти черный, глубокий синий */
    --bg-accent: #0f101a;
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --accent: #0078ff; /* Яркий синий */
    --accent-hover: #3395ff;
    --border: rgba(255, 255, 255, 0.08);
    --font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.accent { color: var(--accent); }

/* Кнопки */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 120, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Шапка */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0; width: 100%;
    background-color: rgba(5, 5, 9, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--text-main); }

.auth-group {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at center, #111a35 0%, var(--bg) 70%);
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 120, 255, 0.1);
    border: 1px solid rgba(0, 120, 255, 0.3);
    color: var(--accent);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 80px;
}

/* Имитация макета в Hero */
.hero-mockup {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.01));
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.mockup-frame {
    background: var(--bg-accent);
    border-radius: 8px;
    overflow: hidden;
}

.mockup-header {
    height: 30px;
    background: #191a2a;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

.dot { width: 8px; height: 8px; border-radius: 50%; }
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-lg {
    width: 70px; height: 70px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,120,255,0.5);
}

.mockup-content { padding: 10px; }

.mockup-timeline {
    height: 40px;
    background-color: #141522;
    margin-top: 10px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.mockup-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; height: 100%; width: 40%;
    background-color: rgba(0,120,255,0.2);
    border-right: 2px solid var(--accent);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 10px 0;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,120,255,0.3);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-muted);
}