/* HERO ALANI KOMPLE DÜZELTMELERİ */

/* Font Import - Doğru font yüklenmesini sağla */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables Override */
:root {
    --hero-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* Main.css'deki gradient override'ı iptal et */
.hero .title-line-1 {
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Hero Title - Font Düzeltmeleri */
.hero-title {
    font-family: var(--hero-font-family) !important;
    font-size: 4rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Title Line 1 - Beyaz renk zorla */
.hero .title-line-1,
.title-line-1 {
    display: block !important;
    color: #FFFFFF !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9) !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
    font-family: var(--hero-font-family) !important;
    /* Gradient tamamen kaldırıldı */
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #FFFFFF !important;
    text-fill-color: #FFFFFF !important;
}

/* Title Line 2 - Container */
.title-line-2 {
    display: block !important;
    position: relative !important;
    min-height: 1.4em !important;
    font-family: var(--hero-font-family) !important;
    color: #08b48c !important;
}

/* Typing Text - Yeşil renk ve font düzeltmesi */
.typing-text {
    color: #08b48c !important;
    font-family: var(--hero-font-family) !important;
    font-weight: 800 !important;
    font-size: inherit !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9) !important;
    display: inline-block !important;
    position: relative !important;
    background: none !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #08b48c !important;
    text-fill-color: #08b48c !important;
    min-width: 1px;
}

/* Cursor düzeltmesi */
.typing-text::after {
    content: '|' !important;
    position: absolute !important;
    right: -15px !important;
    top: 0 !important;
    color: #08b48c !important;
    font-weight: 400 !important;
    animation: blink 1s infinite !important;
    font-family: var(--hero-font-family) !important;
    display: inline-block !important;
}

/* Typing tamamlandığında cursor'ı gizle */
.typing-text.typed::after {
    animation: none !important;
    opacity: 0 !important;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Subtitle - Beyaz ve net */
.hero-subtitle {
    font-family: var(--hero-font-family) !important;
    font-size: 1.25rem !important;
    color: #FFFFFF !important;
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8) !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

/* Hero Badge - Kontrast artırma */
.hero-badge {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid #08b48c !important;
    backdrop-filter: blur(10px) !important;
}

.badge-icon {
    color: #08b48c !important;
}

.badge-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-family: var(--hero-font-family) !important;
    opacity: 1 !important;
}

/* Hero Stats - Görünürlük artırma */
.hero-stats {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid rgba(8, 180, 140, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

.stat-number {
    font-family: var(--hero-font-family) !important;
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    color: #08b48c !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.stat-suffix {
    font-size: 2.5rem !important;
    color: #08b48c !important;
    font-weight: 900 !important;
    font-family: var(--hero-font-family) !important;
}

.stat-label {
    color: #FFFFFF !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Butonlar - Görünürlük artırma */
.hero-cta .btn {
    font-family: var(--hero-font-family) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

.hero .btn-primary {
    background: #08b48c !important;
    color: #FFFFFF !important;
    border: 2px solid #08b48c !important;
    box-shadow: 0 5px 20px rgba(8, 180, 140, 0.4) !important;
}

.hero .btn-primary:hover {
    background: #06a07c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(8, 180, 140, 0.6) !important;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #08b48c !important;
    color: #FFFFFF !important;
}

/* Tanıtım Videosu Butonunu Gizle */
.btn-video {
    display: none !important;
}

/* Windows'ta Kalkan Animasyonu Düzeltmesi */
.hero-shield {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 600px !important;
    height: 600px !important;
    z-index: 5 !important;
    opacity: 0.15 !important;
}

.shield-svg {
    width: 100% !important;
    height: 100% !important;
    animation: rotate-slow 60s linear infinite !important;
    opacity: 1 !important;
}

/* Windows için özel düzeltmeler */
@supports (-ms-ime-align: auto) {
    .hero-shield {
        opacity: 0.2 !important;
    }
}

/* Edge için düzeltme */
@supports (-ms-accelerator: true) {
    .hero-shield {
        opacity: 0.2 !important;
    }
}

/* WebKit rendering düzeltmesi */
.hero-shield svg {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/* Font Rendering İyileştirmeleri */
.hero-content,
.hero-content * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
}

/* Z-index düzeltmeleri */
.hero {
    position: relative !important;
}

.hero-content {
    position: relative !important;
    z-index: 100 !important;
}

/* Arka plan elemanları z-index */
#three-canvas { z-index: 1 !important; }
#matrix-rain { z-index: 2 !important; opacity: 0.05 !important; }
.cyber-grid { z-index: 3 !important; opacity: 0.1 !important; }
.security-network { z-index: 4 !important; opacity: 0.15 !important; }
.floating-particles { z-index: 6 !important; }
.cyber-lines { z-index: 7 !important; opacity: 0.2 !important; }

/* Responsive Düzeltmeler */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
        font-weight: 800 !important;
    }
    
    .title-line-1,
    .typing-text {
        font-size: inherit !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-suffix {
        font-size: 2rem !important;
    }
    
    /* Mobile'da kalkan gizle */
    .hero-shield {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-badge {
        font-size: 12px !important;
        padding: 8px 20px !important;
    }
}

/* Tüm gradient text efektlerini override et */
.hero-title span,
.hero-content span,
.hero .title-line-1,
.hero-title .title-line-1 {
    background: none !important;
    background-image: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    text-fill-color: initial !important;
}

/* Stat divider düzeltmesi */
.stat-divider {
    width: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 0 20px !important;
}

/* Debug için - Gradient kontrolü */
.hero * {
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}
/* FORCE OVERRIDE - En son çözüm */
* {
    -webkit-text-fill-color: initial !important;
}

.hero .title-line-1,
.hero-title .title-line-1,
body .hero .title-line-1 {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

.hero .typing-text,
.hero-title .typing-text,
body .hero .typing-text {
    color: #08b48c !important;
    -webkit-text-fill-color: #08b48c !important;
}