/* ========================================
   OSHMANOVSKY THEME - CUSTOM STYLES 2026
   3D Effects, Neon Colors, Animations
   ======================================== */

/* ========================================
   ANIMATED BACKGROUND SHAPES
   ======================================== */
.hero-bg-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-shape 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    bottom: 20%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}

/* Section Glow Effects */
.section-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.process-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* ========================================
   3D HERO VISUAL
   ======================================== */
.hero-visual-3d {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 800px;
    z-index: 1;
}

.hero-3d-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 
        0 50px 100px -20px rgba(168, 85, 247, 0.4),
        0 30px 60px -30px rgba(6, 182, 212, 0.3);
    animation: hero-float 6s ease-in-out infinite;
}

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

@media (max-width: 1200px) {
    .hero-visual-3d {
        display: none;
    }
}

/* ========================================
   GLASS CARDS
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2);
}

/* ========================================
   3D SERVICE CARDS
   ======================================== */
.service-card-3d {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #06b6d4, #10b981);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-3d:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.3);
}

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

.service-icon-3d {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

.service-card-3d:hover .service-icon-3d {
    transform: scale(1.1) rotateY(10deg);
}

/* ========================================
   3D PROCESS STEPS
   ======================================== */
.process-step-3d {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step-3d:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.process-step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

/* ========================================
   3D CASE CARDS
   ======================================== */
.case-card-3d {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-3d:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.3);
}

.case-image-3d {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.case-image-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-3d:hover .case-image-3d img {
    transform: scale(1.1);
}

.case-result-3d {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 12px;
    border-left: 3px solid #10b981;
    margin-top: 1rem;
}

.case-result-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.case-result-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

/* ========================================
   3D TESTIMONIAL CARDS
   ======================================== */
.testimonial-card-3d {
    background: linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card-3d:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: -10px;
    font-family: Georgia, serif;
    font-size: 100px;
    color: rgba(168, 85, 247, 0.3);
    line-height: 1;
}

.testimonial-text {
    position: relative;
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.4);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   3D BLOG CARDS
   ======================================== */
.blog-card-3d {
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-3d:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(168, 85, 247, 0.15);
}

.blog-card-image-3d {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image-3d img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-3d:hover .blog-card-image-3d img {
    transform: scale(1.08);
}

/* ========================================
   ENHANCED BUTTONS
   ======================================== */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    border: none;
    box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(168, 85, 247, 0.6);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 16px;
}

/* ========================================
   ENHANCED HERO STATS
   ======================================== */
.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-stat:last-child::after {
    display: none;
}

.hero-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* ========================================
   SERVICE FEATURES LIST
   ======================================== */
.service-features {
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.service-features li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* ========================================
   PAIN POINTS GRID
   ======================================== */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.pain-point-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.pain-point-icon svg {
    width: 28px;
    height: 28px;
}

/* ========================================
   SERVICES GRID
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ========================================
   PROCESS STEPS GRID
   ======================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* ========================================
   CASES GRID
   ======================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ========================================
   TESTIMONIALS GRID
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* ========================================
   BLOG GRID
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 8rem 0;
}

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

.cta-title {
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-description {
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 100px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ========================================
   ANIMATIONS
   ======================================== */
/* Note: Keyframes fadeIn, fadeInUp, fadeInDown are defined in style.css */

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInDown {
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-stat::after {
        display: none;
    }
    
    .hero-stat-value {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .cases-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .pain-points-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   TEXT GRADIENT
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   GLOW EFFECTS
   ======================================== */
.glow-purple {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.4);
}

.glow-cyan {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
}

.glow-green {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
}
