/* Genel Sıfırlama ve Akış */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
  background: #050509;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* Dinamik Neon Arka Plan Gradiyentleri */
body:before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: 
    radial-gradient(circle at 10% 10%, rgba(0, 229, 255, 0.25), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 47, 146, 0.25), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(255, 230, 0, 0.14), transparent 35%),
    #050509;
}

/* Arka Plan Efektleri (Canvas & Mouse Takip) */
#particles{
  position: fixed;
  inset: 0;
  z-index: -2;
}
.cursor-glow{
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.16), transparent 65%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
}

/* Link Yapısı */
a{
  text-decoration: none;
  color: inherit;
}

/* Üst Menü (Navbar) */
.navbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 8%;
  background: rgba(5, 5, 9, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo{
  font-size: 22px;
  font-weight: 900;
}
.logo span{
  color: #00e5ff;
  text-shadow: 0 0 18px #00e5ff;
}
nav{
  display: flex;
  gap: 22px;
  color: #ddd;
  font-size: 14px;
  font-weight: 700;
}
nav a:hover{
  color: #ff2f92;
  transition: 0.2s;
}

/* Buton Tasarımları */
.nav-btn, .btn{
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: .25s;
  cursor: pointer;
}
.nav-btn, .primary{
  background: linear-gradient(90deg, #00e5ff, #ff2f92);
  box-shadow: 0 0 30px rgba(255, 47, 146, 0.3);
  color: #fff;
  border: none;
}
.secondary{
  background: rgba(255, 255, 255, 0.08);
}
.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.3);
}
.btn:hover, .nav-btn:hover{
  transform: translateY(-4px);
  box-shadow: 0 5px 25px rgba(0, 229, 255, .25);
}

/* Giriş Bölümü (Hero Area) */
.hero{
  min-height: 100vh;
  padding: 140px 8% 70px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 45px;
  align-items: center;
}
.badge, .eyebrow{
  display: inline-block;
  color: #dffaff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  margin-bottom: 22px;
}
h1{
  font-size: clamp(48px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -4px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
h1 span{
  background: linear-gradient(90deg, #00e5ff, #ff2f92, #ffe600);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h2{
  font-size: clamp(22px, 3vw, 34px);
  color: #eee;
  margin-bottom: 20px;
}
.hero p, .section-text{
  color: #d2d2e8;
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
}
.hero-buttons, .contact-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Terminal Kapsayıcısı */
.terminal{
  border-radius: 28px;
  overflow: hidden;
  background: rgba(10, 10, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55), 0 0 60px rgba(0, 229, 255, 0.13);
}
.terminal-top{
  display: flex;
  gap: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.terminal-top span{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4757;
}
.terminal-top span:nth-child(2){ background: #ffa502; }
.terminal-top span:nth-child(3){ background: #2ed573; }
pre{
  min-height: 300px;
  padding: 26px;
  color: #00ff9d;
  font-family: Consolas, monospace;
  line-height: 1.8;
  white-space: pre-wrap;
}

/* Sayfa İçi Bölümler & Grid Sistemleri */
.section{
  padding: 60px 8% 80px;
}
.section h2, .contact h2, .ai-box h2{
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -2px;
}
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Kartlar, Projeler ve Yorumlar */
.card, .project, .testimonial, .ai-box, .contact{
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}
.card{
  padding: 28px;
  min-height: 220px;
  transition: .25s;
}
.card:hover, .project:hover{
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 45px rgba(0, 229, 255, 0.12);
}
.icon{
  font-size: 32px;
  margin-bottom: 18px;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}
.card h3, .project h3{
  font-size: 24px;
  margin-bottom: 12px;
}
.card p, .project p, .testimonial p, .contact p{
  color: #cacadb;
  line-height: 1.7;
}

/* Sayaç Alanı (Stats) */
.stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.stats div{
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.stats strong{
  display: block;
  font-size: 38px;
  color: #00e5ff;
}
.stats span{
  color: #ccc;
}

/* Proje Izgarası (Project Grid) */
.project-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project{
  padding: 28px;
  transition: .25s;
}
.project span{
  font-size: 34px;
  display: block;
  margin-bottom: 18px;
}

/* Yorumlar ve İnteraktif Alanlar */
.testimonial{
  padding: 28px;
}
.testimonial p{
  font-style: italic;
}
.testimonial strong{
  display: block;
  margin-top: 16px;
  color: #00e5ff;
}
.ai-box{
  margin: 40px 8%;
  padding: 48px;
}
.chat{
  display: grid;
  gap: 12px;
}
.chat p{
  padding: 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  color: #e7e7ff;
}

/* İletişim Form Yerleşimi */
.contact{
  text-align: center;
  margin: 40px 8%;
  padding: 70px 26px;
}
.contact-buttons{
  justify-content: center;
}

/* Alt Bilgi (Footer) */
footer{
  text-align: center;
  padding: 34px 8%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  margin-top: 40px;
}

/* GÖRÜNMEZLİK SORUNUNU ÇÖZEN AYAR - Doğrudan Aktif */
.reveal{
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Mobil ve Tablet Uyumluluğu (Responsive) */
@media(max-width: 950px){
  /* Navbar'ı genişleterek alt alta iki satır olabilmesini sağladık */
  .navbar {
    padding: 12px 5% !important;
    display: flex !important;
    flex-wrap: wrap !important; /* Sığmayan elemanları alt satıra atar */
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  /* Link grubunu alt satıra indirdik, yaydık ve tamamen ortaladık */
  nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important; /* Elemanların nefes alması için boşluk */
    width: 100% !important;
    order: 3 !important; /* Alt satıra inmeyi garantiler */
    padding-top: 4px !important;
    font-size: 14px !important;
  }

  /* Logo sol üstte kalacak */
  .logo {
    order: 1 !important;
  }

  /* Teklif Al butonu sağ üstte kalacak */
  .nav-btn {
    display: inline-block !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    order: 2 !important;
    margin: 0 !important;
  }

  /* Üst menü iki satır olunca hero alanındaki yazıların altında kalmaması için padding artırıldı */
  .hero{
    grid-template-columns: 1fr;
    padding-top: 160px !important; 
  }
  
  .grid, .project-grid, .stats{
    grid-template-columns: 1fr !important;
  }
  
  h1{
    letter-spacing: -2px;
  }
  
  .ai-box, .contact{
    margin: 40px 4%;
    padding: 30px 16px;
  }
}