/**
 * BARBIE CNC - Temel Stiller ve Tipografi (base.css)
 */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Teknik Izgara Arka Planı (Subtle Blueprint Grid) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: var(--z-negative);
}

/* Tipografi Hiyerarşisi */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }
h5 { font-size: var(--text-lg); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Ana Konteyner (Genişletilmiş ve Dengeli) */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
}

.container-wide {
  max-width: var(--container-2xl);
}

.container-narrow {
  max-width: 860px;
}

/* Minimalist Üst Başlık (Eyebrow - Yapay zeka şablon hissini kıran temiz tipografi) */
.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-3);
}

/* Bölüm (Section) Standartları - Geniş, Ferah ve Pembe Vurgulu */
.section {
  padding-top: var(--space-24, 7rem);
  padding-bottom: var(--space-24, 7rem);
  position: relative;
  border-bottom: 1px solid rgba(233, 75, 145, 0.16);
}

.section-sm {
  padding-top: var(--space-16, 4.25rem);
  padding-bottom: var(--space-16, 4.25rem);
}

.section-lg {
  padding-top: var(--space-32, 9rem);
  padding-bottom: var(--space-32, 9rem);
}

.section-darker {
  background-color: #0D0E14;
  background-image: radial-gradient(circle at 85% 15%, rgba(233, 75, 145, 0.08) 0%, transparent 55%);
}

.section-surface {
  background-color: var(--bg-surface-1);
  background-image: radial-gradient(circle at 15% 85%, rgba(233, 75, 145, 0.07) 0%, transparent 55%);
}

/* Bölüm Başlık Düzeni */
.section-header {
  margin-bottom: var(--space-16, 4.25rem);
}

.section-header.text-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: #FF7EB6;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-4);
  padding: 6px 14px;
  background: linear-gradient(90deg, rgba(233, 75, 145, 0.22), rgba(233, 75, 145, 0.08));
  border: 1px solid rgba(233, 75, 145, 0.45);
  border-radius: var(--radius-full);
  box-shadow: 0 0 16px rgba(233, 75, 145, 0.18);
}

.section-title {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Metin ve Renk Yardımcıları */
.text-accent { color: var(--accent-cyan) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-amber { color: var(--accent-amber) !important; }
.text-white { color: #FFFFFF !important; }
.text-muted { color: var(--text-muted) !important; }
.font-mono { font-family: var(--font-mono) !important; }
.font-display { font-family: var(--font-display) !important; }

/* Koordinat ve Kılavuz Çizgisi Süsü */
.tech-crosshair-box {
  position: relative;
}

.tech-crosshair-box::before,
.tech-crosshair-box::after {
  content: '+';
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
  opacity: 0.5;
  pointer-events: none;
}

.tech-crosshair-box::before { top: -8px; left: -8px; }
.tech-crosshair-box::after { bottom: -8px; right: -8px; }

/* Ayrıştırıcı Çizgi */
.tech-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
  border: none;
  margin: var(--space-12) 0;
}

