/* ==========================================================================
   PRATIK ACADEMY - MAIN STYLESHEET (LANDING PAGE)
   ========================================================================== */

/* --- 1. THEME VARIABLES (NIGHT / DAY MODE) --- */
:root[data-theme="dark"] {
    --bg-base: #060a13;
    --bg-surface: #0b1121;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --gradient-brand: linear-gradient(135deg, #38bdf8, #3b82f6);
    --gradient-glow: 0 0 20px rgba(59, 130, 246, 0.5);
}

:root[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-border-hover: rgba(59, 130, 246, 0.3);
    --glass-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
    
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #059669;
    --accent-color: #d97706;
    --gradient-brand: linear-gradient(135deg, #2563eb, #1d4ed8);
    --gradient-glow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* --- 2. GLOBAL RESET & BASE SETUP --- */
* {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    cursor: none;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
button { font-family: 'Outfit', sans-serif; cursor: pointer; border: none; outline: none; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }

/* Custom Cursor */
.custom-cursor {
    width: 8px; height: 8px; border-radius: 50%;
    background-color: var(--primary-color);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.custom-cursor-follower {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.5);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.2s, height 0.2s;
}
body:hover .custom-cursor { opacity: 1; }
@media (max-width: 992px) { .custom-cursor, .custom-cursor-follower { display: none; } body { cursor: auto; } }

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--gradient-brand); z-index: 10000;
    width: 0%; transition: width 0.1s;
}

/* --- 3. LAYOUT & GRID --- */
.page-wrapper {
    width: 100%;
    position: relative;
    overflow-x: hidden;
}
.content-container {
    width: 100%; max-width: 1600px;
    margin: 0 auto;
    padding: 0 4%;
}

/* --- 4. TYPOGRAPHY & UTILITIES --- */
.gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.text-warning { color: var(--accent-color) !important; }
.section-heading { margin-bottom: 4rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; } .mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; } .w-100 { width: 100%; }

/* Glassmorphism System Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
}

/* Buttons */
.btn-primary-glow {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gradient-brand); color: #fff;
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 1.1rem;
    box-shadow: var(--gradient-glow);
    transition: all 0.3s; cursor: pointer;
}
.btn-primary-glow:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(59, 130, 246, 0.6); }

.btn-secondary-glass {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--glass-bg); color: var(--text-primary);
    border: 1px solid var(--glass-border);
    padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 1.1rem;
    transition: all 0.3s;
}
.btn-secondary-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--primary-color); }

.btn-login.glass-btn {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 10px 24px; border-radius: 50px; font-weight: 600;
}
.btn-login.glass-btn:hover { background: var(--primary-color); color: #fff; border-color: transparent; }

/* --- 5. HEADER (NAVBAR) --- */
.main-header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 20px 0;
    transition: padding 0.4s, background 0.4s;
}
.main-header.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 4%;
}
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; font-weight: 800; }
.desktop-nav { display: flex; gap: 30px; }
.desktop-nav .nav-link { font-weight: 500; position: relative; }
.desktop-nav .nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -5px; left: 0; background: var(--gradient-brand); transition: 0.3s;
}
.desktop-nav .nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 15px; }
.theme-btn {
    background: transparent; color: var(--text-primary);
    font-size: 1.3rem; width: 40px; height: 40px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}
.theme-btn:hover { background: rgba(128,128,128,0.2); }
.mobile-menu-btn { display: none; background: transparent; color: var(--text-primary); font-size: 1.5rem; }

/* --- 6. HERO SECTION --- */
.hero-section {
    position: relative; padding: 180px 0 100px;
    min-height: 100vh; display: flex; align-items: center;
}
.hero-bg-elements {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: -1;
}
.blob {
    position: absolute; filter: blur(90px); border-radius: 50%;
    opacity: 0.5; animation: float 15s infinite ease-in-out alternate;
}
.blob-1 { top: -10%; left: -5%; width: 500px; height: 500px; background: rgba(59, 130, 246, 0.3); }
.blob-2 { bottom: 10%; right: -5%; width: 600px; height: 600px; background: rgba(16, 185, 129, 0.2); animation-delay: -5s; }

.hero-content { max-width: 800px; }
.premium-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-desc { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.6; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.stats-row { display: flex; gap: 30px; flex-wrap: wrap; }
.stat-item { padding: 20px 30px; min-width: 160px; text-align: center; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 5px; }

/* --- 7. FEATURES GRID --- */
.features-section { padding: 100px 0; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.feature-card { padding: 40px 30px; }
.feature-card .icon-wrapper {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(59, 130, 246, 0.1); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 25px;
}
.feature-card h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; }
.feature-card p { color: var(--text-secondary); }

/* --- 8. PRICING SECTION --- */
.pricing-section { padding: 100px 0; }
.pricing-toggle {
    display: flex; align-items: center; justify-content: center; gap: 15px;
}
.toggle-label { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); transition: 0.3s; }
.toggle-label.active { color: var(--text-primary); }
.discount-badge {
    background: rgba(16, 185, 129, 0.15); color: var(--secondary-color);
    padding: 3px 10px; border-radius: 12px; font-size: 0.8rem; margin-left: 5px;
}
/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--glass-bg); border: 1px solid var(--glass-border);
    transition: .4s;
}
.slider:before {
    position: absolute; content: ""; height: 26px; width: 26px; left: 3px; bottom: 3px;
    background-color: var(--primary-color); transition: .4s;
}
.switch input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px; max-width: 1000px; margin: 0 auto;
}
.pricing-card { position: relative; padding: 50px 40px; display: flex; flex-direction: column; height: 100%; }
.popular-ribbon {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-brand); color: #fff;
    padding: 6px 20px; border-radius: 20px; font-weight: 600; font-size: 0.9rem;
    box-shadow: var(--gradient-glow);
}
.pricing-card.popular { border-color: rgba(59, 130, 246, 0.4); }
.card-header { text-align: center; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid var(--glass-border); }
.card-header h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; }
.card-header p { color: var(--text-secondary); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-top: 20px; }
.price .currency { font-size: 1.5rem; font-weight: 600; }
.price .amount { font-size: 3.5rem; font-weight: 800; line-height: 1; transition: 0.3s; }
.price .duration { color: var(--text-secondary); font-weight: 500; }
.text-gradient-primary { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.card-body { flex-grow: 1; margin-bottom: 40px; }
.feature-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; font-weight: 500; }
.feature-list li i { width: 24px; text-align: center; color: var(--secondary-color); }
.feature-list li.disabled { color: var(--text-secondary); opacity: 0.6; text-decoration: line-through; }
.feature-list li.disabled i { color: #ef4444; }

.btn-outline-glass {
    display: inline-block; text-align: center;
    background: transparent; color: var(--text-primary);
    border: 1px solid var(--primary-color);
    padding: 14px 20px; border-radius: 50px;
    font-weight: 600; font-size: 1.1rem; transition: 0.3s;
}
.btn-outline-glass:hover { background: var(--primary-color); color: #fff; }

/* --- 9. FOOTER --- */
.main-footer { padding: 80px 0 30px; margin-top: 50px; border-bottom: none; border-radius: 40px 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-desc { color: var(--text-secondary); margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-btn {
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: 0.3s;
}
.social-btn:hover { background: var(--primary-color); color: #fff; transform: translateY(-3px); }
.footer-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 25px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); font-weight: 500; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.input-glass-group {
    display: flex; align-items: center; background: var(--glass-bg);
    border: 1px solid var(--glass-border); border-radius: 50px; padding: 5px 5px 5px 20px;
}
.input-glass-group i { color: var(--text-secondary); }
.input-glass-group input {
    background: transparent; border: none; color: var(--text-primary);
    padding: 10px 15px; width: 100%; outline: none; font-family: inherit;
}
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 20px; color: var(--text-secondary); font-size: 0.9rem; }

/* --- 10. ANIMATIONS (Scroll Reveal) --- */
.reveal-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-on-scroll.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
@keyframes float { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-30px) scale(1.05); } }

/* --- 11. RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding-top: 130px; text-align: center; }
    .hero-actions, .stats-row { justify-content: center; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .social-links, .input-glass-group { justify-content: center; }
}

/* --- DİNAMİK KATEGORİ SEKME TASARIMI --- */
.category-tabs {
    display: inline-flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px;
    border-radius: 50px;
    gap: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.category-tab-btn {
    background: transparent;
    color: var(--text-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    opacity: 0.7;
}
.category-tab-btn:hover {
    opacity: 1;
}
.category-tab-btn.active {
    background: var(--primary-color);
    color: #fff;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
/* --- SINAV KARTLARI (EXAM CARDS) TASARIMI --- */
.exam-card { 
    padding: 40px 30px; 
    height: 100%; 
    transition: 0.4s; 
    border-radius: 24px; 
    display: flex;
    flex-direction: column;
}
.exam-icon { 
    width: 70px; 
    height: 70px; 
    border-radius: 20px; 
    background: rgba(59, 130, 246, 0.1); 
    color: var(--primary-color); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2rem; 
    margin-bottom: 20px; 
}
.exam-badge { 
    display: inline-block; 
    padding: 6px 14px; 
    border-radius: 50px; 
    background: var(--glass-bg); 
    border: 1px solid var(--glass-border); 
    font-size: 0.85rem; 
    font-weight: 600; 
    margin-top: 10px; 
    color: var(--text-secondary);
}
.exam-benefits { 
    list-style: none; 
    padding: 0; 
    margin-top: auto;
}
.exam-benefits li { 
    margin-bottom: 10px; 
    font-weight: 500; 
    font-size: 0.95rem; 
    display: flex;
    align-items: center;
    gap: 10px;
}
/* KPSS Özel Vurgusu */
.kpss-card { border-color: var(--accent-color); }
.kpss-card .exam-icon { color: var(--accent-color); background: rgba(245, 158, 11, 0.1); }
.kpss-card .exam-badge { border-color: rgba(245, 158, 11, 0.3); color: var(--accent-color); }