/* =========================================
   1. VARIABLES & RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    /* Цветовая палитра (Dark Mode) */
    --bg-dark: #0f172a;       /* Глубокий темный */
    --bg-card: #1e293b;       /* Цвет карточек */
    --text-main: #f8fafc;     /* Белый текст */
    --text-muted: #94a3b8;    /* Серый текст */
    --accent-primary: #38bdf8; /* Голубой неон */
    --accent-hover: #0ea5e9;   /* Темнее при наведении */
    --accent-secondary: #10b981; /* Зеленый (рост/деньги) */
    --border-color: #334155;

    /* Размеры и отступы */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Глобальные настройки изображений */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ссылки */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   2. LAYOUT & UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    color: var(--text-muted);
}

.highlight {
    color: var(--accent-primary);
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   3. BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.6);
}

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

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
}

.btn-full {
    width: 100%;
}

/* =========================================
   4. HEADER
   ========================================= */
.main-header {
    height: var(--header-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.main-nav ul {
    display: none; /* Скрываем на мобильных по умолчанию */
}

/* Desktop Nav */
@media (min-width: 992px) {
    .main-nav ul {
        display: flex;
        gap: 30px;
    }

    .main-nav a {
        font-size: 0.95rem;
        color: var(--text-muted);
    }

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

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero-section {
    padding: 60px 0;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 40%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr; /* Текст шире, форма уже */
        gap: 60px;
    }
}

/* Hero Content */
.badge-new {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-bullets li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.hero-bullets i {
    color: var(--accent-secondary);
}

/* Hero Form (Lead Gen) */
.hero-form-wrapper {
    background: rgba(30, 41, 59, 0.7);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Акцентная полоска сверху формы */
.hero-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-icon input {
    width: 100%;
    padding: 12px 12px 12px 40px; /* Отступ слева под иконку */
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s;
}

.input-icon input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.form-footer-text {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* =========================================
   6. TRUST BAR
   ========================================= */
.trust-bar {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.5);
}

.trust-bar p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    font-size: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.trust-item:hover {
    opacity: 1;
    color: var(--text-main);
}

/* =========================================
   7. FEATURES SECTION
   ========================================= */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(56, 189, 248, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   8. ABOUT / IMAGE SECTION
   ========================================= */
.about-section {
    padding: 80px 0;
    background: #162032; /* Чуть светлее фона */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Настройка картинок под требования (16:9 + Cover) */
.about-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.check-list {
    margin-bottom: 30px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.check-list i {
    color: var(--accent-secondary);
}

/* =========================================
   9. BLOG TEASERS
   ========================================= */
.blog-teaser-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    overflow: hidden;
}

/* Требование: Картинки 16:9, responsive, object-fit: cover */
.blog-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.blog-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* =========================================
   10. FOOTER
   ========================================= */
.main-footer {
    background: #0b1120;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
}

.contact-info li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.footer-bottom {
    background: #020617;
    padding: 20px 0;
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.7rem;
    line-height: 1.4;
    opacity: 0.6;
}