/* ===== LinguaAI Global Styles ===== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Renk Değişkenleri & Tasarım Sistemi (SaaS/EdTech Premium) */
:root {
    /* Ana Renkler (Canlı & Güven Verici) */
    --primary: #4F46E5; /* Indigo 600 */
    --primary-light: #818CF8; /* Indigo 400 */
    --primary-dark: #3730A3; /* Indigo 800 */
    --secondary: #10B981; /* Emerald 500 - Başarı/Gamification */
    --accent: #F59E0B; /* Amber 500 - Streak/Uyarı */
    --danger: #EF4444; /* Red 500 - Hata */

    /* Nötr Renkler (Arka plan ve Metinler) */
    --bg-main: #F8FAFC; /* Slate 50 */
    --bg-card: #FFFFFF;
    --text-dark: #0F172A; /* Slate 900 */
    --text-muted: #64748B; /* Slate 500 */
    --border-light: #E2E8F0; /* Slate 200 */

    /* Gölgeler (Modern Soft Shadows) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
    --shadow-secondary: 0 10px 25px -5px rgba(16, 185, 129, 0.4);

    /* Diğer Parametreler */
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Glassmorphism Yardımcı Sınıfı */
.glass-panel {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Genel */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background: var(--bg-main) !important;
    color: var(--text-dark) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== NAVBAR ===== */
.wp-block-navigation,
header nav,
.site-header {
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
}

/* Site Başlığı */
.wp-site-blocks>header {
    background: white !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 15px 40px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
}

/* Logo */
.wp-block-site-title a,
.site-title a {
    font-size: 1.5em !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-decoration: none !important;
}

/* Menü Linkleri */
.wp-block-navigation a {
    font-weight: 500 !important;
    color: var(--text-gray) !important;
    text-decoration: none !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
    font-size: 0.95em !important;
}

.wp-block-navigation a:hover {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.08) !important;
}

/* Aktif menü */
.wp-block-navigation .current-menu-item a {
    color: var(--primary) !important;
    background: rgba(102, 126, 234, 0.1) !important;
}

/* ===== SAYFA İÇERİĞİ ===== */
.wp-block-group,
.entry-content,
.page-content {
    max-width: 1100px !important;
    margin: 0 auto !important;
}

/* Sayfa başlığı */
.entry-title,
.page-title,
h1.wp-block-post-title {
    font-size: 2em !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin-bottom: 30px !important;
    padding-top: 20px !important;
}

/* ===== ANA SAYFA HERO ===== */
.linguaai-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    color: white;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.linguaai-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.linguaai-hero h1 {
    font-size: 3em !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    color: white !important;
}

.linguaai-hero p {
    font-size: 1.3em !important;
    opacity: 0.9 !important;
    margin-bottom: 30px !important;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.hero-btn.primary {
    background: white;
    color: var(--primary);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== ÖZELLİK KARTLARI ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.25);
}

.feature-card .icon {
    font-size: 2.5em;
    margin-bottom: 12px;
    display: block;
}

.feature-card h3 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 0.9em;
    color: var(--text-gray);
    margin: 0;
}

/* ===== FOOTER ===== */
.wp-site-blocks>footer {
    background: var(--text-dark) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    padding: 40px !important;
    margin-top: 60px !important;
}

.wp-site-blocks>footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

.wp-site-blocks>footer a:hover {
    color: var(--primary) !important;
}

/* ===== MOBİL ===== */
@media (max-width: 768px) {
    .linguaai-hero h1 {
        font-size: 2em !important;
    }

    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .wp-site-blocks>header {
        padding: 10px 20px !important;
    }
}