/* ===== CSS RESET & MODERN BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* ===== UTILITY CLASSES ===== */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.glass-lg {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
:root {
    --primary-color: #ff6b35;
    --primary-dark: #e55a2b;
    --primary-light: #ff8c42;
    --secondary-color: #00d4aa;
    --accent-color: #ffd23f;
    --dark-bg: #0a0a0a;
    --dark-surface: #1a1a1a;
    --dark-surface-2: #252525;
    --dark-surface-3: #333333;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-disabled: rgba(255, 255, 255, 0.4);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    --gradient-accent: linear-gradient(135deg, #ffd23f 0%, #ffb347 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --box-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --box-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --box-shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 16px;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 210, 63, 0.05) 0%, transparent 50%);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

section {
    padding: 120px 0;
    position: relative;
}

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

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--gradient-secondary);
    top: 0;
    left: -20px;
    transform: translateX(0);
    animation: underline-move 3s infinite alternate;
    border-radius: 2px;
}

@keyframes underline-move {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(80px);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.8);
        transform: scale(1.02);
    }
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition);
    z-index: -1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn:hover::after {
    left: 100%;
}

.btn:hover::before {
    width: 100%;
}

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

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

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

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

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.3);
}

/* ===== ЯЗЫКОВОЙ ПЕРЕКЛЮЧАТЕЛЬ ===== */
.language-switcher {
    display: flex;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 6px;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--border-color);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--box-shadow-sm);
}

/* ===== ЯЗЫКОВОЕ ПЕРЕКЛЮЧЕНИЕ ===== */
/* Исключаем кнопки переключателя языка из правил скрытия */
.language-switcher .lang-btn {
    display: inline-block !important;
}

/* Правила для контента */
[data-lang="ru"]:not(.lang-btn) {
    display: inline;
}

[data-lang="tj"]:not(.lang-btn) {
    display: none;
}

/* ===== АДАПТИВНАЯ ВЕРСТКА ===== */
/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    position: relative;
}

.mobile-menu-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Медиа-запросы для адаптивной верстки */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .services-grid, .gallery-grid, .pricing-cards, .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        padding: 10px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        max-width: 120px;
        flex: 0 0 auto;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 3;
        flex: 0 0 auto;
        margin-left: 15px;
        z-index: 1001;
        position: relative;
    }
    
    .language-switcher {
        order: 2;
        margin-right: 15px;
        flex: 0 0 auto;
        z-index: 1001;
        position: relative;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-surface);
        z-index: 1000;
        transition: var(--transition);
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 10px;
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 50px 0;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-grid, .gallery-grid, .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin-top: 0;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form, .contact-info {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info {
        margin-top: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .footer-social {
        margin-top: 20px;
    }
    
    /* ===== RESPONSIVE DESIGN FOR NEW ELEMENTS ===== */
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-icon-1,
    .floating-icon-2,
    .floating-icon-3,
    .floating-icon-4 {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        display: inline-block;
        width: auto;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .language-switcher {
        position: static;
        margin-right: 10px;
    }
    
    .gallery-item {
        margin-bottom: 15px;
        height: 200px;
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .gallery-item .gallery-title {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
        color: white;
        padding: 15px 10px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        z-index: 5;
    }
    
    .features-list li {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .footer {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .mobile-menu-btn {
        margin-left: auto;
    }
    
    .header-inner {
        padding: 10px 0;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin: 1.5rem 0;
        padding: 1rem;
    }
}

body.lang-tj [data-lang="ru"]:not(.lang-btn) {
    display: none;
}

body.lang-tj [data-lang="tj"]:not(.lang-btn) {
    display: inline;
}

/* Стили для навигационного меню */
.header-inner {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 1px;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Стили для мобильного меню определены выше в разделе адаптивной верстки */

/* ===== ШАПКА САЙТА ===== */
header {
    height: 100vh;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    z-index: 1;
}

/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    animation: countUp 0.8s ease-out;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.pulse-animation {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ===== FLOATING ELEMENTS ===== */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.floating-icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icon-3 {
    top: 30%;
    right: 25%;
    animation-delay: 2s;
}

.floating-icon-4 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

/* ===== PARTICLES ===== */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

.particle:nth-child(1) {
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 50%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 60%;
    animation-duration: 13s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 70%;
    animation-duration: 7s;
    animation-delay: 1.5s;
}

.particle:nth-child(8) {
    left: 80%;
    animation-duration: 14s;
    animation-delay: 6s;
}

/* Стили для лого */
.logo img {
    height: 50px;
    width: auto;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - var(--header-height));
    text-align: center;
    padding-top: var(--header-height);
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    animation: fadeInDown 1s ease;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 40px;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== О НАС ===== */
.about-section {
    background-color: var(--dark-surface);
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
}

.image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.3;
    z-index: 1;
}

/* ===== УСЛУГИ ===== */
.services-section {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(var(--primary-color), transparent 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
    opacity: 0.1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-surface-2) 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--text-primary);
    transition: var(--transition);
    box-shadow: var(--box-shadow-sm);
    position: relative;
    z-index: 2;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: -1;
    transform: scale(0);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--text-primary);
}

.service-card:hover .service-icon::before {
    transform: scale(1);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery-section {
    background-color: var(--dark-surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

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

.gallery-overlay i {
    color: #fff;
    font-size: 32px;
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
    padding: 15px 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 5;
}

/* ===== ЦЕНЫ ===== */
.pricing-section {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.pricing-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(var(--primary-color), transparent 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
    opacity: 0.1;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: linear-gradient(135deg, var(--dark-surface) 0%, var(--dark-surface-2) 100%);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

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

.pricing-card:hover::before {
    opacity: 0.1;
}

.pricing-card.featured {
    transform: scale(1.03);
    border: 2px solid var(--primary-color);
    z-index: 1;
    box-shadow: var(--box-shadow-glow);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
    box-shadow: var(--box-shadow-glow), var(--box-shadow-lg);
}

.popular-badge {
    top: -10px;
    right: 30px;
    background: var(--primary-color);
    color: var(--text-primary);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 10px;
    z-index: 10;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-right: 5px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 5px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-features ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.pricing-footer {
    text-align: center;
}

/* ===== ОТЗЫВЫ ===== */
.testimonials-section {
    background-color: var(--dark-surface);
    position: relative;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-item.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.testimonial-content {
    background-color: var(--dark-surface-2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-disabled);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* ===== КОНТАКТЫ ===== */
.contact-section {
    background-color: var(--dark-bg);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--dark-surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--dark-surface-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-surface-2);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

/* ===== КАРТА ===== */
.map-container {
    height: 450px;
    width: 100%;
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ===== ФУТЕР ===== */
footer {
    background-color: var(--dark-surface);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

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

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: auto;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

#modal-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 5px;
}

/* ===== КНОПКА НАВЕРХ ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--box-shadow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== АДАПТИВНЫЙ ДИЗАЙН ===== */
@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-text, .about-image {
        width: 100%;
    }
    
    .pricing-card {
        max-width: 300px;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-15px);
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ===== */
.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glow {
    text-shadow: 0 0 10px var(--primary-color);
}

/* ===== ЭФФЕКТЫ НАВЕДЕНИЯ ===== */
.hover-scale {
    transition: var(--transition);
}

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

.hover-rotate {
    transition: var(--transition);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* ===== ЭФФЕКТЫ ПРОКРУТКИ ===== */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== ЭФФЕКТЫ ЗАГРУЗКИ ===== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.slide-in-left {
    transform: translateX(-100px);
    opacity: 0;
    animation: slideInLeft 1s forwards;
}

.slide-in-right {
    transform: translateX(100px);
    opacity: 0;
    animation: slideInRight 1s forwards;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== ЭФФЕКТЫ КНОПОК ===== */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s;
}

.btn-ripple:active::after {
    transform: scale(2);
    transition: 0s;
}

/* ===== ЭФФЕКТЫ КАРТОЧЕК ===== */
.card-3d {
    transition: var(--transition);
    transform-style: preserve-3d;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

/* ===== ЭФФЕКТЫ ТЕКСТА ===== */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== ЭФФЕКТЫ ИЗОБРАЖЕНИЙ ===== */
.img-grayscale {
    filter: grayscale(100%);
    transition: var(--transition);
}

.img-grayscale:hover {
    filter: grayscale(0%);
}

.img-blur {
    filter: blur(3px);
    transition: var(--transition);
}

.img-blur:hover {
    filter: blur(0);
}

/* ===== ЭФФЕКТЫ ГРАНИЦ ===== */
.border-glow {
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-surface), var(--dark-surface)) padding-box,
                linear-gradient(90deg, var(--primary-color), var(--secondary-color)) border-box;
    border-radius: 10px;
}

/* ===== ЭФФЕКТЫ ФОНА ===== */
.bg-gradient {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-surface-2));
}

.bg-pattern {
    background-color: var(--dark-bg);
    background-image: radial-gradient(var(--dark-surface-2) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===== ЭФФЕКТЫ СКРОЛЛА ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s, transform 0.6s;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ЭФФЕКТЫ НАВЕДЕНИЯ НА ССЫЛКИ ===== */
.link-hover {
    position: relative;
}

.link-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}

.link-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===== ЭФФЕКТЫ ИКОНОК ===== */
.icon-rotate {
    transition: var(--transition);
}

.icon-rotate:hover {
    transform: rotate(360deg);
}

.icon-bounce {
    animation: bounce 2s infinite;
}

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

/* ===== ЭФФЕКТЫ ТЕНИ ===== */
.shadow-pulse {
    animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(124, 77, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 77, 255, 0);
    }
}

/* ===== ЭФФЕКТЫ ЗАГРУЗКИ ===== */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 2s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===== ЭФФЕКТЫ КУРСОРА ===== */
.cursor-glow {
    cursor: none;
}

.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(124, 77, 255, 0.3);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, width 0.3s, height 0.3s;
}

/* ===== ЭФФЕКТЫ ПРОКРУТКИ ===== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s;
}

/* ===== ЭФФЕКТЫ ВЫДЕЛЕНИЯ ===== */
::selection {
    background-color: var(--primary-color);
    color: var(--text-primary);
}

/* ===== ЭФФЕКТЫ СКРОЛБАРА ===== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background-color: var(--dark-surface-2);
    border-radius: 5px;
}

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

/* ===== АДАПТИВНЫЙ ДИЗАЙН ===== */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .pricing-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Мобильные устройства (до 768px) */
/* Дополнительные стили для очень маленьких экранов */
@media screen and (max-width: 480px) {
    .mobile-menu-btn {
        width: 28px;
        height: 22px;
        margin-left: 10px;
    }
    
    .mobile-menu-btn span {
        height: 2px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .language-switcher {
        margin-right: 10px;
    }
    
    .main-nav {
        width: 85%;
        padding: 70px 15px 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    /* Header */
    .header-inner {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-surface);
        padding: 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: var(--box-shadow);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav li {
        margin: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 3;
    }
    
    .language-switcher {
        order: 2;
    }
    
    /* Hero Section */
    .hero {
        height: calc(100vh - 60px);
        padding-top: 60px;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-text,
    .about-image {
        flex: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Testimonials */
    .testimonials-container {
        padding: 0 10px;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .author-image {
        margin: 0;
    }
    
    /* Contact */
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-form,
    .contact-info {
        flex: none;
    }
    
    .contact-form {
        order: 2;
    }
    
    .contact-info {
        order: 1;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        flex: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-card {
        max-width: 300px;
    }
    
    .language-switcher {
        padding: 3px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* Дополнительные адаптивные стили */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .testimonial-item {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 2px;
    }
}

/* Дополнительные стили для улучшения адаптивности */
@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Ландшафтная ориентация на мобильных устройствах */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

/* Стили для высоких экранов */
@media (min-height: 900px) {
    .hero {
        padding-top: 120px;
    }
}

/* Стили для touch устройств */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .gallery-item:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
    
    .gallery-item:active {
        transform: scale(0.98);
    }
}

/* Глобально скрываем горизонтальную прокрутку, чтобы не появлялась
   «маленькая прокрутка» из-за анимаций/трансформаций */
html, body {
    overflow-x: hidden;
}

/* ===== ENHANCED INTERACTIVE ELEMENTS ===== */

/* Mouse Trail Effects */
.mouse-trail-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::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:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Floating Icons Enhanced */
.floating-icon {
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-icon:hover {
    transform: scale(1.2) translateY(-10px);
    filter: drop-shadow(0 10px 20px rgba(255, 107, 53, 0.3));
}

.floating-icon i {
    transition: all 0.3s ease;
}

.floating-icon:hover i {
    animation: icon-pulse 1s infinite;
}

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Hero Stats Enhanced */
.hero-stats {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-stats:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.stat-item:hover {
    transform: scale(1.05);
}

.stat-number {
    background: linear-gradient(45deg, var(--primary-color), #ff8a50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Particles Enhanced */
.particle {
    transition: all 0.3s ease;
}

.particle:nth-child(odd) {
    animation-direction: reverse;
}

.particle:hover {
    animation-play-state: paused;
    transform: scale(1.5);
    opacity: 1 !important;
}

/* Hero Buttons Enhanced */
.hero-buttons {
    gap: 20px;
}

.hero-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff8a50);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff8a50, var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-buttons .btn-primary:hover::after {
    opacity: 1;
}

.hero-buttons .btn-primary span {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Loading States */
.hero-stats.loading .stat-number {
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Focus States for Accessibility */
.btn:focus,
.floating-icon:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

/* Responsive Enhancements for Interactive Elements */
@media (max-width: 768px) {
    .floating-elements {
        display: none;
    }
    
    .particles {
        opacity: 0.3;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mouse-trail-dot {
        display: none;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-icon,
    .particle,
    .hero-stats,
    .stat-item,
    .btn {
        animation: none !important;
        transition: none !important;
    }
    
    .mouse-trail-dot {
        display: none;
    }
}
