/* Akıllı Hesaplama - Scientific palette & dynamic backgrounds (mobile-first) */

:root {
  --bg: #f0f7ff;
  --bg-mesh-1: #e8f4fc;
  --bg-mesh-2: #f5f0ff;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0ea5e9;
  --accent-deep: #0369a1;
  --accent-light: #e0f2fe;
  --coral: #f43f5e;
  --coral-light: #ffe4e6;
  --teal: #0d9488;
  --teal-light: #ccfbf1;
  --violet: #7c3aed;
  --violet-light: #ede9fe;
  --border: #e2e8f0;
  --shadow: 0 2px 12px rgba(14, 165, 233, 0.08);
  --shadow-card: 0 4px 20px rgba(6, 105, 161, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Dynamic background - base */
.body-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.body-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-mesh-1) 0%, var(--bg) 40%, var(--bg-mesh-2) 100%);
  opacity: 1;
}

.body-bg::after {
  content: '';
  position: absolute;
  width: 80vmax;
  height: 80vmax;
  top: -30vmax;
  right: -20vmax;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.body-bg .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.body-bg .shape-1 {
  width: 50vmin;
  height: 50vmin;
  background: rgba(124, 58, 237, 0.15);
  top: 10%;
  left: -10%;
  animation: float 15s ease-in-out infinite reverse;
}

.body-bg .shape-2 {
  width: 40vmin;
  height: 40vmin;
  background: rgba(13, 148, 136, 0.12);
  bottom: 20%;
  right: -5%;
  animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.05); }
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
}

/* Logo görseli: hesap makinesi ikonu + Akıllı Hesaplama (SEO, Google SERP) */
.site-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

/* Header kategori menüsü – sağ üst, hover’da dropdown + tema çizgisi */
.header-nav {
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
  .site-header .hamburger {
    display: none;
  }
}

.header-nav-item {
  position: relative;
}

.header-nav-trigger {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.header-nav-trigger::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.header-nav-item:hover .header-nav-trigger {
  color: var(--accent-deep);
}
.header-nav-item:hover .header-nav-trigger::after {
  transform: scaleX(1);
}

.header-nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  padding-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
  z-index: 150;
}
.header-nav-item:hover .header-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav-dropdown-inner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), 0 8px 24px rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border);
  padding: 0.5rem 0;
  border-top: 3px solid var(--accent);
}
.header-nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.header-nav-dropdown a:hover {
  background: var(--accent-light);
  color: var(--accent-deep);
}

.hamburger {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.hamburger:hover {
  background: var(--accent-light);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hamburger overlay menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 201;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu-overlay.visible .menu-panel {
  transform: translateX(0);
}

.menu-panel h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-deep);
  margin: 1rem 0 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.menu-panel h3:first-child {
  margin-top: 0;
}

.menu-panel h3 a {
  color: var(--accent-deep);
  text-decoration: none;
  font-weight: 600;
}
.menu-panel h3 a:hover {
  text-decoration: underline;
}

.menu-panel a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  padding-left: 0.5rem;
  transition: background 0.15s, color 0.15s;
}

.menu-panel a:hover {
  background: var(--accent-light);
  color: var(--accent-deep);
}

/* Main hero + search */
.hero {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  display: none;
}

.search-wrap {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  position: relative;
  padding: 0.5rem;
  border-radius: 32px;
  box-shadow:
    0 4px 24px rgba(14, 165, 233, 0.18),
    0 8px 40px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(14, 165, 233, 0.06);
}

.search-input {
  width: 100%;
  padding: 1.15rem 1.35rem 1.15rem 3.25rem;
  font-size: 1.1rem;
  border: 2px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow:
    0 2px 12px rgba(14, 165, 233, 0.1),
    0 6px 28px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.search-input:hover {
  border-color: #b8d4e8;
  box-shadow:
    0 6px 28px rgba(14, 165, 233, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-light),
    0 8px 32px rgba(14, 165, 233, 0.25),
    0 12px 48px rgba(0, 0, 0, 0.1);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  pointer-events: none;
}

/* Live search results */
.search-results {
  max-width: 580px;
  margin: 0 auto 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: none;
  border: 1px solid var(--border);
}

.search-results.visible {
  display: block;
}

.search-results ul {
  list-style: none;
}

.search-results a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.search-results a:last-child {
  border-bottom: none;
}

.search-results .no-results {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-results .search-enter-hint {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--accent-light);
  border-bottom: 1px solid var(--border);
  list-style: none;
}

.search-results .search-enter-hint strong {
  color: var(--accent);
}

.search-results a:hover {
  background: var(--accent-light);
}

.search-results .result-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Bubbles */
.bubbles-section {
  padding: 0 1.25rem 2rem;
}

.bubbles-section h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
  text-align: center;
}

.bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}

.bubble {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.bubble:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-deep);
  transform: translateY(-1px);
}

/* Calculator page layout */
.page-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.5rem;
}

.page-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.page-header .breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.page-header .breadcrumb a:hover {
  text-decoration: underline;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.content-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.content-wrap p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* Steps guide - dynamic background */
.steps-guide {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(13, 148, 136, 0.2);
  position: relative;
  overflow: hidden;
}

.steps-guide::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.steps-guide h2 {
  font-size: 1.15rem;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  position: relative;
}

.steps-guide ol {
  margin: 0;
  padding-left: 1.25rem;
  position: relative;
}

.steps-guide li {
  margin-bottom: 0.6rem;
  color: var(--text);
  line-height: 1.5;
}

/* Article section - before FAQ */
.article-section {
  background: linear-gradient(180deg, var(--violet-light) 0%, rgba(237, 233, 254, 0.5) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(124, 58, 237, 0.15);
}

.article-section h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.article-section p {
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* Table of contents card (İçindekiler) */
.toc-card {
  background: linear-gradient(180deg, var(--teal-light) 0%, rgba(204, 251, 241, 0.4) 100%);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: var(--shadow-card);
}

.toc-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(13, 148, 136, 0.25);
}

.toc-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc-card__list li {
  margin-bottom: 0.65rem;
  padding-left: 0;
}

.toc-card__list li:last-child {
  margin-bottom: 0;
}

.toc-card__list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  display: inline-block;
  padding: 0.35rem 0;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background-color 0.15s ease;
}

.toc-card__list a:hover {
  color: var(--accent-deep);
  background-color: rgba(255, 255, 255, 0.6);
}

.toc-card__list a::before {
  content: '›';
  margin-right: 0.5rem;
  color: var(--teal);
  font-weight: 700;
}

/* Faiz Hesaplama Hızlı Özet */
.quick-summary {
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(224, 242, 254, 0.8) 100%);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid rgba(14, 165, 233, 0.25);
  box-shadow: var(--shadow-card);
}

.quick-summary__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.quick-summary__list {
  list-style: none;
  margin: 0 0 0.75rem 0;
  padding: 0;
}

.quick-summary__list li {
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.quick-summary__list li:last-child {
  margin-bottom: 0;
}

.quick-summary__note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Benzer hesaplama araçları - kart grid */
.internal-links-section {
  margin: 2.5rem 0;
}

.internal-links-section h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.internal-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .internal-links-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.internal-link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(6, 105, 161, 0.06);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.internal-link-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
  background: var(--accent-light);
}

.internal-link-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--teal-light) 100%);
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 700;
}

.internal-link-card__text {
  flex: 1;
}

/* Kategori sayfası – hero ve kart grid */
.category-hero {
  padding: 2rem 1rem 2.5rem;
  text-align: center;
}
.category-hero .content-wrap {
  max-width: 640px;
}
.category-hero .breadcrumb {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.category-hero .breadcrumb a {
  color: var(--accent-deep);
  text-decoration: none;
}
.category-hero .breadcrumb a:hover {
  text-decoration: underline;
}
.category-hero h1 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.category-hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.category-wrap {
  padding-bottom: 3rem;
  max-width: 900px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
@media (min-width: 520px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 780px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.category-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(6, 105, 161, 0.06);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
  background: var(--accent-light);
}
.category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--teal-light) 100%);
  color: var(--accent-deep);
  font-size: 1.25rem;
}
.category-card__body {
  flex: 1;
  min-width: 0;
}
.category-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.category-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}
.category-card__arrow {
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 600;
}

.section-anchor,
#sikca-sorulan-sorular {
  scroll-margin-top: 5rem;
}

/* Faiz getirisi bar grafik */
.faiz-grafik-wrapper {
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.faiz-grafik-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 1.25rem;
  text-align: center;
}

.faiz-grafik {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  min-height: 180px;
  padding: 0 0.5rem;
}

.faiz-grafik__bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 120px;
}

.faiz-grafik__bar {
  width: 100%;
  max-width: 56px;
  height: calc(var(--h, 50) * 1.6px);
  min-height: 28px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease;
}

@media (min-width: 480px) {
  .faiz-grafik__bar {
    height: calc(var(--h, 50) * 2px);
    min-height: 32px;
  }
}

.faiz-grafik__bar:hover {
  transform: scaleY(1.02);
}

.faiz-grafik__bar--1 {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.3);
}

.faiz-grafik__bar--2 {
  background: linear-gradient(180deg, var(--teal) 0%, #0f766e 100%);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.faiz-grafik__bar--3 {
  background: linear-gradient(180deg, var(--violet) 0%, #5b21b6 100%);
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.faiz-grafik__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.faiz-grafik__deger {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Basit faiz vs bileşik faiz karşılaştırma grafiği */
.faiz-karsilastirma-wrapper {
  background: linear-gradient(180deg, var(--surface) 0%, var(--violet-light) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-card);
}

.faiz-karsilastirma-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.faiz-karsilastirma-legend__item--basit::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  margin-right: 0.35rem;
  vertical-align: middle;
}

.faiz-karsilastirma-legend__item--bilesik::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--teal) 0%, #0f766e 100%);
  margin-right: 0.35rem;
  vertical-align: middle;
}

.faiz-karsilastirma {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  min-height: 200px;
  padding: 0 0.5rem;
}

.faiz-karsilastirma__group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 100px;
}

.faiz-karsilastirma__vade {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.faiz-karsilastirma__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-bottom: 0.35rem;
}

.faiz-karsilastirma__bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.faiz-karsilastirma__bar {
  width: 100%;
  min-width: 20px;
  max-width: 36px;
  height: calc(var(--h, 50) * 1.9px);
  min-height: 20px;
  border-radius: 6px 6px 0 0;
  transition: transform 0.2s ease;
}

.faiz-karsilastirma__bar:hover {
  transform: scaleY(1.03);
}

.faiz-karsilastirma__bar--basit {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35);
}

.faiz-karsilastirma__bar--bilesik {
  background: linear-gradient(180deg, var(--teal) 0%, #0f766e 100%);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.35);
}

.faiz-karsilastirma__degerler {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}

.faiz-karsilastirma__degerler span:first-child {
  color: var(--accent-deep);
}

.faiz-karsilastirma__degerler span:last-child {
  color: #0f766e;
}

.faiz-karsilastirma-aciklama {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
  margin: 1.25rem 0 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
}

@media (min-width: 480px) {
  .faiz-karsilastirma__bar {
    height: calc(var(--h, 50) * 2px);
    min-height: 24px;
  }
}

/* Calculator card */
.calc-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.calc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}

/* Altın sayfası: sepet formun içinde, aynı kartta */
.radio-group.radio-group-yon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.radio-group-yon .radio-label:first-child {
  order: 1;
}
.radio-group-yon .radio-label:last-child {
  order: 2;
}

/* Altın: sol = sepet listesi, sağ = form (eşit genişlik) */
.altin-form-sepet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.altin-sepet-sol {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  min-height: 180px;
}
.altin-form-sag {
  flex: 1 1 320px;
  min-width: 0;
}
.altin-sepet-sol .altin-sepet-title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--text);
}
.altin-sepet-aciklama {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.altin-sepet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 260px;
  overflow-y: auto;
  min-height: 2rem;
}
.altin-sepet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.4rem;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.altin-sepet-item-label {
  flex: 1;
  min-width: 0;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.altin-sepet-item-miktar {
  width: 4rem;
  padding: 0.3rem 0.4rem;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}
.altin-sepet-item-miktar:focus {
  outline: none;
  border-color: var(--accent);
}
.altin-sepet-item-suffix {
  color: var(--text);
}
.altin-sepet-item-sil {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.altin-sepet-item-sil:hover {
  background: var(--accent-light);
  color: var(--accent-deep);
  border-color: var(--accent);
}
.altin-sepet-bos {
  margin: 0;
  padding: 0.6rem 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
@media (max-width: 700px) {
  .altin-sepet-sol {
    flex: 1 1 100%;
    order: 2;
    min-height: 140px;
  }
  .altin-form-sag {
    order: 1;
  }
}
.altin-sepet-sonuc {
  margin-top: 0.5rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}
.btn-sepete-ekle {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--accent);
  background: var(--accent-light);
  color: var(--accent-deep);
  transition: background 0.2s, border-color 0.2s;
}
.btn-sepete-ekle:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent-deep);
}

.calc-card h2 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 400;
  cursor: pointer;
}
.radio-label input { width: auto; }

.calc-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.fiyat-bilgi {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
}
.fiyat-bilgi.visible { color: var(--teal); }

.form-group .input-suffix {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.veri-tarih-bilgi {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.api-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.api-notice .btn-yenile {
  margin-left: 0.35rem;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.api-notice .btn-yenile:hover { background: var(--accent-deep); }

/* Döviz aranabilir liste (combo) */
.doviz-combo {
  position: relative;
}
.doviz-combo .doviz-combo-search {
  display: none;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
  background: var(--surface);
}
.doviz-combo.open .doviz-combo-search {
  display: block;
}
.doviz-combo-search:focus {
  outline: none;
  border-color: var(--accent);
}
.doviz-combo-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.doviz-combo-trigger:hover { border-color: var(--accent); }
.doviz-combo-label { flex: 1; }
.doviz-combo-arrow { font-size: 0.7rem; color: var(--text-muted); }
.doviz-combo-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 2px;
  max-height: 220px;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  z-index: 10;
}
.doviz-combo-option {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.doviz-combo-option:last-child { border-bottom: none; }
.doviz-combo-option:hover,
.doviz-combo-option.selected { background: var(--accent-light); color: var(--accent-deep); }

.form-group-swap { margin: 0.5rem 0; }
.btn-swap {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  color: var(--text-muted);
}
.btn-swap:hover { border-color: var(--accent); color: var(--accent-deep); }

.hizli-secim { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.hizli-secim-label { font-size: 0.85rem; color: var(--text-muted); margin-right: 0.25rem; }
.btn-hizli {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}
.btn-hizli:hover { background: var(--accent-light); border-color: var(--accent); }

/* Button group: primary centered, secondary right & smaller */
.calc-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.calc-buttons-primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.calc-buttons-secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}

.btn-hesapla {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.btn-hesapla:hover {
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-hesapla:active {
  transform: scale(0.98);
}

.btn-sifirla {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
}

.btn-sifirla:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.hedef-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-baraj {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}

.btn-baraj:hover {
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.btn-baraj:active {
  transform: scale(0.98);
}

/* Secondary buttons: smaller, right-aligned */
.btn-paylas, .btn-sitene-ekle, .btn-hata-bildir {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-paylas:hover, .btn-sitene-ekle:hover, .btn-hata-bildir:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.calc-card .backlink {
  display: none;
}

/* İki sütunlu hesaplama (kredi yapılandırma vb.) */
/* TYT tablo: satırda doğru/yanlış aynı hizada */
.tyt-table-wrap {
  margin: 1.25rem 0;
  overflow-x: auto;
}
.tyt-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 165, 233, 0.2);
}
.tyt-table th,
.tyt-table td {
  padding: 0.75rem 0.5rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}
.tyt-table th {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1.35;
  min-width: 0;
}
@media (max-width: 520px) {
  .tyt-table th { font-size: 0.8rem; }
  .tyt-soru { font-size: 0.7rem; }
  .tyt-table input[type="number"] { max-width: 3.5rem; padding: 0.4rem 0.25rem; font-size: 0.9rem; }
}
.tyt-table th:not(:last-child),
.tyt-table td:not(:last-child) {
  border-right: 1px solid rgba(14, 165, 233, 0.2);
}
.tyt-table tbody tr:last-child td {
  border-bottom: none;
}
.tyt-soru {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}
.tyt-table label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.tyt-table input[type="number"] {
  width: 100%;
  max-width: 4.5rem;
  margin: 0 auto;
  padding: 0.5rem 0.35rem;
  font-size: 0.95rem;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.tyt-table input[type="number"]::placeholder {
  font-size: 0.85rem;
  opacity: 0.8;
}
.tyt-obp-wrap {
  margin-bottom: 1rem;
}
.tyt-obp-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.tyt-obp-wrap .tyt-obp-input {
  width: 10rem;
  min-width: 8rem;
  box-sizing: border-box;
}
.tyt-obp-checkboxes {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tyt-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
}
.tyt-checkbox input {
  width: auto;
}
.tyt-net-hint {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.tyt-obp-acik {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.tyt-obp-live {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 500;
}
.tyt-obp-live.visible {
  color: var(--accent-deep);
}
.result-obp-wrap {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.result-obp-wrap p {
  margin-bottom: 0.35rem;
}

.calc-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0;
}
@media (max-width: 640px) {
  .calc-two-cols {
    grid-template-columns: 1fr;
  }
}
.calc-col {
  padding: 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 165, 233, 0.2);
}
.calc-col-title {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  color: var(--accent-deep);
  font-weight: 600;
}
.result-box .result-yapilandirma-list {
  list-style: none;
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}
.result-box .result-yapilandirma-list li {
  margin-bottom: 0.35rem;
}
.result-box .result-yapilandirma-list li.result-birim-vurgu {
  font-weight: 600;
  color: var(--accent-deep);
}
.result-box .result-karzarar {
  font-weight: 600;
  margin-top: 0.5rem;
}

.result-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  display: none;
}

.result-box.visible {
  display: block;
}

/* Zaman farkı hesaplama: bitiş tarihi/saat + checkbox aynı satır */
.zaman-farki-input-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.zaman-farki-input-row input[type="date"],
.zaman-farki-input-row input[type="time"] {
  flex: 1;
  min-width: 140px;
}
.zaman-farki-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
}
.zaman-farki-checkbox input { width: auto; }
.zaman-farki-sonuc-birim { margin-bottom: 0.5rem; }
.zaman-farki-sonuc-birim:last-child { margin-bottom: 0; }
.zaman-farki-ay-aralik {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
  display: block;
}

.result-box strong {
  color: var(--text);
}

/* İlgili hesaplamalar - sayfa içi haritalandırma */
.related-tools {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.12);
}

.related-tools-title {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: var(--text);
  font-weight: 600;
}

.related-tools-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.related-tools-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.related-tools-link:hover {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.2);
}

/* FAQ section - dynamic */
.faq-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--coral-light) 0%, rgba(255, 228, 230, 0.4) 100%);
  border: 1px solid rgba(244, 63, 94, 0.15);
}

.faq-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.faq-list {
  list-style: none;
}

.faq-list li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.faq-list .faq-q {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.faq-list .faq-a {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer – fixed at bottom, full width */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  background: linear-gradient(180deg, var(--text) 0%, #0c1222 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 1rem 1.25rem;
  margin-top: auto;
}

.footer-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
  color: white;
}

.site-footer .copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

/* En son eklenen hesaplar (homepage) */
.recent-tools {
  padding: 1.25rem 1.25rem 2rem;
  max-width: 640px;
  margin: 0 auto;
}

.recent-tools h2 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-align: center;
}

.recent-tools-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.recent-tools-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}

.recent-tools-list a:hover {
  background: var(--violet-light);
  border-color: var(--violet);
  color: var(--violet);
}

/* Hata bildirimi form (iletişim) */
.feedback-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  max-width: 520px;
}

.feedback-form h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.feedback-form .form-group {
  margin-bottom: 0.9rem;
}

.feedback-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
}

.feedback-form textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-form .btn-submit {
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.25rem;
}

.feedback-form .btn-submit:hover {
  background: var(--accent-deep);
}

/* Inner pages (legal, about, contact, sitene-ekle) */
.inner-page .content-wrap {
  padding-top: 2rem;
}

.inner-page .content-wrap h2 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text);
}

/* Embed code box */
.embed-code-box {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: pre;
  margin: 1rem 0;
  border: 1px solid #334155;
}

/* Tablet and up */
@media (min-width: 640px) {
  .site-header {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 3rem 2rem 2rem;
  }

  .hero h1 {
    display: block;
    font-size: 1.75rem;
  }

  .search-input {
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    font-size: 1.05rem;
  }

  .bubbles-section {
    padding: 0 2rem 2.5rem;
  }

  .content-wrap {
    padding: 2rem 2rem 3rem;
  }

  .page-header {
    padding: 1.5rem 2rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .calc-card {
    padding: 2rem;
  }

  .steps-guide, .article-section {
    padding: 2rem;
  }

  .toc-card {
    padding: 2rem 2rem;
  }

  .menu-panel {
    max-width: 360px;
  }
}

/* ========== Discover-style article (finans-hesaplama) ========== */
.discover-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}

.discover-article__header {
  margin-bottom: 1.5rem;
}

.discover-article__header .breadcrumb {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.discover-article__header .breadcrumb a {
  color: var(--accent-deep);
  text-decoration: none;
}

.discover-article__header .breadcrumb a:hover {
  text-decoration: underline;
}

.discover-article__title {
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.discover-article__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.discover-article__hero {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.discover-article__hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.discover-article__intro {
  margin-bottom: 2.5rem;
}

.discover-article__intro p {
  margin-bottom: 1rem;
  color: var(--text);
}

.discover-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.discover-section:last-of-type {
  border-bottom: none;
}

.discover-section__title {
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.discover-section p {
  margin-bottom: 1rem;
  color: var(--text);
}

.discover-section__formula {
  background: var(--accent-light);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  margin: 1rem 0;
  font-family: ui-monospace, monospace;
}

.discover-section__bullets {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.discover-section__bullets li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.discover-section__example {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.discover-section__cta {
  margin-top: 1rem;
}

.discover-section__cta a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.discover-section__cta a:hover {
  text-decoration: underline;
}

.discover-section__img {
  margin: 1.5rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.discover-section__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.discover-cta {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 2rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--violet-light) 100%);
  border-radius: var(--radius);
}

.discover-cta__title {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.discover-cta__text {
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .discover-article {
    padding: 2rem 1.5rem 3rem;
  }

  .discover-article__title {
    font-size: 2.25rem;
  }

  .discover-article__subtitle {
    font-size: 1.25rem;
  }

  .discover-section__title {
    font-size: 1.5rem;
  }
}
