/* ===== Reset & Tokens ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

:root {
  /* Logo'dan ilham — koyu grafit ana ton, bakır/altın aksan, sıcak krem zemin */
  --ink:        #1f2125;   /* logo grisinden biraz koyu */
  --ink-soft:   #4a4d52;
  --muted:      #7a7d83;
  --line:       #e5e2dc;
  --line-soft:  #efece6;
  --bg:         #f6f3ec;   /* sıcak krem */
  --bg-2:       #fbf9f4;
  --card:       #ffffff;
  --dark:       #1a1c20;
  --dark-2:     #2a2d33;

  --accent:     #c9a14a;   /* zarif altın */
  --accent-soft:#d8c39a;

  --leaf:       #4a8c5c;   /* doğa yeşili */
  --leaf-deep:  #2c6334;   /* derin orman */
  --leaf-soft:  #a8c69a;   /* adaçayı yumuşak */
  --leaf-bg:    #eaf2e6;   /* açık yaprak zemini */

  --ihlamur:    #8fb04a;
  --su:         #6ab7e6;
  --punct:      #b9b6b0;
  --logo:       #000000;   /* JS ile bg parlaklığına göre değişir */

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --shadow-sm:  0 4px 14px rgba(20, 22, 26, .06);
  --shadow:     0 18px 50px rgba(20, 22, 26, .10);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
em { font-style: italic; font-family: var(--serif); color: var(--accent); font-weight: 500; }
em.ihlamur { color: var(--ihlamur); }
em.su { color: var(--su); }
.punct { color: var(--punct); }

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ===== Eyebrow / küçük başlık ===== */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--accent-soft); }
.badge-live {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 9px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #1f5132;
  background: #d4edda;
  border: 1px solid #6cb47e;
  border-radius: 999px;
  vertical-align: middle;
  position: relative;
}
.badge-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #2c8a4d;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(44, 138, 77, .6);
  animation: pulse-live 1.6s infinite;
}
@keyframes pulse-live {
  0% { box-shadow: 0 0 0 0 rgba(44, 138, 77, .55); }
  70% { box-shadow: 0 0 0 8px rgba(44, 138, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(44, 138, 77, 0); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 0;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn-link {
  padding: 14px 4px;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--ink);
  text-transform: none;
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 500;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 14px; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: color .2s, border-color .2s, gap .2s;
}
.btn-text:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 40px;
}
.logo img,
.logo .logo-svg { height: 31px; width: auto; }
.logo .logo-svg { color: var(--logo); display: block; }
.nav-links {
  display: flex;
  gap: 22px;
  margin: 0 auto 0 0;
  padding-left: 36px;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .01em;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .3s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: border-color .2s ease, background .2s ease;
  z-index: 60;
}
.nav-toggle:hover { border-color: var(--accent); background: #fff; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-stripes {
  position: absolute;
  top: 0; left: -10%;
  width: 60%;
  height: 100%;
  pointer-events: none;
  display: flex;
  gap: 24px;
  transform: rotate(-30deg) translateY(-15%);
  opacity: .06;
}
.hero-stripes span {
  flex: 1;
  background: var(--ink);
  border-radius: 4px;
}
.hero-stripes span:nth-child(2) { background: var(--leaf-deep); }
.hero-stripes span:nth-child(4) { background: var(--leaf); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  color: var(--ink);
  font-weight: 500;
}
.hero h1 em { font-size: .98em; }
.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 560px;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.stats {
  display: flex;
  gap: 32px;
  margin-top: 60px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.stats > div:not(.stat-divider) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stats strong {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--leaf-deep);
  letter-spacing: -0.01em;
  font-weight: 500;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.stat-divider { width: 1px; height: 36px; background: var(--line); }
.stat-note {
  display: block;
  margin-top: 4px;
  max-width: 220px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

/* Hero visual — telefon/dashboard kartı */
.hero-visual { position: relative; min-height: 460px; }
.device-card {
  background: #fff;
  border-radius: 4px;
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 360px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.device-screen {
  background: linear-gradient(180deg, var(--dark), var(--dark-2));
  border-radius: 2px;
  color: #d6d4cf;
  font-size: 14px;
  overflow: hidden;
}
.screen-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: #9b9892;
}
.dot-row { display: inline-flex; gap: 6px; }
.dot-row i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #3a3d44;
}
.dot-row i:nth-child(1) { background: #c2554a; }
.dot-row i:nth-child(2) { background: #c2a64a; }
.dot-row i:nth-child(3) { background: #6cb364; }
.screen-title { font-family: var(--serif); letter-spacing: .04em; }

.screen-body { padding: 22px 24px 24px; }
.screen-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: 14px;
}
.screen-row:last-of-type { border-bottom: none; }
.status {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6e6c66;
  padding: 4px 10px;
  border: 1px solid #3a3d44;
}
.status.on {
  color: var(--leaf-soft);
  border-color: var(--leaf);
  background: rgba(74, 140, 92, .12);
}
.progress {
  margin-top: 18px;
  height: 3px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--leaf-soft), var(--leaf));
  animation: fill 4s ease-in-out infinite alternate;
}
@keyframes fill { from { width: 30%; } to { width: 85%; } }
.screen-foot {
  margin-top: 14px;
  font-size: 12px;
  color: #9b9892;
  letter-spacing: .04em;
}
.screen-foot strong { color: #fff; font-weight: 500; }

.floating-pill {
  position: absolute;
  background: #fff;
  padding: 10px 18px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}
.floating-pill .ico {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(201, 161, 74, .18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(201, 161, 74, .18); }
  50%      { box-shadow: 0 0 0 8px rgba(201, 161, 74, .08); }
}
.pill-1 { top: 8%;  right: -10px;  animation: float 5s ease-in-out infinite; }
.pill-2 { top: 48%; left: -20px;   animation: float 5s ease-in-out infinite .8s; }
.pill-3 { bottom: 8%; right: 6%;   animation: float 5s ease-in-out infinite 1.6s; }
.pill-4 { top: 8%; left: -20px; animation: float 5s ease-in-out infinite 2.4s; }
.pill-live { color: var(--leaf-deep); border-color: var(--leaf-soft); }
.pill-live .ico {
  background: var(--leaf);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ===== Trust bar ===== */
.trust {
  background: var(--leaf-bg);
  color: var(--leaf-deep);
  padding: 22px 0;
  border-top: 1px solid var(--leaf-soft);
  border-bottom: 1px solid var(--leaf-soft);
}
.trust-line {
  margin: 0;
  text-align: center;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 400;
}
.tm-badge {
  display: inline-block;
  padding: 2px 10px;
  margin-right: 6px;
  background: #fff;
  border: 1px solid var(--leaf);
  color: var(--leaf-deep);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ===== Sections ===== */
.section { padding: 120px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 50px);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
}
.section-head h2.light { color: #fff; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ===== Products ===== */
.products {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(320px, 440px);
  gap: 32px;
  justify-content: center;
}
.product {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .25s ease;
  min-height: 480px;
}
.product:hover { background: var(--bg-2); }
.product.featured {
  background: linear-gradient(180deg, #fff, #faf5e9);
  color: var(--ink);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 18px 40px rgba(176,138,79,.12);
}
.product.featured:hover { background: linear-gradient(180deg, #fff, #f5ecd5); }
.product.featured h3 em { color: var(--accent); }

.product-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 24px;
}
.ribbon {
  position: absolute;
  top: 36px; right: 36px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  letter-spacing: .14em;
  font-weight: 600;
  text-transform: uppercase;
}
.product-tag {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}
.product h3 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.product-sub {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}
.product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.product-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.product-list li:nth-child(even)::before { background: var(--leaf); }

/* ===== Steps (dark section) ===== */
.section-dark {
  background: var(--dark);
  color: #d6d4cf;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 50%; height: 140%;
  background: repeating-linear-gradient(
    -30deg,
    transparent 0,
    transparent 32px,
    rgba(255,255,255,.04) 32px,
    rgba(255,255,255,.04) 44px
  );
  pointer-events: none;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.step {
  padding: 40px 36px;
  border-left: 1px solid rgba(255,255,255,.08);
}
.step:first-child { border-left: none; }
.step-num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
  line-height: 1;
}
.step:nth-child(2) .step-num { color: var(--leaf-soft); }
.step h4 {
  font-family: var(--serif);
  margin: 0 0 12px;
  font-size: 24px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step p { margin: 0; color: #a8a59f; line-height: 1.7; font-size: 15px; }

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  padding: 26px 22px;
  background: var(--card);
  transition: background .25s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.feature:hover { background: var(--leaf-bg); }
.feature::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: var(--accent);
  font-size: 16px;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: translateX(-4px);
}
.feature:hover::after { opacity: 1; transform: translateX(0); }
.feature-no {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 10px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.feature:nth-child(3n+2) .feature-no {
  color: var(--leaf-deep);
  border-bottom-color: var(--leaf);
}
.feature h4 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(180deg, var(--leaf-bg), #fff);
  color: var(--ink);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--leaf-soft);
  border-bottom: 1px solid var(--line);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: -5%;
  transform: translateY(-50%) rotate(-30deg);
  width: 30%; height: 200%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 20px,
    rgba(74, 140, 92, .07) 20px,
    rgba(74, 140, 92, .07) 28px
  );
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-section .eyebrow { color: var(--accent); }
.cta-section h2 {
  font-family: var(--serif);
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.15;
}
.cta-section p { margin: 0; color: var(--muted); font-size: 16px; }
.cta-section .btn-primary {
  background: var(--accent);
  color: #fff;
}
.cta-section .btn-primary:hover { background: var(--ink); color: #fff; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-grid h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.lead-sm { color: var(--muted); font-size: 16px; margin: 0; max-width: 420px; }

.contact-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--muted);
}
.contact-list strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
}

.contact-form {
  background: var(--card);
  padding: 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.form-status {
  margin: 0;
  font-size: 14px;
  color: var(--accent);
  min-height: 18px;
  font-style: italic;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, var(--bg-2), var(--leaf-bg));
  color: var(--ink-soft);
  border-top: 1px solid var(--leaf-soft);
  padding: 50px 0 40px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; text-align: left; }
.footer-logo { height: 26px; width: auto; max-width: none; display: block; color: var(--logo); }
.footer-logo path, .footer-logo use { fill: currentColor; }
.footer-brand p { margin: 0; font-size: 14px; color: var(--muted); }
.footer-brand p:not(.footer-sub), .footer-brand p:not(.footer-sub) em { color: var(--logo); }
.footer-meta p { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 420px; }
  .stats { gap: 18px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .nav-toggle {
    display: flex;
    background: var(--accent);
    border-color: var(--accent);
  }
  .nav-toggle:hover { background: var(--ink); border-color: var(--ink); }
  .nav-toggle span { background: #fff; }
  .nav-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
  .cta-desktop { display: none !important; }
  .nav { position: relative; }
  .nav-inner { gap: 12px; }
  #mainNav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
    display: none;
    z-index: 55;
  }
  #mainNav.open { display: block; }
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line-soft);
    white-space: normal;
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links a::after { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 50px; }
  .products,
  .features,
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid rgba(255,255,255,.08); }
  .step:first-child { border-top: none; }
  .features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .device-card { width: 100%; max-width: 360px; }
  .pill-1, .pill-2, .pill-3 { display: none; }
}

@media (max-width: 520px) {
  .product { padding: 32px 24px; }
  .feature { padding: 22px 18px; }
  .step { padding: 32px 24px; }
  .contact-form { padding: 28px 22px; }
}

/* Tablet: ürün grid 2x2 */
@media (max-width: 1100px) and (min-width: 961px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}


/* ===== Atlas iştiraki rozet ===== */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-sub {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
  max-width: 132px;
}
.footer-sub {
  font-size: 11px !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: 4px !important;
}

@media (max-width: 700px) {
  .logo-sub { display: none; }
}


/* ===== Mobil Uygulama Bölümü ===== */
.app-section {
  padding: 120px 0 100px;
  background:
    radial-gradient(700px 400px at 90% 20%, rgba(201, 161, 74, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.app-text h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
}
.app-text .lead {
  margin-bottom: 36px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 36px;
  border-top: 1px solid var(--line);
}
.app-features li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.af-no {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  letter-spacing: .04em;
  font-weight: 500;
  line-height: 1;
  padding-top: 4px;
}
.app-features h4 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.app-features p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.app-features p em {
  font-family: var(--serif);
  color: var(--ink-soft);
  font-style: italic;
}
.ai-cmds {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-cmds li {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 9px 14px;
}
.ai-cmds li:nth-child(even) { border-left-color: var(--leaf); }
.ai-cmds li::before {
  content: "› ";
  color: var(--accent);
  font-weight: 600;
  margin-right: 6px;
}
.ai-cmds li:nth-child(even)::before { color: var(--leaf-deep); }

.app-platforms {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.plat {
  flex: 1;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.plat span {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
}
.plat small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* App görsel — telefon mockup'ları */
.app-visual {
  position: relative;
  height: 620px;
}
.phone {
  position: absolute;
  background: #1a1c20;
  padding: 10px;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(20,22,26,.18), 0 0 0 1px rgba(20,22,26,.06);
  width: 280px;
  border: 1px solid #2a2d33;
}
.phone img {
  border-radius: 28px;
  width: 100%;
  display: block;
}
.phone-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 3;
}
.phone-2 {
  top: 50px;
  left: 0;
  transform: rotate(-10deg) scale(0.85);
  z-index: 2;
  opacity: .85;
}
.phone-3 {
  bottom: 0;
  right: 0;
  transform: rotate(8deg) scale(0.85);
  z-index: 2;
  opacity: .85;
}

.app-badge {
  position: absolute;
  background: #fff;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}
.app-badge.ai { top: 5%; right: 0; }
.app-badge.ble { bottom: 8%; left: 4%; }
.ai-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(201, 161, 74, .2);
  animation: pulse 1.8s ease-in-out infinite;
}
.ble-icon { color: var(--accent); font-size: 14px; }

/* App istatistikleri */
.app-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.app-stats > div {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 24px;
}
.app-stats > div:first-child { border-left: none; }
.app-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.app-stats span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .app-section { padding: 80px 0 60px; }
  .app-grid { grid-template-columns: 1fr; gap: 60px; margin-bottom: 50px; }
  .app-visual { height: 520px; max-width: 420px; margin: 0 auto; }
  .phone { width: 220px; }
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .app-stats > div { padding: 24px; border-left: none; border-top: 1px solid var(--line); }
  .app-stats > div:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 520px) {
  .app-features li { grid-template-columns: 50px 1fr; gap: 12px; padding: 18px 0; }
  .af-no { font-size: 18px; }
  .app-features h4 { font-size: 17px; }
  .phone { width: 180px; padding: 8px; border-radius: 28px; }
  .phone img { border-radius: 22px; }
}


/* ===== Web Yönetim Paneli ===== */
.panel-section {
  padding: 120px 0;
  background: var(--bg-2);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.panel-section::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 45%; height: 120%;
  background: repeating-linear-gradient(
    -30deg, transparent 0, transparent 32px,
    rgba(31,33,37,.025) 32px, rgba(31,33,37,.025) 44px
  );
  pointer-events: none;
}
.panel-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.panel-text h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.1;
}
.lead-light {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  line-height: 1.7;
  max-width: 580px;
}
.lead-light strong { color: var(--ink); font-weight: 600; }
.link-accent {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-weight: 500;
}
.link-accent:hover { color: var(--accent-soft); border-color: var(--accent-soft); }

.panel-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}
.pf {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.pf:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.pf:nth-child(even) { padding-left: 24px; }
.pf h4 {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pf p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.btn-link.light {
  color: #fff;
  border-bottom-color: #fff;
}
.btn-link.light:hover { color: var(--accent-soft); border-bottom-color: var(--accent-soft); }

/* Laptop mockup */
.panel-visual { position: relative; }
.laptop {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.laptop-screen {
  background: #0a0c10;
  border: 8px solid #2a2d33;
  border-radius: 14px 14px 4px 4px;
  padding: 16px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    inset 0 0 0 1px rgba(255,255,255,.04);
}
.laptop-screen--image {
  padding: 0;
  overflow: hidden;
}
.laptop-screen--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
}
.laptop-base {
  height: 14px;
  background: linear-gradient(180deg, #2a2d33, #1a1c20);
  border-radius: 0 0 16px 16px;
  margin: 0 -20px;
  position: relative;
}
.laptop-base::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 4px;
  background: #0a0c10;
  border-radius: 0 0 6px 6px;
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 14px;
}
.dash-title {
  font-family: var(--serif);
  font-size: 13px;
  color: #d6d4cf;
  letter-spacing: .02em;
}
.dash-status {
  font-size: 10px;
  color: #6cb364;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.dash-status i {
  width: 6px; height: 6px;
  background: #6cb364;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(108, 179, 100, .25);
  animation: pulse 1.6s ease-in-out infinite;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 10px;
}
.dash-kpi {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.kpi-label {
  font-size: 9px;
  color: #6e6c66;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.kpi-val {
  font-family: var(--serif);
  font-size: 24px;
  color: #fff;
  font-weight: 500;
  line-height: 1.1;
}
.kpi-val small { font-size: 14px; color: #6e6c66; font-weight: 400; }
.kpi-val.accent { color: var(--accent); }
.kpi-val.warn { color: #c2a64a; }
.kpi-sub { font-size: 10px; color: #6e6c66; }

.dash-map {
  grid-column: 1 / 4;
  grid-row: 2;
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, rgba(47, 130, 90, .15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 161, 74, .1), transparent 50%),
    #1a1c20;
  border: 1px solid rgba(255,255,255,.06);
  height: 140px;
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.map-pin {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4a4d52;
  border: 2px solid #1a1c20;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1);
}
.map-pin.pin-on {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201, 161, 74, .5);
}
.map-label {
  position: absolute;
  bottom: 8px; left: 10px;
  font-size: 9px;
  color: #6e6c66;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.dash-chart {
  grid-column: 4;
  grid-row: 2;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 140px;
}
.chart-label {
  font-size: 9px;
  color: #6e6c66;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.chart-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(201, 161, 74, .3));
  border-radius: 1px;
  min-height: 8px;
}

@media (max-width: 1100px) {
  .panel-grid { grid-template-columns: 1fr; gap: 60px; }
  .panel-visual { order: 2; }
  .panel-text { order: 1; }
}
@media (max-width: 760px) {
  .panel-section { padding: 80px 0; }
  .panel-features { grid-template-columns: 1fr; }
  .pf:nth-child(odd) { padding-right: 0; border-right: none; }
  .pf:nth-child(even) { padding-left: 0; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-map { grid-column: 1 / 3; height: 120px; }
  .dash-chart { grid-column: 1 / 3; height: 100px; }
}


/* ===== Sistem Mimarisi ===== */
.arch-section {
  background:
    radial-gradient(800px 400px at 10% 30%, rgba(201, 161, 74, 0.06), transparent 60%),
    var(--bg-2);
}
.arch {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  gap: 28px;
}
.arch-node {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .2s ease;
}
.arch-node:hover { border-color: var(--leaf-soft); transform: translateY(-3px); }
.arch-node-mid {
  background: linear-gradient(180deg, #fff, var(--leaf-bg));
  color: var(--ink);
  border-color: var(--leaf-soft);
}
.arch-node-mid h3 { color: var(--ink); }
.arch-node-mid .arch-tag { color: var(--leaf-deep); }
.arch-node-mid .arch-list li { color: var(--ink-soft); }
.arch-node-mid .arch-list li::before { background: var(--leaf); }
.arch-node-mid .arch-num { color: var(--muted); }

.arch-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.arch-icon {
  font-size: 36px;
  margin-bottom: 18px;
  line-height: 1;
}
.arch-product-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 14px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, #f1f5ec, var(--leaf-bg));
  padding: 6px;
  border: 1px solid var(--leaf-soft);
}
.arch-emoji-img {
  aspect-ratio: 220 / 165;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
  line-height: 1;
  color: var(--leaf-deep);
}
.arch-node h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.arch-tag {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  font-weight: 600;
}
.arch-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arch-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.arch-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--accent);
}
.arch-list li:nth-child(even)::before { background: var(--leaf); }

.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.arch-arrow span {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}
.arch-arrow span::after {
  content: '';
  position: absolute;
  right: -4px; top: -3px;
  width: 0; height: 0;
  border-left: 6px solid var(--accent);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.arch-arrow small {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .arch {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .arch-arrow {
    flex-direction: row;
    padding: 24px 0;
  }
  .arch-arrow span {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
  }
  .arch-arrow span::after {
    right: -3px; top: auto; bottom: -4px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 6px solid var(--accent);
    border-bottom: none;
  }
  .arch-arrow small { writing-mode: horizontal-tb; }
}


/* Harfleri olduğu gibi koru (uppercase override) */
.kc { text-transform: none !important; letter-spacing: 0.04em !important; }

/* ===== AI DEEP SECTION (Yapay Zeka & Uydu Verisi) ===== */
.ai-deep {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 100px 0 110px;
}

/* Veri kaynak kartları */
.data-sources {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
}
.ds-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ds-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(31,33,37,.08);
  border-color: var(--accent-soft);
}
.ds-card.highlight {
  background: linear-gradient(180deg, #fff, #faf5e9);
  border-color: var(--accent-soft);
}
.ds-card h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -.01em;
  padding-top: 10px;
  border-top: 2px solid var(--accent);
  display: inline-block;
  padding-right: 12px;
}
.ds-meta {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}
.ds-card ul { list-style: none; padding: 0; margin: 0; }
.ds-card ul li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-start;
  line-height: 1.5;
}
.ds-card ul li:first-child { border-top: 0; padding-top: 0; }
.ds-card ul li::before {
  content: "·";
  color: var(--accent);
  font-weight: 700;
  margin-right: 10px;
  font-size: 18px;
  line-height: 1;
}
.ds-card ul li em { color: var(--ink); font-style: italic; }

/* Dual-box: Giden / Dönen */
.dual-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.db-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
}
.db-panel.db-in {
  background: linear-gradient(180deg, #fff, var(--leaf-bg) 130%);
  border-color: var(--leaf-soft);
}
.db-panel.db-in .db-tag { color: var(--leaf-deep); }
.db-panel.db-out {
  background: linear-gradient(180deg, #fff, #faf5e9 120%);
  border-color: var(--accent-soft);
}
.db-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.db-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.db-panel.db-out .db-tag { color: #8a5c1c; }
.db-head h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  color: var(--ink);
}
.db-head h3 em { color: var(--accent); font-style: italic; }
.db-head p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.db-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.db-cards .ds-card {
  border-radius: 12px;
  padding: 22px 22px 20px;
}
.db-cards .ds-card h4 {
  font-size: 18px;
  padding-top: 8px;
}
.db-cards .ds-card ul li {
  font-size: 13px;
  padding: 6px 0;
}

@media (max-width: 1100px) {
  .dual-box { grid-template-columns: 1fr; gap: 22px; }
}

/* Dual-stack: panels stacked vertically, each with cards + example side-by-side */
.dual-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 56px;
}
.dual-stack .db-panel { padding: 32px 32px 28px; }
.db-merged-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}
.db-merged-body > .db-cards { margin: 0; }
.db-example {
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
}
.db-panel.db-in .db-example { background: rgba(255,255,255,.6); }
.db-panel.db-out .db-example { background: rgba(255,255,255,.6); }
.db-example > .flow-tag { align-self: flex-start; }
.db-example > h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.db-example .code-block { flex: 1; }
.db-example .decision-doc {
  margin: 0;
  padding: 20px 20px 18px;
}

@media (max-width: 1100px) {
  .db-merged-body { grid-template-columns: 1fr; gap: 22px; }
}

/* Akış başlığı */
.flow-head {
  margin-top: 90px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.flow-head h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  margin: 14px 0 14px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.flow-head h3 em { color: var(--accent); }
.flow-head p { color: var(--muted); font-size: 16px; }

/* Akış: girdi → analiz → çıktı */
.flow {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  margin-top: 44px;
  align-items: stretch;
}
.flow-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
}
.flow-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 600;
}
.flow-tag.out { color: #fff; background: var(--accent); }
.flow-col h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -.01em;
}

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fa-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: relative;
}
.fa-line::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  color: var(--accent);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border: 1px solid var(--accent-soft);
}
.fa-tip {
  position: absolute;
  top: calc(50% + 28px);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

/* Kod bloğu (girdi) */
.code-block {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.85;
  background: #1a1c20;
  color: #e5e2dc;
  border-radius: 10px;
  padding: 22px 24px;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  border: 1px solid #2a2d33;
}
.code-block .c-k { color: #b08a4f; }      /* anahtar */
.code-block .c-s { color: #a8c690; }      /* string */
.code-block .c-n { color: #d8c39a; }      /* sayı */

/* Karar dökümanı (çıktı) */
.decision-doc {
  background: linear-gradient(180deg, #fff, var(--bg-2));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 22px;
}
.dd-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 8px;
}
.dd-status {
  background: #d97757;
  color: #fff;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
}
.dd-line {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
}
.dd-section {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.dd-section:first-of-type { border-top: 0; padding-top: 4px; }
.dd-section.warn { background: #fdf6ec; margin: 0 -22px; padding-left: 22px; padding-right: 22px; border-left: 3px solid var(--accent); }
.dd-num {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
  padding-top: 4px;
}
.dd-section:nth-of-type(even) .dd-num { color: var(--leaf-deep); }
.dd-section h5 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.dd-section p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}
.dd-section strong { color: var(--ink); }
.dd-section em { color: var(--accent); font-style: italic; }
.dd-final {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #fff, var(--leaf-bg));
  color: var(--ink);
  border: 1px solid var(--leaf-soft);
  border-radius: 10px;
}
.dd-final-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--leaf-deep);
  margin-bottom: 8px;
  font-weight: 700;
}
.dd-final p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--ink-soft); }
.dd-final strong { color: var(--ink); }

/* Alt özellikler */
.ai-foot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.ai-foot-item strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}
.ai-foot-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .data-sources { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { padding: 24px 0; }
  .fa-line { width: 1px; height: 40px; background: linear-gradient(180deg, transparent, var(--accent), transparent); }
  .fa-line::after { content: "↓"; }
  .fa-tip { position: static; margin-top: 8px; }
  .ai-foot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .data-sources { grid-template-columns: 1fr; }
  .ai-foot { grid-template-columns: 1fr; }
  .code-block {
    font-size: 11px;
    padding: 16px;
    white-space: pre-wrap;
    overflow-wrap: normal;
    word-break: normal;
    overflow-x: hidden;
  }
}

/* ===== Palette Switcher (footer içinde, küçük) ===== */
.palette-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: inherit;
}
.palette-switcher .ps-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
  color: currentColor;
  opacity: .65;
  white-space: nowrap;
  pointer-events: none;
}
.palette-switcher .ps-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.palette-switcher .ps-btn:hover { transform: scale(1.15); }
.palette-switcher .ps-btn:active { transform: scale(.95); }
.palette-switcher .ps-icon {
  width: 16px;
  height: 16px;
  background:
    conic-gradient(from 0deg,
      var(--leaf) 0 25%,
      var(--accent) 25% 50%,
      var(--su) 50% 75%,
      var(--ihlamur) 75% 100%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}


/* ===== Header (nav) — logo + subtitle + menü + CTA aynı --logo renginde ===== */
.nav .logo .logo-svg { color: var(--logo); }
.nav .logo-sub { color: var(--logo); border-left-color: var(--logo); opacity: .85; }
.nav .nav-links a { color: var(--logo); }
.nav .nav-links a:hover { color: var(--logo); opacity: .7; }
.nav .cta-desktop.btn-primary { background: var(--logo); color: var(--bg); }
.nav .cta-desktop.btn-primary:hover { background: var(--logo); color: var(--bg); opacity: .85; transform: translateY(-1px); }
.product-alt { font-size: 15px; letter-spacing: .06em; color: var(--accent); margin: -6px 0 8px; font-weight: 500; font-family: var(--serif); font-style: italic; }

/* ===== Dil switcher ===== */
.lang-switcher { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.lang-switcher .lang-link { display: inline-flex; align-items: center; padding: 3px; border-radius: 3px; text-decoration: none; opacity: .55; transition: opacity .15s, transform .15s, box-shadow .15s; }
.lang-switcher .lang-link:hover { opacity: 1; transform: translateY(-1px); }
.lang-switcher .lang-link.lang-active { opacity: 1; box-shadow: 0 0 0 1.5px var(--logo, #2c6334); }
.lang-switcher .lang-flag { display: inline-block; width: 24px; height: 16px; line-height: 0; }
.lang-switcher .lang-flag svg { display: block; width: 100%; height: 100%; border-radius: 2px; }
@media (max-width: 720px) {
  .lang-switcher { margin-left: 8px; gap: 4px; }
  .lang-switcher .lang-flag { width: 20px; height: 14px; }
}
/* RTL desteği — Arapça */
html[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: 14px; }
html[dir="rtl"] body { font-family: var(--sans, Inter, "Noto Sans Arabic", sans-serif); }
html[dir="rtl"] .article-head, html[dir="rtl"] .article-body { text-align: right; }
html[dir="rtl"] .article-body ul, html[dir="rtl"] .article-body ol { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .article-callout { border-left: none; border-right: 3px solid var(--leaf); }
html[dir="rtl"] .article-back a::before { content: "→ "; }
html[dir="rtl"] .article-back a { direction: rtl; }
