/* ==============================================================================
   KORVENIUM LABS — WARM SOFT-DARK / DÜŞÜK KONTRASTLI İPEKSİ KOYU TEMA
   Estetik: Sinematik odak, yan yana devasa 3 kelime hero, görsel ağırlıklı subpageler.
   ============================================================================== */

:root {
  /* Zeminler */
  --bg-page: #141312;          /* Derin, göz dinlendiren mat sıcak zemin */
  --bg-card: #1D1C1A;          /* Rafine kartlar ve paneller */
  --bg-subtle: #24221F;        /* Hafif yükseltilmiş ton */
  --bg-hover: #2B2925;

  /* Metinler */
  --text-main: #ECE6DC;        /* Mat fildişi */
  --text-muted: #9E9689;       /* Editoryal sıcak gri */
  --text-faint: #6B655B;       /* İnce dipnotlar */

  /* Çarpıcı Vurgular */
  --accent-terracotta: #E27B50; /* Sıcak Pişmiş Toprak / Kehribar */
  --accent-gold: #DFB26F;       /* Antik Bal / Sıcak Altın */
  --accent-sage: #82A38A;       /* Canlı Adaçayı Yeşili */

  /* Kenarlıklar */
  --border: #2A2723;
  --border-focus: #3E3A33;
  --border-light: #34302A;

  /* Tipografi */
  --font-serif: 'Newsreader', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w: 1040px;
  --radius: 12px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

/* Vurgu sınıfları */
.highlight-terracotta { color: var(--accent-terracotta); font-style: normal; }
.highlight-gold { color: var(--accent-gold); font-style: normal; }
.highlight-sage { color: var(--accent-sage); font-style: normal; }

.badge-beta {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(223, 178, 111, 0.12);
  color: var(--accent-gold);
  border: 1px solid rgba(223, 178, 111, 0.3);
  vertical-align: middle;
  line-height: 1.4;
}

/* ==============================================================================
   ÜST MENÜ (HEADER)
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-terracotta);
  font-weight: 700;
}

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

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-login {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-login:hover {
  background: var(--bg-subtle);
  border-color: var(--accent-terracotta);
  color: #FFFFFF;
}

/* ==============================================================================
   DEVASA HERO — 3 KELİME YAN YANA (VIEWPORT CENTERED)
   ============================================================================== */
.hero-viewport {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* 3 KELİME KESİNLİKLE YAN YANA */
.hero-main-words {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.8vw, 5.8rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 24px;
  white-space: nowrap;
}

.hero-main-words span {
  display: inline;
}

.hero-curiosity-line {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-terracotta);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--accent-terracotta);
  font-family: var(--font-sans);
  cursor: pointer;
}

.btn-primary-action:hover {
  background: #C7653C;
  transform: translateY(-1px);
}

.btn-quiet-action {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.btn-quiet-action:hover {
  background: var(--bg-card);
  border-color: var(--border-focus);
}

/* ==============================================================================
   ANA SAYFA — EDİTORYAL ÜRÜN VİTRİNİ (DOĞAL AKIŞ)
   Yapay grid yerine tam genişlik editoryal satırlar
   ============================================================================== */
.section-block {
  padding: 85px 0;
  border-top: 1px solid var(--border);
}

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

.block-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.block-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.22;
}

.block-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

/* Editoryal Ürün Satırları */
.products-editorial {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.product-row:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.product-row-visual {
  width: 280px;
  height: 200px;
  overflow: hidden;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.product-row-visual img,
.product-row-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.product-row:hover .product-row-visual img,
.product-row:hover .product-row-visual video {
  transform: scale(1.04);
}

.product-row-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-row-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-row-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.15;
}

.product-row-pitch {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 440px;
}

.product-row-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
  transition: var(--transition);
}

.product-row:hover .product-row-arrow {
  color: var(--text-main);
  letter-spacing: 0.02em;
}

/* ==============================================================================
   ALT SAYFALAR (SHOW, DON'T TELL — GÖRSEL ODAKLI YENİ TASARIM)
   ============================================================================== */
.product-showcase-page {
  padding: 50px 0 90px;
}

.subpage-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.subpage-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.subpage-back-link:hover {
  color: var(--text-main);
}

.subpage-hero-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.subpage-hero-tag {
  display: inline-block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-terracotta);
  font-weight: 700;
  margin-bottom: 12px;
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 16px;
}

.subpage-hero-one-liner {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 28px;
}

.subpage-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* Devasa Merkez Görsel Çerçevesi */
.product-big-canvas {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  margin-bottom: 64px;
}

.product-big-canvas img,
.product-big-canvas video {
  width: 100%;
  height: auto;
  display: block;
}

/* 3 Vurucu Görsel Özellik Kartı (Show, Don't Tell) */
.visual-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.visual-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.visual-feature-box:hover {
  border-color: var(--border-focus);
}

.feat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.feat-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feat-caption {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Alt Sayfa Alt Eylem Çubuğu */
.subpage-bottom-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.subpage-bottom-text h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-main);
  margin-bottom: 4px;
}

.subpage-bottom-text p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==============================================================================
   VİZYON ALANI
   ============================================================================== */
.vision-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.vision-compact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 26px;
  border-radius: var(--radius);
}

.vision-compact-box h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 8px;
}

.vision-compact-box p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==============================================================================
   İLETİŞİM ALANI
   ============================================================================== */
.contact-clean-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  max-width: 540px;
}

.contact-clean-box p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.contact-clean-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-row label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
}

.clean-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: var(--transition);
}

.clean-input:focus {
  outline: none;
  border-color: var(--accent-terracotta);
  background: var(--bg-subtle);
}

textarea.clean-input {
  min-height: 85px;
  resize: vertical;
}

.toast-feedback {
  display: none;
  padding: 12px;
  border-radius: 8px;
  background: #1C2E21;
  color: #A3D4AB;
  border: 1px solid #2B5233;
  font-size: 13px;
  margin-top: 10px;
}

/* ==============================================================================
   HESAP SİSTEMİ BİLGİ DİYALOĞU
   ============================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.simple-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  padding: 30px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.simple-modal h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.simple-modal p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .hero-main-words {
    white-space: normal; /* Küçük mobil cihazlarda gerekirse kırılır */
    font-size: 2.5rem;
  }
  .product-row {
    grid-template-columns: 1fr;
  }
  .product-row-visual {
    width: 100%;
    height: 180px;
  }
  .subpage-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    display: none;
  }
}
