/* ===========================================================
   SEO Landing Page Styles - Modern Design 2025
   Mobile First Approach with Bootstrap 5
   =========================================================== */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors - Green-Emerald Gradient */
    --primary-color: #2d5a3d;
    --primary-light: #10b981;
    --primary-dark: #1f4d2f;
    --secondary-color: #10b981;
    --accent-color: #84cc16;
    --accent-light: #a3e635;
    
    /* Neutral Colors */
    --dark-color: #1a1a2e;
    --light-dark: #16213e;
    --text-primary: #2c3e50;
    --text-secondary: #6c757d;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--light-dark) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(45, 90, 61, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    
    /* Typography */
    --font-primary: 'Stolzl', Arial, sans-serif;
    --font-secondary: 'Stolzl', Arial, sans-serif;
    
    /* Sizes */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}

/* Gradient Text */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Titles */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Navigation */
.custom-navbar {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
    transition: var(--transition);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    position: relative;
    background: rgba(45, 90, 61, 0.02);
    border: 1px solid transparent;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(45deg, 
        rgba(45, 90, 61, 0.3),
        rgba(16, 185, 129, 0.3),
        rgba(45, 90, 61, 0.3)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.navbar-brand .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.2);
    transition: var(--transition);
}

.navbar-brand .logo-icon i {
    color: white;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    transform: translateY(2px);
}

.navbar-brand .logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.1)
    );
    opacity: 0;
    transition: var(--transition);
}

.navbar-brand .logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: rotate(45deg);
    animation: shine 4s infinite;
}

.navbar-brand .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    position: relative;
}

.navbar-brand .logo-text-main {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.navbar-brand .logo-text-main::after {
    content: 'SEO';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    opacity: 0.15;
    filter: blur(4px);
    transform: translateY(0);
    transition: var(--transition);
}

.navbar-brand .logo-text-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transform: translateY(2px);
    opacity: 0.9;
    transition: var(--transition);
}

.navbar-brand:hover {
    background: rgba(45, 90, 61, 0.03);
    transform: translateY(-1px);
}

.navbar-brand:hover::before {
    opacity: 1;
}

.navbar-brand:hover .logo-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px rgba(45, 90, 61, 0.25);
}

.navbar-brand:hover .logo-icon::before {
    opacity: 1;
}

.navbar-brand:hover .logo-icon i {
    transform: scale(1.1);
}

.navbar-brand:hover .logo-text-main {
    transform: translateX(2px);
}

.navbar-brand:hover .logo-text-main::after {
    opacity: 0.25;
    filter: blur(8px);
    transform: translateY(-2px);
}

.navbar-brand:hover .logo-text-sub {
    opacity: 1;
    transform: translateY(2px) translateX(2px);
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    15%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(70% 70% at 50% 100%, rgba(79, 70, 229, 0.15) 0%, rgba(79, 70, 229, 0.05) 50%, transparent 100%),
        radial-gradient(50% 50% at 20% 25%, rgba(79, 70, 229, 0.05) 0%, transparent 100%);
    z-index: 0;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234f46e5' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.5;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-shadow: none;
}

.hero-subtitle {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.guarantee-text {
    margin-bottom: 2rem;
}

.guarantee-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(45, 90, 61, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-bottom: 0;
}

.guarantee-highlight i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding-right: 2rem; /* Add padding only to content wrapper */
}

.hero-content {
    max-width: 550px;
    padding-right: 1rem;
}

.hero-title {
    color: #111827;
    line-height: 1.2;
    font-size: 2.7rem;
    margin-bottom: 2rem;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0.3) 100%);
    padding: 0.2em 0.1em;
    border-radius: 4px;
    color: inherit;
}

.hero-subtitle {
    color: #4f46e5;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2.5rem 0;
    max-width: 500px;
}

.feature-card {
    background: rgba(79, 70, 229, 0.03);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-card:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateX(5px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}

.special-offer {
    font-size: 0.9rem;
    color: #ef4444;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.hero-cta {
    font-size: 1.5rem;
    padding: 1.5rem 3.5rem;
    border-radius: 100px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    background: #4f46e5;
    color: white;
    text-transform: none;
    letter-spacing: 0.5px;
}

.hero-cta i {
    font-size: 1.5rem;
}

.hero-cta:hover {
    background: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
}

.hero-cta:hover::before {
    transform: translateX(100%);
}

.offer-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 100px;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 500;
}

.offer-pulse {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.hero-main-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    margin-left: -2rem; /* Pull image closer to content */
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Scroll Indicator */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #4f46e5 0%, transparent 100%);
    position: relative;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top center;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top center;
    }
    50.1% {
        transform-origin: bottom center;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom center;
    }
}

/* CTA Buttons Group */
.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.cta-primary-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-secondary-wrapper {
    display: flex;
    justify-content: center;
}

.cta-express {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    animation: ctaPulse 2s infinite;
}

.cta-express:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.cta-consultation {
    background: transparent;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.cta-consultation:hover {
    background: #4f46e5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.cta-note {
    font-size: 0.9rem;
    color: #059669;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3), 0 0 0 10px rgba(16, 185, 129, 0.1);
    }
}

/* CTA Invitation Block */
.cta-invitation {
    text-align: center;
    margin-bottom: 2rem;
}

.cta-invitation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.cta-invitation-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* Intermediate CTA Sections */
.intermediate-cta-section {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-top: 1px solid rgba(79, 70, 229, 0.1);
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
}

.intermediate-cta-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intermediate-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
}

.intermediate-cta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.intermediate-cta-card:hover::before {
    opacity: 1;
}

.intermediate-cta-card.calculator-cta::before {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
}

.intermediate-cta-card .cta-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.intermediate-cta-card .cta-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.cta-checklist {
    background: transparent;
    color: #198754;
    border: 2px solid #198754;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.cta-checklist:hover {
    background: #198754;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.cta-calculator {
    background: #ffc107;
    color: #212529;
    border: 2px solid #ffc107;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.cta-calculator:hover {
    background: #ff8f00;
    border-color: #ff8f00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* CTA Modal Styles */
.cta-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cta-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cta-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cta-modal-overlay.show .cta-modal-content {
    transform: scale(1) translateY(0);
}

.cta-modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.cta-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cta-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

.cta-modal-body {
    padding: 1rem 2rem 2rem;
}

.cta-modal-body p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.cta-modal-body .form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-modal-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.cta-modal-body .form-select {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-modal-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.cta-modal-body .form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-modal-body .btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.calculator-modal .cta-modal-content {
    max-width: 600px;
}

/* Mobile responsiveness for CTA modals */
@media (max-width: 576px) {
    .cta-modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .cta-modal-header {
        padding: 1.5rem 1.5rem 0.5rem;
    }
    
    .cta-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .cta-modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .cta-modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Pricing consultation button */
.cta-consultation-pricing {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.cta-consultation-pricing:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.25);
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 12px 30px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--box-shadow);
}

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

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-xl {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(45, 90, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(45, 90, 61, 0);
    }
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.advantage-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Facts Section */
.facts-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.facts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.05"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0"/></radialGradient></defs><circle cx="100" cy="100" r="50" fill="url(%23b)"/><circle cx="900" cy="200" r="80" fill="url(%23b)"/><circle cx="500" cy="800" r="60" fill="url(%23b)"/></svg>');
    opacity: 0.3;
    z-index: -1;
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.fact-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--secondary-color);
    font-family: var(--font-primary);
    margin-bottom: 0.5rem;
}

.fact-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.4;
}

.fact-highlight {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* System Section */
.system-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.system-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.system-feature:hover {
    background: white;
    box-shadow: var(--box-shadow);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Transparency Section */
.transparency-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.transparency-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.transparency-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.transparency-icon {
    margin-bottom: 1rem;
}

.transparency-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.transparency-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.transparency-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon points="0,0 1000,0 1000,800" fill="rgba(255,255,255,0.02)"/></svg>');
    z-index: -1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.benefit-card h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.pricing-card-featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(to bottom, rgba(45, 90, 61, 0.02), rgba(16, 185, 129, 0.05));
}

.pricing-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    right: 2rem;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--primary-color);
}

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

.pricing-card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price .currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 90, 61, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

.guarantee-badge i {
    font-size: 1.2rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.features-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-card-body {
    margin-bottom: 2rem;
}

.pricing-card-footer {
    margin-top: auto;
}

.pricing-note {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-note .alert {
    border: none;
    background: linear-gradient(to right, rgba(45, 90, 61, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--border-radius-lg);
}

.pricing-note .alert-heading {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pricing-note ul {
    margin: 0;
    padding-left: 1.5rem;
}

.pricing-note ul li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-note ul li:last-child {
    margin-bottom: 0;
}

/* Pricing Mobile Carousel */
.pricing-mobile {
    display: none;
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
    max-width: 500px;
}

.pricing-mobile .carousel-inner {
    overflow: visible;
}

.pricing-mobile .carousel-item {
    transition: transform .6s ease-in-out;
}

.pricing-mobile .pricing-card {
    margin: 0 auto;
    max-width: 100%;
}

.pricing-mobile .carousel-control-prev,
.pricing-mobile .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.pricing-mobile .carousel-control-prev {
    left: 0;
}

.pricing-mobile .carousel-control-next {
    right: 0;
}

.pricing-mobile .carousel-control-prev:hover,
.pricing-mobile .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.pricing-mobile .carousel-control-prev-icon,
.pricing-mobile .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.pricing-mobile .carousel-indicators {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 0;
}

.pricing-mobile .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.3;
    transition: var(--transition);
}

.pricing-mobile .carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 1199px) {
    .pricing-card {
        padding: 1.5rem;
    }

    .price .amount {
        font-size: 2rem;
    }
}

@media (max-width: 991px) {
    .pricing-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        padding: 1.2rem;
    }

    .pricing-card-header h3 {
        font-size: 1.3rem;
    }

    .price .amount {
        font-size: 1.8rem;
    }

    .features-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .pricing-desktop {
        display: none;
    }
    
    .pricing-mobile {
        display: block;
    }
    
    .pricing-mobile .pricing-card {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .pricing-mobile {
        padding: 0 30px;
    }
    
    .pricing-mobile .carousel-control-prev,
    .pricing-mobile .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .pricing-mobile .carousel-control-prev-icon,
    .pricing-mobile .carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
}

/* Cases Section */
.cases-section {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Cases Carousel Styles */
#casesCarousel {
    position: relative;
    padding: 0 50px;
}

#casesCarousel .carousel-control-prev,
#casesCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

#casesCarousel .carousel-control-prev {
    left: 0;
}

#casesCarousel .carousel-control-next {
    right: 0;
}

#casesCarousel .carousel-control-prev:hover,
#casesCarousel .carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#casesCarousel .carousel-control-prev-icon,
#casesCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 991px) {
    #casesCarousel {
        padding: 0 30px;
    }
    
    #casesCarousel .carousel-control-prev,
    #casesCarousel .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    #casesCarousel .carousel-control-prev-icon,
    #casesCarousel .carousel-control-next-icon {
        width: 15px;
        height: 15px;
    }
    
    .case-card {
        margin: 0 auto;
        max-width: 400px;
    }
}

.case-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.case-image {
    height: 200px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.case-image::before {
    content: '📈 Кейс';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.case-image img:hover {
    transform: scale(1.05);
}

/* Modal Styles */
.modal-backdrop.show {
    opacity: 0.85;
}

.modal-content {
    background: transparent;
    border: none;
}

.modal-header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 1rem;
}

.btn-close {
    background-color: white;
    opacity: 0.8;
    padding: 0.75rem;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.modal-body img {
    max-height: 90vh;
    object-fit: contain;
}

.case-content {
    padding: 2rem;
}

.case-content h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.case-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.result-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
}

.result-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem 2rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    border-radius: var(--border-radius-lg);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem 2rem;
    background: white;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="800" cy="600" r="150" fill="rgba(255,255,255,0.05)"/></svg>');
    z-index: -1;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    height: 100%;
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1rem;
}

.step-card h5 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.step-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.cta-form-container {
    margin-top: 3rem;
}

.cta-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 15px;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-form .form-control:focus {
    background: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.cta-form .form-control::placeholder {
    color: var(--text-secondary);
}

.cta-form .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-form .form-check-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.cta-form .form-check-label a:hover {
    color: var(--primary-light) !important;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--text-light);
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7);
}

/* Новые стили для контактов в футере */
.footer-contacts {
    margin-top: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
}

.contact-item i {
    font-size: 1.1rem;
    margin-top: 2px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
    transition: var(--transition);
}

.contact-item a:hover {
    opacity: 1;
    color: var(--secondary-color) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-bottom {
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

.btn-back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
.hero-section .container {
    max-width: 1400px; /* Увеличиваем максимальную ширину контейнера */
}

.hero-section .row {
    margin: 0;
    gap: 0; /* Убираем отступ между колонками полностью */
}

.hero-section .col-lg-6 {
    padding: 0;
    width: 50%;
    flex: 0 0 50%; /* Принудительно задаем ширину 50% */
}

.hero-content-wrapper {
    padding-right: 0; /* Убираем отступ справа */
    max-width: 600px; /* Ограничиваем ширину контента */
    margin-left: auto; /* Прижимаем контент к правому краю */
}

.hero-main-image {
    width: 100%;
    height: 100%;
    max-height: none; /* Убираем ограничение по высоте */
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    margin: 0; /* Убираем все отступы */
    display: block;
}

.hero-section .col-lg-6:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Прижимаем изображение к левому краю */
    height: 80vh; /* Задаем фиксированную высоту для контейнера изображения */
}

@media (max-width: 991px) {
    .hero-section .col-lg-6 {
        width: 100%;
        flex: 0 0 100%;
    }

    .hero-content-wrapper {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }

    .hero-main-image {
        max-width: 100%;
        height: auto;
    }

    .hero-section .col-lg-6:last-child {
        height: auto;
        padding: 2rem 0;
    }
}

@media (max-width: 768px) {
    /* Стили шапки */
    .custom-navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.2rem;
        margin-right: 0;
    }

    .navbar-toggler {
        padding: 0.4rem;
        border: none;
        margin-left: 0.5rem;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

    .nav-item .btn {
        padding: 0.4rem 1rem !important;
        font-size: 0.9rem !important;
        margin: 0 !important;
    }

    .navbar-nav .nav-item:last-child {
        margin: 0;
    }
    
    /* Mobile CTA Styles */
    .cta-invitation-title {
        font-size: 1.3rem;
    }
    
    .cta-invitation-subtitle {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .cta-buttons-group {
        gap: 1.5rem;
    }
    
    .cta-express {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        white-space: normal;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
    }
    
    .cta-consultation {
        font-size: 0.95rem;
        padding: 0.9rem 1.8rem;
    }
    
    .cta-note {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        text-align: center;
    }
    
    /* Intermediate CTA Mobile */
    .intermediate-cta-card {
        padding: 1.5rem;
    }
    
    .intermediate-cta-card .cta-content h3 {
        font-size: 1.2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: center;
    }
    
    .intermediate-cta-card .cta-content p {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .cta-checklist,
    .cta-calculator {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
        width: 100%;
        margin-top: 1rem;
    }

    /* Стили hero секции */
    .hero-section {
        min-height: 100vh;
        padding: 4.5rem 1.5rem 2rem;
        display: flex;
        align-items: center;
    }

    .hero-section .container {
        padding: 0;
    }

    .hero-section .col-lg-6:last-child {
        display: none;
    }

    .hero-content {
        text-align: left;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 2rem;
    }

    .feature-list {
        gap: 1.2rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        font-size: 1.1rem;
        gap: 0.8rem;
        line-height: 1.4;
    }

    .feature-item i {
        font-size: 1.3rem;
        margin-top: 0.1rem;
    }

    .hero-actions {
        margin-top: 2rem;
    }

    .special-offer {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        text-align: center;
        background: rgba(239, 68, 68, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 100px;
        display: inline-block;
        width: 100%;
    }

    .hero-cta {
        width: 100%;
        font-size: 1.2rem;
        padding: 1.2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.8rem;
        border-radius: 16px;
        background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
        box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
        transition: all 0.3s ease;
    }

    .hero-cta i {
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }

    .hero-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
    }

    .hero-cta:hover i {
        transform: translateX(5px);
    }

    .hero-bg-pattern,
    .hero-bg-gradient {
        opacity: 0.3;
    }
}

/* Дополнительные оптимизации для очень маленьких экранов */
@media (max-width: 360px) {
    .hero-section {
        padding: 4rem 1rem 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .feature-item {
        font-size: 1rem;
    }

    /* Mobile CTA invitation для маленьких экранов */
    .cta-invitation-title {
        font-size: 1.2rem;
        line-height: 1.2;
    }
    
    .cta-invitation-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    /* Максимально компактная кнопка для очень маленьких экранов */
    .cta-express {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
        line-height: 1.1;
        text-align: center;
    }

    .hero-cta {
        font-size: 1.1rem;
        padding: 1rem;
    }
}

@media (min-width: 1400px) {
    .site-arrow {
        right: -150px;
    }
    
    .arrow-text {
        font-size: 1.3rem;
    }
    
    .arrow-line {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    /* Еще более компактные CTA для очень маленьких экранов */
    .cta-express {
        font-size: 0.95rem;
        padding: 0.8rem 1.5rem;
        line-height: 1.2;
    }
    
    .cta-note {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        margin-bottom: 1rem;
    }
    
    .fact-number {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .cta-form .form-control {
        padding: 12px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-indicator,
    .btn-back-to-top {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #1f4d2f;
        --secondary-color: #059669;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #666666;
    }
    
    .advantage-card,
    .transparency-card,
    .case-card {
        border: 2px solid var(--border-color);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator {
        animation: none;
    }
    
    .pulse-animation {
        animation: none;
    }
}

/* Performance Optimizations */
.hero-section,
.facts-section,
.benefits-section,
.cta-section {
    will-change: transform;
}

.advantage-card,
.transparency-card,
.benefit-card,
.case-card,
.system-feature {
    backface-visibility: hidden;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #374151;
}

.feature-item i {
    color: #4f46e5;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-item span {
    flex: 1;
}

@media (max-width: 768px) {
    .feature-item {
        font-size: 1rem;
        gap: 0.8rem;
    }

    .feature-item i {
        font-size: 1.2rem;
    }
}

/* Form Highlight Animation */
@keyframes formHighlight {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(45, 90, 61, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(45, 90, 61, 0.2);
    }
}

.highlight-form {
    animation: formHighlight 1.5s ease-out;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.success-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.success-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.success-modal.show .success-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-modal-icon i {
    font-size: 2.5rem;
    color: white;
}

.success-modal-title {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-modal-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-modal-close {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 90, 61, 0.3);
}

@media (max-width: 576px) {
    .success-modal-content {
        padding: 2rem;
    }

    .success-modal-icon {
        width: 60px;
        height: 60px;
    }

    .success-modal-icon i {
        font-size: 2rem;
    }

    .success-modal-title {
        font-size: 1.3rem;
    }

    .success-modal-text {
        font-size: 1rem;
    }
}

/* Animation for success icon */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-modal-icon i {
    animation: checkmark 0.5s ease-in-out forwards;
}

/* Коммерческое предложение - специфичные стили */
.table-responsive {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Стили для таблиц в тёмных секциях */
.facts-section .table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
}

.facts-section .table-dark th {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.facts-section .table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.facts-section .table-hover .table-dark tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Стили для таблиц в светлых секциях (сравнение стоимости) */
.advantages-section .table-dark th,
#cost-comparison .table-dark th {
    background-color: var(--dark-color);
    color: var(--text-light);
    border-color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.advantages-section .table-bordered th,
.advantages-section .table-bordered td,
#cost-comparison .table-bordered th,
#cost-comparison .table-bordered td {
    border-color: var(--border-color);
}

.advantages-section .table tbody tr,
#cost-comparison .table tbody tr {
    background-color: white;
}

.advantages-section .table tbody tr:hover,
#cost-comparison .table tbody tr:hover {
    background-color: #f8f9fa;
}

.table-dark {
    --bs-table-bg: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
}

.table-dark th {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.table-dark td {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.table-hover .table-dark tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Стили для ссылок в блоке контактов */
.text-white.text-decoration-none:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* Дополнительные стили для цветных элементов */
.border-danger {
    border: 2px solid #dc3545 !important;
}

.border-success {
    border: 2px solid #198754 !important;
}

.border-warning {
    border: 2px solid #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #198754 !important;
}

.text-warning {
    color: #ffc107 !important;
}

