:root {
  --bg: #070A12;
  --bg2: #0B1020;
  --card: #0F1733;
  --text: #EAF0FF;
  --muted: #AAB4D6;
  --border: rgba(255, 255, 255, .10);
  --accent: #7C3AED;
  --accent2: #22D3EE;
  --shadow: 0 18px 60px rgba(0, 0, 0, .35);
  --r: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 500px at 15% 5%, rgba(124, 58, 237, .35), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(34, 211, 238, .22), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.small {
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.h2 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -.02em;
}

.h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.01em;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 18, .55);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: relative;
}

.brand {
  font-weight: 850;
  letter-spacing: .04em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 10px;
}

.nav__link {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .06);
}

.nav__link.is-active {
  color: var(--text);
  background: rgba(124, 58, 237, .18);
  border-color: rgba(124, 58, 237, .30);
}

.navToggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
}

.hero {
  padding: 44px 0 18px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 22px;
  align-items: center;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
}

.hero__title {
  margin: 12px 0 10px;
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__desc {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.section {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 51, .72);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow);
}

.card--accent {
  border-color: rgba(124, 58, 237, .42);
  background: linear-gradient(180deg, rgba(124, 58, 237, .20), rgba(15, 23, 51, .72));
}

.card--glass {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .10);
}

.card__footer {
  margin-top: 14px;
}

.card--row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  text-decoration: none;
  font-weight: 650;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #5B21B6);
  border-color: transparent;
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
}

.tagRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 13px;
}

.mediaBox {
  border-radius: calc(var(--r) - 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mediaBox__img {
  width: 100%;
  height: auto;
}

.iconImg {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .04);
  object-fit: cover;
}

.promise {
  margin-top: 16px;
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.promise__title {
  font-weight: 800;
  letter-spacing: .02em;
}

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullets li {
  margin: 7px 0;
}

.thumb {
  width: 100%;
  height: 140px;
  border-radius: calc(var(--r) - 6px);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .18);
  object-fit: cover;
  margin-bottom: 10px;
}

.steps .step {
  padding: 14px;
}

.step__num {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
  background: rgba(124, 58, 237, .22);
  border: 1px solid rgba(124, 58, 237, .35);
}

.why {
  padding: 18px;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 34px 0 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 16px;
}

.footerLinks {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.footerLinks a {
  color: var(--muted);
  text-decoration: none;
}

.footerLinks a:hover {
  color: var(--text);
}

.footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  color: var(--muted);
  text-decoration: none;
}

.social a:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .grid--5 {
    grid-template-columns: 1fr;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .navToggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    right: 0;
    top: 58px;
    flex-direction: column;
    background: rgba(15, 23, 51, .95);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px;
    padding: 10px;
    min-width: 190px;
  }

  .nav.is-open {
    display: flex;
  }
}

/* Navbar CTA (Enroll) */
.navCta {
  margin-left: 8px;
}

@media (max-width: 820px) {
  .navCta {
    margin-left: 0;
    width: 100%;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 13px;
  color: var(--muted);
}

.field__input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
  color: var(--text);
  outline: none;
}

.field__input:focus {
  border-color: rgba(124, 58, 237, .55);
}

html {
  scroll-behavior: smooth;
}

#register {
  scroll-margin-top: 90px;
}

#register:target {
  animation: focusGlow 1.2s ease;
}

@keyframes focusGlow {
  0% {
    box-shadow: 0 0 0 rgba(124, 58, 237, 0);
  }

  40% {
    box-shadow: 0 0 30px rgba(124, 58, 237, .35);
  }

  100% {
    box-shadow: 0 0 0 rgba(124, 58, 237, 0);
  }
}

/* Koyu temaya uygun arama bölümü */
    .search-section {
      padding: 40px 0 20px 0;
      /* Açık arkaplanı kaldırdık, genel koyu temayla bütünleşecek */
      background: transparent; 
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Başlığı açıkça okunabilir beyaz yapıyoruz */
    .search-section .h2 {
      color: #ffffff !important;
    }

    .hero-search-box {
      display: flex;
      background: #ffffff;
      padding: 8px;
      border-radius: 50px;
      box-shadow: 0 8px 25px rgba(0,0,0,0.4); /* Koyu temaya uygun daha derin gölge */
      margin: 0 auto;
      max-width: 600px;
      gap: 10px;
      border: none;
    }

    .hero-search-box select, .hero-search-box input {
      border: none;
      padding: 10px;
      background: transparent;
      outline: none;
      font-size: 1rem;
      color: #333; /* İç yazılar koyu gri */
    }

    .hero-search-box select {
      border-right: 1px solid #ddd;
      color: #555;
    }

    .hero-search-box input {
      flex: 1;
    }

    .hero-search-box button {
      border-radius: 50px;
      padding: 10px 25px;
      background-color: #6320ee; /* Mor arama butonu */
      color: white;
      border: none;
      cursor: pointer;
    }

    /* Koyu Temaya Uygun Filtre Butonları */
    .filter-tabs {
      display: flex;
      justify-content: center;
      gap: 15px;
      margin-top: 25px;
      flex-wrap: wrap;
    }

    .filter-tabs .pill {
      cursor: pointer;
      transition: all 0.3s ease;
      user-select: none;
      color: #a0a0b0; /* Okunabilir açık gri */
      background-color: rgba(255, 255, 255, 0.08); /* Hafif transparan buton arka planı */
      padding: 8px 18px;
      border-radius: 50px;
      font-size: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .filter-tabs .pill:hover {
      background-color: rgba(255, 255, 255, 0.15);
      color: #ffffff;
    }

    /* Seçili olan butonun rengini arama butonuyla uyumlu yapıyoruz */
    .filter-tabs .pill.active {
      background-color: #6320ee; 
      color: #ffffff;
      border-color: #6320ee;
      transform: scale(1.05);
    }

    .user-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: #ddd;
      object-fit: cover;
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 15px;
    }

    .hidden-card {
      display: none !important;
    }
    
    @media (max-width: 600px) {
      .hero-search-box {
        flex-direction: column;
        border-radius: 12px;
      }
      .hero-search-box select {
        border-right: none;
        border-bottom: 1px solid #eee;
      }
      .hero-search-box button {
        border-radius: 8px;
        margin-top: 8px;
      }
    }

.planTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.price {
  text-align: right;
  font-weight: 800;
}

.price__main {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.planCtas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.planTop {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.price {
  text-align: right;
  font-weight: 800;
}

.price__main {
  font-size: 24px;
  letter-spacing: -0.02em;
}

.planCtas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Choose-plan cards: butonlar altta hizalansın */
.planCard{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.planCard .planCtas{ margin-top:auto; }