/* --- Базовые переменные (взяты из сгенерированного макета) --- */
:root {
    --orange-primary: #FF5A00;
    --orange-hover: #E04E00;
    --orange-light: #FFF0E6;
    --orange-shadow: rgba(255, 90, 0, 0.25);
    
    --text-main: #111827;
    --text-muted: #4B5563;
    --text-light: #9CA3AF;
    
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --border-light: #E5E7EB;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Кнопки --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--orange-primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--orange-shadow);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--orange-shadow);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background-color: var(--bg-gray);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.05rem;
}

/* --- Шапка --- */
.header {
    border-bottom: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--orange-primary);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--orange-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.login-link {
    font-weight: 600;
    color: var(--text-main);
}

.login-link:hover {
    color: var(--orange-primary);
}

/* --- Главный экран (Hero) --- */
.hero {
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--orange-light);
    color: var(--orange-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

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

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats-mini {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    color: var(--text-muted);
}

.hero-stats-mini strong {
    color: var(--text-main);
    font-size: 1.1rem;
}

/* --- CSS-Мокап Дашборда (Точная копия стиля с картинки) --- */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.mockup-window {
    width: 100%;
    max-width: 540px;
    height: 400px;
    background-color: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border-light);
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-sidebar {
    width: 80px;
    background-color: var(--bg-gray);
    border-right: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mockup-logo {
    width: 30px;
    height: 30px;
    background-color: var(--orange-primary);
    border-radius: 8px;
    margin-bottom: 20px;
}

.mockup-nav-item {
    width: 24px;
    height: 24px;
    background-color: #E5E7EB;
    border-radius: 6px;
}

.mockup-nav-item.active {
    background-color: var(--orange-primary);
}

.mockup-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.mockup-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.mockup-user {
    width: 32px;
    height: 32px;
    background-color: var(--border-light);
    border-radius: 50%;
}

.mockup-cards {
    display: flex;
    gap: 16px;
}

.mockup-card {
    flex: 1;
    padding: 16px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-card strong {
    font-size: 1.1rem;
    color: var(--text-main);
}

.accent-card {
    background-color: var(--orange-primary);
    color: #fff;
}

.accent-card span, .accent-card strong {
    color: #fff;
}

.mockup-chart {
    flex: 1;
    background-color: var(--bg-gray);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    gap: 12px;
}

.bar {
    flex: 1;
    background-color: #D1D5DB;
    border-radius: 4px 4px 0 0;
}

.accent-bar {
    background-color: var(--orange-primary);
}

/* Декорации за мокапом */
.decoration-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,90,0,0.1) 0%, rgba(255,255,255,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* --- Преимущества --- */
.features {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.section-heading {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-heading p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

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

.feature-card {
    background-color: var(--bg-white);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-color: var(--orange-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background-color: var(--orange-light);
    border-radius: 12px;
}

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

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-mini {
        justify-content: center;
    }

    .hero-visual {
        justify-content: center;
        width: 100%;
    }

    .mockup-window {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .hero-text h1 { font-size: 2.5rem; }
    
    .features-grid { grid-template-columns: 1fr; }
}

/* --- Аудитория (Масштаб) --- */
.audience {
    padding: 100px 0;
    border-top: 1px solid var(--border-light);
}

.audience-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.audience-text {
    flex: 1;
}

.audience-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.audience-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

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

.check-list li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-list li span {
    color: var(--orange-primary);
    background: var(--orange-light);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
}

.audience-stats {
    flex: 1;
    display: flex;
    gap: 24px;
}

.stat-box {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: 16px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--border-light);
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Форматы рекламы --- */
.formats-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.format-card {
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.format-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--border-light);
}

.format-visual {
    height: 240px;
    background-color: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-bottom: 1px solid var(--border-light);
}

.mockup-site {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    padding: 10px;
    gap: 10px;
}

/* Стилизация мини-мокапов для визуализации форматов */
.mockup-header-mini { height: 15px; background: #E5E7EB; border-radius: 4px; }
.mockup-banner-space { 
    height: 60px; 
    background: var(--orange-light); 
    border: 2px dashed var(--orange-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-primary);
    font-size: 0.8rem;
    font-weight: bold;
}
.mockup-content-mini { flex: 1; background: #F3F4F6; border-radius: 4px; }

.mockup-main-mini { display: flex; gap: 10px; flex: 1; }
.mockup-sidebar-mini { width: 30%; background: #E5E7EB; border-radius: 4px; }
.mockup-item { flex: 1; background: #F3F4F6; border-radius: 4px; }
.highlighted-item {
    background: var(--orange-light);
    border: 2px dashed var(--orange-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-primary);
    font-size: 0.7rem;
    font-weight: bold;
}

.format-info {
    padding: 30px;
}

.format-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.format-info p {
    color: var(--text-muted);
}

/* --- Финальный CTA --- */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: var(--orange-primary);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 40px var(--orange-shadow);
    background-image: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

/* --- Подвал (Footer) --- */
.footer {
    background-color: #111827; /* Темный солидный цвет */
    color: #fff;
    padding: 80px 0 40px;
}

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

.footer-logo {
    color: #fff;
    margin-bottom: 16px;
}

.footer-desc {
    color: #9CA3AF;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links-group a {
    display: block;
    color: #9CA3AF;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: var(--orange-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #6B7280;
    font-size: 0.9rem;
}

/* Адаптивность для новых блоков */
@media (max-width: 1024px) {
    .audience-inner {
        flex-direction: column;
        text-align: center;
    }
    .check-list li {
        justify-content: center;
    }
    .formats-grid {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-desc {
        margin: 0 auto;
    }
}