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

html { scroll-behavior: smooth; }

body {
  background-color: #ffffff;
  color: #0A1929;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Başlık fontları */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ============================================
   HEADER — Donutlab tarzı koyu, şeffaf, sabit
   Pür CSS layout (Tailwind'e bağımlı DEĞİL)
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  will-change: transform;
}

/* Scroll aşağı → header yukarı kayıp gizlenir */
.header.header-hidden {
  transform: translateY(-100%);
}

/* Scroll yukarı → camsı şerit (yarı saydam + blur). Solid navy blur'u ezer. */
.header.scrolled-up {
  background: var(--glass-header-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.03);
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }

  .footer-col a,
  .footer-contact-btn,
  .footer-social a {
    transition: none;
  }

  .footer-contact-btn:hover {
    transform: none;
  }
}

/* Header iç sarmalayıcı — yatay flex */
.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo — siyah PNG'yi beyaza çevirir */
.logo {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 22px;
  width: auto;
  display: block;
  /* Sade beyaz wordmark (glow yok) */
  filter: brightness(0) invert(1);
}

/* Masaüstü navigasyon — ortada */
.nav-desktop {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-nav);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: color 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-glow);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Ürünler hover mega-menü — tam genişlik (Torqeedo tarzı) */
.nav-item--dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}
.nav-dropdown {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  padding: 26px 28px;
  background: rgba(12, 16, 24, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-bg);
  border-bottom: 1px solid var(--glass-bg);
  box-shadow: var(--shadow-nav);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 45;
}
.nav-dropdown__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown,
.nav-item--dropdown.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--glass-subtle);
  border: 1px solid var(--glass-line);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.nav-dropdown__link:hover {
  background: var(--glass-bg);
  border-color: var(--glow-a50);
  transform: translateY(-2px);
}
.ndd-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease;
}
.ndd-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}
.nav-dropdown__link:hover .ndd-title {
  color: var(--brand-glow);
}

/* Mobil menü alt seçenekleri (girintili) */
.mobile-menu a.mobile-sub {
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Header sağ aksiyon alanı */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Header "Teklif Al" butonu — diğer CTA'lardan biraz daha küçük */
.header-actions .btn-primary {
  padding: 7px 15px;
  font-size: 12.5px;
}

/* Button Primary */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--btn-gradient);
  color: white;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  filter: brightness(0.98);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition-duration: 0.08s;
}

/* Button Secondary */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: #0A1929;
  border: 1.5px solid #0A1929;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #0A1929;
  color: white;
}

/* Hamburger — masaüstünde gizli */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}

/* Mobile Menu — koyu tema */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(11, 18, 15, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-bg);
  padding: 24px 32px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 40;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-line);
}

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

/* Responsive header — 1100px altı: nav gizle, burger göster (7 öğe) */
@media (max-width: 1100px) {
  .nav-desktop { display: none; }
  .header-actions .btn-primary { display: none; }
  .burger { display: flex; }
  .header-inner { padding: 0 20px; }
}

@media (min-width: 1101px) {
  .mobile-menu { display: none !important; }
  .burger { display: none !important; }
}

/* Hero - Dark Donutlab style */
.hero {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #162135 100%);
  padding: 140px 20px 100px;
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--green-a05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.5px;
  font-weight: 800;
}

h1 .text-brand {
  color: var(--brand-green);
}

@media (max-width: 768px) {
  h1 { font-size: 40px; }
  .hero { padding: 100px 20px 60px; }
}

/* Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 80px;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.hero-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-strong);
  margin-bottom: 32px;
}

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

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-green);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Placeholder - Motor & Tekne */
.placeholder {
  background: linear-gradient(135deg, var(--green-a10) 0%, rgba(74, 166, 255, 0.05) 100%);
  border: 1px solid var(--green-a30);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* Section */
section {
  padding: 100px 20px;
}

/* Header offset — tüm id'li section'lar için TEK yer (anchor scroll) */
section[id] {
  scroll-margin-top: var(--header-height);
}

section h2 {
  font-size: 48px;
  margin-bottom: 16px;
  color: #0A1929;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  section h2 { font-size: 32px; }
  section { padding: 60px 20px; }
}

section > .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 14px;
  color: var(--brand-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-description {
  font-size: 16px;
  color: var(--ink-a75);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background: var(--glass-card);
  border: 1px solid var(--green-a25);
  border-radius: var(--radius-card);
  padding: 36px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(10px);
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-a60);
  background: var(--green-a08);
  box-shadow: var(--shadow-bento);
}

.bento-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 700;
}

.bento-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-a20);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4da6ff;
  margin-bottom: 16px;
  font-size: 24px;
}

/* Sections background */
#solutions {
  background: linear-gradient(135deg, #0a1929 0%, #0f2e3a 100%);
  border-top: 1px solid var(--green-a20);
}

#solutions h2,
#solutions section h2,
#solutions .section-description {
  color: #ffffff;
}

#solutions .section-description {
  color: rgba(255, 255, 255, 0.8);
}

#about {
  background: white;
  border-top: 1px solid var(--ink-a08);
}

#process {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid var(--ink-a08);
  overflow: visible;
}

/* Başlık kesilmesin: display font / negatif letter-spacing taşması */
#process > .container > h2 {
  overflow: visible;
  line-height: 1.2;
  padding-block: 0.08em;
}

#contact {
  background: linear-gradient(135deg, #0a1929 0%, #1a3a52 100%);
  border-top: 1px solid var(--green-a20);
  text-align: center;
}

#contact h2,
#contact p {
  color: #ffffff;
}

#contact h2 {
  margin-bottom: 16px;
}

/* Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--ink-a08);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: var(--text-muted);
  padding: 36px 32px 32px;
  border-right: 1px solid var(--ink-a08);
  overflow: visible;
}

.process-step:last-child {
  border-right: none;
}

@media (max-width: 1024px) {
  .process-step:nth-child(2n) {
    border-right: none;
  }
}

.process-step h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.process-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--brand-teal);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.process-step p {
  font-size: 14px;
  color: var(--ink-a70);
  line-height: 1.6;
}

/* Footer - Donutlab tarzı */
footer {
  /* Anasayfa ile aynı: #27303e tabanlı yumuşak dikey geçiş (füme/slate) */
  background:
    radial-gradient(120% 80% at 50% 0%, var(--glass-subtle) 0%, transparent 60%),
    linear-gradient(180deg, #2c3543 0%, #27303e 52%, #222a36 100%);
  border-top: 1px solid var(--glass-line);
  padding: 72px 20px 36px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Marka | Menü | Yasal | İletişim — 4 sabit sütun */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 52px;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Küçük, klasik beyaz logo — LED glow YOK */
.footer-logo img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: #e9edf2;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  margin: 26px 0 30px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 44px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  color: #e9edf2;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background var(--dur-mid) ease, transform var(--dur-mid) ease;
}

.footer-contact-btn:hover {
  background: var(--btn-gradient);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: #e9edf2;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  padding: 7px 0;
  transition: color var(--dur-fast) ease, text-shadow var(--dur-fast) ease;
}

/* Hover yalnız gerçek hover cihazlarında — dokunmatikte sticky hover yok */
@media (hover: hover) {
  .footer-col a:hover {
    color: var(--brand-glow);
    text-shadow: 0 0 8px var(--glow-a50);
  }
}

/* Klavye focus: aynı glow + görünür outline (a11y) */
.footer-col a:focus-visible {
  color: var(--brand-glow);
  text-shadow: 0 0 8px var(--glow-a50);
  outline: 2px solid var(--brand-glow);
  outline-offset: 2px;
}

/* İletişim sütunu: ikon + metin satırları */
.footer-col--contact .footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 2px;
  color: var(--text-ghost);
}

.footer-contact-text {
  color: inherit;
  text-decoration: none;
  user-select: text;
  word-break: break-word;
}

.footer-col a.footer-contact-text {
  display: inline;
  padding: 0;
  transition: color var(--dur-fast) ease, text-shadow var(--dur-fast) ease;
}

@media (hover: hover) {
  .footer-col a.footer-contact-text:hover {
    color: var(--brand-glow);
    text-shadow: 0 0 8px var(--glow-a50);
  }
}

.footer-col a.footer-contact-text:focus-visible {
  color: var(--brand-glow);
  text-shadow: 0 0 8px var(--glow-a50);
  outline: 2px solid var(--brand-glow);
  outline-offset: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--glass-footer);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-legal span,
.footer-legal a {
  color: var(--text-ghost);
  font-size: 13px;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Telif satırındaki mavi MARLAB hyperlink */
.footer-legal .brand-link {
  color: #4da6ff;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal .brand-link:hover {
  color: #4da6ff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: var(--text-ghost);
  display: inline-flex;
  transition: color 0.25s ease;
}

.footer-social a:hover {
  color: #ffffff;
}

/* Tablet: 2×2 */
@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobil: tek sütun — Marka → Menü → Yasal → İletişim */
@media (max-width: 639px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* About Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-a75);
  margin-bottom: 16px;
}

.about-text a {
  color: var(--brand-green);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: white;
  border: 1px solid var(--ink-a08);
  border-radius: var(--radius-card);
  padding: 28px;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 36px;
}

/* Contact Section */
.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 24px 0 48px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Email link + sol ayraç: çubuk metin satır yüksekliğinde, butonla dikey ortalı */
.contact-buttons > a:not(.btn-primary) {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  align-self: center;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 520px) {
  .contact-buttons > a:not(.btn-primary) {
    border-left: none;
    padding-left: 0;
  }
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-on-scroll.visible {
  opacity: 1;
}

/* Container Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Küçük utility shim — Tailwind CDN kaldırıldı,
   sadece kullanılan birkaç sınıf burada tanımlı
   ============================================ */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.font-semibold { font-weight: 600; }
.text-white { color: #ffffff; }
.text-brand { color: var(--brand-green); }
.hover\:opacity-75:hover { opacity: 0.75; }
