/* SayımPro Tanıtım Web Sitesi — Stil Sistemi */
:root {
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-hairline: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent-primary: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff6ff;
  --accent-border: #bfdbfe;
  --success-text: #047857;
  --error-text: #b91c1c;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

.tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ */
/* Üst Gezinme Çubuğu (Top Bar Contract: 3 Bölge, Tek Satır)           */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-block: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.16s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  padding: 16px 24px 20px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-link {
  display: block;
  padding: 8px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--bg-subtle);
}

/* ------------------------------------------------------------------ */
/* Hero Bölümü                                                        */
/* ------------------------------------------------------------------ */
.hero-section {
  padding: 56px 0 64px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow-text {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.01em;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-wrap: balance;
  max-width: 18ch;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 56ch;
}

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

.hero-meta-line {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-visual-frame {
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 8px 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.browser-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-strong);
}

.screenshot-surface {
  border: 1px solid var(--border-hairline);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

/* ------------------------------------------------------------------ */
/* Bölüm Başlıkları ve Genel Bölümler                                 */
/* ------------------------------------------------------------------ */
.section-block {
  padding: 72px 0;
}

.section-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 40px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}

.section-subtitle {
  margin: 12px 0 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------ */
/* Asimetrik Yetenekler (Bento Grid)                                  */
/* ------------------------------------------------------------------ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bento-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.bento-card-dark {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #f8fafc;
}

.bento-index {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-primary);
  letter-spacing: 0.02em;
}

.bento-card-dark .bento-index {
  color: #93c5fd;
}

.bento-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
}

.bento-desc {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-card-dark .bento-desc {
  color: #cbd5e1;
}

.bento-footnote {
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bento-card-dark .bento-footnote {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #94a3b8;
}

/* ------------------------------------------------------------------ */
/* Gerçek Ekranlar Etkileşimli Tur                                    */
/* ------------------------------------------------------------------ */
.screen-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.screen-tab-btn {
  min-height: 38px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.16s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-tab-btn:hover {
  color: var(--text-primary);
}

.screen-tab-btn.is-active {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.screen-panel {
  display: none;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.screen-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.screen-caption h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.screen-caption p {
  margin: 10px 0 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.screen-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-points li {
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.screen-points li strong {
  color: var(--text-primary);
}

.screen-media {
  border: 1px solid var(--border-hairline);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.screen-media-mobile {
  max-width: 340px;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  overflow: hidden;
  background-color: var(--bg-surface);
}

/* ------------------------------------------------------------------ */
/* 3 Adımda Nasıl Çalışır & Teknik Özet Tablosu                       */
/* ------------------------------------------------------------------ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 28px;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.step-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.step-item p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.spec-table-wrap {
  margin-top: 48px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 28%;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
}

.spec-table td {
  color: var(--text-secondary);
}

/* ------------------------------------------------------------------ */
/* Sık Sorulan Sorular (GEO / SEO Accordion)                          */
/* ------------------------------------------------------------------ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-hairline);
}

.faq-item {
  border-bottom: 1px solid var(--border-hairline);
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 0 22px;
  max-width: 72ch;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--text-secondary);
}

.faq-answer p {
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* Hesap & Demo Talep Formu                                           */
/* ------------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-points li {
  padding-top: 12px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.lead-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}

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

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.field-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

textarea.field-input {
  min-height: 92px;
  resize: vertical;
}

.form-alert-error {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  color: var(--error-text);
  font-size: 0.875rem;
}

.form-success-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.form-success-box h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}

.form-success-box p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Alt Bilgi (Quiet Footer)                                           */
/* ------------------------------------------------------------------ */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ */
/* Masaüstü Kırılımları                                               */
/* ------------------------------------------------------------------ */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn,
  .mobile-drawer {
    display: none !important;
  }

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

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 72px 0 84px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 1.18fr;
    gap: 48px;
  }

  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
  }

  .bento-span-7 {
    grid-column: span 7;
  }

  .bento-span-5 {
    grid-column: span 5;
  }

  .bento-span-4 {
    grid-column: span 4;
  }

  .screen-panel.is-active {
    grid-template-columns: 0.82fr 1.38fr;
    padding: 32px;
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
