/* Modern Hero Section Styles */
.hero-section {
    position: relative;
    padding: 1.8rem 0 1.8rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
    min-height: 320px;
    display: flex;
    align-items: center;
}

/* Animated Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0,180,216,0.12), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(255,107,107,0.08), transparent 25%),
        radial-gradient(circle at 50% 80%, rgba(78,205,196,0.1), transparent 25%);
    opacity: 0.9;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse-glow 12s infinite alternate ease-in-out;
}

.hero-glow-1 {
    background: linear-gradient(45deg, rgba(0,180,216,0.25), rgba(255,107,107,0.2));
    width: 500px;
    height: 500px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-glow-2 {
    background: linear-gradient(225deg, rgba(78,205,196,0.2), rgba(0,180,216,0.15));
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -50px;
    animation-delay: 2s;
}

.hero-glow-3 {
    background: linear-gradient(135deg, rgba(255,217,61,0.15), rgba(247,127,0,0.1));
    width: 350px;
    height: 350px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0,180,216,0.06) 0%, rgba(255,255,255,0) 8px),
        radial-gradient(circle at 40% 70%, rgba(255,107,107,0.05) 0%, rgba(255,255,255,0) 8px),
        radial-gradient(circle at 60% 20%, rgba(78,205,196,0.06) 0%, rgba(255,255,255,0) 8px),
        radial-gradient(circle at 80% 50%, rgba(255,217,61,0.05) 0%, rgba(255,255,255,0) 8px),
        radial-gradient(circle at 30% 50%, rgba(0,180,216,0.05) 0%, rgba(255,255,255,0) 8px),
        radial-gradient(circle at 70% 80%, rgba(255,107,107,0.04) 0%, rgba(255,255,255,0) 8px);
    background-size: 180px 180px;
    opacity: 0.9;
}

/* Decorative Elements */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
}

.hero-shape-1 {
    top: 15%;
    left: 5%;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(45deg, #00b4d8, #4ecdc4);
    transform: rotate(15deg);
    animation: float-shape 8s infinite ease-in-out;
}

.hero-shape-2 {
    bottom: 20%;
    right: 8%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    animation: float-shape 7s infinite ease-in-out reverse;
    animation-delay: 2s;
}

.hero-shape-3 {
    top: 60%;
    left: 10%;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #4ecdc4, #a8e6cf);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float-shape 9s infinite ease-in-out;
    animation-delay: 1s;
}

@keyframes float-shape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-5deg);
    }
}

/* Content Container */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

/* Spotlight Badge */
.hero-spotlight-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #00b4d8, #ff6b6b);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
    z-index: 1;
    overflow: hidden;
}

.hero-spotlight-badge i {
    margin-right: 0.5rem;
}

.badge-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    z-index: -1;
    transform: translateX(-100%);
    animation: badge-pulse 3s infinite;
}

@keyframes badge-pulse {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

/* Title with Animation */
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.15;
    position: relative;
    letter-spacing: -0.5px;
    text-align: center;
    width: 100%;
}

.hero-title-accent {
    position: relative;
    display: inline;
    color: #00b4d8;
    animation: title-bounce 5s infinite;
    margin-left: 0.3rem;
    white-space: nowrap;
}

@keyframes title-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.text-gradient {
    background: linear-gradient(90deg, #00b4d8, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    background-size: 200% 100%;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* Description */
.hero-description {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 0.8rem;
    max-width: 650px;
    animation: fade-in 1s ease-out;
    line-height: 1.4;
    text-align: center;
}

.counter-highlight {
    font-weight: 700;
    color: #00b4d8;
    position: relative;
    white-space: nowrap;
}

.counter-highlight:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00b4d8, #4ecdc4);
    border-radius: 2px;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 0 0 1rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(13, 110, 253, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.2);
    border-color: rgba(0, 180, 216, 0.3);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.9));
}

.hero-feature i {
    color: #06d6a0;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Action Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.btn-explore, .btn-popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-explore {
    background: linear-gradient(90deg, #00b4d8, #ff6b6b);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pulse-effect:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transform: scale(0);
    animation: pulse-btn 2s infinite;
    z-index: -1;
}

@keyframes pulse-btn {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.btn-explore:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 180, 216, 0.4);
    background: linear-gradient(90deg, #0077b6, #ee5a52);
}

.btn-popular {
    background: white;
    color: #00b4d8;
    border: 1px solid rgba(0, 180, 216, 0.2);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.btn-popular:hover {
    background: linear-gradient(45deg, rgba(0, 180, 216, 0.05), rgba(78, 205, 196, 0.05));
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

.btn-explore i, .btn-popular i {
    margin-right: 0.5rem;
}

/* Tool Counter */
.hero-counter-wrapper {
    margin: 0 0 1rem;
}

.hero-counter {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.8rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.counter-ring {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 2px solid transparent;
    border-radius: 50px;
    background: linear-gradient(90deg, #00b4d8, #ff6b6b, #4ecdc4, #00b4d8) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: rotate-gradient 4s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.counter-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #00b4d8, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.counter-text {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Responsive styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 1.6rem 0 1.6rem;
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 2.4rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 580px;
        margin-bottom: 0.7rem;
        line-height: 1.35;
    }
    
    .hero-spotlight-badge {
        font-size: 0.9rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 0.7rem;
    }
    
    .btn-explore, .btn-popular {
        padding: 0.65rem 1.4rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 1.4rem 0 1.4rem;
        min-height: 240px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
        max-width: 480px;
        line-height: 1.3;
    }
    
    .counter-number {
        font-size: 1.8rem;
    }
    
    .hero-counter-wrapper {
        margin: 0 0 0.8rem;
    }
    
    .hero-features {
        margin: 0 0 0.8rem;
        gap: 0.5rem;
    }
    
    .hero-spotlight-badge {
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 1.2rem 0 1.2rem;
        min-height: 220px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.25;
    }
    
    .hero-feature {
        padding: 0.2rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .btn-explore, .btn-popular {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-spotlight-badge {
        font-size: 0.85rem;
        padding: 0.35rem 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .counter-number {
        font-size: 1.6rem;
    }
    
    .hero-counter-wrapper {
        margin: 0 0 0.7rem;
    }
    
    .hero-features {
        margin: 0 0 0.7rem;
        gap: 0.4rem;
    }
}