/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary:     #e53935;
    --primary-dark:#c62828;
    --dark:        #0f0f1a;
    --dark-2:      #1a1a2e;
    --text:        #333;
    --light:       #f8f9fa;
    --border:      #e9ecef;
    --radius:      12px;
    --shadow:      0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.15);
    --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ===== CONTAINER ===== */
.l-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== BUTTONS ===== */
.l-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.l-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.l-btn-outline {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.l-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
}

.l-btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.l-btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* ===== HEADER ===== */
.l-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark-2);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.l-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.l-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.l-logo-auto {
    color: #fff;
}

.l-logo-cms {
    color: var(--primary);
}

.l-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.l-header-phone {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.l-header-phone:hover {
    color: var(--primary);
}

/* ===== HERO ===== */
.l-hero {
    background: var(--dark-2);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.l-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 700px;
    height: 700px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
}

.l-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.04;
    pointer-events: none;
}

.l-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.l-hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(229,57,53,0.2);
    color: #ef9a9a;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.l-hero-title {
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.l-hero-title span {
    color: var(--primary);
}

.l-hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

.l-hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.l-hero-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.l-hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ===== MOCKUP ===== */
.l-hero-visual {
    position: relative;
}

.l-mockup {
    background: #1e2139;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

.l-mockup-bar {
    background: #2a2d47;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.l-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}

.l-mockup-bar span:nth-child(1) {
    background: #ff5f57; }
.l-mockup-bar span:nth-child(2) { background: #ffbd2e; }
.l-mockup-bar span:nth-child(3) { background: #28c840; }

.l-mockup-content {
    padding: 16px;
}

.l-mockup-header {
    height: 36px;
    background: rgba(229,57,53,0.3);
    border-radius: 6px;
    margin-bottom: 12px;
}

.l-mockup-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.l-mockup-nav div {
    height: 8px;
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
}

.l-mockup-hero {
    height: 80px;
    background: linear-gradient(135deg, rgba(229,57,53,0.2), rgba(26,26,46,0.5));
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(229,57,53,0.2);
}

.l-mockup-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.l-mockup-cards div {
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
}

/* Badges */
.l-mockup-badge {
    position: absolute;
    background: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.l-badge-1 {
    top: -16px;
    right: -16px;
    color: var(--primary);
}

.l-badge-2 {
    bottom: 40px;
    left: -24px;
    color: #2e7d32;
}

.l-badge-3 {
    bottom: -16px;
    right: 20px;
    color: #1565c0;
}

/* ===== SECTIONS ===== */
.l-section {
    padding: 90px 0;
}

.l-section-light {
    background: var(--light);
}

.l-section-dark {
    background: var(--dark-2);
    color: #fff;
}

.l-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.l-section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(229,57,53,0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.l-section-title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
    color: var(--dark-2);
    margin-bottom: 16px;
    line-height: 1.25;
}

.l-section-dark .l-section-title {
    color: #fff;
}

.l-section-subtitle {
    font-size: 17px;
    color: #666;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== NICHES ===== */
.l-niches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.l-niche-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.l-niche-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.l-niche-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.l-niche-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.l-niche-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== FEATURES ===== */
.l-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.l-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.l-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.l-feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(229,57,53,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.l-feature-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.l-feature-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== COMPARE ===== */
.l-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.l-compare-col {
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.1);
}

.l-compare-bad {
    background: rgba(255,255,255,0.03);
}

.l-compare-good {
    background: rgba(229,57,53,0.1);
    border-color: rgba(229,57,53,0.3);
}

.l-compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.l-compare-icon {
    font-size: 22px;
}

.l-compare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.l-compare-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* ===== PRICING ===== */
.l-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.l-pricing-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.l-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.l-pricing-popular {
    border-color: var(--primary);
    border-width: 2px;
    transform: scale(1.03);
}

.l-pricing-popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.l-pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.l-pricing-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark-2);
    margin-bottom: 16px;
}

.l-pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.l-pricing-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.l-pricing-period {
    font-size: 15px;
    color: #888;
}

.l-pricing-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
}

.l-pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.l-pricing-features li {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.l-pricing-btn {
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.l-pricing-btn-primary {
    background: var(--primary);
    color: #fff;
}

.l-pricing-btn-primary:hover {
    background: var(--primary-dark);
}

.l-pricing-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.l-pricing-btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== CONTACT ===== */
.l-contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.l-contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.l-contact-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: rgba(229,57,53,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.l-contact-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.l-contact-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-2);
}

a.l-contact-value {
    color: var(--primary);
}

a.l-contact-value:hover {
    text-decoration: underline;
}

/* ===== FORM ===== */
.l-contact-form-wrap {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.l-form-group {
    margin-bottom: 16px;
}

.l-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.l-form-group input,
.l-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: #fff;
    color: var(--text);
}

.l-form-group input:focus,
.l-form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229,57,53,0.12);
}

.l-form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin-top: 14px;
}

/* ===== FOOTER ===== */
.l-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.5);
    padding: 40px 0 0;
}

.l-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
    gap: 20px;
}

.l-footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .l-hero-inner {
        grid-template-columns: 1fr;
    }

    .l-hero-visual {
        display: none;
    }

    .l-niches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .l-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .l-pricing-popular {
        transform: none;
        order: -1;
    }

    .l-pricing-popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .l-section {
        padding: 60px 0;
    }

    .l-hero {
        padding: 60px 0;
    }

    .l-features-grid {
        grid-template-columns: 1fr;
    }

    .l-compare-grid {
        grid-template-columns: 1fr;
    }

    .l-contact-wrap {
        grid-template-columns: 1fr;
    }

    .l-niches-grid {
        grid-template-columns: 1fr;
    }

    .l-hero-stats {
        gap: 20px;
    }

    .l-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .l-hero-buttons {
        flex-direction: column;
    }

    .l-contact-form-wrap {
        padding: 24px 16px;
    }
}