:root {
  --bg: rgba(249, 250, 245, 0.75);
  --border: rgba(0, 0, 0, 0.06);
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #4f46e5; /* İkonlar ve badge için ana renk */
  --gradient: linear-gradient(135deg, #6366f1, #3b82f6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* Fontu standardize ettik kankam */
  font-family: "Inter", -apple-system, system-ui, sans-serif;
}

body {
  background: linear-gradient(180deg, #f9faf5 0%, #f3f4f6 100%);
  color: var(--text);
  line-height: 1.5;
}

/* =========================
    NAVBAR (MASAÜSTÜ & GENEL)
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text);
  text-decoration: none;
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/* HOVER ALT ÇİZGİ EFEKTİ (HEM MASAÜSTÜ HEM MOBİL) */
.nav-center a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
  padding: 4px 0;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-center a:hover {
  color: var(--text);
}

.nav-center a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.cta {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: var(--gradient);
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* Varsayılan olarak gizli elemanlar */
.hamburger,
.mobile-login {
  display: none;
}

/* ARKA PLANI BULANIKLAŞTIRAN KATMAN (OVERLAY) */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px); /* İşte o istediğin bulanıklık */
  z-index: 998;
  display: none; /* JS ile active olunca görünecek */
  opacity: 0;
  transition: opacity 0.3s ease;
}

#overlay.active {
  display: block;
  opacity: 1;
}

/* =========================
    RESPONSIVE NAVBAR
========================= */

@media (max-width: 768px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
  }

  /* SIRALAMA: SOL(HAMBURGER) - ORTA(LOGO) - SAĞ(CTA) */
  .hamburger {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
  }

  .nav-left {
    order: 2;
  }

  .nav-right {
    order: 3;
  }

  .nav-right .login {
    display: none;
  }

  .logo {
    font-size: 18px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s ease;
  }

  /* SOLDAN AÇILAN PANEL (%70 GENİŞLİK + SAYDAM) */
  .nav-center {
    position: fixed;
    top: 0;
    left: -100%; /* BURASI SOLA ÇEKİLDİ */
    right: auto;
    width: 70%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8); /* Saydamlık eklendi */
    backdrop-filter: blur(10px); /* Menünün kendi arkası da saydam cam efekti */
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 40px;
    gap: 30px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1050;
  }

  .nav-center.active {
    left: 0; /* Menü açılınca soldan girer */
  }

  .mobile-login {
    display: block;
    margin-top: 20px;
    color: var(--text) !important;
    font-weight: 600;
    border-top: 1px solid var(--border);
    padding-top: 20px;
  }

  /* Hamburger Animasyonu */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Mobildeki login linkinde hover çizgisini iptal et */
.nav-center a.mobile-login::after {
  display: none !important;
}

.nav-center a.mobile-login:hover {
  opacity: 0.7; /* Çizgi yerine hafif bir renk solması daha şık durur */
}

/* =========================
   HERO SECTION
========================= */

.hero {
  padding: 120px 0 140px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  color: var(--text);
}

.hero-content p {
  margin: 24px 0 32px;
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-primary {
  font-size: 16px;
  padding: 14px 28px;
}

.hero-secondary {
  padding: 14px 26px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border);
  font-weight: 600;
  cursor: pointer;
}

/* STATS */
.hero-stats {
  display: flex;
  gap: 32px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 20px;
  color: var(--text);
}

.hero-stats span {
  font-size: 14px;
  color: var(--muted);
}

/* RIGHT (YENİ GÖRSEL STİLLERİ) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img {
  animation: float 6s ease-in-out infinite;
  width: 100%;
  height: auto;
  max-width: 550px; /* Görselin çok devasa olmasını engeller */
  border-radius: 20px; /* Görselin köşelerini yumuşatır, istersen silebilirsin */
  filter: drop-shadow(
    0 20px 40px rgba(0, 0, 0, 0.1)
  ); /* Hafif derinlik katar */
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =========================
    RESPONSIVE HERO
========================= */

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 16px;
    margin: 16px auto 24px;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
  }

  .hero-stats {
    justify-content: center;
  }

  /* Görsel mobilde de düzgün dursun */
  .hero-img {
    max-width: 90%;
  }
}

/* =========================
   FEATURES SECTION
========================= */

.features {
  padding: 140px 0;
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
}

.features-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.features-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.features-header h2 {
  font-size: 42px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.features-header p {
  font-size: 18px;
  color: var(--muted);
}

/* GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

/* CARD */
.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
    RESPONSIVE FEATURES
========================= */

@media (max-width: 768px) {
  .features {
    padding: 80px 0;
  }

  .features-header {
    text-align: center;
    margin: 0 auto 50px auto;
  }

  .features-header h2 {
    font-size: 30px;
  }

  .features-grid {
    /* Mobilde ve tablette yan yana 2 kart (1fr 1fr) */
    grid-template-columns: 1fr 1fr;
    gap: 16px; /* Kartlar arası boşluğu biraz daralttık ki sığsınlar */
  }

  .feature-card {
    padding: 20px 15px; /* İç boşluğu optimize ettik */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-card h3 {
    font-size: 16px; /* Yazıların sığması için fontu bir tık küçülttük */
  }

  .feature-card p {
    font-size: 13px; /* Açıklama metnini de bir tık küçülttük */
    line-height: 1.4;
  }
}

/* ÇOK KÜÇÜK EKRANLAR İÇİN (Opsiyonel) */
@media (max-width: 480px) {
  .features-grid {
    /* Ekran çok küçülürse (iPhone SE gibi) yazılar okunmaz, o zaman teke düşer */
    grid-template-columns: 1fr;
  }
}

/* =========================
   SOLUTIONS SECTION
========================= */

.solutions {
  padding: 140px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f9faf5 100%);
}

.solutions-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.solutions-header {
  max-width: 640px;
  margin-bottom: 100px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.solutions-header h2 {
  font-size: 42px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.solutions-header p {
  font-size: 18px;
  color: var(--muted);
}

/* LIST & ITEMS */
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.solution-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 120px; /* Boşluğu biraz daha optimize ettim */
  align-items: center;
}

.solution-item.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.solution-item.reverse .solution-text {
  order: 2;
}

.solution-item.reverse .solution-visual {
  order: 1;
}

/* TEXT & BENEFITS (İkonlu Liste) */
.solution-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--text);
}

.solution-text p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.solution-benefits {
  list-style: none;
}

.solution-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 12px;
  color: #4b5563;
}

.solution-benefits i {
  color: var(
    --primary
  ); /* İkon rengi artık emoji değil profesyonel font-awesome */
  font-size: 18px;
}

/* VISUAL & IMAGES */
.solution-visual {
  display: flex;
  justify-content: center;
}

.solution-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.solution-img:hover {
  transform: translateY(-10px); /* Hafif hover efekti kankam */
}

/* =========================
    RESPONSIVE SOLUTIONS
========================= */

@media (max-width: 768px) {
  .solutions-header {
    text-align: center;
    margin: 0 auto 60px auto;
  }

  .solutions-header h2 {
    font-size: 32px;
  }

  .solution-item,
  .solution-item.reverse {
    display: flex;
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .solution-item .solution-text,
  .solution-item.reverse .solution-text {
    order: 2;
    align-items: center;
  }

  .solution-item .solution-visual,
  .solution-item.reverse .solution-visual {
    order: 1;
  }

  .solution-benefits li {
    justify-content: center;
  }
}

/* =========================
   PRICING SECTION
========================= */

.pricing {
  padding: 140px 0;
  background: linear-gradient(180deg, #f9faf5 0%, #ffffff 100%);
}

.pricing-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.pricing-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.pricing-header h2 {
  font-size: 42px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.pricing-header p {
  font-size: 18px;
  color: var(--muted);
}

/* GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* CARD */
.pricing-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* PRICE */
.price {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
}

.price span {
  font-size: 20px;
  vertical-align: super;
}

.price small {
  font-size: 14px;
  color: var(--muted);
}

/* FEATURES */
.plan-features {
  list-style: none;
  margin-bottom: 32px;
}

.plan-features li {
  font-size: 15px;
  margin-bottom: 12px;
  color: #374151;
}

/* BUTTONS */
.plan-btn {
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.plan-btn.primary {
  background: #4f46e5;
  color: white;
}

.plan-btn.secondary {
  background: #f3f4f6;
  color: #111827;
}

/* FEATURED PLAN */
.pricing-card.featured {
  border: 2px solid #4f46e5;
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #4f46e5;
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 999px;
}

/* =========================
    RESPONSIVE PRICING
========================= */

@media (max-width: 768px) {
  .pricing {
    padding: 80px 0;
  }

  .pricing-header {
    text-align: center;
    margin: 0 auto 50px auto;
  }

  .pricing-header h2 {
    font-size: 32px;
  }

  .pricing-grid {
    grid-template-columns: 1fr; /* Kartlar mobilde tam genişlik alt alta */
    gap: 40px; /* Kartlar arası dikey boşluk */
    padding: 0 10px; /* Kartların ekrana çok yapışmaması için */
  }

  .pricing-card {
    padding: 32px 24px;
    transform: none !important; /* Masaüstündeki scale efektini mobilde iptal ediyoruz */
  }

  /* Öne çıkan kartın mobilde taşmasını engelle ama rengini koru */
  .pricing-card.featured {
    border: 2px solid #4f46e5;
    order: -1; /* İstersen en popüler planı mobilde en üste alabilirsin, yoksa bu satırı sil */
  }

  .price {
    font-size: 40px;
  }

  .pricing-card:hover {
    transform: none; /* Mobilde dokunmatik ekran olduğu için hover efektini kapattık */
  }

  .plan-features {
    text-align: left; /* Özellikler listesi kartın içinde sola yaslı daha okunaklı olur */
    display: inline-block;
    width: 100%;
    max-width: 240px; /* Listeyi ortalamak için sınırladık */
  }
}

/* =========================
   TESTIMONIALS SECTION
========================= */

.testimonials {
  padding: 140px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%);
}

.testimonials-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.testimonials-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.testimonials-header h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.testimonials-header p {
  font-size: 18px;
  color: var(--muted);
}

/* GRID */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* CARD */
.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.quote {
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 28px;
}

/* AUTHOR */
.author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.author span {
  font-size: 13px;
  color: var(--muted);
}

/* =========================
    RESPONSIVE TESTIMONIALS
========================= */

@media (max-width: 768px) {
  .testimonials {
    padding: 80px 0;
  }

  .testimonials-header {
    text-align: center;
    margin: 0 auto 50px auto;
  }

  .testimonials-header h2 {
    font-size: 32px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr; /* Kartlar mobilde tek sütun */
    gap: 24px;
  }

  .testimonial-card {
    padding: 28px; /* Mobilde biraz daha az yer kaplasın */
  }

  .quote {
    font-size: 15px; /* Okunabilirliği artırmak için çok hafif küçülttük */
    margin-bottom: 24px;
  }

  .author div {
    /* Mobilde uzun ünvanlar sığmazsa diye alt alta gelmelerini engelle */
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .author span {
    font-size: 12px; /* Şirket ismi ve pozisyon mobilde daha kibar dursun */
  }
}

/* =========================
   FAQ SECTION
========================= */

.faq {
  padding: 140px 0;
  background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
}

.faq-container {
  max-width: 900px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.faq-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.faq-header h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.faq-header p {
  font-size: 18px;
  color: var(--muted);
}

/* LIST */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ITEM */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

/* QUESTION */
.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-question span {
  font-size: 20px;
  transition: transform 0.25s ease;
}

/* ANSWER */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-answer p {
  padding: 0 0 24px;
  color: #374151;
  font-size: 15px;
  line-height: 1.6;
}

/* ACTIVE STATE */
.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* =========================
    RESPONSIVE FAQ
========================= */

@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }

  .faq-header {
    text-align: center; /* Başlığı ortaladık */
    margin: 0 auto 50px auto;
  }

  .faq-header h2 {
    font-size: 32px;
  }

  .faq-header p {
    font-size: 16px;
  }

  .faq-question {
    padding: 18px 20px; /* Mobilde biraz daha kompakt bir yapı */
    font-size: 15px; /* Soruların sığması için hafif küçültme */
    text-align: left; /* Soru metni her zaman solda kalsın */
  }

  .faq-answer p {
    font-size: 14px; /* Cevap metni mobilde daha rahat okunur */
  }
}

/* =========================
   FINAL CTA SECTION
========================= */

.final-cta {
  padding: 160px 24px;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
  color: white;
  text-align: center;
}

.cta-container {
  max-width: 720px;
  margin: auto;
}

/* BADGE */
.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 14px;
  margin-bottom: 24px;
}

/* TITLE */
.final-cta h2 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 24px;
}

/* TEXT */
.final-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
}

/* ACTIONS */
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cta-primary {
  background: white;
  color: #4f46e5;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* NOTE */
.cta-note {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #0f172a;
  color: #cbd5f5;
  padding: 80px 24px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
}

/* BRAND */
.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: white;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.6;
  max-width: 320px;
}

/* LINKS */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col strong {
  display: block;
  margin-bottom: 16px;
  color: white;
  font-size: 14px;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  color: #cbd5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: white;
}

/* BOTTOM */
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-legal a {
  margin-left: 16px;
  color: #cbd5f5;
  text-decoration: none;
}

.footer-legal a:hover {
  color: white;
}

/* =========================
    RESPONSIVE FOOTER
========================= */

@media (max-width: 768px) {
  .footer {
    padding: 60px 24px 30px;
    text-align: center; /* Mobilde her şeyi ortalamak daha şık durur */
  }

  .footer-container {
    display: flex;
    flex-direction: column; /* Marka ve linkleri alt alta al */
    gap: 50px;
  }

  .footer-brand p {
    margin: 0 auto; /* Paragrafı ortala */
  }

  .footer-links {
    /* Link sütunlarını mobilde yan yana 2 tane sığacak şekilde ayarla */
    grid-template-columns: 1fr 1fr;
    text-align: left; /* Link başlıkları ve linkler sola yaslı kalsın */
    gap: 32px;
  }

  /* Üçüncü sütunu (Company) genişletip tam satır yapabiliriz veya 2'li kalsın */
  .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column; /* Telif hakları ve Legal linkleri alt alta */
    gap: 16px;
    margin-top: 40px;
  }

  .footer-legal {
    display: flex;
    gap: 20px;
  }

  .footer-legal a {
    margin-left: 0; /* Masaüstündeki boşluğu sıfırla */
  }
}

/* EKSTRA: Çok küçük ekranlar için linkleri teke düşürelim */
@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =========================
    YENİ ÖZELLİKLER (SCROLL & ACTIVE LINK)
========================= */

/* 1. Scroll Reveal Başlangıç Durumu */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Active Link Stili (Navbar'da hangi bölümde olduğunu belli eder) */
.nav-center a.active-link {
  color: var(--text);
  font-weight: 700;
}

.nav-center a.active-link::after {
  width: 100% !important;
}

/* 3. Back to Top Butonu */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-5px);
}
