#hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}


@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

#hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-content::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 119, 237, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: blob-morph 8s ease-in-out infinite alternate;
}

.hero-content::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: blob-morph 6s ease-in-out infinite alternate-reverse;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: rotate(0deg) scale(1);
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 40% 60%;
        transform: rotate(180deg) scale(1.1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    max-width: 800px;
    padding: 40px 22px;
    position: relative;
    z-index: 1;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hero-logo {
    width: min(360px, 70vw);
    height: auto;
    display: block;
    margin: 0 auto 28px;
    filter: invert(1) brightness(1.2);
}

#hero-title {
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f5f5f7 0%, #06c 50%, #f5f5f7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

#hero-subtitle {
    font-size: 24px;
    color: #6e6e73;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#services {
    background: #1a1a1a;
}

#services-title {
    text-align: center;
    margin-bottom: 12px;
}

#services-subtitle {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(45, 45, 45, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.5), rgba(0, 119, 237, 0.5), rgba(0, 102, 204, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::after {
    opacity: 1;
    animation: border-flow 3s linear infinite;
}

@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 102, 204, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(45, 45, 45, 0.8);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.3), 0 8px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 102, 204, 0.4);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 12px;
}

#about-preview {
    background: #1a1a1a;
}

#process {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}

#process-title,
#process-subtitle {
    text-align: center;
}

.process-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, #06c 20%, #06c 80%, transparent 100%);
    transform: translateX(-50%);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-content {
    padding: 32px;
    background: rgba(45, 45, 45, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    text-align: right;
    grid-column: 1;
}

.process-step:nth-child(even) .step-content {
    grid-column: 3;
    text-align: left;
}

.step-content:hover {
    background: rgba(45, 45, 45, 0.6);
    border-color: rgba(0, 102, 204, 0.4);
    transform: translateY(-4px);
}

.step-icon {
    font-size: 32px;
    color: #06c;
    margin-bottom: 16px;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: #f5f5f7;
    margin-bottom: 12px;
}

.step-description {
    font-size: 17px;
    color: #a1a1a6;
    line-height: 1.6;
}

.step-number-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06c 0%, #0077ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, #06c, #0077ed);
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 24px;
}

.about-text p {
    font-size: 19px;
    margin-bottom: 32px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #06c;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: #86868b;
    font-weight: 500;
}

#cta-section {
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

#cta-section h2 {
    color: #f5f5f7;
    margin-bottom: 16px;
}

#cta-section p {
    color: #a1a1a6;
    font-size: 21px;
    margin-bottom: 32px;
}

#cta-section .cta-button {
    background: #06c;
    color: white;
}

#cta-section .cta-button:hover {
    background: #0077ed;
}

@media (max-width: 768px) {
    #hero {
        min-height: 70vh;
    }
    
    #hero-subtitle {
        font-size: 19px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        grid-template-columns: 80px 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .step-content {
        grid-column: 2;
        text-align: left;
    }
    
    .process-step:nth-child(even) .step-content {
        grid-column: 2;
        text-align: left;
    }
    
    .step-number-container {
        grid-column: 1;
        justify-content: flex-start;
    }
}
