/**
 * FRC Academy — koyu, sade landing (tanıtım.css üzerine)
 * body.theme-dark-landing ile aktif
 */

body.theme-dark-landing {
  --ld-bg: hsl(222 47% 5%);
  --ld-bg-elevated: hsl(222 40% 10%);
  --ld-surface: hsl(222 35% 12%);
  --ld-border: hsl(222 25% 20%);
  --ld-text: hsl(210 25% 96%);
  --ld-muted: hsl(215 14% 62%);
  --ld-accent: hsl(262 78% 58%);
  --ld-accent-dim: hsl(262 50% 45%);
  --ld-glow: hsl(262 80% 60% / 0.22);

  background-color: var(--ld-bg);
  color: var(--ld-muted);
  font-family: "DM Sans", var(--ff-spartan), system-ui, sans-serif;
  font-size: 1.6rem;
}

.theme-dark-landing .h1,
.theme-dark-landing .h2,
.theme-dark-landing .h3,
.theme-dark-landing .hero-title,
.theme-dark-landing .section-title,
.theme-dark-landing .logo {
  color: var(--ld-text);
}

.theme-dark-landing .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: hsl(222 47% 6% / 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ld-border);
  padding-block: 14px;
}

.theme-dark-landing .header.active {
  background: hsl(222 47% 7% / 0.92);
  animation: none;
  top: 0;
  transform: none;
  box-shadow: 0 12px 40px hsl(0 0% 0% / 0.25);
}

.theme-dark-landing .header > .container {
  flex-wrap: wrap;
  gap: 12px;
}

.theme-dark-landing .logo {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.theme-dark-landing .nav-toggle-btn {
  color: var(--ld-text);
}

.theme-dark-landing .navbar {
  background-color: var(--ld-surface);
  border: 1px solid var(--ld-border);
  border-radius: 12px;
}

.theme-dark-landing .navbar-link {
  color: var(--ld-muted);
}

.theme-dark-landing .navbar-link:is(:hover, :focus) {
  color: var(--ld-text);
}

.theme-dark-landing .navbar-item:not(:last-child) {
  border-color: var(--ld-border);
}

.theme-dark-landing .header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.theme-dark-landing .header .header-actions .btn-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  background-image: none !important;
}

.theme-dark-landing .btn-nav-ghost {
  color: var(--ld-text);
  border: 1px solid var(--ld-border);
  background: transparent;
}

.theme-dark-landing .btn-nav-ghost:hover {
  border-color: var(--ld-muted);
  background: hsl(222 30% 16%);
}

.theme-dark-landing .btn-nav-primary {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--ld-accent), var(--ld-accent-dim));
  box-shadow: 0 0 0 0 var(--ld-glow);
}

.theme-dark-landing .btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--ld-glow);
}

.theme-dark-landing .hero-cta .btn-nav {
  min-height: 48px;
  padding: 0 22px;
  font-size: 1.5rem;
}

.theme-dark-landing .hero-cta-secondary {
  margin-inline-start: 0;
}

@media (min-width: 992px) {
  .theme-dark-landing .navbar,
  .theme-dark-landing .navbar.active {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .theme-dark-landing .navbar-link {
    color: var(--ld-muted);
    font-size: 1.45rem;
  }

  .theme-dark-landing .header-actions {
    margin-inline-start: 0;
  }
}

.theme-dark-landing .hero {
  padding-block-start: calc(88px + var(--section-padding));
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--ld-glow), transparent 55%),
    var(--ld-bg);
}

.theme-dark-landing .hero .section-text,
.theme-dark-landing .hero-lead {
  color: var(--ld-muted);
  max-width: 42ch;
}

.theme-dark-landing .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ld-accent);
  margin-block-end: 16px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid hsl(262 50% 40% / 0.45);
  background: hsl(262 40% 20% / 0.25);
  animation: hero-badge-in 0.6s ease both;
}

.theme-dark-landing .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ld-accent);
  box-shadow: 0 0 12px var(--ld-accent);
}

.theme-dark-landing .hero-title {
  animation: hero-title-in 0.65s ease 0.08s both;
}

.theme-dark-landing .hero-lead {
  animation: hero-title-in 0.65s ease 0.16s both;
}

.theme-dark-landing .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px 28px;
  animation: hero-title-in 0.65s ease 0.22s both;
}

.theme-dark-landing .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: hero-title-in 0.65s ease 0.28s both;
}

.theme-dark-landing .hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.theme-dark-landing .hero-stats strong {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--ld-text);
  letter-spacing: -0.03em;
}

.theme-dark-landing .hero-stats span {
  font-size: 1.25rem;
  color: var(--ld-muted);
  text-transform: lowercase;
}

.theme-dark-landing .hero-banner {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ld-border);
  box-shadow: 0 24px 60px hsl(0 0% 0% / 0.35);
  animation: hero-banner-in 0.8s ease 0.12s both;
}

.theme-dark-landing .hero-banner img {
  border-radius: 20px;
}

@keyframes hero-badge-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-banner-in {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.theme-dark-landing .service,
.theme-dark-landing .features,
.theme-dark-landing .about,
.theme-dark-landing .support {
  background-color: var(--ld-bg) !important;
}

.theme-dark-landing .service-card {
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  box-shadow: none;
}

.theme-dark-landing .service-card .card-content {
  color: var(--ld-muted);
}

.theme-dark-landing .service-card .card-title {
  color: var(--ld-text);
}

.theme-dark-landing .features-item {
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  box-shadow: none;
}

.theme-dark-landing .features-item .item-title {
  color: var(--ld-muted);
  font-weight: 500;
}

.theme-dark-landing .footer {
  background: var(--ld-bg-elevated);
  border-top: 1px solid var(--ld-border);
}

.theme-dark-landing .copyright {
  color: var(--ld-muted);
}

.theme-dark-landing .back-top-btn {
  background: var(--ld-surface);
  border: 1px solid var(--ld-border);
  color: var(--ld-text);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.theme-dark-landing .back-top-btn:hover {
  transform: translateY(-3px);
  background: var(--ld-accent);
  border-color: var(--ld-accent);
}

@media (prefers-reduced-motion: reduce) {
  .theme-dark-landing .hero-badge,
  .theme-dark-landing .hero-title,
  .theme-dark-landing .hero-lead,
  .theme-dark-landing .hero-cta,
  .theme-dark-landing .hero-stats,
  .theme-dark-landing .hero-banner {
    animation: none !important;
  }

  .theme-dark-landing .btn-nav-primary:hover {
    transform: none;
  }
}

/* Servis kartları — eşit yükseklik; özellik satırları — ikon + metin hizası */
.theme-dark-landing .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.theme-dark-landing .service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-dark-landing .service-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.theme-dark-landing .features-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}

.theme-dark-landing .features-item .item-icon {
  flex-shrink: 0;
  width: 28px;
  height: auto;
  margin-block-start: 4px;
}

.theme-dark-landing .features-item .item-title {
  flex: 1;
  margin: 0;
}

.theme-dark-landing .section.about .container,
.theme-dark-landing .section.support .container {
  max-width: min(900px, 100%);
}

.theme-dark-landing .about .section-text {
  max-width: 62ch;
  margin-inline: auto;
}

.theme-dark-landing .support .support-content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
