/* Hero Section Shield Animation */

:root {
  --gold-royal-soft: linear-gradient(135deg,
    #e7c247 0%,
    #efcf61 35%,
    #eac562 55%,
    #d2ac3a 75%,
    #b07e19 100%
  );

  --gold-royal-satin: linear-gradient(135deg,
    #ddb53f 0%,
    #e8c85d 34%,
    #e5c061 54%,
    #c89f36 76%,
    #9f7520 100%
  );

  --gold-royal-matte: linear-gradient(135deg,
    #cfaa45 0%,
    #dbbf6a 40%,
    #d4b661 60%,
    #bb983c 100%
  );

  --gold-fallback: #d1b35a;
}
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    overflow: hidden;
    position: relative;
    padding: 100px 20px 50px;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fafafa 50%,
        #f5f5f5 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h1 .highlight{
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 45%),
    var(--gold-royal-soft);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:var(--gold-fallback);
}
 
@media (max-width: 768px){
	.hero-text h1 .highlight{ background: var(--gold-royal-matte); 
		-webkit-background-clip:text; background-clip:text;
		-webkit-text-fill-color:transparent; color:var(--gold-fallback);
	}
}

.hero-text h2 .highlight, .hero-text h3 .highlight{
	background: var(--gold-royal-matte);
	-webkit-background-clip:text; background-clip:text;
	-webkit-text-fill-color:transparent; color:var(--gold-fallback);
}

.btn-gold{
  background: linear-gradient(180deg, #cfad54, #9e7b2e);
  color:#0a0a0a; border:1px solid #e0c776;
  box-shadow: 0 6px 20px rgba(190,158,80,.22);
}

.btn-gold:hover{
  background: linear-gradient(180deg, #e8cb7a, #b28737);
  box-shadow: 0 8px 26px rgba(232,203,122,.28);
}

.hero-text .hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
    /* Static subtle gray gradient */
    background: linear-gradient(
        90deg,
        #b0b0b0 0%,
        #b8b8b8 50%,
        #a8a8a8 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features {
    list-style: none;
    margin-bottom: 40px;
}

.features li {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #e0e0e0;
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.features li span {
    color: var(--wfs-yellow);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    display: inline;
    transition: none;
}

.features li:nth-child(1) { animation-delay: 0.2s; }
.features li:nth-child(2) { animation-delay: 0.4s; }
.features li:nth-child(3) { animation-delay: 0.6s; }
.features li:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-link {
    margin-top: 10px;
}

.hero-link a {
    color: var(--wfs-yellow);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-link a:hover {
    color: #f4d03f;
    transform: translateX(5px);
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-badges .badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(229, 191, 52, 0.1);
    border: 1px solid rgba(229, 191, 52, 0.2);
    border-radius: 20px;
    color: #e5bf34;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Shield Animation Area */
.shield-animation-area {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: -50px;
}

.logo-protected {
    position: relative;
    z-index: 10;
    width: 250px;
    height: 250px;
}

.hero-logo {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(229, 191, 52, 0.4));
    position: relative;
    z-index: 2;
}

.protection-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 158, 255, 0.15) 0%, rgba(74, 158, 255, 0.05) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.protection-glow.active {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

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

/* Shield Barrier */
.shield-barrier {
    position: absolute;
    right: 260px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 400px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(74, 158, 255, 0.3),
        rgba(74, 158, 255, 0.8),
        rgba(74, 158, 255, 0.3),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 15;
}

.shield-barrier.active {
    opacity: 1;
    animation: barrierPulse 1.5s ease-in-out infinite;
}

.shield-barrier::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(74, 158, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shield-barrier.active::before {
    opacity: 1;
}

@keyframes barrierPulse {
    0%, 100% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(74, 158, 255, 0.6), 0 0 40px rgba(74, 158, 255, 0.3);
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 40px rgba(74, 158, 255, 0.9), 0 0 80px rgba(74, 158, 255, 0.4);
        filter: brightness(1.2);
    }
}

/* Attack Stream */
.attack-stream {
    position: absolute;
    left: -100px;
    top: 0;
    width: calc(100% + 100px);
    height: 100%;
    overflow: visible;
}

.attack-item {
    position: absolute;
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.6));
}

.attack-item svg {
    width: 100%;
    height: 100%;
}

.attack-item.phishing { color: #ff4444; }
.attack-item.spam { color: #ff6600; }
.attack-item.malware { color: #cc0000; }
.attack-item.ddos { color: #ff3333; }
.attack-item.wordpress { color: #ff0066; }

/* Attack Trail */
.attack-trail {
    position: absolute;
    height: 2px;
    background: linear-gradient(to right, transparent, currentColor);
    opacity: 0.6;
    pointer-events: none;
}

/* Impact Effect */
.impact-effect {
    position: absolute;
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.impact-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #4a9eff;
    border-radius: 50%;
    animation: impactRing 0.6s ease-out forwards;
}

@keyframes impactRing {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

.impact-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #4a9eff;
    border-radius: 50%;
    box-shadow: 0 0 6px #4a9eff;
}

/* Blocked Counter */
.blocked-counter {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(229, 199, 56, 0.2);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wfs-yellow);
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
    transition: transform 0.2s ease;
}

.counter-text {
    font-size: 0.9rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .shield-animation-area {
        height: 300px;
    }
    
    .logo-protected {
        width: 150px;
        height: 150px;
    }
    
    .shield-barrier {
        right: 160px;
        height: 200px;
    }
    
    .attack-item {
        width: 35px;
        height: 35px;
    }
    
    .impact-effect {
        width: 60px;
        height: 60px;
    }
    
    .impact-ring {
        animation: impactRingMobile 0.6s ease-out forwards;
    }
    
    @keyframes impactRingMobile {
        from {
            transform: scale(0);
            opacity: 1;
        }
        to {
            transform: scale(1.5);
            opacity: 0;
        }
    }
    
    .blocked-counter {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
    }
    
    .counter-number {
        font-size: 2rem;
    }
}
