/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1a1a25;
    
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #8a8a9a;
    
    --accent-primary: #6c5ce7;
    --accent-secondary: #a29bfe;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #74b9ff 100%);
    --accent-glow: rgba(108, 92, 231, 0.5);
    
    --success: #00d26a;
    --warning: #ffc107;
    --danger: #ff6b6b;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===== Background Animation ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #74b9ff;
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #a29bfe;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.02); }
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px var(--accent-glow);
}

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

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

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(108, 92, 231, 0.1);
}

.btn-header {
    padding: 10px 24px;
    background: var(--accent-gradient);
    color: white;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
}

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

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

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Dashboard Card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    animation: slideUp 1s ease-out;
}

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

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dashboard-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dashboard-badge.live {
    background: rgba(0, 210, 106, 0.15);
    color: var(--success);
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 150px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(to top, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    opacity: 0.6;
}

.chart-bar.active {
    opacity: 1;
    box-shadow: 0 0 20px var(--accent-glow);
}

.chart-bar:hover {
    opacity: 1;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-sm);
}

.metric-icon {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-cta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.15), rgba(0, 180, 90, 0.15));
    border: 1px solid rgba(0, 210, 106, 0.3);
    border-radius: 50px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Advantages Section ===== */
.advantages {
    background: var(--bg-secondary);
}

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

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== How It Works Section ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step {
    position: relative;
    text-align: center;
    padding: 32px 16px;
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.8;
    margin-bottom: 16px;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.step-line {
    position: absolute;
    top: 50px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: var(--accent-gradient);
}

.step:last-child .step-line {
    display: none;
}

/* ===== Pricing Section ===== */
.pricing {
    background: var(--bg-secondary);
}

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

/* New Pricing Cards */
.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card-new:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.25);
}

.pricing-card-new:hover::before {
    transform: scaleX(1);
}

.pricing-card-new:hover .tariff-icon {
    transform: scale(1.2);
}

.pricing-card-new:hover .btn-outline {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.tariff-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.tariff-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tariff-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tariff-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
}

.tariff-features li:last-child {
    border-bottom: none;
}

.tariff-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tariff-price span {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-card-new .btn {
    width: 100%;
}

/* Free Trial Banner */
.free-trial-banner {
    margin-top: 40px;
    background: var(--bg-card);
    border: 2px solid var(--success);
    border-radius: var(--border-radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.free-trial-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.05) 0%, rgba(0, 210, 106, 0.02) 100%);
    pointer-events: none;
}

.free-trial-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.free-trial-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.free-trial-text {
    flex-grow: 1;
}

.free-trial-text h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--success);
}

.free-trial-text p {
    color: var(--text-secondary);
    margin: 0;
}

.free-trial-banner .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .pricing-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid-new {
        grid-template-columns: 1fr;
    }
    
    .tariff-icon {
        font-size: 2.5rem;
    }
    
    .free-trial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .free-trial-text h4 {
        font-size: 1.1rem;
    }
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
}

.pricing-features .cross {
    color: var(--text-muted);
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-card .btn {
    width: 100%;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.about-feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.about-feature-text h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.about-feature-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.team-stat {
    text-align: center;
}

.team-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.team-text p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.team-author {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* ===== Cases Section ===== */
.cases {
    background: var(--bg-secondary);
}

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

/* Cases Carousel */
.cases-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.cases-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    perspective: 1000px;
}

.cases-carousel .case-card-simple {
    position: absolute;
    width: 350px;
    transition: all 0.5s ease;
    cursor: pointer;
}

/* Центральная карточка */
.cases-carousel .case-card-simple.active {
    position: relative;
    transform: scale(1.1);
    z-index: 3;
    box-shadow: 0 20px 60px rgba(108, 92, 231, 0.3);
}

/* Левая карточка */
.cases-carousel .case-card-simple.prev {
    transform: translateX(-280px) scale(0.85);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.7);
}

/* Правая карточка */
.cases-carousel .case-card-simple.next {
    transform: translateX(280px) scale(0.85);
    opacity: 0.6;
    z-index: 2;
    filter: brightness(0.7);
}

/* Скрытые карточки */
.cases-carousel .case-card-simple.hidden {
    transform: scale(0.7);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

/* Индикаторы */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--accent-secondary);
}

@media (max-width: 1024px) {
    .cases-carousel .case-card-simple {
        width: 300px;
    }
    
    .cases-carousel .case-card-simple.prev {
        transform: translateX(-220px) scale(0.8);
    }
    
    .cases-carousel .case-card-simple.next {
        transform: translateX(220px) scale(0.8);
    }
}

@media (max-width: 768px) {
    .cases-carousel .case-card-simple {
        width: 280px;
    }
    
    .cases-carousel .case-card-simple.prev {
        transform: translateX(-150px) scale(0.75);
        opacity: 0.4;
    }
    
    .cases-carousel .case-card-simple.next {
        transform: translateX(150px) scale(0.75);
        opacity: 0.4;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

.case-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

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

.case-card-simple {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    transition: var(--transition);
    text-align: center;
}

.case-card-simple:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.case-card-simple h3 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.case-card-simple .case-screenshot {
    margin-bottom: 0;
    height: 200px;
}

.case-card-simple .case-screenshot img {
    height: 100%;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.case-industry {
    font-size: 0.85rem;
    color: var(--accent-secondary);
}

.case-duration {
    font-size: 0.8rem;
    padding: 4px 12px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 50px;
    color: var(--accent-secondary);
}

.case-card h3 {
    margin-bottom: 24px;
}

.case-results {
    margin-bottom: 20px;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.case-result:last-child {
    border-bottom: none;
}

.case-label {
    width: 70px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.case-before {
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.case-arrow {
    color: var(--accent-primary);
}

.case-after {
    color: var(--success);
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
}

.case-screenshot {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.case-screenshot img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

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

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(108, 92, 231, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

.case-screenshot:hover .screenshot-overlay {
    opacity: 1;
}

.case-growth {
    text-align: center;
    padding: 12px;
    background: rgba(0, 210, 106, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--success);
    font-weight: 700;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-secondary);
}

/* ===== Order Section ===== */
.order-section {
    background: var(--bg-secondary);
}

.order-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.order-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.order-form .btn {
    width: 100%;
    margin-bottom: 16px;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.form-note a {
    color: var(--accent-secondary);
}

/* File Upload */
.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.file-upload-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.file-upload-btn input[type="file"] {
    display: none;
}

.file-name {
    color: var(--success);
    font-size: 0.9rem;
    font-weight: 500;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
}

.info-card h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.info-phone {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 4px;
}

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

.messenger-buttons {
    display: flex;
    gap: 12px;
}

.messenger-btn {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
}

.messenger-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #00a2e8);
    color: white;
}

.messenger-btn.max {
    background: linear-gradient(135deg, #3781FA, #9845DD);
    color: white;
}

.messenger-btn:hover {
    transform: translateY(-2px);
}

.info-guarantee {
    background: var(--bg-card);
    border: 1px solid var(--success);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.guarantee-icon {
    font-size: 2.5rem;
}

.info-guarantee p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-guarantee strong {
    color: var(--success);
}

/* ===== Pricing Additions ===== */
.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ===== Reviews Section ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--accent-primary);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
}

.review-company {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
}

/* Reviews Carousel - Flexbox */
.reviews-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.reviews-viewport {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.reviews-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.rev-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.rev-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

.rev-card img {
    width: 100%;
    height: auto;
    display: block;
}

.rev-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(108, 92, 231, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: var(--transition);
}

.rev-card:hover .rev-overlay {
    opacity: 1;
}

.rev-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.rev-nav:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: scale(1.1);
}

.rev-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.rev-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.rev-dot.active {
    background: var(--accent-primary);
    transform: scale(1.2);
}

.rev-dot:hover {
    background: var(--accent-secondary);
}

@media (max-width: 768px) {
    .rev-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .rev-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .rev-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .reviews-carousel-container {
        gap: 10px;
    }
    
    /* Header mobile small */
    .header {
        padding: 10px 0;
    }
    
    .logo {
        font-size: 0.95rem;
    }
    
    .logo-icon {
        font-size: 1.1rem;
    }
    
    .btn-header {
        display: none;
    }
    
    .header .container {
        justify-content: center;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    /* Hero mobile small */
    h1 {
        font-size: 1.4rem !important;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 6px 10px;
        text-align: center;
    }
    
    .hero-desc {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 16px;
        margin: 0 auto;
    }
    
    .hero-content,
    .section-header {
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    section {
        padding: 50px 0;
    }
    
    /* Dashboard mobile */
    .dashboard-card {
        padding: 16px;
        max-width: 100%;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .dashboard-title {
        font-size: 0.85rem;
    }
    
    .dashboard-badge {
        font-size: 0.7rem;
    }
    
    .metrics-grid {
        gap: 12px;
    }
    
    .metric {
        padding: 12px;
    }
    
    .metric-value {
        font-size: 1.3rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
    
    .free-badge {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
    
    /* Stats mobile */
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Buttons mobile */
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
    }
}

/* ===== FAQ Section ===== */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ===== CTA Section ===== */
.cta {
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
}

.cta h2 {
    color: white;
    margin-bottom: 16px;
}

.cta h2 .gradient-text {
    background: linear-gradient(135deg, #fff 0%, #e0e0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

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

.cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contacts h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links a,
.footer-contacts a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.8rem;
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-legal {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin: 0 auto 40px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .advantages-grid,
    .pricing-grid,
    .reviews-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .step-line {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .order-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header .container {
        padding: 0 16px;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .logo-icon {
        font-size: 1.3rem;
    }
    
    .nav {
        display: none;
    }
    
    .btn-header {
        padding: 8px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .advantages-grid,
    .pricing-grid,
    .reviews-grid,
    .cases-grid,
    .steps {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    /* Dashboard tablet/mobile */
    .dashboard-card {
        padding: 20px;
    }
    
    .dashboard-title {
        font-size: 0.9rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .order-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .messenger-buttons {
        flex-direction: column;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

