.dict-hero {
    background: radial-gradient(circle at center bottom, #0f172a 0%, #1e1b4b 100%);
    padding: 140px 0 100px;
    position: relative;
    text-align: center;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-bg-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image: linear-gradient(30deg, #4f46e5 12%, transparent 12.5%, transparent 87%, #4f46e5 87.5%, #4f46e5), linear-gradient(150deg, #4f46e5 12%, transparent 12.5%, transparent 87%, #4f46e5 87.5%, #4f46e5), linear-gradient(30deg, #4f46e5 12%, transparent 12.5%, transparent 87%, #4f46e5 87.5%, #4f46e5), linear-gradient(150deg, #4f46e5 12%, transparent 12.5%, transparent 87%, #4f46e5 87.5%, #4f46e5), linear-gradient(60deg, #4f46e577 25%, transparent 25.5%, transparent 75%, #4f46e577 75%, #4f46e577), linear-gradient(60deg, #4f46e577 25%, transparent 25.5%, transparent 75%, #4f46e577 75%, #4f46e577);
    background-size: 80px 140px; background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
}

.hero-container { max-width: 800px; margin: 0 auto; position: relative; z-index: 10; padding: 0 20px; }

.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 50px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #c7d2fe; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px;
}
.hero-desc {
    color: #cbd5e1; font-size: 1.2rem; margin-bottom: 40px;
}

/* Search Bar */
.dict-search {
    background: white; padding: 8px; border-radius: 16px;
    display: flex; align-items: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}
.dict-search:focus-within { transform: translateY(-3px); }

.ds-icon {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    color: #64748b; font-size: 1.2rem;
}
.ds-input {
    flex: 1; height: 50px; border: none; outline: none; font-size: 1.1rem; color: #0f172a;
}
.ds-btn {
    background: #3b82f6; color: white; border: none; padding: 0 30px; height: 50px;
    border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.ds-btn:hover { background: #2563eb; }


/* 2. FILTER BAR (A-Z) */
.filter-bar {
    background: white; border-bottom: 1px solid #e2e8f0;
    position: sticky; top: 0; z-index: 90; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.filter-scroll {
    max-width: 1200px; margin: 0 auto; padding: 15px 24px;
    display: flex; justify-content: center; gap: 5px; flex-wrap: wrap;
}
.letter-btn {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border-radius: 8px; color: #64748b; font-weight: 700; text-decoration: none;
    transition: 0.2s; font-size: 0.9rem;
}
.letter-btn:hover, .letter-btn.active {
    background: #eff6ff; color: #3b82f6;
}


/* 3. CONTENT GRID */
.dict-body {
    background: #f8fafc; padding: 60px 0 100px;
}
.content-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.terms-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.term-card {
    background: white; border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 30px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.term-card:hover {
    transform: translateY(-5px); border-color: #3b82f6;
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.1);
}

/* Kart Üstü Çizgi */
.term-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: #e2e8f0; transition: 0.3s;
}
.term-card:hover::before { background: #3b82f6; }

.term-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.term-icon {
    width: 44px; height: 44px; background: #f1f5f9; border-radius: 12px;
    color: #475569; display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    transition: 0.3s; flex-shrink: 0;
}
.term-card:hover .term-icon { background: #eff6ff; color: #3b82f6; }

.term-title { font-size: 1.2rem; font-weight: 800; color: #0f172a; line-height: 1.3; }

.term-desc {
    color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.term-link {
    color: #3b82f6; font-weight: 700; font-size: 0.9rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 5px; opacity: 0.8; transition: 0.3s;
}
.term-link:hover { opacity: 1; gap: 8px; }


/* 4. PAGINATION */
.pagination {
    grid-column: span 2; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 10px; 
    margin-top: 60px; 
    padding-top: 40px; 
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap; /* Mobilde taşarsa aşağı insin */
}
.page-link {
    width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #e2e8f0; border-radius: 8px; 
    font-weight: 600; cursor: pointer; transition: 0.3s;
    color: #111111; text-decoration: none;
}
.page-link:hover, .page-link.active {
    background: #111111; color: white; border-color: #111111;
}


/* 5. CTA SECTION (Form) */
.cta-section {
    background: white; padding: 80px 24px; border-top: 1px solid #e2e8f0;
}
.cta-container {
    max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.cta-text h2 { font-size: 2.5rem; font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.cta-text p { color: #64748b; font-size: 1.1rem; margin-bottom: 30px; }

.cta-form { display: flex; flex-direction: column; gap: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-input {
    width: 100%; padding: 15px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; outline: none; transition: 0.3s;
}
.form-input:focus { border-color: #3b82f6; background: white; }
.form-btn {
    background: #0f172a; color: white; border: none; padding: 16px; border-radius: 10px;
    font-weight: 700; cursor: pointer; transition: 0.3s;
}
.form-btn:hover { background: #3b82f6; }


/* RESPONSIVE */
@media (max-width: 1024px) {
    .terms-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-container { grid-template-columns: 1fr; }
    .filter-scroll { justify-content: flex-start; overflow-x: auto; padding-bottom: 10px; white-space: nowrap; }
}
@media (max-width: 640px) {
    .hero-title { font-size: 2.5rem; }
    .terms-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}