:root {
  --bg: #000000;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ececec;
  --text-muted: #8e8e8e;
  --accent: #fff;
  --font-base: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: var(--font-base);
  --weight-medium: 500;
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --header-h: 56px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-base);
  font-weight: var(--weight-medium);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.85;
}

.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;
}

.is-hidden {
  display: none !important;
}

/* Header — prototip; alt çizgi yok, arka plan sayfayla aynı ton */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

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

.nav-desktop a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.nav-desktop a:hover {
  color: var(--text);
  opacity: 1;
}

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

.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 8px;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 8px;
}

.nav-mobile a {
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* İlk ekran: yalnızca hero bu yükseklikte; altı scroll */
.first-screen {
  min-height: calc(100vh - var(--header-h));
}

.hero-landing {
  position: relative;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(8vh, 5rem, 14vh) 24px 64px;
  text-align: center;
  background: var(--bg);
}

.hero-landing-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-headline {
  margin: 0 0 24px;
  font-size: clamp(2.75rem, 7.5vw, 4.5rem);
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.02em;
  line-height: 1.08;
}

.hero-headline-line {
  display: block;
}

/* Vurgu: lacivert yok, açık ton / beyaz */
.hero-accent {
  color: #ffffff;
  font-weight: 800;
}

.hero-sub {
  margin: 0 auto clamp(7rem, 20vh, 11.5rem);
  max-width: 640px;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .hero-sub {
    margin-bottom: clamp(5.25rem, 14vh, 8rem);
  }
}

.hero-assist {
  max-width: 580px;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
}

.hero-assist-title {
  margin: 0 0 14px;
  font-size: clamp(1.28rem, 2.9vw, 1.62rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
}

.hero-search {
  margin-bottom: 14px;
}

.hero-search-pill input {
  width: 100%;
  padding: 13px 20px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  background: rgba(26, 26, 26, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-pill {
  position: relative;
}

.hero-search-pill input {
  padding-right: 48px;
}

.hero-send-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-send-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.hero-search-pill input::placeholder {
  color: var(--text-muted);
}

.hero-search-pill input:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

.hero-assist .chip {
  padding: 8px 14px;
  font-size: 0.8125rem;
  background: rgba(22, 22, 22, 0.9);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
}

.chip-more {
  color: var(--text-muted);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--accent);
  color: #0a0a0a;
  border-radius: 999px;
}

.btn-primary:hover {
  opacity: 0.92;
}

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

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}

.section-alt {
  background: var(--bg-elevated);
}

.section-title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

#neden-siona-ai .section-title {
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
}

/* Neden SIONA AI — 2x2 görsel grid + hover overlay */
#neden-siona-ai .section-inner {
  max-width: 1440px;
  padding-left: 16px;
  padding-right: 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 760px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.why-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0b0b;
  min-height: 300px;
  display: block;
  transform: translateZ(0);
}

.why-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.02);
  transition: transform 280ms ease, filter 280ms ease;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.78) 100%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.why-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 1;
}

.why-overlay h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  color: #0a0a0a;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 14px;
}

.why-card:hover {
  opacity: 1;
}

.why-card:hover::after,
.why-card:focus-visible::after {
  opacity: 1;
}

.why-card:hover .why-overlay,
.why-card:focus-visible .why-overlay {
  opacity: 1;
  transform: translateY(0);
}

.why-card:hover .why-img,
.why-card:focus-visible .why-img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.08) brightness(0.86);
}

/* Touch cihazlarda hover yok: overlay'i görünür tut.
   (hover destekleyen cihazlarda desktop davranışı korunur) */
@media (hover: none) and (pointer: coarse) {
  .why-card::after {
    opacity: 1;
  }

  .why-overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .why-img {
    filter: saturate(1.08) contrast(1.08) brightness(0.86);
  }
}

.why-card:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;
}

.article-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-list li {
  border-bottom: 1px solid var(--border);
}

.article-list li:first-child {
  border-top: 1px solid var(--border);
}

.article-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 16px;
  padding: 20px 0;
  align-items: baseline;
}

@media (min-width: 640px) {
  .article-row {
    grid-template-columns: 1fr auto auto;
    gap: 16px 24px;
  }
}

.article-row:hover .article-title {
  text-decoration: underline;
  opacity: 1;
}

.article-list .article-title {
  font-size: 1rem;
  font-weight: 500;
}

.article-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-row time {
  font-size: 0.8125rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Hikayeler: Excel asistanı demosu (aisiona.com tarzı döngü animasyonu) */
.hikayeler-excel {
  padding: 72px 0 80px;
  background: var(--bg);
}

.excel-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.25rem);
  width: 100%;
}

.excel-showcase-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.excel-showcase-text {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.excel-showcase-title {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  color: var(--text);
}

.excel-showcase-accent {
  background: linear-gradient(135deg, #4ade80 0%, #107c41 50%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.excel-showcase-lead {
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
}

.excel-showcase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.excel-showcase-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.excel-showcase-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(16, 124, 65, 0.2);
  color: #4ade80;
}

.excel-showcase-visual {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.excel-showcase-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.excel-demo-window {
  background: #000000;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(260px, 30vw, 340px);
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.excel-demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex-shrink: 0;
  background: #000000;
  border-bottom: none;
}

.excel-demo-dots {
  display: flex;
  gap: 6px;
}

.excel-demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.excel-demo-dots span:nth-child(1) {
  background: #ff5f56;
}

.excel-demo-dots span:nth-child(2) {
  background: #ffbd2e;
}

.excel-demo-dots span:nth-child(3) {
  background: #27c93f;
}

.excel-demo-header-title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.excel-demo-body {
  flex: 1;
  position: relative;
  background: #000000;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.excel-demo-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

#excelResultState {
  align-items: stretch;
  justify-content: space-between;
  overflow-y: auto;
  overflow-x: hidden;
}

#excelResultState .excel-demo-table {
  flex-shrink: 0;
  margin-bottom: 0;
}

#excelResultState .excel-demo-success {
  margin-top: auto;
  flex-shrink: 0;
}

.excel-demo-state.active {
  opacity: 1;
  visibility: visible;
}

.excel-demo-prompt {
  align-items: center;
}

.excel-demo-file-icon {
  margin-bottom: 10px;
  transform: scale(0.92);
  animation: excelSlideUp 0.5s ease-out;
}

#excelUploadState > span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

#excelProcessingState > span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.excel-demo-bubble {
  max-width: 88%;
  padding: 11px 16px;
  border-radius: 16px 16px 4px 16px;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #fff;
  background: linear-gradient(135deg, #1a6b3c 0%, #107c41 45%, #0d5c30 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.excel-demo-cursor {
  animation: excelBlink 0.75s step-end infinite;
}

.excel-demo-spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 3px solid rgba(16, 124, 65, 0.25);
  border-top-color: #107c41;
  border-radius: 50%;
  animation: excelSpin 0.9s linear infinite;
}

.excel-demo-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: none;
}

.excel-demo-row {
  display: grid;
  grid-template-columns: 0.75fr 1.35fr 0.8fr 0.6fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
}

.excel-demo-row:last-child {
  border-bottom: none;
}

.excel-demo-row > div {
  padding: 8px 6px;
  text-align: left;
  color: rgba(236, 236, 236, 0.85);
  white-space: nowrap;
}

.excel-demo-row-head {
  background: #107c41;
}

.excel-demo-row-head > div {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.excel-demo-success {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(16, 124, 65, 0.15);
  border: 1px solid rgba(16, 124, 65, 0.35);
}

.excel-demo-success svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@keyframes excelSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes excelBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

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

@media (max-width: 640px) {
  .excel-showcase-list {
    flex-direction: column;
    align-items: stretch;
  }

  .excel-showcase-list li {
    justify-content: center;
  }

  .excel-demo-window {
    height: clamp(240px, 52vw, 320px);
  }

  .doc-showcase-list {
    flex-direction: column;
    align-items: stretch;
  }

  .doc-showcase-list li {
    justify-content: center;
  }

  .doc-demo-window {
    height: clamp(260px, 52vw, 340px);
  }
}

/* Belge asistanı — Excel bölümüyle aynı yerleşim (üstte demo, altta metin), kırmızı/PDF teması */
.belge-asistan-section {
  padding: 72px 0 80px;
  background: var(--bg);
}

.doc-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.25rem);
  width: 100%;
}

.doc-showcase-visual {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.doc-showcase-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.doc-demo-window {
  background: #000000;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: clamp(260px, 30vw, 340px);
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.doc-demo-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex-shrink: 0;
  background: #000000;
  border-bottom: none;
}

.doc-demo-dots {
  display: flex;
  gap: 6px;
}

.doc-demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.doc-demo-dots span:nth-child(1) {
  background: #ff5f56;
}

.doc-demo-dots span:nth-child(2) {
  background: #ffbd2e;
}

.doc-demo-dots span:nth-child(3) {
  background: #27c93f;
}

.doc-demo-header-title {
  flex: 1;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.doc-demo-body {
  flex: 1;
  position: relative;
  background: #000000;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.doc-demo-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.doc-demo-state.active {
  opacity: 1;
  visibility: visible;
}

.doc-demo-prompt {
  justify-content: center;
  gap: 14px;
}

.doc-quick-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.doc-quick-chip {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.doc-demo-bubble-user {
  max-width: 90%;
  padding: 11px 16px;
  border-radius: 16px 16px 4px 16px;
  text-align: left;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #fff;
  background: linear-gradient(135deg, #b91c1c 0%, #8b2020 50%, #6b1820 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.doc-demo-cursor {
  animation: excelBlink 0.75s step-end infinite;
}

.doc-demo-file-icon {
  margin-bottom: 10px;
  transform: scale(0.92);
  animation: excelSlideUp 0.5s ease-out;
}

#docUploadState > span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

#docProcessingState > span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.doc-demo-spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 3px solid rgba(244, 15, 2, 0.2);
  border-top-color: #f40f02;
  border-radius: 50%;
  animation: excelSpin 0.9s linear infinite;
}

#docResultState {
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 16px;
}

.doc-ai-card {
  width: 100%;
  max-width: 100%;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.doc-ai-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.doc-ai-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #f40f02, #b91c1c);
  flex-shrink: 0;
}

.doc-ai-header strong {
  font-size: 0.8125rem;
  color: var(--text);
}

.doc-ai-content p {
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(236, 236, 236, 0.9);
}

.doc-ai-content p:last-child {
  margin-bottom: 0;
}

.doc-ai-warn {
  color: #fca5a5 !important;
  margin-top: 4px;
}

.doc-showcase-text {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.doc-showcase-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.doc-showcase-title {
  margin: 0 0 20px;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-align: center;
  color: var(--text);
}

.doc-showcase-accent {
  background: linear-gradient(135deg, #ff6b6b 0%, #f40f02 45%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.doc-showcase-lead {
  margin: 0 auto 28px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
}

.doc-showcase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 14px;
}

.doc-showcase-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.doc-showcase-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(244, 15, 2, 0.15);
  color: #ff6b6b;
}

/* Sohbet + dosya yükleme demosu (#is) */
.chat-demo-section {
  padding: 72px 0 80px;
  background: #000000;
  /* streaming sırasında layout büyüyüp sayfa zıplamasın */
  overflow-anchor: none;
}

.chat-demo-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  width: 100%;
}

.chat-demo-stage {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-demo-messages {
  /* Sabit alan: mesaj uzasa bile sayfa değil içerisi kayar */
  height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 4px;
  overscroll-behavior: contain;
  overflow-anchor: none;
}

.chat-demo-bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: left;
}

.chat-demo-bubble-user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.chat-demo-bubble-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 236, 236, 0.95);
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-demo-bubble-ai strong {
  font-weight: 600;
  color: #fff;
}

.chat-demo-stream-cursor {
  display: inline-block;
  margin-left: 1px;
  color: var(--text-muted);
  animation: excelBlink 0.7s step-end infinite;
}

.chat-demo-stream-cursor.is-hidden {
  display: none;
}

.chat-demo-attach-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-demo-attach-preview img {
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-demo-attach-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.chat-demo-attach-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-demo-attach-hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.chat-demo-input-shell {
  position: relative;
}

.chat-demo-attach-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 220px;
  padding: 6px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 5;
  animation: chatMenuIn 0.2s ease-out;
}

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

.chat-demo-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.8125rem;
  text-align: left;
  cursor: default;
  transition: background 0.15s;
}

.chat-demo-menu-item.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.chat-demo-menu-icon {
  font-size: 1rem;
  opacity: 0.85;
}

.chat-demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  background: #2f2f2f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.chat-demo-plus {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.12s, background 0.12s;
}

.chat-demo-plus.is-pressed {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.14);
}

.chat-demo-field {
  flex: 1;
  min-height: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.chat-demo-placeholder {
  color: var(--text-muted);
  pointer-events: none;
}

.chat-demo-user-type {
  color: var(--text);
}

.chat-demo-user-caret {
  color: var(--text-muted);
  animation: excelBlink 0.75s step-end infinite;
}

.chat-demo-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.chat-demo-instant {
  display: none;
}

@media (min-width: 480px) {
  .chat-demo-instant {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

.chat-demo-chev {
  font-size: 0.65rem;
  opacity: 0.8;
}

.chat-demo-mic {
  display: flex;
  opacity: 0.75;
}

.chat-demo-wave-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-demo-copy {
  width: 100%;
  max-width: 560px;
  text-align: center;
}

.chat-demo-title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  color: var(--text);
}

.chat-demo-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.chat-demo-ai-rich p {
  margin: 0 0 0.75em;
  font-size: 0.875rem;
  line-height: 1.55;
}

.chat-demo-ai-rich p:last-child {
  margin-bottom: 0;
}

/* Planlar (Pricing) — koyu tema uyumlu */
.pricing-section {
  background: #000;
}

.pricing-head {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 820px;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.pricing-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  color: var(--text);
}

.pricing-sub {
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 760px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.pricing-card {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 420px;
}

.pricing-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.pricing-card-popular {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.55);
}

.pricing-popular-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.pricing-card-head {
  padding-top: 10px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 10px;
}

.pricing-currency {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.pricing-amount {
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: 0.03em;
  font-size: 2.35rem;
  color: var(--text);
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(236, 236, 236, 0.92);
  font-size: 0.9rem;
  line-height: 1.55;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-features li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.pricing-card .btn-outline,
.pricing-card .btn-primary {
  margin-top: auto;
}

/* İçerik sayfaları (OpenAI yazı sayfası düzeni benzeri, koyu tema) */
.post-page main {
  padding-top: 18px;
}

.post-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px 84px;
}

.post-header {
  padding: 16px 0 8px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.post-meta-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post-date {
  color: rgba(236, 236, 236, 0.7);
}

.post-kicker {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 5.4vw, 3.4rem);
  line-height: 1.05;
  color: var(--text);
}

.post-deck {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 72ch;
}

.post-article {
  margin-top: 28px;
}

.post-prose {
  color: rgba(236, 236, 236, 0.92);
  line-height: 1.8;
  font-size: 1rem;
}

.post-prose h2 {
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  font-size: 1.6rem;
  color: var(--text);
}

.post-prose p {
  margin: 0 0 16px;
}

.post-prose ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.post-prose li {
  margin: 8px 0;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.post-back:hover {
  color: var(--text);
  opacity: 1;
}

.story-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.2s, transform 0.2s;
}

.story-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  opacity: 1;
}

.story-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.story-card h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.cta-band {
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0 0 28px;
  color: var(--text-muted);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.footer-tagline {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.5;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 32px;
  justify-self: end;
  text-align: right;
}

.footer-columns strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-columns a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-columns a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-bottom {
  max-width: var(--max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

