/* Tasarım Sistem Kök Değişkenleri (Lüks & Güven Odaklı) */
:root {
    --primary: #0a0f1d;          /* Deep Space Navy */
    --primary-light: #161e31;
    --accent: #1e40af;           /* Safir Mavi */
    --accent-light: #3b82f6;     /* Canlı Dijital Mavi */
    --cta: #ea580c;              /* Premium Kehribar Turuncu */
    --cta-hover: #c2410c;
    --text-main: #334155;
    --text-muted: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success: #0f766e;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fw-500 { font-weight: 500; }
.max-800 { max-width: 800px; margin: 0 auto; }
.max-700 { max-width: 700px; margin: 0 auto; }
.fs-7 { font-size: 0.825rem; }
.tracking-wider { letter-spacing: 0.08em; }

/* Global Duyuru Çubuğu */
.top-announcement {
    background: linear-gradient(90deg, #1e3a8a, var(--accent-light));
    color: var(--white);
    font-size: 13px;
    padding: 11px 10px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.announcement-badge {
    background: var(--cta);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-right: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Cam Efektli Üst Menü Düzenlemeleri */
.bg-white-glass {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.logo { display: flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo i { color: var(--accent-light); font-size: 28px; }
.logo span { color: var(--accent-light); margin-left: 5px; font-weight: 400; }

/* Navbar Link Alt Çizgi Animasyonu Tavsiyesi */
.nav-links .nav-link {
    color: var(--text-main) !important;
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 15px !important;
    transition: color 0.2s ease;
    position: relative;
}
.nav-links .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 15px;
    background-color: var(--accent-light);
    transition: width 0.2s ease;
}
.nav-links .nav-link:hover::after {
    width: calc(100% - 30px);
}
.nav-links .nav-link:hover { color: var(--accent-light) !important; }

/* Buton Tasarımları ve İnce İyileştirmeler */
.btn-login { color: var(--primary); font-weight: 700; font-size: 14.5px; transition: color 0.2s; }
.btn-login:hover { color: var(--accent-light); }
.btn-register-nav { background: var(--primary); color: var(--white); padding: 12px 26px; border-radius: 8px; font-weight: 700; font-size: 14px; transition: all 0.25s; border: 1px solid transparent; }
.btn-register-nav:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }

/* Premium Hero Katmanı ve Soyut Glow Çemberi */
.hero { background: radial-gradient(circle at 85% 25%, #111827, var(--primary)); min-height: 80vh; }
.glow-sphere-1 {
    position: absolute;
    top: -10%;
    right: 5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.badge-premium { background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.3); color: #93c5fd; padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; display: inline-block; }
.hero-text .highlight { color: #38bdf8; background: linear-gradient(to right, #38bdf8, #818cf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-slate-300 { color: #cbd5e1 !important; }

.btn-main-premium { display: inline-block; background: var(--cta); color: var(--white); padding: 18px 42px; font-size: 17.5px; border-radius: 10px; font-weight: 700; box-shadow: 0 10px 28px rgba(249, 115, 22, 0.4); transition: all 0.2s ease; border: none; }
.btn-main-premium:hover { background: var(--cta-hover); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(249, 115, 22, 0.5); }
.trust-indicators span { font-size: 13px; color: #94a3b8; font-weight: 500; }
.trust-indicators i { color: #10b981; }

/* Dashboard İllüstrasyonu */
.mockup-card-premium { background: #111827; border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 30px; box-shadow: 0 35px 70px rgba(0,0,0,0.5); max-width: 440px; position: relative; z-index: 2; }
.window-dots span { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #ef4444; } .dot-yellow { background: #f59e0b; } .dot-green { background: #10b981; }
.window-title { color: #475569; font-size: 12px; font-weight: 600; }
.metric-item { background: #1e293b; border: 1px solid rgba(255,255,255,0.02); }
.metric-label { font-size: 11px; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.color-red { color: #f87171; } .color-green { color: #34d399; }
.progress-wrapper { background: #1e293b; }
.progress-bar-title { font-size: 12px; color: #94a3b8; }
.progress-line { height: 8px; background: #334155; }
.progress-fill { background: linear-gradient(90deg, var(--accent-light), #60a5fa); }

/* Sosyal Kanıt ve İstatistik Katmanı */
.stats-bar-wrapper { margin-top: -45px; }
.stats-bar { border-color: var(--border-color) !important; background: var(--white) !important; }
.stat-item h3 { color: var(--accent); letter-spacing: -0.03em; }

/* Global Kart Davranış Efektleri */
.layout-hover { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease; }
.layout-hover:hover { transform: translateY(-5px); box-shadow: 0 22px 45px -10px rgba(10, 15, 29, 0.05) !important; border-color: rgba(59, 130, 246, 0.25) !important; }

/* Segmentasyon Modülleri */
.section-tag { color: var(--accent-light); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; display: block; }
.section-title { color: var(--primary); letter-spacing: -0.02em; }
.section-subtitle { font-size: 16.5px; max-width: 780px; line-height: 1.6; }

.audience-card { border-color: var(--border-color) !important; }
.audience-badge { background: #f1f5f9; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; border-color: var(--border-color) !important; }
.audience-card h3 { color: var(--primary); letter-spacing: -0.01em; }
.student-track { border-top: 5px solid var(--accent-light) !important; }
.adult-track { border-top: 5px solid var(--primary) !important; }

/* Neden Biz & Özellik Kutuları */
.grey-bg { background-color: var(--light-bg); }
.icon-box { width: 64px; height: 64px; }
.color-1 { background: #eff6ff; color: var(--accent-light); }
.color-2 { background: #fef2f2; color: #ef4444; }
.color-3 { background: #f0fdf4; color: #10b981; }

/* Bilişsel Modül Hücreleri */
.module-card-premium { border-color: var(--border-color) !important; }
.mod-icon { width: 54px; height: 54px; background: #f1f5f9; color: var(--primary); transition: background 0.2s, color 0.2s; }
.module-card-premium:hover .mod-icon { background: var(--accent-light); color: var(--white); }

/* Bilimsel Altyapı ve Neon Efekt Bölümü */
.bg-blue-light { background: rgba(59, 130, 246, 0.08); width: 54px; height: 54px; }
.science-brain-card { 
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%); 
    height: 380px; 
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
}
.brain-glow { font-size: 90px; color: #60a5fa; filter: drop-shadow(0 0 20px rgba(56,189,248,0.6)); }
.brain-stat { 
    background: rgba(15, 23, 42, 0.8); 
    border-color: rgba(59, 130, 246, 0.4) !important; 
    color: #ffffff;
    backdrop-filter: blur(4px);
}

/* Testimonial & FAQ Bileşenleri */
.testimonial-card { border-color: var(--border-color) !important; }
.stars { color: #f59e0b; }
.faq-item { border-color: var(--border-color) !important; }
.faq-item h4 i { color: var(--accent-light); }

/* Kapanış Aksiyon Alanı */
.final-cta { background: radial-gradient(circle, var(--primary-light) 0%, var(--primary) 100%); }
.btn-main-premium.large { padding: 22px 55px; font-size: 19px; border-radius: 12px; }

/* Elit Açık Tonlu Kurumsal Footer Mimarisi */
.footer-light { background: #f8fafc; border-top: 1px solid #e2e8f0; }
.footer-light .footer-container { border-bottom: 1px solid #e2e8f0; }
.footer-desc { line-height: 1.65; max-width: 340px; }
.text-secondary-light { color: #cbd5e1 !important; }

/* Mikro UX CSS Animasyon Kütüphanesi */
.float-animation { animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.animate-pulse-slow { animation: pulseSlow 4s ease-in-out infinite; }
@keyframes pulseSlow { 0%, 00% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }

.animated-progress { animation: loadProgress 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes loadProgress { from { width: 0%; } to { width: 88%; } }

/* Mobil & Tablet Ekstra İnce Ayarları */
@media (max-width: 991.98px) {
    .stats-bar .stat-item { border-right: none !important; border-bottom: 1px solid #e2e8f0; padding-bottom: 15px; }
    .stats-bar .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    .class-footer-col { margin-bottom: 30px; }
    
    /* Mobil Menü Açıldığında Butonların Şık Durması İçin */
    .navbar-collapse .auth-buttons .btn-register-nav {
        background: var(--accent-light);
    }
    .navbar-collapse .auth-buttons .btn-register-nav:hover {
        background: var(--accent);
    }
}


/* register sayfası için eklenen css kodları */

/* ==========================================================================
   🔑 PREMIUM REGISTER PAGE STYLES
   ========================================================================== */
.bg-canvas {
    background-color: #f8fafc;
}

/* Sol Panel (Deep Space Mimarisi) */
.register-left-panel {
    background: radial-gradient(circle at 20% 30%, #111827, var(--primary));
    overflow: hidden;
}
.glow-sphere-register {
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }

/* Fayda Maddeleri İkon Kutuları */
.benefit-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.15);
    font-size: 18px;
    flex-shrink: 0;
}

/* Sağ Form Alanı İnce Detaylar */
.register-form-container {
    max-width: 520px;
    margin: 0 auto;
}

/* Elit İnput Alanları Tasarımı */
.premium-input {
    border: 1px solid #cbd5e1 !important;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--primary);
    border-radius: 8px !important;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out !important;
}
.premium-input:focus {
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
}
.premium-input-icon {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px 0 0 8px !important;
    background-color: #ffffff !important;
    color: #94a3b8;
}
.input-group:focus-within .premium-input-icon {
    border-color: var(--accent-light) !important;
}

/* Submit Butonu */
.btn-register-submit {
    background: var(--primary);
    font-size: 15.5px;
    box-shadow: 0 4px 12px rgba(10, 15, 29, 0.15);
    transition: all 0.2s ease;
}
.btn-register-submit:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}
.text-accent {
    color: var(--accent-light) !important;
}

/* Seçim Listesi (Select) Düzenlemesi */
select.premium-input {
    cursor: pointer;
    color: #64748b;
}
select.premium-input:valid {
    color: var(--primary);
}

/* Form Satır Başlıkları Sıkılaştırma */
.form-label {
    margin-bottom: 6px;
}

.premium-input {
    border: 1px solid #cbd5e1 !important;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--primary);
    border-radius: 8px !important;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out !important;
    width: 100%; /* Mobilde taşmayı önleyen can simidi */
}

/* Mobil cihazlarda sol panel otomatik kapandığında sağdaki formun tam ortalanması için */
@media (max-width: 991.98px) {
    .register-form-container {
        padding: 10px 5px;
    }
}


/* email-doğrulama  */

/* ==========================================================================
   📩 EMAIL VERIFICATION (OTP) PREMIUM STYLES
   ========================================================================== */
.verify-icon-wrapper {
    width: 60px;
    height: 60px;
}

.glow-sphere-verify {
    position: absolute;
    top: -30%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Kare ve Elit Görünümlü Girdi Kutuları */
.otp-container .otp-input {
    width: 50px;
    height: 56px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: var(--primary);
    transition: all 0.15s ease-in-out;
}

/* Aktif kutunun parlaması ve vurgulanması */
.otp-container .otp-input:focus {
    border-color: var(--accent-light) !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    background-color: #fff;
}

/* Mobil cihazlarda kutuların ekrandan taşmasını önlemek amacıyla ufak bir UX daraltması */
@media (max-width: 400px) {
    .otp-container .otp-input {
        width: 42px;
        height: 48px;
        font-size: 1.25rem !important;
    }
}


html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Sağa doğru olan tüm kaçak taşmaları kesin olarak kırpar */
}

/* Animasyonların ve glow çemberlerinin mobilde ekranı patlatmasını önler */
.hero, .final-cta, .register-left-panel, .footer-light {
    overflow: hidden;
}

/* 🛠️ Footer alanı flex-text sabitleyici (Mobilde daralmayı zorunlu kılar) */
.contact-info {
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0; /* Flexbox'ın intrinsic width sınırını sıfırlayarak taşmayı önler */
}
.contact-info span {
    min-width: 0;
    flex-shrink: 1;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: 70vh; /* Menü çok uzarsa ekranı kaplamasın */
        overflow-y: auto; /* Kendi içinde kaydırılabilsin */
    }
}