/* ========================================
   KRYOTEK — Shared Design System
   v2 Modern Style
======================================== */

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

:root {
  --blue-950: #0a1628;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --text: #09090b;
  --text-2: #27272a;
  --text-muted: #71717a;
  --text-light: #a1a1aa;
  --border: #e4e4e7;
  --border-2: #f4f4f5;
  --bg: #fafafa;
  --white: #ffffff;
  --emergency: #dc2626;
  --success: #16a34a;
  --amber: #fbbf24;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.5;
  overflow-x: hidden;
}

/* ========== NAVBAR ========== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 10px 12px 10px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.08);
  width: calc(100% - 48px);
  max-width: 1200px;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -0.03em;
  text-decoration: none;
}

.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-900));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  position: relative; overflow: hidden;
}

.logo-icon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 100%);
}

.nav-links {
  display: flex; gap: 4px; list-style: none;
  flex: 1; justify-content: center;
}

.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-weight: 500; font-size: 14px;
  padding: 8px 14px; border-radius: 100px;
  transition: all 0.2s;
}

.nav-links a:hover { background: rgba(0, 0, 0, 0.04); }

.nav-links a.active {
  background: var(--text);
  color: white;
}

.nav-cta {
  background: var(--text); color: white;
  padding: 10px 20px; border-radius: 100px;
  border: none; font-weight: 600; font-size: 14px;
  font-family: inherit; cursor: pointer;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: -0.01em; text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.2);
}

/* ========== PAGE HEADER (Tüm iç sayfaların üst hero'su) ========== */
.page-hero {
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(96, 165, 250, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 30% 70%, rgba(37, 99, 235, 0.08), transparent);
  pointer-events: none; z-index: 0;
}

.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(9, 9, 11, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 11, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.breadcrumb {
  display: inline-flex; align-items: center;
  gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover { color: var(--blue); }

.breadcrumb-sep { opacity: 0.4; }

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

.page-title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
}

.page-title-gradient {
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue) 50%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 auto;
  letter-spacing: -0.01em;
  animation: fadeUp 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--text); color: white;
  padding: 14px 22px 14px 24px;
  border-radius: 100px; border: none;
  font-weight: 600; font-size: 15px;
  font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  position: relative; overflow: hidden;
  text-decoration: none;
}

.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-900));
  opacity: 0; transition: opacity 0.3s;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(37, 99, 235, 0.4);
}

.btn-arrow-circle {
  width: 22px; height: 22px;
  background: white; color: var(--text);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow-circle {
  transform: translateX(2px);
}

.btn-outline {
  background: white;
  color: var(--text);
  padding: 13px 22px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 600; font-size: 14px;
  font-family: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue);
  color: var(--blue);
}

/* ========== SECTION HEADER ========== */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-bottom: 16px;
}

.section-tag::before {
  content: ''; width: 24px; height: 1px;
  background: var(--blue);
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--text-light);
}

/* ========== FOOTER ========== */
.kryotek-footer {
  background: var(--text);
  color: white;
  padding: 80px 32px 40px;
  position: relative;
  overflow: hidden;
}

.kryotek-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(96,165,250,0.15), transparent 70%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}

.footer-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-900));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  letter-spacing: -0.01em;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-family: 'Geist Mono', monospace;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-list a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}

.footer-list a:hover {
  color: var(--blue-300);
}

.footer-list li {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-certs {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-certs .sep { opacity: 0.3; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .nav { padding: 8px 8px 8px 20px; gap: 24px; }
  .nav-links { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero { padding: 120px 16px 60px; }
}

@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
  .kryotek-footer { padding: 60px 16px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 110px 16px 48px; }
}
