/* ═══════════════════════════════════════════════
   DASHBOARD CSS — Modern Proje Kartları + Landing
   ═══════════════════════════════════════════════ */

/* ─── DASHBOARD CONTENT (authenticated) ─── */
.dashboard-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

.dashboard-cards-wrapper {
  max-width: 960px;
  width: 100%;
}

/* ═════════════════════════════════════════
   MODERN PROJECT CARDS
   ═════════════════════════════════════════ */

.project-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card__glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  opacity: 0.12;
  transition: all 0.4s ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-card:hover .project-card__glow {
  opacity: 0.2;
  transform: scale(1.3);
}

.project-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.project-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.project-card:hover .project-card__icon {
  transform: scale(1.1) rotate(-3deg);
}

.project-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.project-card__desc {
  font-size: 0.88rem;
  color: #6c757d;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.project-card__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.project-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ── Primary (Nihai Proje) ── */
.project-card--primary .project-card__glow {
  background: #0d6efd;
}

.project-card--primary .project-card__icon {
  background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
  color: #0d6efd;
}

.project-card--primary:hover {
  border-color: rgba(13, 110, 253, 0.2);
  box-shadow: 0 20px 40px rgba(13, 110, 253, 0.12);
}

.project-card__btn--primary {
  background: linear-gradient(135deg, #0d6efd, #4e8cff);
  color: #fff;
}

.project-card__btn--primary:hover {
  background: linear-gradient(135deg, #0b5ed7, #3d7bf0);
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
}

/* ── Danger (Ek Bağlantı) ── */
.project-card--danger .project-card__glow {
  background: #dc3545;
}

.project-card--danger .project-card__icon {
  background: linear-gradient(135deg, #fde8ea, #fbd0d5);
  color: #dc3545;
}

.project-card--danger:hover {
  border-color: rgba(220, 53, 69, 0.2);
  box-shadow: 0 20px 40px rgba(220, 53, 69, 0.12);
}

.project-card__btn--danger {
  background: linear-gradient(135deg, #dc3545, #f06272);
  color: #fff;
}

.project-card__btn--danger:hover {
  background: linear-gradient(135deg, #c82333, #e44d5e);
  color: #fff;
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* ── Warning (Güç Artışı) ── */
.project-card--warning .project-card__glow {
  background: #f59e0b;
}

.project-card--warning .project-card__icon {
  background: linear-gradient(135deg, #fef3cd, #fde49e);
  color: #d97706;
}

.project-card--warning:hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.12);
}

.project-card__btn--warning {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
}

.project-card__btn--warning:hover {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* ── Locked ── */
.project-card__btn--locked {
  background: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
}

.project-card__btn--locked:hover {
  transform: none;
  box-shadow: none;
}


/* ═════════════════════════════════════════
   LANDING PAGE (unauthenticated)
   ═════════════════════════════════════════ */

.landing-page {
  overflow-x: hidden;
}

/* ── Hero ── */
.landing-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4fc 50%, #e8f0fe 100%);
  position: relative;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.landing-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(13, 110, 253, 0.08);
  color: #0d6efd;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1.25rem;
}

.landing-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a2e;
  margin-bottom: 1.25rem;
}

.text-gradient {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero__desc {
  font-size: 1rem;
  color: #5a6a7e;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.landing-hero__img {
  max-height: 340px;
  width: auto;
  border-radius: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* ── Landing Buttons ── */
.landing-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.landing-btn--primary {
  background: linear-gradient(135deg, #0d6efd, #4e8cff);
  color: #fff;
  box-shadow: 0 4px 16px rgba(13, 110, 253, 0.25);
}

.landing-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
  color: #fff;
}

.landing-btn--outline {
  background: #fff;
  color: #344767;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.landing-btn--outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  color: #0d6efd;
  border-color: rgba(13, 110, 253, 0.3);
}

/* ── Feature Cards ── */
.landing-features {
  padding: 2rem 0 1rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.feature-card__desc {
  font-size: 0.88rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.5;
}

.feature-card--blue {
  background: linear-gradient(135deg, #f8fbff, #eef4fc);
}

.feature-card--blue .feature-card__icon {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.feature-card--teal {
  background: linear-gradient(135deg, #f0fafb, #e6f7f8);
}

.feature-card--teal .feature-card__icon {
  background: rgba(13, 202, 240, 0.12);
  color: #0dcaf0;
}

.feature-card--amber {
  background: linear-gradient(135deg, #fffdf5, #fef3cd);
}

.feature-card--amber .feature-card__icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

/* ── Mission Cards ── */
.landing-mission {
  padding: 0 0 3rem;
}

.mission-card {
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.mission-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.mission-card h5 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a2e;
}

.mission-card p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

.mission-card--blue {
  background: linear-gradient(135deg, #f8fbff, #eef4fc);
}

.mission-card--blue .mission-card__icon {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.mission-card--green {
  background: linear-gradient(135deg, #f0faf0, #e6f7e6);
}

.mission-card--green .mission-card__icon {
  background: rgba(25, 135, 84, 0.1);
  color: #198754;
}


/* ═════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════ */

@media (max-width: 991.98px) {
  .landing-hero__title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .dashboard-content {
    min-height: auto;
    align-items: flex-start;
    padding-top: 2rem;
  }

  .project-card {
    padding: 1.5rem 1.25rem;
  }

  .project-card__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .landing-hero {
    padding: 2.5rem 0 2rem;
  }

  .landing-hero__title {
    font-size: 1.75rem;
  }

  .landing-hero__img {
    max-height: 240px;
    margin-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .landing-hero__title {
    font-size: 1.5rem;
  }

  .project-card__title {
    font-size: 1.05rem;
  }
}
