/* ==========================================================================

   LGS500.COM - Modern Web Design System & Stylesheet

   Designed for Turkish LGS Preparation Portal

   ========================================================================== */



@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');



:root {

  /* Brand Color Tokens */

  --primary: #2563eb;

  --primary-dark: #1d4ed8;

  --primary-deep: #1e3a8a;

  --primary-light: #eff6ff;

  --primary-glow: rgba(37, 99, 235, 0.25);

  

  --accent-gold: #f59e0b;

  --accent-gold-dark: #d97706;

  --accent-gold-light: #fef3c7;

  

  --success: #10b981;

  --success-dark: #059669;

  --success-light: #d1fae5;

  

  --danger: #ef4444;

  --danger-light: #fee2e2;

  

  --warning: #f97316;

  --warning-light: #ffedd5;

  

  --purple: #8b5cf6;

  --purple-light: #ede9fe;

  

  --teal: #0d9488;

  --teal-light: #ccfbf1;

  

  /* Neutral Grays */

  --text-main: #0f172a;

  --text-muted: #475569;

  --text-subtle: #94a3b8;

  --bg-page: #f8fafc;

  --bg-surface: #ffffff;

  --bg-surface-elevated: #ffffff;

  --border-light: #e2e8f0;

  --border-subtle: #f1f5f9;

  

  /* Typography */

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;

  

  /* Elevation & Shadows */

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);

  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08);

  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);

  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.15);

  --shadow-primary: 0 10px 25px -5px rgba(37, 99, 235, 0.35);

  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.35);

  

  /* Border Radius */

  --radius-sm: 8px;

  --radius-md: 12px;

  --radius-lg: 18px;

  --radius-xl: 24px;

  --radius-pill: 9999px;

  

  /* Transitions */

  --transition-fast: 0.15s ease;

  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}



/* Base Resets */

*, *::before, *::after {

  box-sizing: border-box;

  margin: 0;

  padding: 0;

}



html {

  font-size: 16px;

  scroll-behavior: smooth;

}



body {

  font-family: var(--font-main);

  background-color: var(--bg-page);

  color: var(--text-main);

  line-height: 1.6;

  -webkit-font-smoothing: antialiased;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

}



h1, h2, h3, h4, h5, h6 {

  font-family: var(--font-heading);

  color: var(--text-main);

  line-height: 1.25;

  font-weight: 700;

}



a {

  color: var(--primary);

  text-decoration: none;

  transition: color var(--transition-fast);

}



a:hover {

  color: var(--primary-dark);

}



img {

  max-width: 100%;

  height: auto;

  display: block;

}



/* ==========================================================================

   TOP BAR (Quick announcement & student status)

   ========================================================================== */

.top-bar {

  background: linear-gradient(90deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);

  color: #ffffff;

  font-size: 0.825rem;

  padding: 6px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

}



.top-bar .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

}



.top-bar-badge {

  background: #f59e0b;

  color: #1e3a8a;

  padding: 2px 8px;

  border-radius: var(--radius-pill);

  font-weight: 800;

  font-size: 0.725rem;

  margin-right: 8px;

  display: inline-block;

  text-transform: uppercase;

}



.top-bar-links {

  display: flex;

  gap: 16px;

  align-items: center;

}



.top-bar-links a {

  color: #e0e7ff;

  font-weight: 500;

  display: inline-flex;

  align-items: center;

  gap: 4px;

}



.top-bar-links a:hover {

  color: #ffffff;

}



/* ==========================================================================

   MAIN HEADER & NAVIGATION (Exact requested hierarchy)

   ========================================================================== */

.site-header {

  background: rgba(255, 255, 255, 0.98);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  position: sticky;

  top: 0;

  z-index: 1000;

  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);

  border-bottom: 1px solid var(--border-light);

}



.site-header .container {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding-top: 10px;

  padding-bottom: 10px;

}



.brand-wrapper {

  display: flex;

  align-items: center;

  gap: 12px;

  text-decoration: none;

}



.brand-logo-img {
  height: 62px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}

.brand-wrapper:hover .brand-logo-img {
  height: 62px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}



.brand-info {

  display: flex;

  flex-direction: column;

}



.brand-title {

  font-family: var(--font-heading);

  font-size: 1.45rem;

  font-weight: 800;

  color: #1e40af;

  letter-spacing: -0.5px;

  line-height: 1.1;

}



.brand-title span {

  color: #f59e0b;

}



.brand-slogan {

  font-size: 0.75rem;

  color: var(--text-muted);

  font-weight: 600;

  text-transform: uppercase;

  letter-spacing: 0.5px;

}



/* Main Navigation Menu */

.main-nav {

  display: flex;

  align-items: center;

  gap: 4px;

}



.nav-list {

  display: flex;

  list-style: none;

  align-items: center;

  gap: 2px;

}



.nav-item {

  position: relative;

}



.nav-link {

  font-family: var(--font-heading);

  font-size: 1.1rem;
  font-size: calc(0.95rem + 2pt);

  font-weight: 700;

  color: #1e293b;

  padding: 10px 15px;

  border-radius: var(--radius-sm);

  display: flex;

  align-items: center;

  gap: 6px;

  transition: all var(--transition-fast);

}



.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {

  color: var(--primary);

  background-color: var(--primary-light);

}



.nav-link svg.chevron {

  transition: transform var(--transition-fast);

  stroke: currentColor;

}



.nav-item:hover > .nav-link svg.chevron {

  transform: rotate(180deg);

}



/* Dropdown Menu styling */

.dropdown-menu {

  position: absolute;

  top: 100%;

  left: 0;

  min-width: 250px;

  background: var(--bg-surface);

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-xl);

  padding: 8px;

  list-style: none;

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: all var(--transition-normal);

  z-index: 100;

}



.nav-item:hover > .dropdown-menu {

  opacity: 1;

  visibility: visible;

  transform: translateY(2px);

}



.dropdown-link {

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 9px 14px;

  color: #334155;

  font-size: 0.9rem;

  font-weight: 600;

  border-radius: var(--radius-sm);

  transition: all var(--transition-fast);

}



.dropdown-link:hover {

  background-color: #f1f5f9;

  color: var(--primary);

  padding-left: 18px;

}



.dropdown-link .badge {

  font-size: 0.7rem;

  padding: 2px 6px;

  border-radius: 4px;

}



/* Cascading Submenu for Dersler (Üniteler -> Konular -> Kazanımlar -> Sorular) */

.has-submenu {

  position: relative;

}



.has-submenu > .dropdown-menu-sub {

  position: absolute;

  top: 0;

  left: 100%;

  min-width: 280px;

  background: #ffffff;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-xl);

  padding: 8px;

  list-style: none;

  opacity: 0;

  visibility: hidden;

  transform: translateX(10px);

  transition: all var(--transition-normal);

}



.has-submenu:hover > .dropdown-menu-sub {

  opacity: 1;

  visibility: visible;

  transform: translateX(2px);

}



.sub-header {

  font-size: 0.75rem;

  font-weight: 800;

  text-transform: uppercase;

  color: #94a3b8;

  padding: 6px 14px;

  letter-spacing: 0.5px;

  border-bottom: 1px solid var(--border-subtle);

  margin-bottom: 4px;

}



.pipeline-tag {

  display: inline-flex;

  align-items: center;

  gap: 4px;

  font-size: 0.725rem;

  color: #2563eb;

  background: #dbeafe;

  padding: 2px 6px;

  border-radius: 4px;

  font-weight: 700;

}



/* Header Action Buttons */

.header-actions {

  display: flex;

  align-items: center;

  gap: 10px;

}



.btn-auth-login {

  background: transparent;

  color: #1e40af;

  border: 1.5px solid #2563eb;

  padding: 8px 18px;

  font-family: var(--font-heading);

  font-weight: 700;

  font-size: 0.9rem;

  border-radius: var(--radius-pill);

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition: all var(--transition-fast);

}



.btn-auth-login:hover {

  background: #eff6ff;

  color: #1d4ed8;

  transform: translateY(-1px);

}



.btn-auth-cta {

  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  color: #ffffff;

  border: none;

  padding: 9px 20px;

  font-family: var(--font-heading);

  font-weight: 800;

  font-size: 0.9rem;

  border-radius: var(--radius-pill);

  box-shadow: var(--shadow-gold);

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition: all var(--transition-normal);

}



.btn-auth-cta:hover {

  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 12px 25px -4px rgba(245, 158, 11, 0.45);

}



/* Mobile Toggle */

.mobile-nav-toggle {

  display: none;

  background: transparent;

  border: none;

  color: #1e293b;

  cursor: pointer;

  padding: 6px;

}



/* ==========================================================================

   LAYOUT CONTAINERS & UTILITIES

   ========================================================================== */

.container {

  width: 100%;

  max-width: 1240px;

  margin-left: auto;

  margin-right: auto;

  padding-left: 20px;

  padding-right: 20px;

}



.container-fluid {

  width: 100%;

  padding-left: 20px;

  padding-right: 20px;

}



.main-content {

  flex: 1 0 auto;

}



.section-py {

  padding-top: 50px;

  padding-bottom: 50px;

}



.section-title-wrap {

  text-align: center;

  margin-bottom: 40px;

}



.section-subtitle {

  color: var(--primary);

  font-size: 0.85rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 1.5px;

  margin-bottom: 6px;

  display: inline-block;

}



.section-title {

  font-size: 2.2rem;

  font-weight: 800;

  color: var(--text-main);

  letter-spacing: -0.5px;

  margin-bottom: 12px;

}



.section-desc {

  max-width: 680px;

  margin-left: auto;

  margin-right: auto;

  color: var(--text-muted);

  font-size: 1.05rem;

}



/* ==========================================================================

   HERO SECTION

   ========================================================================== */

.hero-section {

  background: radial-gradient(130% 100% at 50% 0%, #eff6ff 0%, #f8fafc 100%);

  border-bottom: 1px solid var(--border-light);

  padding: 60px 0 50px 0;

  position: relative;

  overflow: hidden;

}



.hero-grid {

  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  align-items: center;

  gap: 40px;

}



.hero-badge-pill {

  display: inline-flex;

  align-items: center;

  gap: 8px;

  background: #ffffff;

  padding: 6px 14px;

  border-radius: var(--radius-pill);

  box-shadow: var(--shadow-sm);

  border: 1px solid var(--border-light);

  font-size: 0.825rem;

  font-weight: 700;

  color: #1e40af;

  margin-bottom: 20px;

}



.hero-title {

  font-size: 3.2rem;

  line-height: 1.15;

  font-weight: 800;

  letter-spacing: -1px;

  color: #0f172a;

  margin-bottom: 20px;

}



.hero-title .highlight {

  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}



.hero-title .highlight-gold {

  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}



.hero-description {

  font-size: 1.15rem;

  color: #475569;

  line-height: 1.6;

  margin-bottom: 30px;

}



.hero-cta-group {

  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-bottom: 35px;

}



.btn-primary-lg {

  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);

  color: #ffffff;

  font-family: var(--font-heading);

  font-size: 1.05rem;

  font-weight: 700;

  padding: 14px 28px;

  border-radius: var(--radius-pill);

  display: inline-flex;

  align-items: center;

  gap: 8px;

  box-shadow: var(--shadow-primary);

  transition: all var(--transition-normal);

  border: none;

}



.btn-primary-lg:hover {

  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

  color: #ffffff;

  transform: translateY(-3px);

  box-shadow: 0 16px 30px -6px rgba(37, 99, 235, 0.45);

}



.btn-secondary-lg {

  background: #ffffff;

  color: #1e293b;

  font-family: var(--font-heading);

  font-size: 1.05rem;

  font-weight: 700;

  padding: 14px 26px;

  border-radius: var(--radius-pill);

  display: inline-flex;

  align-items: center;

  gap: 8px;

  border: 1.5px solid var(--border-light);

  box-shadow: var(--shadow-sm);

  transition: all var(--transition-normal);

}



.btn-secondary-lg:hover {

  background: #f8fafc;

  color: var(--primary);

  border-color: #cbd5e1;

  transform: translateY(-2px);

}



/* Hero Mascot / Visual side */

.hero-visual {

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;

}



.hero-mascot-card {

  position: relative;

  background: #ffffff;

  border-radius: var(--radius-xl);

  padding: 30px;

  box-shadow: var(--shadow-xl);

  border: 1px solid var(--border-light);

  text-align: center;

  max-width: 380px;

  width: 100%;

}



.hero-mascot-img {

  width: 240px;

  height: 240px;

  object-fit: contain;

  margin: 0 auto 15px auto;

  filter: drop-shadow(0 15px 20px rgba(37, 99, 235, 0.2));

  animation: floatMascot 4s ease-in-out infinite;

}



@keyframes floatMascot {

  0%, 100% { transform: translateY(0px) rotate(0deg); }

  50% { transform: translateY(-10px) rotate(1.5deg); }

}



.mascot-speech {

  background: #eff6ff;

  border-left: 4px solid var(--primary);

  padding: 10px 14px;

  border-radius: 8px;

  font-size: 0.9rem;

  font-weight: 600;

  color: #1e3a8a;

  text-align: left;

}



/* Floating Badges */

.floating-stat-badge {

  position: absolute;

  background: #ffffff;

  padding: 10px 16px;

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-lg);

  border: 1px solid var(--border-light);

  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 700;

  font-size: 0.85rem;

  animation: floatBadge 5s ease-in-out infinite;

}



.floating-badge-1 {

  top: 10%;

  left: -20px;

  animation-delay: 0.5s;

}



.floating-badge-2 {

  bottom: 8%;

  right: -20px;

  animation-delay: 1.2s;

}



@keyframes floatBadge {

  0%, 100% { transform: translateY(0); }

  50% { transform: translateY(-8px); }

}



/* ==========================================================================

   STATS BAR (Live counts from all tables)

   ========================================================================== */

.stats-bar-section {

  margin-top: -30px;

  position: relative;

  z-index: 10;

  margin-bottom: 40px;

}



.stats-card-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));

  gap: 16px;

  background: #ffffff;

  padding: 24px;

  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-lg);

  border: 1px solid var(--border-light);

}



.stat-item {

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 8px 12px;

  border-right: 1px solid var(--border-subtle);

}



.stat-item:last-child {

  border-right: none;

}



.stat-icon-wrap {

  width: 48px;

  height: 48px;

  border-radius: var(--radius-md);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

}



.stat-icon-blue { background: #eff6ff; color: #2563eb; }

.stat-icon-gold { background: #fef3c7; color: #d97706; }

.stat-icon-green { background: #d1fae5; color: #059669; }

.stat-icon-purple { background: #ede9fe; color: #7c3aed; }

.stat-icon-teal { background: #ccfbf1; color: #0f766e; }

.stat-icon-rose { background: #ffe4e6; color: #e11d48; }



.stat-content .stat-number {

  font-family: var(--font-heading);

  font-size: 1.6rem;

  font-weight: 800;

  line-height: 1;

  color: #0f172a;

}



.stat-content .stat-label {

  font-size: 0.8rem;

  color: var(--text-muted);

  font-weight: 600;

  margin-top: 4px;

}



/* ==========================================================================

   SUBJECT CARDS (Dersler - 6 Main LGS Subjects)

   ========================================================================== */

.subjects-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));

  gap: 24px;

}



.subject-card {

  background: #ffffff;

  border-radius: var(--radius-lg);

  border: 1px solid var(--border-light);

  box-shadow: var(--shadow-sm);

  padding: 24px;

  transition: all var(--transition-normal);

  display: flex;

  flex-direction: column;

  position: relative;

  overflow: hidden;

}



.subject-card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-xl);

  border-color: #cbd5e1;

}



.subject-card::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 5px;

}



.subject-card.trk::before { background: #ef4444; }

.subject-card.mat::before { background: #2563eb; }

.subject-card.fen::before { background: #10b981; }

.subject-card.ink::before { background: #f59e0b; }

.subject-card.din::before { background: #8b5cf6; }

.subject-card.ing::before { background: #06b6d4; }



.subject-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 16px;

}



.subject-badge {

  font-family: var(--font-heading);

  font-size: 0.8rem;

  font-weight: 800;

  padding: 4px 10px;

  border-radius: var(--radius-pill);

}



.subject-card.trk .subject-badge { background: #fee2e2; color: #b91c1c; }

.subject-card.mat .subject-badge { background: #dbeafe; color: #1e40af; }

.subject-card.fen .subject-badge { background: #d1fae5; color: #065f46; }

.subject-card.ink .subject-badge { background: #fef3c7; color: #92400e; }

.subject-card.din .subject-badge { background: #ede9fe; color: #5b21b6; }

.subject-card.ing .subject-badge { background: #cffafe; color: #155e75; }



.subject-weight {

  font-size: 0.8rem;

  font-weight: 700;

  color: #64748b;

  background: #f1f5f9;

  padding: 4px 10px;

  border-radius: var(--radius-pill);

}



.subject-title {

  font-size: 1.45rem;

  font-weight: 800;

  margin-bottom: 8px;

}



.subject-meta {

  display: flex;

  gap: 12px;

  font-size: 0.85rem;

  color: var(--text-muted);

  margin-bottom: 20px;

}



.subject-meta span {

  display: flex;

  align-items: center;

  gap: 4px;

}



/* Subject Drilldown Pipeline (Üniteler -> Konular -> Kazanımlar -> Sorular) */

.subject-pipeline {

  background: #f8fafc;

  border-radius: var(--radius-md);

  padding: 12px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 20px;

  border: 1px solid var(--border-subtle);

}



.pipeline-step {

  text-align: center;

  flex: 1;

}



.pipeline-step-num {

  font-family: var(--font-heading);

  font-size: 1.15rem;

  font-weight: 800;

  color: #0f172a;

}



.pipeline-step-name {

  font-size: 0.725rem;

  color: #64748b;

  font-weight: 600;

  text-transform: uppercase;

}



.pipeline-arrow {

  color: #cbd5e1;

  font-size: 0.85rem;

}



.subject-action {

  margin-top: auto;

}



.btn-subject {

  width: 100%;

  text-align: center;

  background: #f1f5f9;

  color: #1e293b;

  font-family: var(--font-heading);

  font-weight: 700;

  font-size: 0.9rem;

  padding: 10px;

  border-radius: var(--radius-md);

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 6px;

  transition: all var(--transition-fast);

}



.subject-card:hover .btn-subject {

  background: var(--primary);

  color: #ffffff;

}



/* ==========================================================================

   QUESTION CARD (Soru Bankası & Çözüm)

   ========================================================================== */

.question-card {

  background: #ffffff;

  border-radius: var(--radius-lg);

  border: 1px solid var(--border-light);

  box-shadow: var(--shadow-sm);

  padding: 28px;

  margin-bottom: 28px;

  transition: box-shadow var(--transition-normal);

}



.question-card:hover {

  box-shadow: var(--shadow-lg);

}



.question-header {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  padding-bottom: 14px;

  border-bottom: 1px solid var(--border-subtle);

  margin-bottom: 18px;

}



.question-badges {

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

}



.badge-tag {

  font-size: 0.75rem;

  font-weight: 700;

  padding: 4px 10px;

  border-radius: var(--radius-pill);

}



.badge-difficulty {

  background: #fef3c7;

  color: #b45309;

}



.badge-new-generation {

  background: #dbeafe;

  color: #1d4ed8;

}



.badge-type {

  background: #ede9fe;

  color: #6d28d9;

}



.badge-source {

  background: #e2e8f0;

  color: #334155;

}



.question-code {

  font-family: monospace;

  font-size: 0.8rem;

  font-weight: 700;

  color: #64748b;

  background: #f1f5f9;

  padding: 4px 8px;

  border-radius: 4px;

}



/* Curriculum & Skill Context Tags */

.question-curriculum-context {

  background: #f8fafc;

  border-radius: var(--radius-md);

  padding: 12px 16px;

  margin-bottom: 20px;

  border-left: 4px solid var(--primary);

  font-size: 0.85rem;

  color: #334155;

  display: flex;

  flex-wrap: wrap;

  gap: 16px;

}



.question-curriculum-context b {

  color: #0f172a;

}



.question-body {

  font-size: 1.05rem;

  line-height: 1.7;

  color: #1e293b;

  margin-bottom: 24px;

}



.context-passage {

  background: #fefce8;

  border: 1px solid #fef08a;

  border-radius: var(--radius-md);

  padding: 16px;

  font-style: italic;

  margin-bottom: 18px;

  color: #713f12;

  font-size: 0.98rem;

}



.question-image-box {

  background: #f8fafc;

  border: 1px solid var(--border-light);

  border-radius: var(--radius-md);

  padding: 20px;

  text-align: center;

  margin: 18px 0;

}



.question-image-box img {

  max-height: 240px;

  margin: 0 auto;

  border-radius: 8px;

}



.question-stem {

  font-weight: 700;

  color: #0f172a;

  margin-top: 14px;

}



/* Question Options */

.options-list {

  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-bottom: 24px;

}



.option-item {

  display: flex;

  align-items: center;

  gap: 14px;

  padding: 14px 18px;

  border: 1.5px solid var(--border-light);

  border-radius: var(--radius-md);

  background: #ffffff;

  cursor: pointer;

  transition: all var(--transition-fast);

  user-select: none;

}



.option-item:hover {

  background-color: #f8fafc;

  border-color: #94a3b8;

}



.option-item.selected {

  border-color: var(--primary);

  background-color: var(--primary-light);

}



.option-letter {

  width: 34px;

  height: 34px;

  border-radius: 50%;

  background: #f1f5f9;

  color: #334155;

  font-family: var(--font-heading);

  font-weight: 800;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  transition: all var(--transition-fast);

}



.option-item.selected .option-letter {

  background: var(--primary);

  color: #ffffff;

}



.option-item.correct {

  border-color: var(--success);

  background-color: var(--success-light);

}



.option-item.correct .option-letter {

  background: var(--success);

  color: #ffffff;

}



.option-item.wrong {

  border-color: var(--danger);

  background-color: var(--danger-light);

}



.option-item.wrong .option-letter {

  background: var(--danger);

  color: #ffffff;

}



.option-text {

  font-size: 0.95rem;

  font-weight: 500;

  color: #1e293b;

  flex: 1;

}



/* Question Action Toolbar */

.question-toolbar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  padding-top: 18px;

  border-top: 1px solid var(--border-subtle);

}



.timer-display {

  display: inline-flex;

  align-items: center;

  gap: 6px;

  font-family: monospace;

  font-size: 0.95rem;

  font-weight: 700;

  color: #1e40af;

  background: #eff6ff;

  padding: 6px 14px;

  border-radius: var(--radius-pill);

}



.solution-box {

  display: none;

  background: #f0fdf4;

  border: 1px solid #bbf7d0;

  border-radius: var(--radius-md);

  padding: 18px;

  margin-top: 20px;

  color: #166534;

  font-size: 0.95rem;

}



.solution-box.show {

  display: block;

  animation: fadeIn 0.3s ease;

}



.hint-box {

  display: none;

  background: #fffbeb;

  border: 1px solid #fde68a;

  border-radius: var(--radius-md);

  padding: 14px 18px;

  margin-top: 14px;

  color: #92400e;

  font-size: 0.92rem;

}



.hint-box.show {

  display: block;

}



/* ==========================================================================

   PERFORMANCE & STUDENT TARGETS

   ========================================================================== */

.target-summary-card {

  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);

  color: #ffffff;

  border-radius: var(--radius-xl);

  padding: 32px;

  box-shadow: var(--shadow-xl);

  margin-bottom: 40px;

  position: relative;

  overflow: hidden;

}



.target-summary-card::after {

  content: '';

  position: absolute;

  top: -50%;

  right: -20%;

  width: 400px;

  height: 400px;

  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);

  pointer-events: none;

}



.target-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 24px;

  position: relative;

  z-index: 2;

}



.target-item {

  background: rgba(255, 255, 255, 0.1);

  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: var(--radius-lg);

  padding: 20px;

}



.target-label {

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 1px;

  color: #93c5fd;

  font-weight: 700;

  margin-bottom: 6px;

}



.target-val {

  font-family: var(--font-heading);

  font-size: 2.2rem;

  font-weight: 800;

  color: #ffffff;

  line-height: 1;

}



.target-desc {

  font-size: 0.85rem;

  color: #e2e8f0;

  margin-top: 6px;

}



.progress-bar-wrap {

  width: 100%;

  height: 10px;

  background: rgba(255, 255, 255, 0.2);

  border-radius: var(--radius-pill);

  overflow: hidden;

  margin-top: 12px;

}



.progress-fill {

  height: 100%;

  background: linear-gradient(90deg, #f59e0b, #10b981);

  border-radius: var(--radius-pill);

  transition: width 1s ease-in-out;

}



/* ==========================================================================

   DATA TABLE STYLES (Clean, readable, responsive)

   ========================================================================== */

.data-table-container {

  background: #ffffff;

  border-radius: var(--radius-lg);

  border: 1px solid var(--border-light);

  box-shadow: var(--shadow-sm);

  overflow-x: auto;

  margin-bottom: 24px;

}



.data-table {

  width: 100%;

  border-collapse: collapse;

  text-align: left;

  font-size: 0.9rem;

}



.data-table th {

  background-color: #f8fafc;

  color: #475569;

  font-weight: 700;

  padding: 14px 18px;

  border-bottom: 1px solid var(--border-light);

  white-space: nowrap;

}



.data-table td {

  padding: 14px 18px;

  border-bottom: 1px solid var(--border-subtle);

  color: #1e293b;

}



.data-table tr:last-child td {

  border-bottom: none;

}



.data-table tr:hover td {

  background-color: #f8fafc;

}



/* ==========================================================================

   FOOTER

   ========================================================================== */

.site-footer {

  background: #0f172a;

  color: #94a3b8;

  padding: 60px 0 30px 0;

  margin-top: auto;

  border-top: 1px solid #1e293b;

}



.footer-grid {

  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr 1fr;

  gap: 40px;

  margin-bottom: 40px;

}



.footer-brand .brand-logo-img {
  height: 62px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.08));
}



.footer-brand p {

  font-size: 0.9rem;

  line-height: 1.6;

  color: #94a3b8;

}



.footer-col-title {

  color: #ffffff;

  font-family: var(--font-heading);

  font-size: 1.05rem;

  font-weight: 700;

  margin-bottom: 18px;

  position: relative;

}



.footer-links {

  list-style: none;

}



.footer-links li {

  margin-bottom: 10px;

}



.footer-links a {

  color: #94a3b8;

  font-size: 0.88rem;

  transition: color var(--transition-fast);

}



.footer-links a:hover {

  color: #ffffff;

  padding-left: 4px;

}



.footer-bottom {

  padding-top: 25px;

  border-top: 1px solid #1e293b;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 14px;

  font-size: 0.825rem;

}



/* ==========================================================================

   ANIMATIONS & RESPONSIVE BREAKPOINTS

   ========================================================================== */

@keyframes fadeIn {

  from { opacity: 0; transform: translateY(6px); }

  to { opacity: 1; transform: translateY(0); }

}



@media (max-width: 1024px) {

  .hero-grid {

    grid-template-columns: 1fr;

    text-align: center;

  }

  .hero-badge-pill, .hero-cta-group {

    justify-content: center;

  }

  .hero-visual {

    margin-top: 20px;

  }

  .floating-stat-badge {

    display: none;

  }

  .footer-grid {

    grid-template-columns: 1fr 1fr;

  }

}



@media (max-width: 900px) {

  .nav-list {

    display: none;

    position: absolute;

    top: 100%;

    left: 0;

    right: 0;

    background: #ffffff;

    flex-direction: column;

    padding: 16px;

    box-shadow: var(--shadow-xl);

    border-bottom: 1px solid var(--border-light);

  }

  .nav-list.active {

    display: flex;

  }

  .mobile-nav-toggle {

    display: block;

  }

  .dropdown-menu, .has-submenu > .dropdown-menu-sub {

    position: static;

    opacity: 1;

    visibility: visible;

    transform: none;

    box-shadow: none;

    border: none;

    padding-left: 16px;

    display: none;

  }

  .nav-item.open > .dropdown-menu, .has-submenu.open > .dropdown-menu-sub {

    display: block;

  }

  .hero-title {

    font-size: 2.2rem;

  }

  .footer-grid {

    grid-template-columns: 1fr;

  }

}



/* --- Unified Giriş Yap Button & Dropdown --- */
.auth-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.btn-main-login {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-size: calc(0.95rem + 2pt);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(37,99,235,0.25);
  transition: all 0.15s ease;
}
.btn-main-login:hover {
  background: #1d4ed8;
  color: #ffffff !important;
}
.btn-main-login-arrow {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.25);
  padding: 10px 13px;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(37,99,235,0.25);
  transition: background 0.15s ease;
}
.btn-main-login-arrow:hover {
  background: #1e40af;
}
.btn-user-profile {
  background: #f8fafc;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-size: calc(0.95rem + 2pt);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.btn-user-profile:hover {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1e40af;
}
.auth-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 14px 35px rgba(0,0,0,0.14);
  padding: 8px;
  z-index: 1000;
}
.auth-dropdown-panel.show {
  display: block;
}
.auth-panel-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #1e293b !important;
  transition: background 0.15s;
}
.auth-panel-item:hover {
  background: #f1f5f9;
}
.auth-panel-item .icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
}
.auth-panel-item .title {
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.2;
}
.auth-panel-item .desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 2px;
}
.auth-panel-item.highlight {
  background: #eff6ff;
  color: #1e40af !important;
}
.auth-panel-item.highlight:hover {
  background: #dbeafe;
}
.auth-panel-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 6px 0;
}
