/* =========================================================================
   GYS Platformu — Katman 1 (Statik SEO ön yüz) — Açık tema
   Renk paleti: docs/WEB-SAYFASI-GUNCELLEME-PLANI.md §3
   ========================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --border: #e5eaf2;
  --primary: #0149ad;
  --primary-dark: #013a88;
  --primary-soft: #eaf1fd;
  --secondary: #2e7cf6;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --text: #1f2937;
  --text-muted: #6b7280;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 41, 77, 0.06), 0 1px 3px rgba(15, 41, 77, 0.08);
  --shadow: 0 4px 12px rgba(15, 41, 77, 0.08), 0 1px 3px rgba(15, 41, 77, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 41, 77, 0.12), 0 4px 12px rgba(15, 41, 77, 0.08);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

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

/* ───────────────────────── Butonlar ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--primary); border-color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--bg-soft); color: var(--primary-dark); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ───────────────────────── Üst çubuk ───────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand-text { font-size: 19px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.brand-accent { color: var(--secondary); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--text-muted); padding: 8px 2px; position: relative; }
.nav a:hover { color: var(--primary); }
.nav a.active { color: var(--primary); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--primary);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ───────────────────────── Hero (Ana Sayfa) ───────────────────────── */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(46, 124, 246, 0.14), transparent 60%),
    radial-gradient(700px 380px at 10% 10%, rgba(1, 73, 173, 0.08), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 88px 0 72px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft); border: 1px solid #d6e4fb;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-title { font-size: 44px; line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.hero-title em { font-style: normal; color: var(--primary); }
.hero-sub { margin-top: 18px; font-size: 17px; color: var(--text-muted); max-width: 540px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); }

/* Tarayıcı mockup */
.hero-mock { position: relative; }
.mock-browser {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--bg-soft); border-bottom: 1px solid var(--border);
}
.mock-dot { width: 11px; height: 11px; border-radius: 50%; }
.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #febc2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-address {
  flex: 1; margin-left: 8px; font-size: 12px; color: var(--text-muted);
  background: #fff; border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px;
}
.mock-body { padding: 18px; background: var(--bg-soft); }
.mock-side {
  display: grid; grid-template-columns: 180px 1fr; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px;
}
.mock-side-col { display: flex; flex-direction: column; gap: 8px; }
.mock-side-item { height: 26px; border-radius: 7px; background: var(--bg-soft); }
.mock-side-item.hi { background: var(--primary-soft); border: 1px solid #d6e4fb; }
.mock-main { display: flex; flex-direction: column; gap: 10px; }
.mock-line { height: 14px; border-radius: 6px; background: var(--bg-soft); }
.mock-line.w70 { width: 70%; }
.mock-line.w50 { width: 50%; }
.mock-card { height: 72px; border-radius: var(--radius-sm); background: linear-gradient(135deg, #f6f8fb, #eef3fb); border: 1px solid var(--border); }
.mock-float {
  position: absolute; right: -18px; bottom: -22px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.mock-float .pf { color: var(--success); font-size: 26px; font-weight: 800; }
.mock-float .pl { font-size: 12px; color: var(--text-muted); line-height: 1.3; }

/* ───────────────────────── İstatistik çubuğu ───────────────────────── */
.stats-band { background: linear-gradient(135deg, var(--primary), #02357f); border-radius: var(--radius); margin: -34px auto 0; padding: 40px 48px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.stat-num small { font-size: 20px; }
.stat-label { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }

/* ───────────────────────── Bölümler ───────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.section-sub { margin-top: 10px; color: var(--text-muted); font-size: 16px; }

/* ───────────────────────── Kurum kartları ───────────────────────── */
.grid-kurum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kurum-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: flex; flex-direction: column; gap: 12px;
}
.kurum-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9dcf7; }
.kurum-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft), #dde9fb);
  color: var(--primary); font-weight: 800; font-size: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.kurum-name { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.3; }
.kurum-name a { color: inherit; }
.kurum-name a:hover { color: var(--primary); }
.kurum-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.kurum-badge {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  background: var(--bg-soft); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 999px;
}
.kurum-badge.hl { color: var(--primary); background: var(--primary-soft); border-color: #d6e4fb; }

/* ───────────────────────── Özellik kartları ───────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature-desc { font-size: 14px; color: var(--text-muted); }

/* ───────────────────────── Deneme vitrini ───────────────────────── */
.deneme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deneme-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.deneme-tag {
  align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--primary); background: var(--primary-soft); border-radius: 999px; padding: 4px 10px;
}
.deneme-title { font-size: 16px; font-weight: 700; color: var(--text); }
.deneme-meta { font-size: 13px; color: var(--text-muted); }
.deneme-cta { margin-top: 6px; }

/* ───────────────────────── CTA bandı ───────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius); padding: 56px 48px; text-align: center; color: #fff;
}
.cta-band h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.cta-band p { margin: 12px auto 26px; max-width: 560px; color: rgba(255, 255, 255, 0.9); font-size: 16px; }

/* ───────────────────────── Alt bilgi ───────────────────────── */
.site-footer { background: #0f1f3d; color: #c3d0e4; margin-top: 72px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 56px 0 40px;
}
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #c3d0e4; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--secondary), var(--primary)); }
.footer-brand .brand-text { color: #fff; }
.footer-desc { font-size: 14px; color: #9fb0c9; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 13px; color: #8ba0bd; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ───────────────────────── Alt sayfa başlığı / breadcrumb ───────────────────────── */
.page-hero { background: linear-gradient(180deg, var(--bg-soft), var(--bg)); padding: 56px 0 32px; }
.page-hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.page-hero .page-sub { margin-top: 10px; color: var(--text-muted); max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: #b8c4d4; }

/* ───────────────────────── Arama + harf filtresi ───────────────────────── */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 26px; }
.search-box { position: relative; flex: 1; min-width: 240px; }
.search-box input {
  width: 100%; padding: 13px 18px 13px 44px; font-size: 15px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  outline: none; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box input:focus { border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(46, 124, 246, 0.14); }
.search-box .search-ic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.letter-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.letter-btn {
  min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s ease;
}
.letter-btn:hover { border-color: var(--secondary); color: var(--primary); }
.letter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.letter-btn.all { font-weight: 600; }

/* ───────────────────────── Mevzuat listesi (kurum detay) ───────────────────────── */
.cat-group {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.cat-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cat-title .cat-count {
  font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border-radius: 999px; padding: 2px 9px;
}
.cat-list { list-style: none; }
.cat-item {
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px;
  border: 1px solid var(--border); background: var(--bg-soft);
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.cat-item .cat-ic { color: var(--secondary); }
.empty-cat { color: var(--text-muted); font-size: 14px; font-style: italic; }

/* ───────────────────────── Unvan çipleri ───────────────────────── */
.unvan-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 600; color: var(--text);
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }

/* ───────────────────────── Fiyat sayfası ───────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--primary); box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured .price-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.03em;
}
.price-name { font-size: 18px; font-weight: 800; color: var(--text); }
.price-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.price-amount { margin: 20px 0 4px; font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.price-amount small { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.price-feat { list-style: none; margin-bottom: 26px; display: flex; flex-direction: column; gap: 12px; }
.price-feat li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.price-feat .pf-ok { color: var(--success); font-weight: 800; }
.price-feat .pf-mut { color: #c0c9d6; }

/* ───────────────────────── Giriş sayfası ───────────────────────── */
.auth-wrap { display: flex; align-items: center; justify-content: center; padding: 72px 24px; }
.auth-card {
  width: 100%; max-width: 460px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 36px; text-align: center;
}
.auth-logo { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.auth-card h1 { font-size: 24px; font-weight: 800; color: var(--text); }
.auth-card .auth-sub { color: var(--text-muted); font-size: 15px; margin: 8px 0 26px; }
.auth-note { margin-top: 18px; font-size: 13px; color: var(--text-muted); }
.auth-stores { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.store-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; color: var(--text); font-weight: 700; font-size: 13px; }
.store-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.store-btn .st-ic { font-size: 20px; }

/* ───────────────────────── SSS ───────────────────────── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-size: 16px; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q .faq-arrow { transition: transform 0.2s ease; color: var(--secondary); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--text-muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }

/* ───────────────────────── Boş durum ───────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ───────────────────────── Duyarlılık ───────────────────────── */
@media (max-width: 1024px) {
  .grid-kurum, .feature-grid, .deneme-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .mock-float { right: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 16px 24px; gap: 6px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .grid-kurum, .feature-grid, .deneme-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 8px; }
  .hero-title { font-size: 32px; }
  .stats-band { padding: 32px 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
  .cta-band h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero h1 { font-size: 26px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 24px; }
}
