/* Hostider Premium SSL Sertifikası 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 { animation: scroll-track 40s linear infinite; }
.perspective-1000 { perspective: 1000px; }

/* Orbiting Icons */
.orbit-container {
    position: relative;
    width: 360px;
    height: 360px;
    border-radius: 50%;
}

/* 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(59, 130, 246, 0.25) !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(59, 130, 246, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* Simülatör Alt Kartları */
.sim-sub-card {
    background-color: #020617 !important;
    border: 1px solid #1e293b !important;
    border-radius: 0.75rem !important;
}

/* Simülatör Yazı Renkleri */
.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; }

/* 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(59, 130, 246, 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(59, 130, 246, 0.08), transparent),
        radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 0, 0, 0.4), transparent) !important;
}

/* 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;
}

/* Sadece 3 Adımda Koruma Sayıları */
.sim-step-number {
    background-color: #3b82f6 !important; /* Blue-500 */
    color: #ffffff !important; /* Beyaz */
    font-weight: 900 !important;
    box-shadow: 0 8px 16px -2px rgba(59, 130, 246, 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 */
.package-card {
    position: relative !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.package-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: #3b82f6 !important; /* Blue-500 */
}
.hstdr-dark .package-card:hover {
    box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 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: #3b82f6 !important; /* Blue-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(59, 130, 246, 0.4) !important;
}

/* Korumayı Başlat Premium Blue Butonu */
.btn-primary-blue {
    background-color: #3b82f6 !important; /* Blue-500 */
    color: #ffffff !important;
    box-shadow: 0 8px 16px -2px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.3s ease-in-out !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.btn-primary-blue:hover {
    background-color: #2563eb !important; /* Blue-600 */
    box-shadow: 0 12px 24px -2px rgba(59, 130, 246, 0.5) !important;
    transform: translateY(-1px) !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 */
}
.text-highlight-blue {
    color: #2563eb !important; /* blue-600 */
}
.hstdr-dark .text-highlight-blue {
    color: #60a5fa !important; /* blue-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;
}
