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

:root {
  /* Primary - Forest Green */
  --primary-950: #052E16;
  --primary-900: #0A3D1F;
  --primary-800: #14532D;
  --primary-700: #166534;
  --primary-600: #16A34A;
  --primary-500: #22C55E;
  --primary-400: #4ADE80;
  --primary-300: #86EFAC;
  --primary-100: #DCFCE7;
  --primary-50: #F0FDF4;

  /* Amber */
  --amber-700: #B45309;
  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-100: #FEF3C7;
  --amber-50: #FFFBEB;

  /* Neutral */
  --gray-950: #0A0A0B;
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;

  /* Accent */
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-50: #EFF6FF;
  --red-500: #EF4444;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.03);
  --shadow-green: 0 4px 14px rgba(22,163,74,0.2);

  /* Radii */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Timing */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 200ms;
  --duration-md: 300ms;
  --duration-lg: 500ms;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

select, input {
  font-family: inherit;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary-600);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  transition: top var(--duration) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ========== TOP BAR (Ahlatcı) ========== */
.top-bar {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}

.ahlatci-logo {
  display: block;
  height: 30px;
  width: auto;
}

.top-bar.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.top-bar-line {
  height: 3px;
  background: linear-gradient(90deg, #0E5230, #1a7a45);
}

/* ========== HEADER ========== */
.header {
  background: var(--primary-800);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--duration-md) var(--ease);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--duration) var(--ease);
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.nav-login {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 16px;
  border-radius: var(--radius-full);
}

.nav-login:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.24);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease);
}

.hamburger:hover {
  background: rgba(255,255,255,0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration-md) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(160deg, var(--primary-950) 0%, var(--primary-800) 40%, var(--primary-700) 100%);
  padding: 88px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 42px
    ),
    radial-gradient(ellipse 600px 600px at 80% 20%, rgba(74,222,128,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1 1 0;
  min-width: 0;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 18px 8px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-400);
  flex-shrink: 0;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
}

/* Summary Card (Hero right side) */
.summary-card {
  width: 380px;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.08);
  animation: fadeSlideIn 0.6s var(--ease-out) both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.summary-card-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--primary-600) 0%, #0EA5E9 60%, var(--blue-500) 100%);
}

.summary-card-body {
  padding: 32px 28px 36px;
}

.summary-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  margin-bottom: 28px;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.summary-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-item-icon.green-bg { background: #DCFCE7; }
.summary-item-icon.blue-bg  { background: #DBEAFE; }
.summary-item-icon.amber-bg { background: #FEF3C7; }
.summary-item-icon.gray-bg  { background: var(--gray-100); }

.summary-item-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.summary-item-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.summary-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 20px 0;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
  display: block;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  line-height: 1.4;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 1px 3px rgba(22,163,74,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn-primary:hover {
  background: #15903F;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(22,163,74,0.2);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

.btn-ghost {
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.btn-hero-white {
  color: #0E5230;
  background: var(--white);
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  font-weight: 600;
  padding: 14px 28px;
}

.btn-hero-white:hover {
  background: var(--gray-50);
  box-shadow: 0 4px 12px rgba(0,0,0,0.22);
  transform: translateY(-1px);
}

.btn-hero-white:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0,0,0,0.14);
}

.btn-white {
  background: var(--white);
  color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ========== SECTIONS ========== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--gray-50);
  position: relative;
}

.section-tablo-compact {
  padding-top: 48px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ========== NEDIR SECTION ========== */
.nedir-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.nedir-content {
  flex: 1 1 0;
  min-width: 0;
}

.nedir-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #9DA534;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.nedir-line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #9DA534;
  border-radius: 1px;
}

.nedir-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.nedir-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.nedir-desc:last-of-type {
  margin-bottom: 0;
}

.nedir-desc strong {
  color: var(--gray-900);
  font-weight: 700;
}

.nedir-card-wrap {
  flex: 0 0 auto;
  width: 480px;
  display: flex;
  align-items: center;
  padding-top: 40px;
}

.nedir-card {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  background: #F2FAF5;
  border: 1px solid #B8DFC9;
  border-radius: 16px;
  padding: 24px 20px 24px 28px;
  text-decoration: none;
  transition: box-shadow var(--duration-md) var(--ease), transform var(--duration-md) var(--ease);
}

.nedir-card:hover {
  box-shadow: 0 4px 12px rgba(26,124,74,0.1);
  transform: translateY(-2px);
}

.nedir-card-text {
  flex: 1;
}

.nedir-card-label {
  font-size: 14px;
  font-weight: 500;
  color: #0E5230;
  line-height: 1.65;
}

.nedir-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1A7C4A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(26,124,74,0.3);
  transition: background var(--duration) var(--ease), box-shadow var(--duration-md) var(--ease);
}

.nedir-card:hover .nedir-card-arrow {
  background: #15693E;
  box-shadow: 0 4px 10px rgba(26,124,74,0.4);
}

/* ========== NASIL ÇALIŞIR ========== */
.nasil-header {
  text-align: center;
  margin-bottom: 48px;
}

.nasil-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #9DA534;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.nasil-line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #9DA534;
  border-radius: 1px;
}

.nasil-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.nasil-connector-line {
  height: 2px;
  background: linear-gradient(90deg, #B8DFC9 0%, #AECFED 100%);
  margin: 0 auto 0;
  position: relative;
  top: 120px;
  z-index: 0;
  width: 75%;
  left: 12.5%;
}

.nasil-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.nasil-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--duration-md) var(--ease), box-shadow var(--duration-md) var(--ease), transform var(--duration-md) var(--ease);
}

.nasil-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 4px 16px rgba(16,24,40,0.06), 0 1px 3px rgba(16,24,40,0.08);
  transform: translateY(-3px);
}

.nasil-card-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.nasil-card-num.green {
  background: #E6F5EE;
  border: 2px solid #B8DFC9;
  color: #13693D;
}

.nasil-card-num.blue {
  background: #EAF2FB;
  border: 2px solid #AECFED;
  color: #1148A0;
}

.nasil-card-num.light-blue {
  background: #F3F8FD;
  border: 2px solid #AECFED;
  color: #1558A8;
}

.nasil-card-body {
  flex: 1;
}

.nasil-card-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nasil-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.45;
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.nasil-card-body p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========== BANNER GRADIENT + DATE ========== */
.banner-gradient {
  height: 100px;
  background: radial-gradient(ellipse at right center, rgba(26,124,74,0.12) 0%, rgba(26,124,74,0) 70%);
}

.banner-date {
  background: linear-gradient(135deg, #0B2F5E 0%, #1148A0 100%);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.banner-date::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at right center, rgba(26,124,74,0.2) 0%, transparent 60%);
  pointer-events: none;
}

.banner-date-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-left: -12px;
}

.banner-date-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-date-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.banner-date-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.banner-date-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.banner-date-desc strong {
  color: var(--white);
  font-weight: 700;
}

/* ========== HESAPLAMA LAYOUT ========== */
.hesaplama-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.hesaplama-content {
  flex: 1 1 0;
  min-width: 0;
}

.hesaplama-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #9DA534;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hesaplama-line {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #9DA534;
  border-radius: 1px;
}

.hesaplama-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hesaplama-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* (removed old hesaplama-info styles) */

/* Right Panel */
.hesaplama-panel {
  flex: 0 0 auto;
  width: 520px;
}

.hesaplama-panel-inner {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* Formula Diagram */
.formula-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

.formula-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.formula-box {
  padding: 14px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  line-height: 1.4;
}

.formula-op {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-400);
  flex-shrink: 0;
}

.formula-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

.formula-eq-sign {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-700);
}

.formula-result-box {
  padding: 16px 28px;
  background: linear-gradient(135deg, #E6F5EE, #F2FAF5);
  border: 2px solid #B8DFC9;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-800);
  text-align: center;
  line-height: 1.4;
}

.formula-divider {
  border-top: 2px dashed var(--gray-200);
  margin: 4px 0 16px;
}

.formula-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-400);
}

/* Rule Card (left side) */
.hesaplama-rule-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  padding: 20px;
  background: #F2FAF5;
  border: 1px solid #B8DFC9;
  border-radius: var(--radius-md);
}

.hesaplama-rule-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E6F5EE;
  border: 1px solid #B8DFC9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hesaplama-rule-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0E5230;
  margin-bottom: 2px;
}

.hesaplama-rule-text {
  font-size: 13px;
  color: #0E5230;
  line-height: 1.5;
}

/* Merkezi Sistem Notu */
.merkezi-note-wrapper {
  background: var(--gray-50);
  padding: 48px 0;
  margin-top: 0;
}

.merkezi-note-wrapper .container {
  max-width: 1120px;
}

.merkezi-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16,24,40,0.06), 0 1px 3px rgba(16,24,40,0.08);
}

.merkezi-note-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #EAF2FB;
  border: 1px solid #AECFED;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.merkezi-note-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1148A0;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.merkezi-note-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* (removed old form/result styles - now using formula diagram) */

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: -0.1px;
}

.form-group input,
.form-group select {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-group input:hover,
.form-group select:hover {
  border-color: var(--gray-300);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group select:disabled {
  background-color: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
  border-color: var(--gray-200);
}

/* Calc Result */
.calc-result {
  text-align: center;
  padding: 32px;
  margin-top: 24px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-100);
  animation: fadeUp var(--duration-md) var(--ease-out);
}

.calc-result-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-result-value {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-700);
  letter-spacing: -2px;
  line-height: 1;
}

.calc-result-unit {
  font-size: 14px;
  color: var(--gray-500);
  margin: 6px 0 16px;
}

.calc-result-status {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.calc-result-status.status-green {
  background: var(--primary-100);
  color: var(--primary-700);
}

.calc-result-status.status-amber {
  background: var(--amber-100);
  color: var(--amber-700);
}

/* ========== ESASLAR (Fatura Düzenleme) ========== */
.esaslar-header {
  margin-bottom: 32px;
}

.esaslar-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.esaslar-line {
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--primary-600);
  border-radius: 2px;
}

.esaslar-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.esaslar-quote {
  border-left: none;
  border-top: 3px solid #9DA534;
  padding: 18px 24px;
  margin-bottom: 36px;
  font-size: 14px;
  color: #344054;
  line-height: 1.7;
  background: #F8F9FA;
  border-radius: 0;
}

.esaslar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.esaslar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-md) var(--ease), box-shadow var(--duration-md) var(--ease), transform var(--duration-md) var(--ease);
}

.esaslar-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.esaslar-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.esaslar-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.esaslar-num.green {
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1.5px solid var(--primary-300);
}

.esaslar-num.amber {
  background: var(--amber-100);
  color: var(--amber-700);
  border: 1.5px solid #FCD34D;
}

.esaslar-card-header h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.esaslar-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
}

.esaslar-card p strong {
  color: var(--gray-800);
  font-weight: 600;
}

.esaslar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-top: 20px;
  width: fit-content;
}

.esaslar-badge.green {
  background: var(--primary-50);
  color: var(--primary-700);
  border: 1px solid var(--primary-100);
}

.esaslar-badge.amber {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid var(--amber-100);
}

.esaslar-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.esaslar-badge.green .esaslar-badge-dot {
  background: var(--primary-600);
}

.esaslar-badge.amber .esaslar-badge-dot {
  background: var(--amber-600);
}

/* ========== LIMIT HEADER CARD ========== */
.limit-header-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 32px 24px;
  margin-bottom: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.limit-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #9DA534;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.limit-header-line {
  display: inline-block;
  width: 20px;
  height: 2.5px;
  background: #9DA534;
  border-radius: 2px;
}

.limit-header-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.limit-header-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 560px;
}

.limit-kademe-section {
  padding-top: 0;
  border-top: none;
  margin-bottom: 20px;
}

.limit-kademe-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.limit-kademe-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.limit-kademe-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--radius);
}

.limit-kademe-box.green {
  background: #F0FDF4;
  border: 1px solid #DCFCE7;
}

.limit-kademe-box.amber {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
}

.limit-kademe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.limit-kademe-dot.green { background: var(--primary-600); }
.limit-kademe-dot.amber { background: var(--amber-500); }

.limit-kademe-box strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.limit-kademe-box.green strong { color: var(--primary-700); }
.limit-kademe-box.amber strong { color: var(--amber-700); }

.limit-kademe-box span {
  font-size: 13px;
  line-height: 1.5;
}

.limit-kademe-box.green span { color: var(--primary-700); opacity: 0.8; }
.limit-kademe-box.amber span { color: var(--amber-700); opacity: 0.8; }

.limit-all-header {
  display: none;
}

.limit-all-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.limit-search-box {
  position: relative;
  width: 200px;
}

.limit-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.limit-search-box input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--gray-900);
  background: var(--white);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.limit-search-box input::placeholder {
  color: var(--gray-400);
}

.limit-search-box input:hover {
  border-color: var(--gray-300);
  background: var(--gray-50);
}

.limit-search-box input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.08);
  background: var(--white);
}

/* Table Title Bar */
.table-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.15px;
}

.table-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-title-bar svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.table-title-bar .limit-search-box {
  width: 180px;
}

.table-title-bar .limit-search-box input {
  height: 34px;
  font-size: 13px;
}

/* No Result */
.table-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 64px 24px;
  font-size: 14px;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

.table-no-result svg {
  color: var(--gray-300);
  opacity: 0.5;
}

.no-result-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.no-result-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-500);
}

.no-result-text span {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.5;
}

.limit-kademe-label {
  margin-bottom: 10px;
}

/* ========== QUERY CARD ========== */
.query-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.query-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--gray-400);
}

.query-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.2px;
}

.query-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* ========== RESULT CARD ========== */
.result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  animation: fadeUp var(--duration-md) var(--ease-out);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
}

.result-city {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
}

.result-district {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 2px;
  display: block;
}

.result-detail-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--duration) var(--ease), gap var(--duration-md) var(--ease);
}

.result-detail-link:hover {
  color: var(--blue-500);
  gap: 8px;
}

.result-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-box {
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-box.green-border {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
}

.result-box.amber-border {
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
}

.result-box-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.result-box-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.result-box-unit {
  font-size: 13px;
  color: var(--gray-500);
}

/* ========== KADEME INFO ========== */
.kademe-info {
  margin-bottom: 24px;
}

.kademe-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.kademe-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.kademe-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  transition: transform var(--duration-md) var(--ease);
}

.kademe-badge:hover {
  transform: translateY(-1px);
}

.kademe-badge.green {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
}

.kademe-badge.amber {
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  color: var(--amber-700);
}

.kademe-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.kademe-badge strong {
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
  font-size: 14px;
}

.kademe-badge span {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.8;
}

/* ========== SHOW ALL LINK ========== */
.show-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 0;
  transition: color var(--duration) var(--ease), gap var(--duration-md) var(--ease);
}

.show-all-link:hover {
  color: var(--blue-500);
  gap: 8px;
}

.show-all-link svg {
  transition: transform var(--duration-md) var(--ease);
}

.show-all-link[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* ========== LIMIT TABLE ========== */
.table-wrapper {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 2px 8px rgba(0,0,0,0.02);
}

/* Custom scrollbar for table overflow */
.table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Firefox scrollbar */
.table-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) var(--gray-50);
}

.limit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  table-layout: fixed;
}

.limit-table thead {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 2;
}

.limit-table th {
  text-align: left;
  padding: 13px 24px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
  position: relative;
}

.limit-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-600);
  transition: background 180ms ease;
}

.limit-table tbody tr:last-child td {
  border-bottom: none;
}

.limit-table tbody tr:hover td {
  background: var(--gray-50);
}

.limit-table .city-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 14px;
  letter-spacing: -0.15px;
  border-left: 3px solid var(--gray-200);
  padding-left: 21px;
  transition: border-color 180ms ease;
}

.limit-table tbody tr:hover .city-name {
  border-left-color: var(--primary-500);
}

.limit-table .month-link {
  display: inline-block;
  background: var(--blue-50);
  color: var(--blue-600);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #DBEAFE;
  letter-spacing: 0.1px;
  line-height: 1.4;
  transition: background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.limit-table tbody tr:hover .month-link {
  background: #E0EDFF;
  border-color: #BFDBFE;
}

.limit-table .city-separator td {
  background: #F1F3F5;
  height: 20px;
  padding: 0;
  border-bottom: none;
}

.limit-table .city-separator:hover td {
  background: #F1F3F5;
}

.limit-table .city-name-hidden {
  border-left: 3px solid var(--gray-200);
  padding-left: 21px;
  border-bottom: 1px solid var(--gray-100);
}

.limit-table .city-header-row td {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-900);
  padding-top: 18px;
  border-bottom: 1px solid var(--gray-200);
}

.limit-table .value-green {
  color: #15803D;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.limit-table .value-amber {
  color: var(--blue-600);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}

.limit-table td:nth-child(n+3),
.limit-table th:nth-child(n+3) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Column width hints for balanced grid */
.limit-table th:first-child,
.limit-table td:first-child {
  width: 22%;
}

.limit-table th:nth-child(2),
.limit-table td:nth-child(2) {
  width: 18%;
}

.limit-table th:nth-child(3),
.limit-table td:nth-child(3) {
  width: 30%;
}

.limit-table th:nth-child(4),
.limit-table td:nth-child(4) {
  width: 30%;
}

/* ========== TABLE FOOTER NOTE ========== */
.info-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 24px;
  background: #e8f0fe;
  border: 1px solid #c5d8f8;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: #1a4b8c;
  line-height: 1.6;
}

.info-banner svg {
  flex-shrink: 0;
  color: #1a73e8;
}

.info-banner p {
  margin: 0;
}

/* ========== PARTNERS ========== */
.partners {
  padding: 64px 0;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.partners-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.partners-subtitle::before,
.partners-subtitle::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: #9DA534;
  opacity: 0.5;
}

.partners-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 40px;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid #E4E7EC;
  border-radius: 14px;
  padding: 0;
  height: 100px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.06);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration-md) var(--ease);
}

.partner-card:hover {
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.1);
  transform: translateY(-1px);
}

.partner-card img {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card svg {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
}

.partner-placeholder.red { background: #DC2626; }
.partner-placeholder.orange { background: #EA580C; }
.partner-placeholder.teal { background: #0D9488; }
.partner-placeholder.purple { background: #7C3AED; }

/* ========== CTA FOOTER ========== */
.cta-footer {
  background: linear-gradient(160deg, #9DA534 0%, #0E5230 60%, #0B2F5E 100%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.cta-footer::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 55%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(40, 176, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  gap: 8px;
}

.cta-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.cta-footer h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.cta-body {
  margin-bottom: 16px;
}

.cta-body p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-top: 4px;
}

.cta-divider {
  width: 70px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 12px auto;
}

.cta-contact {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: #0E5230;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* ========== FOOTER ========== */
.footer {
  background: #202040;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-top {
  display: flex;
  justify-content: center;
}

.footer-logo svg {
  height: 48px;
  width: auto;
}

.footer-bottom {
  text-align: center;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ========== FOCUS VISIBLE ========== */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ========== RESPONSIVE - TABLET (1024px) ========== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-inner {
    gap: 40px;
  }

  .summary-card {
    width: 340px;
  }

  .query-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 72px 0;
  }
}

/* ========== RESPONSIVE - MOBILE (768px) ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--primary-800);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.16);
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
  }

  .nav-login {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero {
    padding: 56px 0 110px;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .hero-actions {
    justify-content: center;
  }

  .summary-card {
    width: 100%;
    max-width: 400px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 26px;
  }

  .nedir-layout {
    flex-direction: column;
  }

  .nedir-card-wrap {
    width: 100%;
    padding-top: 0;
  }

  .nedir-title {
    font-size: 26px;
  }

  .nasil-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .nasil-connector-line {
    display: none;
  }

  .nasil-title {
    font-size: 26px;
  }

  .query-form {
    grid-template-columns: 1fr;
  }

  .result-values {
    grid-template-columns: 1fr;
  }

  .kademe-badges {
    grid-template-columns: 1fr;
  }

  .esaslar-grid {
    grid-template-columns: 1fr;
  }

  .esaslar-title {
    font-size: 26px;
  }

  .hesaplama-layout {
    flex-direction: column;
  }

  .hesaplama-panel {
    width: 100%;
  }

  .hesaplama-title {
    font-size: 26px;
  }

  .formula-diagram {
    flex-direction: column;
  }

  .formula-equals {
    flex-direction: column;
  }

  .cta-footer h3 {
    font-size: 22px;
  }

  .footer-inner {
    gap: 16px;
  }

  .table-wrapper {
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .limit-table {
    min-width: 460px;
  }

  .limit-table th {
    padding: 10px 10px;
    font-size: 9px;
    letter-spacing: 0.4px;
  }

  .limit-table td {
    padding: 10px 10px;
    font-size: 13px;
  }

  .limit-table .city-name {
    padding-left: 10px;
    font-size: 13px;
  }

  .limit-table .month-link {
    font-size: 10px;
    padding: 3px 8px;
  }

  .table-title-bar {
    padding: 12px 16px;
    font-size: 14px;
  }

  .limit-table .value-green,
  .limit-table .value-amber {
    font-size: 13px;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .partner-card {
    height: 88px;
  }

  .partner-card img,
  .partner-card svg {
    max-width: 120px;
    max-height: 38px;
  }

  .banner-gradient {
    height: 60px;
  }

  .banner-date-inner {
    flex-direction: column;
    text-align: center;
  }

  .result-header {
    flex-direction: column;
    gap: 12px;
  }
}

/* ========== RESPONSIVE - SMALL MOBILE (480px) ========== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  /* -- Top Bar -- */
  .top-bar-inner {
    padding: 12px 16px;
  }

  .ahlatci-logo {
    height: 24px;
  }

  .top-bar-line {
    height: 2px;
  }

  /* -- Hero -- */
  .hero {
    padding: 36px 0 90px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.3px;
  }

  .hero-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* -- Sections -- */
  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 20px;
    line-height: 1.35;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-desc {
    font-size: 14px;
  }

  /* -- Summary Card (floating form) -- */
  .summary-card {
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  }

  .summary-card-body {
    padding: 20px 16px 24px;
  }

  .summary-item-value {
    font-size: 15px;
  }

  /* -- Query/Calc Forms -- */
  .query-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .query-form {
    gap: 12px;
  }

  .query-form select,
  .query-form input {
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .query-form .btn {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
  }

  .result-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .result-box {
    padding: 16px;
    border-radius: 12px;
  }

  .result-box-value {
    font-size: 26px;
  }

  .result-box-label {
    font-size: 12px;
  }

  /* -- Nedir Section -- */
  .nedir-title {
    font-size: 22px;
  }

  .nedir-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  /* -- Nasil Section (Steps) -- */
  .nasil-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nasil-title {
    font-size: 22px;
  }

  .nasil-card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .nasil-card-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nasil-card-title {
    font-size: 15px;
  }

  .nasil-card-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  /* -- Hesaplama Section -- */
  .hesaplama-title {
    font-size: 22px;
  }

  .hesaplama-panel-inner {
    padding: 18px 16px;
  }

  .calc-card {
    padding: 18px 16px;
    border-radius: 14px;
  }

  .calc-result {
    padding: 20px 14px;
    border-radius: 12px;
  }

  .calc-result-value {
    font-size: 32px;
  }

  /* -- Formula -- */
  .formula-diagram {
    gap: 8px;
  }

  .formula-box {
    padding: 10px 8px;
    font-size: 12px;
    border-radius: 8px;
  }

  /* -- Esaslar Section -- */
  .esaslar-title {
    font-size: 22px;
  }

  .esaslar-card {
    border-radius: 12px;
  }

  .esaslar-card-header {
    padding: 14px 16px;
    font-size: 14px;
  }

  .esaslar-card-body {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.7;
  }

  /* -- Kademe Badges -- */
  .kademe-badges {
    gap: 10px;
  }

  .kademe-badge {
    padding: 14px;
    border-radius: 10px;
  }

  /* -- Table Section -- */
  .limit-header-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .limit-header-title {
    font-size: 20px;
  }

  .limit-header-desc {
    font-size: 13px;
  }

  .table-search-input {
    font-size: 15px;
    padding: 12px 14px 12px 40px;
    border-radius: 10px;
  }

  .table-title-bar {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 10px 10px 0 0;
  }

  .table-wrapper {
    border-radius: 0 0 10px 10px;
  }

  .limit-table {
    min-width: 0;
    table-layout: auto;
  }

  .limit-table colgroup {
    display: none;
  }

  .limit-table th {
    padding: 8px 6px;
    font-size: 8px;
    letter-spacing: 0.3px;
    white-space: normal;
    word-break: break-word;
  }

  .limit-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  .limit-table .city-name {
    font-size: 12px;
    padding-left: 6px;
  }

  .limit-table .month-link {
    font-size: 9px;
    padding: 2px 6px;
  }

  .limit-table .value-green,
  .limit-table .value-amber {
    font-size: 11px;
  }

  /* -- Info Banner -- */
  .info-banner {
    padding: 12px 14px;
    font-size: 12px;
    border-radius: 10px;
    gap: 10px;
  }

  .info-banner svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
  }

  /* -- Partners/Logos -- */
  .partners {
    padding: 36px 0;
  }

  .partners-subtitle {
    font-size: 11px;
  }

  .partners-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .partner-card {
    height: 76px;
    border-radius: 10px;
  }

  .partner-card img,
  .partner-card svg {
    max-width: 100px;
    max-height: 32px;
  }

  /* -- CTA Footer -- */
  .cta-footer {
    padding: 36px 0;
  }

  .cta-footer h3 {
    font-size: 20px;
  }

  .cta-body p {
    font-size: 12px;
  }

  .btn-cta-white {
    padding: 12px 20px;
    font-size: 13px;
    border-radius: 8px;
  }

  /* -- Footer -- */
  .footer {
    padding: 28px 0;
  }

  .footer-logo svg {
    height: 36px;
  }

  .footer-copy {
    font-size: 11px;
  }

  /* -- Banner Date -- */
  .banner-gradient {
    height: 50px;
  }

  .banner-date-inner {
    font-size: 12px;
    gap: 4px;
  }
}

/* ========== PRINT ========== */
@media print {
  .header, .hero-wave, .hero-bg-pattern, .hamburger,
  .banner, .cta-footer, .btn, .show-all-link { display: none; }

  .hero { padding: 20px 0; background: #fff; color: #000; }
  .hero-title, .hero-desc { color: #000; }
  .section { padding: 20px 0; }

  body { font-size: 12px; }
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
