/* Hostider Premium DDoS Koruması V2 Özel CSS */

/* Scroll ve Yerleşim */
html { scroll-behavior: smooth; }

/* Animasyonlar */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(16px); }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(2deg); }
}
@keyframes scroll-track {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * (250px + 4rem) * 5)); }
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.3; }
    100% { transform: scale(0.95); opacity: 0.5; }
}
@keyframes grid-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Sınıflar */
.hstdr-animate-float { animation: float 6s ease-in-out infinite; }
.hstdr-animate-float-delayed { animation: float-delayed 6s ease-in-out infinite; animation-delay: 2s; }
.hstdr-animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.slider-track-ddos { animation: scroll-track 40s linear infinite; }
.perspective-1000 { perspective: 1000px; }

/* Gelişmiş 3D Kart Dönüşümleri */
.rotate-y-left { transform: rotateY(-12deg) rotateX(6deg); }
.rotate-y-right { transform: rotateY(12deg) rotateX(6deg); }

/* Canlı Simülatör Özel CSS */
.simulator-panel {
    background: linear-gradient(135deg, #090d16 0%, #0e1627 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.25) !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(239, 68, 68, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Simülatör Alt Kartları (Okunurluk için koyu tonda sabitlendi) */
.sim-sub-card {
    background-color: #020617 !important;
    border: 1px solid #1e293b !important;
    border-radius: 0.75rem !important;
}

/* Simülatör Yazı Renkleri (Gündüz modunda okunmama sorununu engellemek için zorlanmış renkler) */
.sim-text-title {
    color: #f8fafc !important; /* slate-50 */
}
.sim-text-muted {
    color: #94a3b8 !important; /* slate-400 */
}
.sim-text-dim {
    color: #64748b !important; /* slate-500 */
}

/* Simülatör Akış Çizgisi */
@keyframes flow-red {
    0% { stroke-dashoffset: 100; opacity: 0.3; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.3; }
}
@keyframes flow-green {
    0% { stroke-dashoffset: 100; opacity: 0.3; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.3; }
}

.flow-line-red {
    stroke-dasharray: 12, 6;
    animation: flow-red 4s linear infinite;
}
.flow-line-green {
    stroke-dasharray: 12, 6;
    animation: flow-green 2.5s linear infinite;
}

/* Blinking node animations */
@keyframes blink-red {
    0%, 100% { background-color: rgba(239, 68, 68, 0.2); box-shadow: 0 0 4px rgba(239, 68, 68, 0.2); }
    50% { background-color: rgba(239, 68, 68, 1); box-shadow: 0 0 12px rgba(239, 68, 68, 0.8); }
}
@keyframes blink-green {
    0%, 100% { background-color: rgba(34, 197, 94, 0.2); box-shadow: 0 0 4px rgba(34, 197, 94, 0.2); }
    50% { background-color: rgba(34, 197, 94, 1); box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}
@keyframes blink-blue {
    0%, 100% { background-color: rgba(59, 130, 246, 0.2); box-shadow: 0 0 4px rgba(59, 130, 246, 0.2); }
    50% { background-color: rgba(59, 130, 246, 1); box-shadow: 0 0 12px rgba(59, 130, 246, 0.8); }
}

.indicator-blink-red { animation: blink-red 1s infinite; }
.indicator-blink-green { animation: blink-green 1.2s infinite; }
.indicator-blink-blue { animation: blink-blue 0.8s infinite; }

/* Trial Text Gradient */
.ddos-trial-gradient {
    background: linear-gradient(90deg, #f43f5e, #fb923c, #22c55e, #38bdf8, #a855f7, #f43f5e);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: ddos-trial-shift 5s linear infinite;
}
@keyframes ddos-trial-shift {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Custom Background Grid Pattern */
.bg-grid-glow {
    background-color: #f8fafc !important; /* Force light background in light mode */
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(239, 68, 68, 0.15), transparent),
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(15, 23, 42, 0.05), transparent) !important;
    background-size: 100% 100%;
}
.hstdr-dark .bg-grid-glow {
    background-color: #070d19 !important; /* Force dark background in dark mode */
    background-image: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(239, 68, 68, 0.08), transparent),
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 0, 0, 0.4), transparent) !important;
}

/* WAF Step connection lines */
.waf-line {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.5), rgba(59, 130, 246, 0.5));
    height: 2px;
}
@media (max-width: 1023px) {
    .waf-line {
        background: linear-gradient(180deg, rgba(239, 68, 68, 0.5), rgba(59, 130, 246, 0.5));
        width: 2px;
        height: 40px;
    }
}

/* Live Terminal Log Console */
.sim-console {
    background-color: #020617 !important;
    border: 1px solid #1e293b !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    color: #10b981 !important; /* green-500 */
}
.sim-console-header {
    border-bottom: 1px solid #0f172a !important;
}
.sim-console-text-muted {
    color: #4b5563 !important; /* gray-600 */
}
.sim-console-text-clean {
    color: #34d399 !important; /* emerald-400 */
}
.sim-console-text-blocked {
    color: #f87171 !important; /* red-400 */
}

/* Custom Scrollbar for console */
.console-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.console-scrollbar::-webkit-scrollbar-track {
    background: #020617;
}
.console-scrollbar::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
.console-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Dynamic Equalizer Height Transition */
.eq-bar {
    transition: height 0.3s ease-in-out;
}

/* --- GÜNDÜZ MODU & EFEKTLER GÜNCELLEMESİ --- */

/* Neden Standart Güvenlik Yetersiz Kalır? (Gündüz Modunda da Koyu Kalması Sağlanan Bölüm) */
.sim-dark-section {
    background-color: #070d19 !important;
    color: #f8fafc !important; /* slate-50 */
}
.sim-dark-section p {
    color: #cbd5e1 !important; /* slate-300 */
}
.sim-dark-section h2, .sim-dark-section h3 {
    color: #ffffff !important;
}
.sim-dark-section-card {
    background-color: #0d1627 !important;
    border: 1px solid #1e293b !important;
    border-radius: 1.5rem !important;
}

/* Sadece 3 Adımda Koruma Sayıları (Beyaz temada görünmeme sorunu için zorlanmış sınıflar) */
.sim-step-number {
    background-color: #e11d48 !important; /* Rose-600 */
    color: #ffffff !important; /* Beyaz */
    font-weight: 900 !important;
    box-shadow: 0 8px 16px -2px rgba(225, 29, 72, 0.4) !important;
}
.sim-step-number-green {
    background-color: #22c55e !important; /* Green-500 */
    color: #ffffff !important; /* Beyaz */
    font-weight: 900 !important;
    box-shadow: 0 8px 16px -2px rgba(34, 197, 94, 0.4) !important;
}

/* Paketler Hover Efekti */
.ddos-pkg-card {
    position: relative !important;
    padding: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ddos-pkg-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 40px -10px rgba(0, 0, 0, 0.12), 0 10px 20px -10px rgba(0, 0, 0, 0.08) !important;
    border-color: #f43f5e !important; /* Rose-500 */
}
.hstdr-dark .ddos-pkg-card:hover {
    box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 63, 94, 0.15) !important;
}

/* Özelleştirilmiş Popüler Rozeti */
.badge-popular {
    position: absolute !important;
    top: -14px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    background-color: #f43f5e !important; /* Rose-500 */
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: 9999px !important;
    letter-spacing: 0.08em !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 15px -3px rgba(244, 63, 94, 0.4) !important;
}

/* Korumayı Başlat Premium Rose Butonu */
.btn-primary-rose {
    background-color: #f43f5e !important; /* Rose-500 */
    color: #ffffff !important;
    box-shadow: 0 8px 16px -2px rgba(244, 63, 94, 0.3) !important;
    transition: all 0.3s ease-in-out !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.btn-primary-rose:hover {
    background-color: #e11d48 !important; /* Rose-600 */
    box-shadow: 0 12px 24px -2px rgba(244, 63, 94, 0.5) !important;
    transform: translateY(-1px) !important;
}


/* Siber Savunma Teknolojileri (Features) Hover Efekti */
.ddos-feature-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.ddos-feature-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.05), 0 8px 12px -6px rgba(0, 0, 0, 0.05) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}
.hstdr-dark .ddos-feature-card:hover {
    box-shadow: 0 25px 35px -10px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

/* Custom Text Highlights */
.text-highlight-rose {
    color: #e11d48 !important; /* rose-600 */
}
.hstdr-dark .text-highlight-rose {
    color: #fb7185 !important; /* rose-400 */
}
.text-highlight-purple {
    color: #9333ea !important; /* purple-600 */
}
.hstdr-dark .text-highlight-purple {
    color: #c084fc !important; /* purple-400 */
}

/* Package Card Title Overlap Fix */
.pkg-card-title-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}
.pkg-card-title-group h3 {
    line-height: 1.25 !important;
    margin: 0 0 2px 0 !important;
}
.pkg-card-title-group span {
    display: block !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}


