/* ===== БАЗОВЫЕ СТИЛИ ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --rainbow-gradient: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #8a2be2, #ff1493, #00bfff);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===== ПЕРЕЛИВАЮЩИЕСЯ ГРАДИЕНТЫ ===== */
.gradient-text {
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #8a2be2, #ff1493, #00bfff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 4s ease-in-out infinite;
}

.btn-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: gradient-shift 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* ===== АНИМАЦИИ ===== */
@keyframes rainbow-flow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(240, 147, 251, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes background-flow {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 100% 0%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 100% 100%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 0% 100%;
        filter: hue-rotate(270deg);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(360deg);
    }
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
}

.navbar-brand {
    font-size: 2rem !important;
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 25px;
    margin: 0 5px;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: var(--rainbow-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ===== HERO СЕКЦИЯ ===== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover,
        linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%);
    animation: background-flow 20s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 6s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    right: 40%;
    animation-delay: 1s;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.bg-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-card {
    animation: pulse-glow 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
}

/* ===== КАРТОЧКИ ===== */
.hover-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.hover-card::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.8s ease;
}

.hover-card:hover::before {
    left: 100%;
}

.hover-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.icon-box {
    position: relative;
    display: inline-block;
}

.icon-box i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.3));
}

.hover-card:hover .icon-box i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 30px rgba(240, 147, 251, 0.6));
}

/* ===== ПРОГРЕСС БАРЫ ===== */
.progress {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: var(--primary-gradient);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    width: 0%;
    transition: width 2s ease-in-out;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

.bg-gradient-primary {
    background: var(--primary-gradient) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

/* ===== УСЛУГИ СЕКЦИЯ ===== */
.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80') center/cover,
        linear-gradient(135deg, rgba(26, 32, 44, 0.9) 0%, rgba(45, 55, 72, 0.9) 100%);
    animation: background-flow 25s ease-in-out infinite reverse;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-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.8s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    background: var(--rainbow-gradient);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* ===== ПОРТФОЛИО ===== */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    transition: all 0.4s ease;
    height: 300px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(240, 147, 251, 0.9));
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* ===== КОНТАКТЫ ===== */
.contact-form {
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-control {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.info-item {
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===== СОЦИАЛЬНЫЕ ССЫЛКИ ===== */
.social-links a {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--rainbow-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-links a:hover::before {
    left: 0;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    color: white !important;
    border-color: transparent !important;
}

/* ===== ФУТЕР ===== */
footer {
    background: 
        url('https://images.unsplash.com/photo-1419242902214-272b3f66ee7a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2026&q=80') center/cover,
        linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%) !important;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 10s ease-in-out infinite;
}

footer a:hover {
    color: #fff !important;
    transform: translateX(5px);
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ===== */
.magic-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem !important;
    }
    
    .display-3 {
        font-size: 2rem !important;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .floating-shapes .shape {
        display: none;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ===== КАСТОМНЫЙ СКРОЛЛБАР ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--rainbow-gradient);
    background-size: 400% 400%;
    border-radius: 6px;
    animation: rainbow-flow 3s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* ===== ТЕМНАЯ ТЕМА ===== */
body.dark-theme {
    background: #1a1a1a;
    color: #fff;
}

body.dark-theme .navbar {
    background: rgba(0, 0, 0, 0.9) !important;
}

body.dark-theme .bg-light {
    background: #2d2d2d !important;
}

body.dark-theme .text-muted {
    color: #aaa !important;
}

/* ===== ТЕХНОЛОГИЧЕСКИЙ СТЕК ===== */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: all 0.3s ease;
}

.tech-item:hover img {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
    transform: scale(1.1);
}

.tech-item span {
    color: white;
    font-weight: 600;
    text-align: center;
}

/* ===== ИНТЕРАКТИВНОЕ ДЕМО ===== */
.browser-mockup {
    background: #2d3748;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.browser-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.browser-header {
    background: #4a5568;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca3f; }

.browser-url {
    background: #2d3748;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #a0aec0;
    font-size: 0.9rem;
    flex: 1;
}

.browser-content {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 300px;
}

.demo-website {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    animation: demo-glow 3s ease-in-out infinite;
}

@keyframes demo-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(240, 147, 251, 0.6); }
}

.demo-nav {
    background: #f8fafc;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-logo {
    font-weight: bold;
    color: #667eea;
    font-size: 1.2rem;
}

.demo-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.demo-menu span {
    width: 20px;
    height: 2px;
    background: #a0aec0;
    border-radius: 1px;
}

.demo-hero {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.demo-title {
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: shimmer 2s infinite;
}

.demo-subtitle {
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    margin: 0 auto 1.5rem;
    width: 70%;
    animation: shimmer 2s infinite 0.5s;
}

.demo-button {
    height: 35px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 17px;
    width: 120px;
    margin: 0 auto;
    animation: shimmer 2s infinite 1s;
}

.demo-cards {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    justify-content: center;
}

.demo-card {
    width: 80px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

.demo-card:nth-child(2) { animation-delay: 0.5s; }
.demo-card:nth-child(3) { animation-delay: 1s; }

/* ===== СПИСОК ФУНКЦИЙ ===== */
.features-list {
    padding: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* ===== ПЛАНЫ ЦЕН ===== */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.pricing-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.8s ease;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border: 2px solid #f093fb;
    background: rgba(240, 147, 251, 0.1);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h5 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: #a0aec0;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.period {
    color: #a0aec0;
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

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

.pricing-features i {
    color: #4ade80;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* ===== ВРЕМЕННАЯ ЛИНИЯ ===== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.1);
}

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

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    margin: 0 2rem;
    flex: 1;
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.timeline-content h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.timeline-duration {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* ===== ЗАГРУЗОЧНАЯ АНИМАЦИЯ ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ===== АДАПТИВНОСТЬ ДЛЯ НОВЫХ ЭЛЕМЕНТОВ ===== */
@media (max-width: 768px) {
    .tech-stack-container {
        gap: 1rem;
    }
    
    .tech-item {
        min-width: 100px;
        padding: 1rem;
    }
    
    .tech-item img {
        width: 40px;
        height: 40px;
    }
    
    .browser-content {
        padding: 1rem;
    }
    
    .demo-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 100px;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
    }
    
    .timeline-content {
        margin: 0;
        max-width: none;
    }
    
    .pricing-card {
        margin-bottom: 1rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}
