/* CXR ortak yazı tipleri (cxr.app ile aynı dosyalar): başlıklar DIN, gövde FreeSans. Kendi sunucumuzdan; Google Fonts yok. */
@font-face { font-family: "DIN"; src: url("../../landing/fonts/din-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DIN"; src: url("../../landing/fonts/din-bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-regular.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-bold.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-oblique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --font-head: "DIN", "Helvetica Neue", Arial, sans-serif; --font-body: "FreeSans", "Helvetica Neue", Arial, sans-serif; }

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

:root {
  /* CATALOG OFFICIAL BRAND PALETTE: Lacivertten açık maviye */
  --catalog-navy: #1E3A8A;         /* Koyu kurumsal lacivert */
  --catalog-blue: #3B82F6;         /* Canlı vitrin mavisi */
  --catalog-surface: #EAF1FE;      /* Açık zemin */
  --catalog-subtle: rgba(59, 130, 246, 0.12);
  --catalog-glow: rgba(59, 130, 246, 0.28);
  --catalog-border: rgba(30, 58, 138, 0.14);

  /* BACKGROUNDS & SURFACES */
  --cream: #F8FAFC;
  --cream-light: #FFFFFF;
  --cream-tint: #F1F5F9;

  /* DARK & SLATE TONES */
  --dark: #0F172A;
  --dark-card: #1E293B;
  --dark-card-hover: #334155;
  --mid: #334155;

  /* TEXT & MUTED */
  --text: #0F172A;
  --muted: #475569;
  --muted-light: #94A3B8;

  /* CXR AI ACCENT (Strictly isolated to AI components) */
  --ai-indigo: #4338CA;
  --ai-indigo-surface: #EEF2FF;
  --ai-indigo-glow: rgba(67, 56, 202, 0.25);

  /* BORDERS & SHADOWS */
  --border: rgba(30, 58, 138, 0.12);
  --border-hover: rgba(59, 130, 246, 0.45);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.14);
  --shadow-blue: 0 12px 30px rgba(59, 130, 246, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body, "FreeSans", Arial, sans-serif);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

/* ==========================================================================
   GLOBAL BUTTONS (BRAND RULE ENFORCED)
   - White text ONLY on dark tones (#1E3A8A, #0F172A)
   ========================================================================== */
.btn-primary {
  background: var(--catalog-navy);
  color: #FFFFFF !important;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-primary:hover {
  background: #172554;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.2;
}

.btn-secondary:hover {
  background: #FFFFFF;
  color: var(--catalog-navy) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* OUTLINE BLUE BUTTON (Light surface: dark navy text) */
.btn-outline-gold,
.btn-outline-blue {
  background: #FFFFFF;
  color: var(--catalog-navy) !important;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1.5px solid var(--catalog-border);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-outline-gold:hover,
.btn-outline-blue:hover {
  border-color: var(--catalog-navy);
  color: #FFFFFF !important;
  background: var(--catalog-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
}

/* CTA BUTTON */
.btn-blue-cta {
  background: var(--catalog-navy);
  color: #FFFFFF !important;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

.btn-blue-cta:hover {
  background: #172554;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.45);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: var(--font-head, "DIN", Arial, sans-serif);
  font-size: 1.6rem;
  color: var(--dark);
  letter-spacing: -0.03em;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--catalog-blue);
  font-weight: 900;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--catalog-navy);
  font-weight: 700;
}

/* BRAND RULE: Renkli zemin üzerindeki yazı, o rengin koyu tonuyla yazılır */
.nav-badge-pill {
  background: var(--catalog-surface);
  color: var(--catalog-navy);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  letter-spacing: 0.04em;
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-secondary {
  color: var(--catalog-navy);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: #FFFFFF;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  height: 38px;
}

.nav-secondary:hover {
  border-color: var(--catalog-navy);
  background: var(--catalog-surface);
  color: var(--catalog-navy);
}

.nav-cta {
  background: var(--catalog-navy);
  color: #FFFFFF !important;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.28);
  white-space: nowrap;
  line-height: 1;
  height: 38px;
}

.nav-cta:hover {
  background: #172554;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--catalog-navy);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
  border-color: var(--catalog-navy);
  background: var(--catalog-surface);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
}

.mobile-nav-links a.active {
  color: var(--catalog-navy);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--dark);
  color: rgba(248, 250, 252, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 3rem 2.5rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-head, "DIN", Arial, sans-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.footer-brand .logo span {
  color: var(--catalog-blue);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.65);
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(248, 250, 252, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE COMMON
   ========================================================================== */
@media (max-width: 1080px) {
  nav { padding: 0 1.75rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    height: 62px;
  }
  .nav-logo {
    font-size: 1.45rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .nav-secondary {
    display: none;
  }
  .nav-actions .nav-cta {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    height: 36px;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
  }
  .mobile-drawer {
    top: 62px;
  }
}

@media (max-width: 640px) {
  footer { padding: 3rem 1.25rem 2rem; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Dil seçici (TR / EN / DE) ve alt bilgi sosyal bağlantıları */
.nav-lang {
  display: inline-flex;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #FFFFFF;
}
.nav-lang a {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--muted);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-full);
}
.nav-lang a:hover { color: var(--dark); }
.nav-lang a.is-active { background: var(--dark); color: #FFFFFF; }
.nav-lang-drawer { align-self: flex-start; margin-bottom: 1rem; }
.nav-lang-drawer a { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
.footer-social {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.08); }

/* Menü bağlantıları + dil seçici geniş ekranda sığsın */
@media (max-width: 1360px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.85rem; }
}
@media (max-width: 768px) {
  .nav-actions .nav-lang { display: none; }
}
