* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Оптимизация производительности */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body { padding-top: 90px;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* Зеленая цветовая схема - shadcn style */
    --background: 0 0% 100%;
    --foreground: 142 71% 15%;
    --primary: 142 76% 36%;
    --primary-foreground: 0 0% 100%;
    --secondary: 142 50% 96%;
    --secondary-foreground: 142 71% 15%;
    --muted: 142 30% 95%;
    --muted-foreground: 142 20% 45%;
    --accent: 142 60% 92%;
    --accent-foreground: 142 71% 15%;
    --destructive: 0 84% 60%;
    --border: 142 20% 88%;
    --input: 142 20% 88%;
    --ring: 142 76% 36%;
    --radius: 0.5rem;
    
    /* Зеленые градиенты */
    --gradient-1: linear-gradient(135deg, #0a5c47 0%, #0a6b52 100%);
    --gradient-2: linear-gradient(135deg, #34d399 0%, #0a5c47 100%);
    --gradient-3: linear-gradient(135deg, #0a6b52 0%, #047857 100%);
    --gradient-4: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    --gradient-hero: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #6ee7b7 100%);
    
    /* Shadow система - shadcn style */
    --shadow-sm: 0 1px 2px 0 hsl(var(--foreground) / 0.05);
    --shadow: 0 1px 3px 0 hsl(var(--foreground) / 0.1), 0 1px 2px -1px hsl(var(--foreground) / 0.1);
    --shadow-md: 0 4px 6px -1px hsl(var(--foreground) / 0.1), 0 2px 4px -2px hsl(var(--foreground) / 0.1);
    --shadow-lg: 0 10px 15px -3px hsl(var(--foreground) / 0.1), 0 4px 6px -4px hsl(var(--foreground) / 0.1);
    --shadow-xl: 0 20px 25px -5px hsl(var(--foreground) / 0.1), 0 8px 10px -6px hsl(var(--foreground) / 0.1);
    --shadow-2xl: 0 25px 50px -12px hsl(var(--foreground) / 0.25);
    
    /* Animation timing */
    --duration-fast: 150ms;
    --duration-base: 200ms;
    --duration-slow: 300ms;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Modern clean fonts */
h1, h2, h3, .hero-title, .section-title-large {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Subtle background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' x='0' y='0' width='60' height='60' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%2310b981' opacity='0.08'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* Page transitions and animations */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body > * {
    animation: pageFadeIn 0.4s ease-out;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Improved cursor experience */
a, button, .btn, .nav-link, .portfolio-item, .service-card {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero .container {
    padding-left: 1.5rem;
    margin-left: 0;
    max-width: 100%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border));
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 20px -5px hsl(var(--primary) / 0.2);
    border-bottom-color: hsl(var(--primary) / 0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: hsl(var(--primary));
}

.nav-cta {
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.625rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 14px 0 hsl(var(--primary) / 0.3);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 hsl(var(--primary) / 0.4);
}

/* Mobile menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 10px;
    margin: -10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    pointer-events: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: hsl(var(--foreground));
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section - Smorodina style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* Video Background - Full Screen */
.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.88) 0%, rgba(5, 150, 105, 0.82) 100%);
    z-index: 1;
}

/* Улучшенное отображение изображений - без обрезки */
.hero,
.page-header {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Оптимизация производительности */
.portfolio-image,
.case-image {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (max-width: 768px) {
    .hero,
    .page-header {
        background-size: cover;
        background-position: center center;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(5, 150, 105, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Image background helpers for sections/page headers */
.bg-cover-fixed {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.page-header {
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(5, 150, 105, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.page-header.bg-2 {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.65) 100%),
        url('2.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-header.bg-3 {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.65) 100%),
        url('3.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-header.bg-4 {
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.65) 100%),
        url('4.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Добавляем декоративные элементы в hero */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, hsl(var(--primary) / 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, hsl(var(--primary) / 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.15) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
    text-align: left;
    max-width: 700px;
    margin: 0;
    position: relative;
    z-index: 20;
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 0;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInLeft 0.8s ease both;
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.75rem;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease;
    letter-spacing: -0.5px;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin-bottom: 2.5rem;
    line-height: 1.65;
    animation: fadeInUp 1s ease;
    max-width: 750px;
    font-weight: 400;
}

.hero-subtitle-secondary {
    font-size: clamp(0.95rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1.1s ease;
    max-width: 900px;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

/* Buttons - shadcn enhanced style */
.btn {
    padding: 0.625rem 1.5rem;
    border-radius: calc(var(--radius) - 2px);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all var(--duration-base) cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    user-select: none;
    line-height: 1.5;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: linear-gradient(135deg, #0a5c47 0%, #0a6b52 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
    text-transform: lowercase;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0a6b52 0%, #047857 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: hsl(var(--secondary) / 0.8);
    border-color: hsl(var(--primary) / 0.5);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

/* Убираем лишние отступы между секциями */
section + section {
    margin-top: 0;
    padding-top: 5rem;
}

/* Компактные отступы для мобильных */
@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }
    
    section + section {
        padding-top: 3.5rem;
    }
}

.section-header {
    text-align: left;
    max-width: 1200px;
    margin: 0 0 3rem 0;
}

.section-header.centered {
    text-align: center;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    letter-spacing: 0.5px;
    position: relative;
    text-transform: uppercase;
}

.section-title-large {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.02em;
    position: relative;
}

.section-header::after {
    display: none;
}

.section-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.2px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Cards */
.benefits-grid,
.services-grid,
.portfolio-grid,
.pricing-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}

.benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-grid {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefit-card,
.service-card,
.portfolio-item,
.pricing-card {
    padding: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    will-change: transform;
}

.benefit-card::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s;
}

.benefit-card:hover::before,
.service-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover,
.service-card:hover,
.portfolio-item:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
    border-color: #0a5c47;
    background: #ffffff;
}

.benefit-icon,
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0a5c47 0%, #0a6b52 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    background: #f1f5f9;
}

@media (max-width: 768px) {
    .service-img {
        height: 160px;
    }
    .service-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .service-img {
        height: 140px;
    }
}

.service-icon iconify-icon,
.benefit-icon iconify-icon {
    font-size: 2.5rem;
    color: white;
}

.benefit-card:hover .benefit-icon,
.service-card:hover .service-icon {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.5);
}

.benefit-title,
.service-title,
.portfolio-title,
.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.service-description,
.portfolio-description,
.benefit-text {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s;
}

.benefit-card:hover .benefit-text,
.service-card:hover .service-description {
    color: hsl(var(--foreground) / 0.9);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.625rem 0;
    color: hsl(var(--muted-foreground));
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '✓';
    color: hsl(var(--primary));
    font-weight: 700;
    font-size: 1.1rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Portfolio */
.portfolio-item {
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Для изображений приложений в портфолио */
.portfolio-image.app-screenshot {
    background-size: contain;
    background-color: #f8fafc;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-image::before {
    opacity: 0;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tag {
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.15) 0%, hsl(var(--primary) / 0.1) 100%);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: hsl(var(--primary));
    font-weight: 600;
    border: 1px solid hsl(var(--primary) / 0.2);
    transition: all 0.3s;
    display: inline-block;
}

.tag:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, hsl(var(--primary) / 0.2) 0%, hsl(var(--primary) / 0.15) 100%);
    box-shadow: 0 4px 12px 0 hsl(var(--primary) / 0.2);
}

/* Pricing */
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid hsl(var(--border));
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.pricing-period {
    color: hsl(var(--muted-foreground));
    font-size: 1rem;
}

.pricing-card.featured {
    border-color: hsl(var(--primary));
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05) 0%, hsl(var(--background)) 100%);
    box-shadow: 0 20px 40px -10px hsl(var(--primary) / 0.3);
    transform: scale(1.05);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: hsl(var(--primary));
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 14px 0 hsl(var(--primary) / 0.3);
}

.contact-details h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
}

.contact-details p,
.contact-details a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-size: 1.05rem;
}

.contact-details a:hover {
    color: hsl(var(--primary));
}

.contact-form {
    background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--background)) 100%);
    padding: 3rem;
    border-radius: var(--radius);
    border: 2px solid hsl(var(--border));
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid hsl(var(--input));
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    transition: all var(--duration-base);
    line-height: 1.5;
    box-shadow: 0 2px 8px hsl(var(--foreground) / 0.05);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: hsl(var(--muted-foreground) / 0.6);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(var(--background)) 100%);
    padding: 4rem 0 2rem;
    border-top: 2px solid hsl(var(--border));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-weight: 700;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: hsl(var(--foreground));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: hsl(var(--primary));
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
    color: hsl(var(--muted-foreground));
    font-size: 0.9rem;
}

.footer-bottom a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: hsl(var(--primary));
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: hsl(var(--background) / 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    padding: 3rem;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-2xl);
    border: 1px solid hsl(var(--border) / 0.5);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: hsl(var(--secondary));
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: hsl(var(--muted-foreground));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: all 0.3s;
}

.modal-close:hover {
    background: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Calculator */
.calc-steps {
    margin: 2.5rem 0;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.calc-options {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0;
}

.calc-option {
    padding: 2rem;
    border: 2px solid hsl(var(--border));
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    background: hsl(var(--background));
}

.calc-option:hover {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.05);
    transform: translateX(5px);
}

.calc-option.selected {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary) / 0.1);
    box-shadow: 0 4px 14px 0 hsl(var(--primary) / 0.2);
}

.calc-option-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    color: hsl(var(--foreground));
}

.calc-option-description {
    color: hsl(var(--muted-foreground));
    font-size: 0.95rem;
    line-height: 1.6;
}

.calc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    gap: 1rem;
}

.calc-result {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-hero);
    border-radius: var(--radius);
    margin: 2rem 0;
    border: 2px solid hsl(var(--primary) / 0.2);
}

.calc-price {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
}

.calc-details {
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced button effects */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

/* Stats Section - Enhanced with background */
.stats-section {
    padding: 4rem 0;
    background: 
        linear-gradient(135deg, hsl(var(--primary) / 0.03) 0%, hsl(var(--background)) 50%, hsl(var(--primary) / 0.03) 100%),
        radial-gradient(circle at 20% 30%, hsl(var(--primary) / 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, hsl(var(--primary) / 0.1) 0%, transparent 50%),
        hsl(var(--background));
    border-top: 1px solid hsl(var(--border) / 0.5);
    border-bottom: 1px solid hsl(var(--border) / 0.5);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 100px, hsl(var(--primary) / 0.02) 100px, hsl(var(--primary) / 0.02) 101px),
        repeating-linear-gradient(90deg, transparent, transparent 100px, hsl(var(--primary) / 0.02) 100px, hsl(var(--primary) / 0.02) 101px);
    opacity: 0.5;
    pointer-events: none;
}

.stats-section::before,
.stats-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.2), transparent);
}

.stats-section::before {
    top: 0;
}

.stats-section::after {
    bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: left;
    padding: 2rem;
    background: hsl(var(--background) / 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border) / 0.3);
    transition: all var(--duration-slow) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent);
    opacity: 0;
    transition: opacity var(--duration-base);
}

.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--primary) / 0.4);
    background: hsl(var(--background));
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    transition: all var(--duration-base);
    display: block;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.stat-item.animated .stat-number {
    animation: statNumberReveal 1s ease forwards, statPulse 3s ease-in-out infinite 1s;
}

@keyframes statNumberReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-item.animated:hover .stat-number {
    transform: scale(1.08);
}

.stat-label {
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    font-weight: 500;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    transition: color var(--duration-base);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(10px);
}

.stat-item.animated .stat-label {
    animation: statLabelReveal 0.7s ease 0.5s forwards;
}

@keyframes statLabelReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item:hover .stat-label {
    color: hsl(var(--foreground));
}

/* Features Section - Enhanced */
.features-section {
    padding: 5rem 0;
    background: hsl(var(--background));
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: left;
    padding: 2.5rem;
    background: hsl(var(--background) / 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid hsl(var(--border) / 0.3);
    border-radius: var(--radius);
    transition: all var(--duration-slow) cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(40px);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px hsl(var(--primary) / 0.15);
    border-color: hsl(var(--primary) / 0.3);
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--primary) / 0.05) 100%);
}

.feature-item.animated {
    animation: featureReveal 0.8s ease forwards;
}

.feature-item.animated:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item.animated:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item.animated:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes featureReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
    transform: scaleX(0);
    transition: transform var(--duration-slow);
    transform-origin: left;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--primary) / 0.4);
    background: hsl(var(--background));
}

.feature-item:hover::after {
    transform: scaleX(1);
}

.feature-title {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    text-transform: lowercase;
    letter-spacing: -0.5px;
    transition: color var(--duration-base);
    position: relative;
}

.feature-item:hover .feature-title {
    color: hsl(var(--primary));
}

.feature-text {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: hsl(var(--muted-foreground));
    line-height: 1.8;
    font-weight: 400;
    transition: color var(--duration-base);
}

.feature-item:hover .feature-text {
    color: hsl(var(--foreground) / 0.9);
}

/* Process Section - Enhanced */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--secondary) / 0.2) 50%, hsl(var(--background)) 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(var(--primary) / 0.3), transparent);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    text-align: left;
    padding: 3rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0a5c47, #0a6b52);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: top;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
    border-color: #0a5c47;
    background: #ffffff;
}

.process-step:hover::before {
    transform: scaleY(1);
}

.step-number {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0a5c47, #0a6b52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
    opacity: 0.2;
    transition: all 0.3s;
    display: inline-block;
}

.process-step:hover .step-number {
    opacity: 0.3;
    transform: scale(1.05);
}

.step-title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.process-step:hover .step-title {
    color: #0a5c47;
}

.step-description {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.75;
    font-weight: 400;
    transition: color 0.3s;
}

.process-step:hover .step-description {
    color: #475569;
}

/* Page Header */
.page-header {
    padding: 140px 0 80px;
    background: hsl(var(--background));
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsl(var(--primary) / 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.page-header h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 0;
    position: relative;
    z-index: 10;
    font-weight: 400;
    text-transform: lowercase;
}

.page-header .container {
    position: relative;
    z-index: 10;
}

/* Premium styles inspired by ustwo.com, traff-agency.ru, poccom.ru */
.section-header {
    margin-bottom: 4rem;
}

.section-title-large {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

/* Smooth scroll reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Premium card hover effects */
.portfolio-item,
.case-card,
.pricing-card {
    position: relative;
    overflow: hidden;
}

.portfolio-item::before,
.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.portfolio-item:hover::before,
.case-card:hover::before {
    left: 100%;
}

/* Improved typography hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Better spacing system */
section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 3.5rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem !important;
    }
    
    .section-header.centered {
        margin-bottom: 2rem !important;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .about-company-section [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .about-company-section [style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .about-company-section [style*="padding: 3rem"] {
        padding: 2rem !important;
    }
    
    .about-company-section [style*="padding: 4rem"] {
        padding: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.875rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.02em !important;
        margin-bottom: 1.25rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem !important;
        line-height: 1.55 !important;
        margin-bottom: 2rem !important;
    }
    
    .hero-badge {
        font-size: 0.8125rem !important;
        padding: 0.625rem 1.25rem !important;
    }
    
    .hero-stat-number {
        font-size: 2rem !important;
    }
    
    .hero-stat-label {
        font-size: 0.8125rem !important;
    }
    
    .section-title-large {
        font-size: 1.75rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .team-member-card {
        padding: 1.5rem !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-company-section [style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }
    
    .about-company-section [style*="font-size: 4rem"] {
        font-size: 3rem !important;
    }
    
    .about-company-section [style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-video-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
    }
    
    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .page-header {
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        min-height: 60vh;
        padding: 120px 0 80px;
    }
    
    .bg-cover-fixed {
        background-attachment: scroll !important;
    }
    
    .case-image,
    .portfolio-image {
        height: 240px;
    }
    
    .case-image.app-screenshot,
    .portfolio-image.app-screenshot {
        background-size: contain !important;
        background-position: center center !important;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: hsl(var(--background)) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        transform: translateX(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        pointer-events: none !important;
        display: flex !important;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        list-style: none !important;
    }
    
    .nav-menu .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 1rem !important;
        text-align: left !important;
        -webkit-tap-highlight-color: rgba(16, 185, 129, 0.2) !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        text-decoration: none !important;
        color: hsl(var(--foreground)) !important;
        font-weight: 500 !important;
        border-bottom: 1px solid hsl(var(--border) / 0.3) !important;
    }
    
    .nav-menu .nav-link:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active {
        background: hsl(var(--primary) / 0.1) !important;
        color: hsl(var(--primary)) !important;
    }
    
    .nav-menu .nav-cta {
        margin-top: 1rem !important;
        background: var(--gradient-1) !important;
        color: white !important;
        border-radius: var(--radius) !important;
        text-align: center !important;
    }
    
    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 1001;
        padding: 12px;
        margin: -12px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        pointer-events: auto;
        cursor: pointer;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger:active {
        opacity: 0.7;
        transform: scale(0.95);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hamburger span {
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .benefits-grid,
    .services-grid,
    .portfolio-grid,
    .pricing-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .team-member-card {
        padding: 2rem !important;
    }
    
    .team-member-card > div:first-child {
        width: 120px !important;
        height: 120px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .process-grid {
        grid-template-columns: 1fr !important;
    }
    
    .section-title-large {
        font-size: 2rem !important;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
}

/* Portfolio Badge */
.portfolio-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Улучшенные изображения для команды */
.team-member-card > div:first-child {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member-card:hover > div:first-child {
    transform: scale(1.05);
    box-shadow: 0 12px 32px hsl(var(--primary) / 0.4);
}

/* Улучшенные изображения в портфолио */
.portfolio-image,
.case-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover .portfolio-image,
.case-card:hover .case-image {
    transform: scale(1.05);
}

/* Fallback для отсутствующих изображений */
.portfolio-image {
    background-color: #f1f5f9;
}

.portfolio-image[style*="taxibot"] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* FAQ Styles */
.faq-grid {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    padding: 2rem 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0a5c47;
    transform: scaleY(0);
    transition: transform 0.3s;
}

.faq-item:hover {
    border-color: #0a5c47;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
    transform: translateX(8px);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
    transition: color 0.3s;
}

.faq-item:hover .faq-question {
    color: #0a5c47;
}

.faq-answer {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Enhanced Hero */
.hero-subtitle strong {
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.hero-subtitle-secondary strong {
    font-weight: 700;
    font-size: 1.2em;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary) / 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Improved Section Header */
.section-header.centered {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 800px;
}

/* Additional improvements */
.portfolio-item {
    position: relative;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

/* Team Member Cards */
.team-member-card {
    opacity: 0;
    transform: translateY(30px);
}

.team-member-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-member-card.animated {
    animation: teamMemberReveal 0.8s ease forwards;
}

.team-member-card:nth-child(1).animated {
    animation-delay: 0.1s;
}

.team-member-card:nth-child(2).animated {
    animation-delay: 0.2s;
}

.team-member-card:nth-child(3).animated {
    animation-delay: 0.3s;
}

@keyframes teamMemberReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: hsl(var(--primary) / 0.5);
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)), hsl(var(--primary) / 0.5));
    transform: scaleX(0);
    transition: transform var(--duration-slow);
}

.team-member-card:hover::before {
    transform: scaleX(1);
}

/* Company Stat Cards */
.company-stat-card {
    opacity: 0;
    transform: translateY(30px);
}

.company-stat-card.animated {
    animation: statCardReveal 0.8s ease forwards;
}

.company-stat-card:nth-child(1).animated {
    animation-delay: 0.1s;
}

.company-stat-card:nth-child(2).animated {
    animation-delay: 0.2s;
}

.company-stat-card:nth-child(3).animated {
    animation-delay: 0.3s;
}

@keyframes statCardReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px hsl(var(--primary) / 0.15);
    border-color: hsl(var(--primary) / 0.4);
    background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--primary) / 0.05) 100%);
}

/* Premium hover effects for industry cards */
.about-company-section [style*="padding: 2rem"]:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--primary) / 0.4);
}

/* Premium section backgrounds */
.about-company-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, hsl(var(--primary) / 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, hsl(var(--primary) / 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.about-company-section > .container {
    position: relative;
    z-index: 1;
}

/* Зеленые декоративные элементы */
.slavic-ornament {
    position: relative;
    padding: 2rem 0;
}

.slavic-ornament::before,
.slavic-ornament::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,15 Q50,5 100,15 T200,15' stroke='%2310b981' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M20,15 Q50,10 80,15' stroke='%2334d399' stroke-width='1.5' fill='none' opacity='0.4'/%3E%3Cpath d='M120,15 Q150,10 180,15' stroke='%2334d399' stroke-width='1.5' fill='none' opacity='0.4'/%3E%3Ccircle cx='50' cy='15' r='3' fill='%2310b981' opacity='0.6'/%3E%3Ccircle cx='150' cy='15' r='3' fill='%2310b981' opacity='0.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.slavic-ornament::before {
    top: 0;
}

.slavic-ornament::after {
    bottom: 0;
    transform: translateX(-50%) rotate(180deg);
}

/* Славянские заголовки */
.slavic-title {
    font-family: 'Playfair Display', serif;
    position: relative;
    display: inline-block;
    text-align: center;
}

.slavic-title::before,
.slavic-title::after {
    content: '❦';
    display: inline-block;
    margin: 0 1rem;
    color: hsl(var(--primary));
    font-size: 1.5em;
    vertical-align: middle;
}

/* Декоративные рамки в славянском стиле */
.slavic-border {
    position: relative;
    padding: 2rem;
    border: 3px double hsl(var(--primary));
    border-radius: 12px;
}

.slavic-border::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1px solid hsl(var(--secondary));
    border-radius: 12px;
    z-index: -1;
}

/* Золотые акценты */
.gold-accent {
    color: hsl(var(--secondary));
    text-shadow: 0 2px 4px rgba(252, 211, 77, 0.3);
}

.red-accent {
    color: hsl(var(--primary));
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.2);
}

