.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 78vh;
    padding: 48px 18px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at top, rgba(241, 54, 37, 0.12), transparent 18%),
        linear-gradient(145deg, #ffffff 0%, #eff6ff 55%, #f8fafc 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    z-index: -1;
    animation: heroFloat 10s ease-in-out infinite;
}

.hero::before {
    width: 220px;
    height: 220px;
    top: -30px;
    left: -30px;
    background: rgba(241, 54, 37, 0.28);
}

.hero::after {
    width: 280px;
    height: 280px;
    right: -60px;
    bottom: -80px;
    background: rgba(56, 189, 248, 0.18);
    animation-delay: -4s;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.479) 0 1.5px, transparent 1.6px),
        radial-gradient(circle at 75% 30%, rgba(241, 54, 37, 0.568) 0 1.7px, transparent 1.8px),
        radial-gradient(circle at 40% 65%, rgba(56, 191, 248, 0.589) 0 1.4px, transparent 1.5px),
        radial-gradient(circle at 80% 75%, rgba(17, 24, 39, 0.589) 0 1.5px, transparent 1.6px);
    background-size: 180px 180px, 220px 220px, 260px 260px, 300px 300px;
    opacity: 0.35;
    animation: particleDrift 18s linear infinite;
    z-index: 0;
}

.hero h1 {
    font-size: clamp(2.3rem, 7vw, 4rem);
    line-height: 1.08;
    color: #111827;
    margin-bottom: 18px;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #111827 0%, #f13625 60%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 720px;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 28px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #f13625, #ff7a59);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(241, 54, 37, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 28px rgba(30, 41, 59, 0.18);
}

.php-particle {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #111827;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0.85;
    animation: phpFloat 12s linear infinite;
    z-index: 0;
}

.php-particle-one {
    top: 12%;
    left: 18%;
    animation-delay: -1s;
}

.php-particle-two {
    top: 22%;
    right: 14%;
    animation-delay: -5s;
}

.php-particle-three {
    bottom: 24%;
    left: 12%;
    animation-delay: -3s;
}

.php-particle-four {
    bottom: 12%;
    right: 18%;
    animation-delay: -7s;
}

@keyframes phpFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    25% {
        transform: translate3d(10px, -12px, 0) rotate(2deg);
    }
    50% {
        transform: translate3d(18px, 4px, 0) rotate(-1deg);
    }
    75% {
        transform: translate3d(6px, -18px, 0) rotate(1deg);
    }
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(18px, -24px, 0) scale(1.08);
    }
}

@keyframes particleDrift {
    from {
        transform: translateY(0) translateX(0);
    }
    to {
        transform: translateY(-18px) translateX(8px);
    }
}

@media (max-width: 720px) {
    .hero {
        min-height: auto;
        padding: 38px 14px 48px;
    }

    .hero p {
        font-size: 0.98rem;
    }
}