/* EMD — Ana sayfa (landing) */
:root {
  --ld-bg: #111827;
  --ld-surface: #182133;
  --ld-card: #1b2738;
  --ld-border: rgba(148, 163, 184, 0.12);
  --ld-text: #f1f5f9;
  --ld-muted: #94a3b8;
  --ld-accent: #4f46e5;
  --ld-accent2: #6366f1;
  --ld-gold: #f59e0b;
  --ld-radius: 16px;
  --ld-header-h: 72px;
  --ld-max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ld-body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background:
    radial-gradient(ellipse 75% 55% at 85% -10%, rgba(99, 102, 241, 0.22), transparent),
    radial-gradient(ellipse 65% 45% at 10% 25%, rgba(245, 158, 11, 0.14), transparent),
    var(--ld-bg);
  color: var(--ld-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* İlk boyama — küçük yükleme kartı */
.ld-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(7, 10, 18, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.38s ease, visibility 0.38s ease;
}

.ld-page-loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ld-page-loader-card {
  text-align: center;
  padding: 1.1rem 1.35rem 1.2rem;
  border-radius: 14px;
  border: 1px solid var(--ld-border);
  background: var(--ld-card);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 220px;
}

.ld-page-loader-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.5rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ld-accent), #7c3aed);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.ld-page-loader-text {
  margin: 0.65rem 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ld-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ld-page-loader-track {
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  overflow: hidden;
}

.ld-page-loader-fill {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ld-accent), var(--ld-gold));
  animation: ldPageLoaderSlide 0.95s ease-in-out infinite;
}

@keyframes ldPageLoaderSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(380%); }
}

@media (prefers-reduced-motion: reduce) {
  .ld-page-loader-fill {
    animation: none;
    width: 70%;
    margin: 0 auto;
    transform: none;
  }
}

.ld-container {
  width: 100%;
  max-width: var(--ld-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.ld-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--ld-header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ld-border);
  background: rgba(20, 28, 43, 0.82);
  backdrop-filter: blur(12px);
}

.ld-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: var(--ld-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.ld-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ld-text);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.ld-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ld-accent), #7c3aed);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.ld-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 900px) {
  .ld-nav { display: flex; }
}

.ld-nav a {
  color: var(--ld-muted);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}

.ld-nav a:hover {
  color: var(--ld-text);
  background: rgba(255,255,255,0.05);
}

.ld-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ld-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s, box-shadow 0.12s;
}

.ld-btn:active { transform: scale(0.98); }

.ld-btn-ghost {
  background: transparent;
  color: var(--ld-muted);
  border: 1px solid var(--ld-border);
}

.ld-btn-ghost:hover { color: var(--ld-text); border-color: var(--ld-muted); }

.ld-btn-primary {
  background: linear-gradient(135deg, var(--ld-accent), #4338ca);
  color: #fff;
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.35);
}

.ld-btn-primary:hover { box-shadow: 0 6px 24px rgba(79, 70, 229, 0.45); }

.ld-btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0c0a09;
  font-weight: 700;
}

.ld-menu-btn {
  display: flex;
  padding: 0.5rem;
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
  border-radius: 8px;
  color: var(--ld-text);
  cursor: pointer;
}

@media (min-width: 900px) {
  .ld-menu-btn { display: none; }
}

.ld-mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem;
  border-bottom: 1px solid var(--ld-border);
  background: var(--ld-surface);
}

.ld-mobile-nav.open { display: flex; }

.ld-mobile-nav a {
  color: var(--ld-muted);
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--ld-border);
  font-weight: 500;
}

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

/* Hero */
.ld-hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 4rem;
}

.ld-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(129, 140, 248, 0.3), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 158, 11, 0.14), transparent),
    linear-gradient(180deg, #1a2436 0%, var(--ld-bg) 100%);
  z-index: 0;
  animation: ldBgDrift 12s ease-in-out infinite alternate;
}

.ld-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .ld-hero-grid { grid-template-columns: 1fr 1fr; }
}

.ld-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  animation: ldFadeUp 0.7s ease both;
}

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

.ld-hero-lead {
  margin: 0 0 1.5rem;
  color: var(--ld-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  animation: ldFadeUp 0.85s ease both;
}

.ld-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  animation: ldFadeUp 1s ease both;
}

.ld-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ld-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.2);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.ld-hero-visual {
  border-radius: var(--ld-radius);
  overflow: hidden;
  border: 1px solid var(--ld-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.33);
  aspect-ratio: 4/3;
  background: var(--ld-card);
  animation: ldFloatSoft 6s ease-in-out infinite;
}

.ld-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-hero-visual--illu {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #121a24 0%, #0d1218 50%, #121a24 100%);
}

.ld-hero-svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Sections */
.ld-section {
  padding: 4rem 0;
}

.ld-section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ld-section-sub {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 560px;
  color: var(--ld-muted);
  font-size: 0.95rem;
}

/* Features */
.ld-features {
  display: grid;
  gap: 1.25rem;
}

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

@media (min-width: 960px) {
  .ld-features { grid-template-columns: repeat(3, 1fr); }
}

.ld-feature {
  padding: 1.5rem;
  border-radius: var(--ld-radius);
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ld-feature:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.ld-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.2);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.ld-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.ld-feature p {
  margin: 0;
  color: var(--ld-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Packages */
.ld-packages {
  display: grid;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  justify-items: stretch;
}

@media (min-width: 768px) {
  .ld-packages {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
  .ld-packages > .ld-package:only-child,
  .ld-packages > .ld-package:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(520px, 100%);
    justify-self: center;
  }
}

.ld-package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: var(--ld-radius);
  background: var(--ld-card);
  border: 2px solid var(--ld-border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ld-package:hover {
  border-color: rgba(129, 140, 248, 0.42);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.35);
  transform: translateY(-3px);
}

.ld-package-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  margin-bottom: 0.75rem;
}

.ld-package h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.ld-package .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: #e0e7ff;
  margin: 0.5rem 0;
}

.ld-package .price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ld-muted);
}

.ld-package ul {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--ld-muted);
  font-size: 0.9rem;
}

.ld-package ul li { margin-bottom: 0.35rem; }

/* Demo: daha geniş içerik alanı */
.ld-section--demo-wide .ld-container--demo {
  max-width: min(1380px, 96vw);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 900px) {
  .ld-section--demo-wide .ld-container--demo {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Demo embed */
.ld-demo-wrap {
  border-radius: var(--ld-radius);
  overflow: hidden;
  border: 1px solid var(--ld-border);
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,0.32);
}

.ld-demo-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--ld-surface);
  border-bottom: 1px solid var(--ld-border);
  font-size: 0.8rem;
  color: var(--ld-muted);
}

.ld-demo-dots {
  display: flex;
  gap: 6px;
}

.ld-demo-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #374151;
}

.ld-demo-frame {
  width: 100%;
  height: min(820px, 78vh);
  border: none;
  display: block;
  background: #fff;
}

/* Contact */
.ld-contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .ld-contact-grid { grid-template-columns: 1fr 1.1fr; }
}

.ld-contact-info {
  padding: 1.5rem;
  border-radius: var(--ld-radius);
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
}

.ld-contact-info h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.ld-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--ld-muted);
}

.ld-contact-row a {
  color: #a5b4fc;
  text-decoration: none;
}

.ld-contact-row a:hover { text-decoration: underline; }

.ld-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.ld-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--ld-text);
  text-decoration: none;
  font-size: 0.85rem;
  border: 1px solid var(--ld-border);
}

.ld-social a:hover { border-color: var(--ld-accent); }

.ld-form {
  padding: 1.5rem;
  border-radius: var(--ld-radius);
  background: var(--ld-card);
  border: 1px solid var(--ld-border);
}

.ld-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ld-muted);
  margin-bottom: 0.35rem;
}

.ld-form input,
.ld-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--ld-border);
  background: var(--ld-bg);
  color: var(--ld-text);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.ld-form input:focus,
.ld-form textarea:focus {
  outline: none;
  border-color: var(--ld-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.ld-form textarea { min-height: 120px; resize: vertical; }

.ld-alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.ld-alert.ok {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
}

.ld-alert.err {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Footer */
.ld-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--ld-border);
  text-align: center;
  color: var(--ld-muted);
  font-size: 0.85rem;
}

.ld-footer a { color: #a5b4fc; text-decoration: none; }

@keyframes ldFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ldFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes ldBgDrift {
  0% { filter: saturate(100%); }
  100% { filter: saturate(112%); }
}

@media (prefers-reduced-motion: reduce) {
  .ld-hero-bg,
  .ld-hero h1,
  .ld-hero-lead,
  .ld-hero-cta,
  .ld-hero-visual {
    animation: none !important;
  }
}

@media (max-width: 768px) {
  .ld-header {
    height: 64px;
  }

  .ld-header-inner {
    padding: 0 0.85rem;
  }

  .ld-container {
    padding: 0 0.9rem;
  }

  .ld-hero {
    padding: 2.25rem 0 2.7rem;
  }

  .ld-hero-lead {
    font-size: 0.98rem;
  }

  .ld-section {
    padding: 3rem 0;
  }

  .ld-package {
    padding: 1.35rem;
  }

  .ld-contact-info,
  .ld-form {
    padding: 1.1rem;
  }
}
