@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-light: #ffffff;
  --bg-card-light: #f9f9f9;
  --text-light: #111111;
  --text-muted-light: #737373;
  --border-light: rgba(0, 0, 0, 0.08);

  --bg-dark: #000000;
  --bg-card-dark: #0a0a0a;
  --text-dark: #ffffff;
  --text-muted-dark: #888888;
  --border-dark: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
  background-color: var(--bg-light); color: var(--text-light);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

body {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px; background-position: center top;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

svg { display: block; }

/* =========================================
   SİMSİYAH ÜST MENÜ (İnce ve Zarif)
   ========================================= */
nav {
  position: fixed; top: 0; width: 100%; 
  height: 64px; padding: 0 5%;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100; 
  background: rgba(10, 10, 10, 0.95); /* Simsiyah menü */
  backdrop-filter: blur(16px); 
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* LOGO BÜYÜTÜLDÜ (Navbar'ı şişirmemesi için yükseklik kilitlendi, transform kullanıldı) */
.nav-logo { display: flex; align-items: center; height: 100%; }
.nav-logo img { 
    height: 32px; /* Layout yüksekliği düşük tutuldu ki menü kalınlaşmasın */
    width: auto; 
    object-fit: contain; 
    transform: scale(2.2); /* Sadece görsel olarak 2.2 kat büyütüldü */
    transform-origin: left center;
}

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: #a1a1aa; text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: #ffffff; }

/* YENİ DİL DEĞİŞTİRME BUTONU (TR / EN) */
.lang-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); border-radius: 6px;
    padding: 0.4rem 0.8rem; font-size: 0.75rem; cursor: pointer;
    color: #ffffff; transition: all 0.2s; display: flex; align-items: center; gap: 0.4rem;
}
.lang-btn:hover { background: rgba(255,255,255,0.1); }
.active-lang { font-weight: 800; opacity: 1; }
.inactive-lang { font-weight: 400; opacity: 0.4; }
.lang-sep { opacity: 0.3; margin: 0 2px; }


/* HERO SECTION */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 0 5%; padding-top: 6rem; position: relative; text-align: center;
}
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 800px; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; padding: 0.4rem 1rem; border: 1px solid var(--border-light); border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; color: var(--text-muted-light); margin-bottom: 2rem; letter-spacing: 0.08em; background: var(--bg-card-light);
}
.hero-title { font-size: 5rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 1.5rem; color: var(--text-light); }
.hero-desc { font-size: 1.15rem; color: var(--text-muted-light); line-height: 1.6; margin-bottom: 2.5rem; font-weight: 400; max-width: 85%; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 3rem; justify-content: center; }
.btn-primary { background: var(--text-light); color: var(--bg-light); padding: 1rem 2rem; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.9; }
.trust-bar { display: flex; gap: 2rem; border-top: 1px solid var(--border-light); padding-top: 2rem; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted-light); font-weight: 600; }
.trust-item svg { color: var(--text-light); }

/* PROBLEM & SOLUTION */
.mission-section { padding: 8rem 5%; background: var(--bg-card-light); border-top: 1px solid var(--border-light); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: 1200px; margin: 0 auto; }
.m-card { display: flex; flex-direction: column; gap: 1rem; }
.m-label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted-light); text-transform: uppercase; letter-spacing: 0.1em; }
.m-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-light); }
.m-desc { font-size: 1.1rem; line-height: 1.6; color: var(--text-muted-light); }

/* DARK THEME (Altyapı) */
.dark-section { background-color: var(--bg-dark); color: var(--text-dark); }
.infrastructure-section { padding: 8rem 5%; border-top: 1px solid var(--border-dark); }
.infra-container { display: flex; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.infra-visual { flex: 1; display: flex; justify-content: center; position: relative; }
.infra-visual::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 250px; height: 400px; background: rgba(255,255,255,0.05); filter: blur(80px); z-index: 1;
}
.hero-img-container { 
    position: relative; z-index: 2; width: 100%; max-width: 320px; 
    border-radius: 40px; 
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.05);
}
.hero-image { width: 100%; height: auto; display: block; border-radius: 40px; object-fit: cover; }

.infra-content { flex: 1.2; }
.section-header { margin-bottom: 3rem; }
.section-title { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; color: var(--text-dark); }
.section-desc { font-size: 1.1rem; color: var(--text-muted-dark); line-height: 1.5; }

.infra-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.infra-card {
    background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: 20px; padding: 2rem;
    display: flex; flex-direction: column; transition: border-color 0.3s;
}
.infra-card:hover { border-color: rgba(255,255,255,0.2); }
.infra-icon { margin-bottom: 1rem; color: var(--text-dark); }
.infra-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; color: var(--text-dark); }
.infra-desc { font-size: 0.95rem; color: var(--text-muted-dark); line-height: 1.6; }

/* FOOTER */
footer { background: var(--bg-card-dark); padding: 5rem 5% 3rem 5%; border-top: 1px solid var(--border-dark); display: flex; flex-direction: column; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 4rem; border-bottom: 1px solid var(--border-dark); padding-bottom: 4rem; align-items: center;}
.footer-cta-block { max-width: 500px; }
.footer-cta { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; color: var(--text-dark); margin-bottom: 1rem; }
.footer-sub { font-size: 1rem; color: var(--text-muted-dark); line-height: 1.5;}

.animated-btn {
    position: relative; overflow: hidden; display: inline-flex;
    width: 240px; height: 56px; justify-content: center; align-items: center;
    background: #000000; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px;
    text-decoration: none; font-weight: 700; font-size: 0.95rem;
    transition: background 0.4s ease;
}
.animated-btn span {
    position: absolute; width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-text-default { color: #ffffff; transform: translateY(0); }
.btn-text-hover { color: #000000; transform: translateY(100%); }

.animated-btn:hover { background: #ffffff; border-color: #ffffff; }
.animated-btn:hover .btn-text-default { transform: translateY(-100%); }
.animated-btn:hover .btn-text-hover { transform: translateY(0); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
/* Footer logosu da aynı şekilde büyütüldü */
.footer-logo img { 
    height: 40px; width: auto; object-fit: contain; 
    transform: scale(1.6); transform-origin: left center;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted-dark); font-weight: 500; }


  .mission-grid { grid-template-columns: 1fr; }
  .infra-container { flex-direction: column; }
  .footer-top { flex-direction: column; gap: 2rem; align-items: flex-start; }
}


/* ===================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS (Tablet & Mobile)
   =================================================== */

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .hero-title { font-size: 3.2rem; }
  .mission-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .infra-container { flex-direction: column; gap: 3rem; }
  .infra-content { width: 100%; }
  .footer-top { flex-direction: column; gap: 2rem; align-items: flex-start; }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  /* NAVBAR - Kompakt ve Ekrandan Taşmayan */
  nav {
    height: 56px;
    padding: 0 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    max-width: 45%;
  }
  .nav-logo img {
    height: 24px;
    width: auto;
    transform: scale(1.2);
    transform-origin: left center;
  }
  .nav-links {
    gap: 0.75rem;
  }
  .nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
  }
  .lang-btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    gap: 0.25rem;
    border-radius: 4px;
  }
  .lang-btn svg {
    width: 11px;
    height: 11px;
  }

  /* HERO (İLK EKRAN) - EKRANA TAM VE KUSURSUZ SIĞMA */
  .hero {
    min-height: calc(100svh - 56px); /* Mobil tarayıcı dinamik yüksekliğine uyumlu */
    min-height: calc(100vh - 56px);
    padding: 4.5rem 1rem 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.85rem;
    letter-spacing: 0.04em;
    max-width: 95%;
    text-align: center;
    line-height: 1.35;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 100%;
    padding: 0 0.25rem;
  }
  .hero-desc {
    font-size: clamp(0.85rem, 2.7vw, 0.94rem);
    line-height: 1.5;
    max-width: 100%;
    margin-bottom: 1.35rem;
    padding: 0 0.5rem;
    color: var(--text-muted-light);
  }
  .hero-actions {
    width: 100%;
    margin-bottom: 1.35rem;
    display: flex;
    justify-content: center;
  }
  .btn-primary {
    width: auto;
    min-width: 200px;
    max-width: 280px;
    padding: 0.8rem 1.75rem;
    font-size: 0.88rem;
    text-align: center;
    border-radius: 6px;
  }
  /* Trust Bar - Mobilde tek satırda veya derli toplu yatay akış */
  .trust-bar {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }
  .trust-item {
    font-size: 0.74rem;
    gap: 0.35rem;
    justify-content: center;
    white-space: nowrap;
  }
  .trust-item svg {
    width: 13px;
    height: 13px;
  }

  /* MISSION / PROBLEM & ÇÖZÜM BÖLÜMÜ */
  .mission-section {
    padding: 4rem 1.25rem;
  }
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .m-card {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  }
  .m-label {
    font-size: 0.72rem;
  }
  .m-title {
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }
  .m-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* INFRASTRUCTURE */
  .infrastructure-section {
    padding: 4rem 1.25rem;
  }
  .infra-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  .infra-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .infra-visual::before {
    width: 180px;
    height: 260px;
    filter: blur(45px);
  }
  .hero-img-container {
    max-width: 240px;
    border-radius: 26px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  .hero-image {
    border-radius: 26px;
  }
  .section-header {
    margin-bottom: 1.75rem;
    text-align: left;
  }
  .section-title {
    font-size: 1.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.7rem;
    line-height: 1.2;
  }
  .section-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .infra-grid {
    gap: 1rem;
  }
  .infra-card {
    padding: 1.35rem;
    border-radius: 16px;
  }
  .infra-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.65rem;
  }
  .infra-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
  }
  .infra-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* FOOTER */
  footer {
    padding: 3.5rem 1.25rem 2.5rem 1.25rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
    align-items: stretch;
  }
  .footer-cta {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }
  .footer-sub {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .animated-btn {
    width: 100%;
    max-width: 100%;
    height: 50px;
    border-radius: 8px;
    font-size: 0.9rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
  }
  .footer-logo img {
    height: 28px;
    transform: scale(1.15);
    transform-origin: center center;
  }
  .footer-copy {
    font-size: 0.75rem;
  }
}

/* Küçük Ekranlar (iPhone SE, Galaxy A serisi, ekran <= 380px) */
@media (max-width: 380px) {
  .hero {
    padding: 3.8rem 0.75rem 1rem 0.75rem;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.15;
    margin-bottom: 0.65rem;
  }
  .hero-desc {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  .badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
    margin-bottom: 0.65rem;
  }
  .btn-primary {
    padding: 0.7rem 1.35rem;
    font-size: 0.84rem;
    min-width: 170px;
  }
  .trust-bar {
    gap: 0.5rem;
    padding-top: 0.75rem;
  }
  .trust-item {
    font-size: 0.68rem;
  }
  .nav-links a {
    font-size: 0.72rem;
  }
  .nav-logo img {
    height: 22px;
    transform: scale(1.1);
  }
  .hero-img-container {
    max-width: 200px;
    border-radius: 20px;
  }
  .hero-image {
    border-radius: 20px;
  }
}
