/* ==========================================================================
   Codewellhub - Премиальные IT-решения
   Полный CSS стили для сайта
   ========================================================================== */

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    background: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: gradientShift 6s ease-in-out infinite;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.lang-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 5px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-button {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    color: #FFFFFF;
    padding: 10px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: gradientShift 6s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 1rem 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    padding-left: 1rem;
    color: #007AFF;
}

.mobile-lang-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-lang-btn:hover {
    background: #007AFF;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.1) 0%, transparent 70%);
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: slideUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #86868B;
    margin-bottom: 3rem;
    opacity: 0;
    animation: slideUp 1s ease 0.5s forwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 1s ease 0.7s forwards;
}

.btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    color: #FFFFFF;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    animation: gradientShift 6s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: #007AFF;
    padding: 1.2rem 2.5rem;
    border: 2px solid #007AFF;
    border-radius: 30px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.4);
}

.btn-secondary:hover {
    background: #007AFF;
    color: #FFFFFF;
    transform: translateY(-3px);
}

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

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */

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

.floating-cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: float3d 8s ease-in-out infinite;
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cube-face.front { transform: rotateY(0deg) translateZ(50px); }
.cube-face.back { transform: rotateY(180deg) translateZ(50px); }
.cube-face.right { transform: rotateY(90deg) translateZ(50px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(50px); }
.cube-face.top { transform: rotateX(90deg) translateZ(50px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

.floating-cube:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-cube:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-cube:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) rotateX(90deg) rotateY(45deg) rotateZ(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) rotateX(180deg) rotateY(90deg) rotateZ(45deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) rotateX(270deg) rotateY(135deg) rotateZ(90deg);
        opacity: 0.8;
    }
}

/* ==========================================================================
   COMMON COMPONENTS
   ========================================================================== */

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #86868B;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services {
    padding: 8rem 2rem;
    position: relative;
}

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

.service-card {
    background: #1C1C1E;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #007AFF;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.3s ease;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.service-description {
    font-size: 1rem;
    color: #86868B;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.service-card.expanded .service-details {
    max-height: 500px;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    font-size: 0.9rem;
    color: #86868B;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007AFF;
    font-weight: 600;
}

.service-price {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats {
    padding: 8rem 2rem;
    background: #1C1C1E;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stats-extra .stat-item:first-child {
    grid-column: 1;
    transform: translateX(154px);
}

.stats-extra .stat-item:last-child {
    grid-column: 3;
    transform: translateX(-154px);
}

.stat-item {
    padding: 3rem 2rem;
    background: #000000;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(3deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 122, 255, 0.3);
    border-color: #007AFF;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

.stat-label {
    font-size: 1.1rem;
    color: #86868B;
    font-weight: 500;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process {
    padding: 8rem 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.process-step {
    text-align: center;
    padding: 3rem 2rem;
    background: #1C1C1E;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: white;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    border: 2px solid #333;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.step-description {
    font-size: 1rem;
    color: #86868B;
    line-height: 1.6;
}

/* ==========================================================================
   PROCESS STEP ANIMATIONS
   ========================================================================== */

.step-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 8px;
    font-weight: 600;
}

/* 1. Анализ - 4 веб-страницы с эффектом листания */
.process-step:nth-child(1) .step-video {
    position: relative;
    overflow: visible;
}

.process-step:nth-child(1) .step-video::before {
    content: '';
    position: absolute;
    width: 38px;
    height: 28px;
    border: 2px solid #333;
    border-radius: 4px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    animation: webPage1 8s infinite ease-in-out;
    z-index: 1;
}

.process-step:nth-child(1) .step-video::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 26px;
    border: 2px solid #444;
    border-radius: 4px;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fff 0%, #f1f3f4 100%);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    opacity: 0;
    animation: webPage2 8s infinite ease-in-out;
    z-index: 2;
}

.process-step:nth-child(1) .step-number::before {
    content: '';
    position: absolute;
    width: 34px;
    height: 24px;
    border: 2px solid #555;
    border-radius: 4px;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    opacity: 0;
    animation: webPage3 8s infinite ease-in-out;
    z-index: 3;
}

.process-step:nth-child(1) .step-number::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 22px;
    border: 2px solid #666;
    border-radius: 4px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    box-shadow: 0 10px 24px rgba(0,0,0,0.3);
    opacity: 0;
    animation: webPage4 8s infinite ease-in-out;
    z-index: 4;
}

@keyframes webPage1 {
    0%, 10% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px) rotateY(-15deg) scale(0.8); 
    }
    15%, 25% { 
        opacity: 0.8; 
        transform: translateX(-50%) translateY(0) rotateY(0deg) scale(1); 
    }
    30%, 40% { 
        opacity: 0.6; 
        transform: translateX(-50%) translateY(-5px) rotateY(10deg) scale(0.95); 
    }
    45%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-15px) rotateY(25deg) scale(0.7); 
    }
}

@keyframes webPage2 {
    0%, 20% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px) rotateY(-15deg) scale(0.8); 
    }
    25%, 35% { 
        opacity: 0.9; 
        transform: translateX(-50%) translateY(0) rotateY(0deg) scale(1); 
    }
    40%, 50% { 
        opacity: 0.7; 
        transform: translateX(-50%) translateY(-5px) rotateY(10deg) scale(0.95); 
    }
    55%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-15px) rotateY(25deg) scale(0.7); 
    }
}

@keyframes webPage3 {
    0%, 30% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px) rotateY(-15deg) scale(0.8); 
    }
    35%, 45% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) rotateY(0deg) scale(1); 
    }
    50%, 60% { 
        opacity: 0.8; 
        transform: translateX(-50%) translateY(-5px) rotateY(10deg) scale(0.95); 
    }
    65%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-15px) rotateY(25deg) scale(0.7); 
    }
}

@keyframes webPage4 {
    0%, 40% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(10px) rotateY(-15deg) scale(0.8); 
    }
    45%, 65% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0) rotateY(0deg) scale(1); 
    }
    70%, 80% { 
        opacity: 0.9; 
        transform: translateX(-50%) translateY(-5px) rotateY(10deg) scale(0.95); 
    }
    85%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(-15px) rotateY(25deg) scale(0.7); 
    }
}

/* 2. Планирование - Goal → Стрелка → Result */
.process-step:nth-child(2) .step-video {
    position: relative;
    overflow: visible;
}

.process-step:nth-child(2) .step-video::before {
    content: 'GOAL';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 800;
    color: #2563eb;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #2563eb;
    border-radius: 12px;
    padding: 4px 8px;
    opacity: 0;
    animation: goalToResult 6s infinite ease-in-out;
    z-index: 1;
}

.process-step:nth-child(2) .step-video::after {
    content: '→';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(45deg, #34d399, #10b981, #059669, #047857);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: arrowProgress 6s infinite ease-in-out;
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.8));
    z-index: 2;
}

.process-step:nth-child(2) .step-number::before {
    content: 'RESULT';
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    color: #059669;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #059669;
    border-radius: 12px;
    padding: 4px 6px;
    opacity: 0;
    animation: resultAppear 6s infinite ease-in-out;
    z-index: 3;
}

@keyframes goalToResult {
    0%, 20% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1);
    }
    25%, 35% { 
        opacity: 0.7; 
        transform: translateX(-50%) scale(0.9);
    }
    40%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) scale(0.8);
    }
}

@keyframes arrowProgress {
    0%, 15% { 
        opacity: 0; 
        transform: translateX(-50%) scaleX(0) rotateZ(-10deg);
        filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0));
    }
    35%, 50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1) rotateZ(0deg);
        filter: drop-shadow(0 0 88px rgba(16, 185, 129, 1));
    }
    70%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) scaleX(0) rotateZ(10deg);
        filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0));
    }
}

@keyframes resultAppear {
    0%, 45% { 
        opacity: 0; 
        transform: translateX(-50%) scale(0.5) translateY(10px);
    }
    50%, 80% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1) translateY(0);
    }
    85%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scale(0.9) translateY(-5px);
    }
}

/* 3. Архитектура - Летающие точки превращаются в блоки */
.process-step:nth-child(3) .step-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step:nth-child(3) .step-video::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 6px;
    height: 6px;
    background: #dc2626;
    border-radius: 50%;
    opacity: 0;
    animation: redDot 10s infinite ease-in-out;
    z-index: 10;
}

.process-step:nth-child(3) .step-video::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 40px;
    width: 6px;
    height: 6px;
    background: #1d4ed8;
    border-radius: 50%;
    opacity: 0;
    animation: blueDot 10s infinite ease-in-out;
    z-index: 10;
}

.process-step:nth-child(3) .green-dot {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 6px;
    height: 6px;
    background: #059669;
    border-radius: 50%;
    opacity: 0;
    animation: greenDot 10s infinite ease-in-out;
    z-index: 10;
}

.process-step:nth-child(3) .purple-dot {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 6px;
    height: 6px;
    background: #7c3aed;
    border-radius: 50%;
    opacity: 0;
    animation: purpleDot 10s infinite ease-in-out;
    z-index: 10;
}

.process-step:nth-child(3) .step-number::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #334155;
    border-radius: 12px;
    opacity: 0;
    animation: architectureBlock 10s infinite ease-in-out;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-step:nth-child(3) .step-number::after {
    content: 'DB';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid #dc2626;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 800;
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: dbSection 10s infinite ease-in-out;
    z-index: 6;
}

.process-step:nth-child(3) .core-section {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #1d4ed8;
    border-radius: 6px;
    font-size: 6px;
    font-weight: 800;
    color: #1d4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: coreSection 10s infinite ease-in-out;
    z-index: 6;
}

.process-step:nth-child(3) .api-section {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #059669;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 800;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: apiSection 10s infinite ease-in-out;
    z-index: 6;
}

.process-step:nth-child(3) .ui-section {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    border: 1px solid #7c3aed;
    border-radius: 6px;
    font-size: 7px;
    font-weight: 800;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: uiSection 10s infinite ease-in-out;
    z-index: 6;
}

@keyframes redDot {
    0%, 3% { 
        opacity: 1; 
        transform: rotate(0deg) translateX(20px) rotate(0deg);
        box-shadow: 0 0 8px rgba(220, 38, 38, 0.8);
    }
    17% { 
        opacity: 1; 
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
    }
    18% { 
        opacity: 1; 
        transform: translate(-20px, -20px);
    }
    20%, 100% { 
        opacity: 0; 
        transform: translate(-20px, -20px);
    }
}

@keyframes blueDot {
    0%, 3% { 
        opacity: 1; 
        transform: rotate(90deg) translateX(20px) rotate(-90deg);
        box-shadow: 0 0 8px rgba(29, 78, 216, 0.8);
    }
    17% { 
        opacity: 1; 
        transform: rotate(450deg) translateX(20px) rotate(-450deg);
    }
    18% { 
        opacity: 1; 
        transform: translate(4px, -20px);
    }
    20%, 100% { 
        opacity: 0; 
        transform: translate(4px, -20px);
    }
}

@keyframes greenDot {
    0%, 3% { 
        opacity: 1; 
        transform: rotate(180deg) translateX(20px) rotate(-180deg);
        box-shadow: 0 0 8px rgba(5, 150, 105, 0.8);
    }
    17% { 
        opacity: 1; 
        transform: rotate(540deg) translateX(20px) rotate(-540deg);
    }
    18% { 
        opacity: 1; 
        transform: translate(-20px, 20px);
    }
    20%, 100% { 
        opacity: 0; 
        transform: translate(-20px, 20px);
    }
}

@keyframes purpleDot {
    0%, 3% { 
        opacity: 1; 
        transform: rotate(270deg) translateX(20px) rotate(-270deg);
        box-shadow: 0 0 8px rgba(124, 58, 237, 0.8);
    }
    17% { 
        opacity: 1; 
        transform: rotate(630deg) translateX(20px) rotate(-630deg);
    }
    18% { 
        opacity: 1; 
        transform: translate(4px, 20px);
    }
    20%, 100% { 
        opacity: 0; 
        transform: translate(4px, 20px);
    }
}

@keyframes architectureBlock {
    0%, 20% { 
        opacity: 0; 
        transform: scale(0);
    }
    25%, 90% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

@keyframes dbSection {
    0%, 25% { 
        opacity: 0; 
        transform: scale(0);
    }
    30%, 90% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

@keyframes coreSection {
    0%, 30% { 
        opacity: 0; 
        transform: scale(0);
    }
    35%, 90% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(29, 78, 216, 0.3);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

@keyframes apiSection {
    0%, 35% { 
        opacity: 0; 
        transform: scale(0);
    }
    40%, 90% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

@keyframes uiSection {
    0%, 40% { 
        opacity: 0; 
        transform: scale(0);
    }
    45%, 90% { 
        opacity: 1; 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: scale(0.98);
    }
}

/* 4. Разработка - Печатающийся зеленый код */
.process-step:nth-child(4) .step-video {
    position: relative;
    overflow: visible;
    font-family: 'Courier New', monospace;
}

.process-step:nth-child(4) .step-video::before {
    content: '010101010\A 101010101\A 010101010\A 101010101\A 010101010\A 101010101\A 010101010\A 101010101';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: #22c55e;
    white-space: pre-line;
    text-align: center;
    line-height: 1.1;
    opacity: 0;
    animation: typingCode8Lines 8s infinite ease-in-out;
    z-index: 2;
    text-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

.process-step:nth-child(4) .step-video::after {
    content: '|';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 800;
    color: #22c55e;
    opacity: 0;
    animation: blinkingCursor8Lines 8s infinite ease-in-out;
    z-index: 3;
    text-shadow: 0 0 10px rgba(34, 197, 94, 1);
}

@keyframes typingCode8Lines {
    0%, 8% { 
        opacity: 0; 
        transform: translateX(-50%) scale(0.8);
    }
    10% { 
        content: '0';
        opacity: 1; 
        transform: translateX(-50%) scale(1);
    }
    98% { 
        content: '010101010\A 101010101\A 010101010\A 101010101\A 010101010\A 101010101\A 010101010\A 101010101';
    }
    100% { 
        opacity: 0.9; 
        transform: translateX(-50%) scale(0.98);
    }
}

@keyframes blinkingCursor8Lines {
    0%, 8% { opacity: 0; left: 50%; top: 8px; }
    10%, 26% { opacity: 1; left: 53%; top: 8px; }
    82%, 98% { opacity: 1; left: 53%; top: 52px; }
    99%, 100% { opacity: 0; }
}

/* 5. Развертывание - Шестеренка и глобус */
.process-step:nth-child(5) .step-video {
    position: relative;
    overflow: visible;
}

.process-step:nth-child(5) .step-video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 28px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 10%;
    opacity: 0;
    animation: improvedGearRotation 8s infinite linear;
    z-index: 2;
    clip-path: polygon(
        50% 0%, 
        61% 35%, 
        98% 35%, 
        68% 57%, 
        79% 91%, 
        50% 70%, 
        21% 91%, 
        32% 57%, 
        2% 35%, 
        39% 35%
    );
    box-shadow: 
        inset 0 0 8px rgba(0,0,0,0.8),
        0 2px 4px rgba(0,0,0,0.3);
}

.process-step:nth-child(5) .gear-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: improvedGearHole 8s infinite ease-in-out;
    z-index: 3;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
}

.process-step:nth-child(5) .step-video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border-radius: 50%;
    opacity: 0;
    animation: globeAppear 8s infinite ease-in-out;
    z-index: 3;
    box-shadow: 
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 122, 255, 0.5);
}

.process-step:nth-child(5) .globe-dot1 {
    position: absolute;
    top: 35%;
    left: 45%;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    opacity: 0;
    animation: globeDots 8s infinite ease-in-out;
    z-index: 4;
}

.process-step:nth-child(5) .globe-dot2 {
    position: absolute;
    top: 55%;
    left: 55%;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: globeDots 8s infinite ease-in-out 0.2s;
    z-index: 4;
}

.process-step:nth-child(5) .globe-dot3 {
    position: absolute;
    top: 45%;
    left: 60%;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    opacity: 0;
    animation: globeDots 8s infinite ease-in-out 0.4s;
    z-index: 4;
}

.process-step:nth-child(5) .globe-grid-v {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: globeGrid 8s infinite ease-in-out;
    z-index: 4;
}

.process-step:nth-child(5) .globe-grid-h {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
    animation: globeGrid 8s infinite ease-in-out 0.1s;
    z-index: 4;
}

@keyframes improvedGearRotation {
    0%, 15% { 
        opacity: 1; 
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    45% { 
        transform: translate(-50%, -50%) rotate(1080deg) scale(1.3);
    }
    51% { 
        opacity: 0; 
        transform: translate(-50%, -50%) rotate(1296deg) scale(0.1);
    }
    53%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) rotate(1440deg) scale(0);
    }
}

@keyframes improvedGearHole {
    0%, 15% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
    }
    45% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2);
    }
    51% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.1);
    }
    53%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
}

@keyframes globeAppear {
    0%, 50% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
    65%, 90% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            inset -3px -3px 6px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(0, 122, 255, 0.7);
    }
    95%, 100% { 
        opacity: 0.9; 
        transform: translate(-50%, -50%) scale(0.95);
    }
}

@keyframes globeDots {
    0%, 63% { 
        opacity: 0; 
        transform: scale(0);
    }
    68%, 90% { 
        opacity: 1; 
        transform: scale(1);
    }
    95%, 100% { 
        opacity: 0.8; 
        transform: scale(0.9);
    }
}

@keyframes globeGrid {
    0%, 68% { 
        opacity: 0; 
    }
    73%, 90% { 
        opacity: 1; 
    }
    95%, 100% { 
        opacity: 0.8; 
    }
}

/* 6. Обслуживание - Спутниковая связь */
.process-step:nth-child(6) .step-video {
    position: relative;
    overflow: visible;
}

.process-step:nth-child(6) .satellite-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #007AFF;
    border-radius: 50%;
    opacity: 0;
    animation: simpleSatellite 10s infinite ease-in-out;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0, 122, 255, 1);
}

.process-step:nth-child(6) .signal-beam1 {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background: #00ff88;
    opacity: 0;
    animation: simpleBeam1 10s infinite ease-in-out;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.process-step:nth-child(6) .signal-beam2 {
    position: absolute;
    top: 50%;
    left: 70%;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background: #00ff88;
    opacity: 0;
    animation: simpleBeam2 10s infinite ease-in-out;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.process-step:nth-child(6) .signal-beam3 {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 15px;
    background: #00ff88;
    opacity: 0;
    animation: simpleBeam3 10s infinite ease-in-out;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.process-step:nth-child(6) .signal-beam4 {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    width: 15px;
    height: 3px;
    background: #00ff88;
    opacity: 0;
    animation: simpleBeam4 10s infinite ease-in-out;
    z-index: 3;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.process-step:nth-child(6) .signal-wave1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    border: 2px solid rgba(0, 255, 136, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: signalWave1 10s infinite ease-in-out;
    z-index: 2;
}

.process-step:nth-child(6) .signal-wave2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    opacity: 0;
    animation: signalWave2 10s infinite ease-in-out;
    z-index: 1;
}

.process-step:nth-child(6) .support-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff88;
    font-size: 14px;
    font-weight: 900;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    animation: supportText 10s infinite ease-in-out;
    z-index: 6;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

@keyframes simpleSatellite {
    0%, 10% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
    15%, 70% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(0, 122, 255, 1);
    }
    75%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
}

@keyframes simpleBeam1 {
    0%, 15% { 
        opacity: 0; 
        transform: translateX(-50%) scaleY(0);
    }
    20%, 65% { 
        opacity: 1; 
        transform: translateX(-50%) scaleY(1);
        box-shadow: 0 0 12px rgba(0, 255, 136, 1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) scaleY(0);
    }
}

@keyframes simpleBeam2 {
    0%, 20% { 
        opacity: 0; 
        transform: translateY(-50%) scaleX(0);
    }
    25%, 65% { 
        opacity: 1; 
        transform: translateY(-50%) scaleX(1);
        box-shadow: 0 0 12px rgba(0, 255, 136, 1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translateY(-50%) scaleX(0);
    }
}

@keyframes simpleBeam3 {
    0%, 25% { 
        opacity: 0; 
        transform: translateX(-50%) scaleY(0);
    }
    30%, 65% { 
        opacity: 1; 
        transform: translateX(-50%) scaleY(1);
        box-shadow: 0 0 12px rgba(0, 255, 136, 1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translateX(-50%) scaleY(0);
    }
}

@keyframes simpleBeam4 {
    0%, 30% { 
        opacity: 0; 
        transform: translateY(-50%) scaleX(0);
    }
    35%, 65% { 
        opacity: 1; 
        transform: translateY(-50%) scaleX(1);
        box-shadow: 0 0 12px rgba(0, 255, 136, 1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translateY(-50%) scaleX(0);
    }
}

@keyframes signalWave1 {
    0%, 35% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
    40%, 65% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes signalWave2 {
    0%, 40% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
    45%, 65% { 
        opacity: 0.6; 
        transform: translate(-50%, -50%) scale(1);
    }
    70%, 100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes supportText {
    0%, 75% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0);
    }
    80% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2);
        text-shadow: 0 0 15px rgba(0, 255, 136, 1);
    }
    85%, 95% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1);
        text-shadow: 0 0 12px rgba(0, 255, 136, 0.8);
    }
    100% { 
        opacity: 0.9; 
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact {
    padding: 8rem 2rem;
    background: #1C1C1E;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 5rem 0;
}

.contact-card {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #007AFF;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    transform: scale(1);
    animation: gentlePulse 3s ease-in-out infinite;
}

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

.contact-card:hover .contact-icon {
    transform: scale(1.1) !important;
    animation: none;
}

/* WhatsApp изображение */
.whatsapp-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    transition: all 0.3s ease;
    transform: scale(1);
    animation: gentlePulse 3s ease-in-out infinite;
    background: #25D366;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.contact-card:hover .whatsapp-image {
    transform: scale(1.1) !important;
    animation: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6) !important;
}

.email-icon {
    background: linear-gradient(135deg, #EA4335 0%, #C5221F 100%);
    box-shadow: 0 4px 15px rgba(234, 67, 53, 0.4);
    font-size: 28px;
    color: white;
}

.contact-card:hover .email-icon {
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.6) !important;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.contact-description {
    font-size: 1rem;
    color: #86868B;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.form-input {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-input::placeholder {
    color: #86868B;
}

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

.contact-form .cta-button {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c, #4facfe, #00f2fe, #43e97b, #38f9d7);
    background-size: 300% 300%;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: gradientShift 6s ease-in-out infinite;
    justify-self: center;
    min-width: 200px;
}

.contact-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    padding: 4rem 2rem 3rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 0.9rem;
    color: #86868B;
}

/* ==========================================================================
   FADE ANIMATIONS
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-extra {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-extra .stat-item:first-child {
        grid-column: 1;
        transform: none;
    }

    .stats-extra .stat-item:last-child {
        grid-column: 2;
        transform: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .floating-cube {
        display: none;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .cta-button {
        font-size: 12px;
        padding: 8px 16px;
    }
}