/* Глобальные переменные и палитра */
:root {
    --bg-main: #18070a;         
    --bg-card: #240f12;         
    --bg-header: rgba(24, 7, 10, 0.85);
    --accent: #e62336;          
    --accent-hover: #cc1f30;    
    --text-white: #ffffff;
    --text-muted: #a59294;
    --border-color: #3d191d;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Сброс базовых стилей */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

code {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-size: 0.9em;
}

/* Контейнеры */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Фиксированная шапка */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1.5px;
}

.accent-text {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.main-nav a.nav-btn {
    border: 1px solid var(--accent);
    padding: 6px 16px;
    border-radius: 4px;
    color: var(--text-white);
}

.main-nav a.nav-btn:hover {
    background-color: var(--accent);
    color: var(--text-white);
}

/* Главный экран (Hero) */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 20%, #4a151b 0%, #18070a 60%);
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: 24px;
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.file-info {
    font-size: 12px;
    color: var(--text-muted);
}

/* Секции общие стили */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--text-muted);
    font-size: 16px;
}


/* Возможности (особенности) */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 8px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.card-icon {
    color: var(--accent);
    width: 40px;
    height: 40px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* Демонстрация (Showcase) */
.showcase-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-card) 100%);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.showcase-label {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.showcase-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.showcase-text {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.showcase-list {
    list-style: none;
}

.showcase-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-white);
    font-weight: 500;
    font-size: 15px;
}

.showcase-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 900;
}

/* Макет скриншота */
.app-screenshot-mockup {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.4);
    overflow: hidden;
    width: 100%;
}

.mockup-header {
    background-color: var(--bg-card);
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-header .circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.mockup-header .circle.red { background-color: #ff5f56; }
.mockup-header .circle.yellow { background-color: #ffbd2e; }
.mockup-header .circle.green { background-color: #27c93f; }

.mockup-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 12px;
    font-family: monospace;
}

.mockup-body {
    height: 280px;
    display: flex;
}

.mockup-sidebar {
    width: 60px;
    background-color: var(--bg-main);
    border-right: 1px solid var(--border-color);
}

.mockup-content {
    flex: 1;
    padding: 20px;
}

.mockup-line {
    height: 12px;
    background-color: var(--border-color);
    margin-bottom: 12px;
    border-radius: 4px;
}

.mockup-line.wide { width: 70%; }
.mockup-line:not(.wide) { width: 40%; }

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.mockup-block {
    background-color: var(--bg-card);
    height: 100px;
    border-radius: 6px;
    border: 1px dashed var(--border-color);
}

/* Секция призыва к действию (CTA) */
.cta-section {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 80%, #4a151b 0%, #18070a 50%);
    border-top: 1px solid var(--border-color);
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 32px;
}

.cta-footer-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 24px;
    opacity: 0.7;
}


/* Подвал */
.site-footer {
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 14px;
}

.domain-badge {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-white);
    font-family: monospace;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 40px;
    }
}
