:root {
  --primary: #16a34a; /* Emerald green */
  --primary-glow: rgba(22, 163, 74, 0.35);
  --secondary: #d97706; /* Amber accent */
  --bg-color: #e8f5e9; /* Light LCD green */
  --surface: rgba(255, 255, 255, 0.45); /* More transparent for glassmorphism */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --glass-border: rgba(255, 255, 255, 0.5); /* Stronger border for glass effect */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(22, 163, 74, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(217, 119, 6, 0.06), transparent 25%);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(22, 163, 74, 0.2) 0%, transparent 15%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.15) 0%, transparent 15%),
    radial-gradient(circle at 50% 50%, rgba(22, 163, 74, 0.08) 0%, transparent 20%);
  background-size:
    300px 300px,
    350px 350px,
    400px 400px;
  background-position:
    0 0,
    0 0,
    0 0;
  animation: geometric-shift 25s ease-in-out infinite;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 2%),
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.5) 0%, transparent 2%),
    radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.55) 0%, transparent 2.5%),
    radial-gradient(circle at 80% 85%, rgba(255, 255, 255, 0.4) 0%, transparent 2%),
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.5) 0%, transparent 2%),
    radial-gradient(circle at 35% 50%, rgba(255, 255, 255, 0.45) 0%, transparent 2%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.55) 0%, transparent 2.5%),
    radial-gradient(circle at 20% 60%, rgba(255, 255, 255, 0.4) 0%, transparent 2%),
    radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 2%),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.45) 0%, transparent 2%),
    radial-gradient(circle at 40% 10%, rgba(255, 255, 255, 0.55) 0%, transparent 2%),
    radial-gradient(circle at 75% 35%, rgba(255, 255, 255, 0.4) 0%, transparent 2%);
  background-size:
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%;
  animation: sparkle 4s ease-in-out infinite;
  z-index: 0;
}

main, footer {
  position: relative;
  z-index: 1;
}

@keyframes geometric-shift {
  0%, 100% {
    background-position: 0 0, 20px 20px, 0 0, 0 0;
    opacity: 1;
  }
  50% {
    background-position: 20px 0, 0 20px, 30px 30px, -30px 30px;
    opacity: 0.8;
  }
}

/* Glassmorphism Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  width: 32px;
  height: 32px;
  display: block;
}

html {
  scroll-behavior: smooth;
}

/* Nav butonları + hover'da dönen neon ışık halkası */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 5% 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 99;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links .nav-btn {
    justify-content: flex-start;
  }
}

.nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-btn:hover {
  color: var(--primary);
  background: rgba(34, 197, 94, 0.06);
}

/* Kenar boyunca dolaşan ışık şeridi: rijit bir kutuyu döndürmek yerine
   gerçek bir SVG dikdörtgeninin kenarını (stroke) çiziyoruz, bu yüzden
   köşelerde de doğal biçimde kıvrılıyor. pathLength=100 sayesinde buton
   genişliği ne olursa olsun aynı dash/animasyon değerleri geçerli olur. */
.nav-btn-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.nav-btn-glow rect {
  fill: none;
  stroke: url(#glow-gradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: 0;
  opacity: 0;
  filter: drop-shadow(0 0 6px #16a34a) drop-shadow(0 0 3px #d97706);
  transition: opacity 0.3s ease;
}

.nav-btn:hover .nav-btn-glow rect {
  opacity: 1;
  animation: nav-btn-orbit 1.2s linear infinite;
}

@keyframes nav-btn-orbit {
  to { stroke-dashoffset: -100; }
}

/* Bölüm başlıkları (Ne Sunuyoruz / Katalog / Fiyatlandırma ortak) */
.bolum {
  padding: 5rem 5%;
  max-width: 1100px;
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.bolum-baslik {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.bolum-baslik h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.bolum-baslik p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Katalog */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.catalog-card {
  background: linear-gradient(135deg, #ffe0b2 0%, #ffcc80 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.catalog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  pointer-events: none;
  z-index: 1;
}

.catalog-card-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
}

.catalog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 74, 0.4);
}

.catalog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: #1e293b;
}

.catalog-card p {
  color: white;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* Fiyatlandırma */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.price-card.one-cikan {
  border-color: #16a34a;
  background: linear-gradient(180deg, rgba(22, 163, 74, 0.08), var(--surface) 45%);
  position: relative;
}

.price-card.one-cikan::before {
  content: 'En çok tercih edilen';
  position: absolute;
  top: -13px;
  left: 24px;
  background: linear-gradient(135deg, #16a34a, #d97706);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.price-tag span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex-grow: 1;
}

.price-card li {
  color: var(--text-muted);
  padding: 0.4rem 0;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #16a34a;
  font-size: 0.75rem;
}

/* Footer */
footer.site-footer {
  position: relative;
  border-top: 1px solid var(--glass-border);
  padding: 0;
  overflow: hidden;
  scroll-margin-top: 90px;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 5rem 5% 3rem;
  text-align: center;
  color: var(--text-muted);
  backdrop-filter: blur(25px);
  background: rgba(255, 255, 255, 0.3);
}

.footer-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.footer-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #16a34a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-contact {
  margin: 2rem 0;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.4);
  border-radius: 50px;
  color: #16a34a;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-email:hover {
  background: rgba(22, 163, 74, 0.15);
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
}

.footer-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #16a34a, transparent);
  margin: 2rem auto;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

@keyframes float {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-30px);
  }
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Hero Section */
.hero {
  padding: 8rem 5% 4rem;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 18px var(--primary-glow));
}

.hero-badge img {
  width: 100%;
  height: 100%;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #16a34a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 560px) {
  .hero {
    padding: 6.5rem 6% 3rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Glowing Button */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #16a34a, #d97706);
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(22, 163, 74, 0.4);
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 5% 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

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

/* Glassmorphism Card */
.feature-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 163, 74, 0.5);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #16a34a, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

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

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
