/*
Theme Name: IQTestium
Theme URI: https://iqtestium.com
Author: IQTestium
Author URI: https://iqtestium.com
Description: IQTestium IQ Test uygulamasi icin ozel WordPress temasi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iqtestium
*/

/* ── RESET & BASE ─────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #4F46E5;
  --primary-light: #818CF8;
  --accent: #7C3AED;
  --dark: #0F172A;
  --medium: #475569;
  --light: #94A3B8;
  --light-bg: #F8FAFC;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3B82F6;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Devanagari',
               'Noto Sans Bengali', 'Noto Sans Tamil', 'Noto Sans Telugu',
               'Noto Sans Thai', 'Noto Sans JP', 'Noto Sans KR',
               'Noto Sans SC', 'Noto Sans TC',
               -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAVBAR ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  font-size: 24px;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: -0.2px;
}
.site-logo .logo-iq {
  font-family: 'Zen Dots', 'Inter', sans-serif;
  font-weight: 400;
  color: var(--primary);
  font-size: 0.92em;
}
.site-logo .logo-testium {
  font-family: 'Titillium Web', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--accent);
  margin-left: 2px;
}
/* Koyu zeminli alanlarda (footer, hero, CTA banner) logo rengi */
.site-footer .site-logo .logo-iq,
.site-footer .site-logo .logo-testium,
.cta-banner .site-logo .logo-iq,
.cta-banner .site-logo .logo-testium {
  color: #fff;
}
.site-footer .site-logo .logo-testium,
.cta-banner .site-logo .logo-testium {
  opacity: 0.92;
}

.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--medium);
}
.header-nav a:hover { color: var(--primary); }
.header-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }

/* ── HERO ─────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}
.hero-badge {
  display: inline-block;
  background: rgba(79,70,229,0.08);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--medium);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white) !important;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(79,70,229,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(79,70,229,0.4);
  color: var(--white) !important;
}
.hero-sub { margin-top: 12px; font-size: 13px; color: var(--light); }

/* ── STATS BAR ────────────────────────────────────── */
.stats-bar { padding: 40px 0; border-bottom: 1px solid var(--border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 { font-size: 36px; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 14px; color: var(--medium); margin-top: 4px; }

/* ── SECTIONS ─────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.section-title p { font-size: 16px; color: var(--medium); max-width: 480px; margin: 0 auto; }

/* ── STEPS ────────────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--medium); line-height: 1.6; }

/* ── FEATURES ─────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.feat-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--medium); line-height: 1.5; }

/* ── REVIEWS ──────────────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.review-stars { color: #FBBF24; font-size: 16px; margin-bottom: 12px; }
.review-card blockquote {
  font-size: 14px; color: var(--medium);
  margin-bottom: 16px; font-style: italic;
  line-height: 1.6;
}
.review-author { font-size: 13px; font-weight: 600; color: var(--dark); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary {
  font-size: 16px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--primary); font-weight: 700; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-answer { padding-top: 12px; font-size: 14px; color: var(--medium); line-height: 1.7; }

/* ── CTA BANNER ───────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 64px 0;
  text-align: center;
  color: var(--white);
  border-radius: var(--radius-xl);
  margin: 0 24px;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.btn-white {
  display: inline-flex;
  background: var(--white);
  color: var(--primary) !important;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  font-size: 18px; font-weight: 700;
  transition: transform 0.2s;
  border: none; cursor: pointer;
}
.btn-white:hover { transform: translateY(-2px); color: var(--primary) !important; }

/* ── DISCLAIMER ───────────────────────────────────── */
.disclaimer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.disclaimer p { font-size: 12px; color: var(--light); max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .site-logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: 14px; color: var(--medium); line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.footer-col a { display: block; font-size: 14px; color: var(--medium); margin-bottom: 8px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 13px; color: var(--light); }

/* ── DOWNLOAD SECTION ─────────────────────────────── */
.download-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark);
  color: var(--white) !important;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  min-width: 220px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-md);
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white) !important;
}
.store-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  box-shadow: 0 4px 20px rgba(79,70,229,0.35);
}
.store-icon { font-size: 32px; line-height: 1; }
.store-text { display: flex; flex-direction: column; }
.store-label { font-size: 12px; opacity: 0.75; }
.store-name { font-size: 18px; font-weight: 700; }
.download-note { text-align: center; font-size: 13px; color: var(--light); }

/* ── LEGAL PAGES ──────────────────────────────────── */
.legal-page { padding: 48px 0 80px; }
.legal-page h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.legal-page .legal-date { font-size: 14px; color: var(--light); margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--medium); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }

/* ── 404 PAGE ─────────────────────────────────────── */
.page-404 { padding: 120px 0; text-align: center; }
.page-404 h1 { font-size: 72px; font-weight: 800; color: var(--primary); }
.page-404 p { font-size: 18px; color: var(--medium); margin: 12px 0 32px; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title h2 { font-size: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item h3 { font-size: 28px; }
  .steps-grid, .features-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-banner { margin: 0; border-radius: 0; padding: 48px 24px; }
  .cta-banner h2 { font-size: 24px; }
  .download-grid { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 300px; }

  .nav-toggle { display: block; }
  .header-nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .header-nav.active { display: flex; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-primary { padding: 14px 28px; font-size: 16px; }
}

/* ========================================
   PAGE TEMPLATES (Hakkımızda, İletişim)
   ======================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.page-hero .lead {
  font-size: 18px;
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto;
}
.page-content {
  padding: 64px 0 80px;
  background: var(--white);
}
.container.narrow { max-width: 760px; }
.page-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--dark);
}
.page-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 10px;
}
.page-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}
.page-content ul {
  padding-left: 24px;
  margin-bottom: 20px;
}
.page-content ul li {
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 6px;
}
.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--accent); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 36px;
}
.cat-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #F9FAFB;
  font-size: 14px;
  line-height: 1.6;
}
.cat-card strong {
  color: var(--primary);
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

/* Blog listesi/sayfa stili */
.blog-archive, .single-post {
  padding: 64px 0 80px;
  background: var(--white);
}
.blog-archive .post-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.blog-archive h2 a {
  color: var(--dark);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}
.blog-archive h2 a:hover { color: var(--primary); }
.post-meta {
  font-size: 13px;
  color: var(--text-light);
  margin: 6px 0 12px;
}
.post-excerpt {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
.single-post .entry-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.single-post .entry-content {
  font-size: 17px;
  line-height: 1.8;
}
.single-post .entry-content h2 {
  font-size: 26px;
  margin: 32px 0 12px;
}
.single-post .entry-content h3 {
  font-size: 20px;
  margin: 24px 0 10px;
}
.single-post .entry-content p {
  margin-bottom: 18px;
}

@media (max-width: 768px) {
  .page-hero h1 { font-size: 32px; }
  .page-hero { padding: 60px 0 40px; }
  .page-content { padding: 48px 0 60px; }
  .page-content h2 { font-size: 22px; }
  .single-post .entry-title { font-size: 28px; }
}

/* ========================================
   KÜRESEL IQ HARİTASI
   ======================================== */
.world-map-wrapper {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin: 24px 0 32px;
  overflow: hidden;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 16px 0 24px;
  font-size: 14px;
  color: var(--text-light);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.top-countries {
  margin-top: 32px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.top-countries h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.country-table {
  background: #FFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.country-row {
  display: grid;
  grid-template-columns: 50px 60px 1fr 80px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #F3F4F6;
  font-size: 15px;
}
.country-row:last-child { border-bottom: 0; }
.country-row.header {
  background: #F9FAFB;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
}
.country-row.highlight {
  background: linear-gradient(90deg, rgba(79,70,229,0.06), rgba(14,165,233,0.04));
  font-weight: 600;
}
.country-row .rank { color: var(--text-light); font-weight: 500; }
.country-row .flag { font-size: 22px; }
.country-row .name { font-weight: 500; }
.country-row .iq { text-align: right; font-weight: 700; color: var(--primary); }
.map-source {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 20px;
  line-height: 1.6;
  padding: 0 16px;
}

/* ========================================
   ÜCRETSIZ ROZETI & VURGU
   ======================================== */
.cta-badge-free {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
  #world-map { height: 340px !important; }
  .country-row { grid-template-columns: 40px 44px 1fr 64px; font-size: 14px; padding: 10px 12px; }
  .country-row .flag { font-size: 18px; }
  .map-legend { gap: 12px; font-size: 13px; }
}

/* ============================================================
   IQ TESTİ — Test Sayfası (page-test.php)
   ============================================================ */
.page-test { min-height: 100vh; background: #F8FAFC; }
.test-container { padding: 48px 0 80px; }

.test-hero { text-align: center; margin-bottom: 40px; }
.test-hero h1 {
  font-size: 40px; font-weight: 800; margin: 12px 0 8px;
  letter-spacing: -0.5px; color: var(--dark);
}
.test-hero .lead { color: var(--text-light); font-size: 17px; }
.test-hero .hero-badge {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
}

.mode-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-bottom: 48px;
}
.mode-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.mode-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.mode-featured {
  border: 2px solid var(--accent); position: relative;
}
.mode-featured::before {
  content: 'Önerilen';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 4px 12px;
  border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.mode-icon { font-size: 48px; margin-bottom: 12px; }
.mode-card h2 { font-size: 22px; margin-bottom: 4px; }
.mode-desc { color: var(--text-light); font-size: 14px; margin-bottom: 16px; }
.mode-features {
  list-style: none; padding: 0; margin: 0 0 24px; text-align: left;
}
.mode-features li {
  padding: 6px 0; color: var(--text); font-size: 14px;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--primary)) !important;
}

.test-info {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; margin-top: 24px;
}
.test-info h3 { font-size: 20px; margin-bottom: 16px; }
.info-steps {
  padding-left: 20px; line-height: 1.8; color: var(--text);
}
.info-steps li { margin-bottom: 8px; }
.test-disclaimer {
  margin-top: 20px; padding: 14px 16px;
  background: #FEF3C7; border-left: 4px solid var(--warning);
  border-radius: 8px; font-size: 14px; color: #78350F;
}

/* ── Test Akışı ── */
.test-header {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 24px;
}
.test-progress { flex: 1; }
.progress-info {
  display: flex; justify-content: space-between;
  margin-bottom: 8px; font-size: 13px;
}
.progress-category { font-weight: 600; color: var(--primary); }
.progress-counter { color: var(--text-light); }
.progress-track {
  height: 8px; background: #F1F5F9; border-radius: 999px; overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .4s ease; width: 0;
}
.test-timer {
  min-width: 60px; text-align: center;
  font-weight: 700; font-size: 18px; color: var(--text);
  padding: 10px 14px; background: #F1F5F9;
  border-radius: 10px; font-variant-numeric: tabular-nums;
}
.test-timer.warn {
  background: #FEE2E2; color: #991B1B; animation: pulse 1s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.question-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.question-text {
  font-size: 22px; font-weight: 600; line-height: 1.5;
  color: var(--dark); margin-bottom: 28px;
}

.options {
  display: flex; flex-direction: column; gap: 12px;
}
.opt-btn {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 16px 18px;
  background: #fff; border: 2px solid var(--border);
  border-radius: 12px; cursor: pointer;
  font-family: inherit; font-size: 16px; color: var(--dark);
  text-align: left; transition: all .15s ease;
}
.opt-btn:hover:not(:disabled) {
  border-color: var(--primary); background: #F5F3FF;
}
.opt-btn.selected {
  border-color: var(--primary); background: var(--primary); color: #fff;
}
.opt-btn.selected .opt-letter {
  background: rgba(255,255,255,.25); color: #fff;
}
.opt-btn:disabled { cursor: default; opacity: 0.6; }
.opt-btn .opt-letter {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%; background: #F1F5F9; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.opt-text { flex: 1; }
.test-hint {
  text-align: center; color: var(--text-light); font-size: 13px;
}

.loader-wrap {
  text-align: center; padding: 80px 24px;
}
.loader-spinner {
  width: 40px; height: 40px; border: 3px solid #E5E7EB;
  border-top-color: var(--primary);
  border-radius: 50%; animation: spin .8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   TEST SONUCU — page-sonuc.php
   ============================================================ */
.page-sonuc { min-height: 100vh; background: #F8FAFC; }
.sonuc-container { padding: 48px 0 80px; }

.empty-state {
  text-align: center; padding: 80px 24px;
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border);
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--text-light); margin-bottom: 24px; }

.result-hero {
  text-align: center; padding: 48px 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 20px; color: #fff;
  margin-bottom: 32px;
  box-shadow: 0 20px 40px -12px rgba(79,70,229,.4);
}
.hero-label {
  font-size: 14px; opacity: .9; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.iq-circle {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-bottom: 16px;
}
.iq-score {
  font-size: 96px; font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}
.iq-unit {
  font-size: 16px; opacity: .8; letter-spacing: 4px; margin-top: 4px;
}
.iq-category {
  display: inline-block;
  background: rgba(255,255,255,.2); backdrop-filter: blur(10px);
  padding: 8px 20px; border-radius: 999px;
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
}
.iq-percentile {
  font-size: 16px; opacity: .95; margin-bottom: 6px;
}
.iq-confidence {
  font-size: 13px; opacity: .75;
}

.result-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 32px;
}
.stat {
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; text-align: center;
}
.stat-value {
  font-size: 28px; font-weight: 800; color: var(--primary);
  font-variant-numeric: tabular-nums; margin-bottom: 4px;
}
.stat-label {
  font-size: 13px; color: var(--text-light); font-weight: 500;
}

.result-section {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; margin-bottom: 24px;
}
.result-section h2 {
  font-size: 22px; margin-bottom: 20px;
}

.result-category-grid {
  display: flex; flex-direction: column; gap: 16px;
}
.cat-item { }
.cat-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.cat-name { font-weight: 600; color: var(--dark); }
.cat-pct { color: var(--primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.cat-bar {
  height: 10px; background: #F1F5F9; border-radius: 999px; overflow: hidden;
}
.cat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .8s ease; width: 0;
}

.share-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 16px;
  background: #F1F5F9; color: var(--dark);
  border-radius: 10px; text-decoration: none;
  font-weight: 600; font-size: 14px;
  border: 1px solid var(--border);
  transition: all .15s;
}
.share-btn:hover {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.share-icon { font-size: 18px; font-weight: 700; }

.result-cta {
  display: flex; gap: 12px; justify-content: center;
  margin: 32px 0 24px; flex-wrap: wrap;
}
.btn-secondary {
  display: inline-block; padding: 14px 28px;
  background: #fff; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  transition: all .15s;
}
.btn-secondary:hover {
  background: var(--primary); color: #fff;
}

.result-disclaimer {
  margin-top: 32px; padding: 16px 20px;
  background: #F9FAFB; border-left: 4px solid var(--text-light);
  border-radius: 8px; font-size: 13px; color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .test-hero h1 { font-size: 32px; }
  .question-text { font-size: 18px; }
  .question-card { padding: 20px; }
  .iq-score { font-size: 72px; }
  .result-stats { grid-template-columns: 1fr; }
  .test-header { flex-direction: column; align-items: stretch; }
  .test-timer { align-self: flex-end; }
}

/* ============================================================
   HAKKIMIZDA — Geliştirici Kartı
   ============================================================ */
.dev-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(135deg, rgba(79,70,229,0.04), rgba(14,165,233,0.04));
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 16px 0 32px;
}
.dev-avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 3px;
  box-shadow: 0 10px 24px -8px rgba(79,70,229,0.4);
}
.dev-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Titillium Web', 'Inter', sans-serif;
}
.dev-info { flex: 1; min-width: 0; }
.dev-info h3 {
  font-size: 24px;
  margin: 0 0 4px;
  font-weight: 700;
}
.dev-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}
.dev-bio {
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 16px;
}
.dev-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dev-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  background: #fff;
  transition: all .15s;
}
.dev-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.dev-link-linkedin { color: #0A66C2; border-color: rgba(10,102,194,0.2); }
.dev-link-linkedin:hover { background: #0A66C2; color: #fff; }
.dev-link-email { color: var(--primary); border-color: rgba(79,70,229,0.2); }
.dev-link-email:hover { background: var(--primary); color: #fff; }
.dev-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(0,0,0,0.05);
  font-weight: 700;
  font-size: 12px;
}
.dev-link:hover .dev-link-icon {
  background: rgba(255,255,255,0.22);
}

@media (max-width: 600px) {
  .dev-card { flex-direction: column; align-items: center; text-align: center; }
  .dev-links { justify-content: center; }
}
