/* Shared Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--background-dark);
    overflow: hidden;
    padding: clamp(3rem, 5vw, 6rem) 0;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 1;
}

.hero-text-wrapper {
    text-align: center;
    padding: clamp(2rem, 4vw, 4rem) 0;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    transform: translateY(30px);
    animation: titleFade 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: var(--text-color-muted);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(15px);
    animation: subtitleFade 1s ease-out 0.3s forwards;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-color-muted);
    max-width: 800px;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    line-height: 1.8;
    opacity: 0;
    animation: descriptionFade 1s ease-out 0.6s forwards;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    pointer-events: none;
}

/* About Hero Specific Styles */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    margin-top: clamp(2rem, 4vw, 4rem);
    flex-wrap: wrap;
}

.stat-item {
    padding: clamp(1.5rem, 2vw, 2rem);
    background: rgba(var(--background-light-rgb), 0.08);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    transition: var(--transition);
    min-width: 200px;
    flex: 1;
    max-width: 300px;
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(var(--background-light-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.1);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.stat-label {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: var(--text-color-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.gradient-sphere {
    position: absolute;
    width: min(800px, 80vw);
    height: min(800px, 80vw);
    background: radial-gradient(circle, 
        rgba(var(--primary-rgb), 0.2) 0%,
        rgba(var(--accent-rgb), 0.1) 30%,
        transparent 70%);
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite ease-in-out;
}

.particle-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(var(--primary-rgb), 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--primary-rgb), 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    animation: float 20s infinite linear;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

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

/* Blog Hero Specific Styles */
.hero-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.category-tag {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--text-color-light);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    transition: var(--transition);
    font-weight: 500;
}

.category-tag:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.element {
    position: absolute;
    width: clamp(80px, 10vw, 120px);
    height: clamp(80px, 10vw, 120px);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    animation: floatRotate 8s infinite ease-in-out;
}

.element.code { 
    top: 20%; 
    left: 15%; 
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.element.design { 
    top: 40%; 
    right: 20%; 
    animation-delay: 2s;
    transform: rotate(15deg);
}

.element.strategy { 
    bottom: 25%; 
    left: 50%; 
    animation-delay: 4s;
    transform: rotate(30deg);
}

@keyframes floatRotate {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-20px) rotate(5deg); 
        opacity: 1;
    }
}

/* Contact Hero Specific Styles */
.hero-highlights {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: rgba(var(--background-light-rgb), 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--primary-rgb), 0.1);
    transition: var(--transition);
    min-width: 250px;
}

.highlight-item:hover {
    transform: translateY(-5px);
    background: rgba(var(--background-light-rgb), 0.2);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.highlight-icon {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-color-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(var(--primary-rgb), 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(var(--primary-rgb), 0.05) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.5;
    animation: shiftBackground 20s linear infinite;
}

.glow-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
        rgba(var(--primary-rgb), 0) 0px,
        rgba(var(--primary-rgb), 0.05) 1px,
        rgba(var(--primary-rgb), 0) 2px
    );
    opacity: 0.3;
    animation: pulse 4s ease-in-out infinite;
}

.gradient-mesh {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background-image: radial-gradient(circle at 50% 50%,
        rgba(var(--accent-rgb), 0.15) 0%,
        rgba(var(--primary-rgb), 0.1) 25%,
        transparent 50%);
    filter: blur(30px);
    animation: rotate 20s linear infinite;
}

@keyframes titleFade {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        -webkit-text-fill-color: transparent;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(0 0 20px rgba(96, 239, 255, 0.2));
    }
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 0.9;
        transform: translateY(0);
    }
}

@keyframes descriptionFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes shiftBackground {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .about-hero .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .category-tag {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }
}