@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --kdbl-primary: #0ea5e9;
  --kdbl-primary-hover: #0284c7;
  --kdbl-secondary: #8b5cf6;
  --kdbl-accent: #10b981;
  --kdbl-bg-light: #f8fafc;
  --kdbl-card-bg: #ffffff;
  --kdbl-card-border: #e2e8f0;
  --kdbl-text-main: #0f172a;
  --kdbl-text-muted: #475569;
  --kdbl-radius: 24px;
  --kdbl-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.08), 0 5px 15px -5px rgba(15, 23, 42, 0.04);
}

.kdbl-vitrin-wrapper {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--kdbl-bg-light);
  color: var(--kdbl-text-main);
  min-height: 100vh;
  padding: 40px 20px 90px;
  box-sizing: border-box;
  overflow-x: hidden;
  position: relative;
}

/* Hero Section - Space / Dark Lab Theme */
.kdbl-hero {
  max-width: 1140px;
  margin: 0 auto 70px;
  text-align: center;
  position: relative;
  padding: 80px 30px;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #064e3b 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 28px;
  box-shadow: 0 25px 50px -15px rgba(14, 165, 233, 0.2);
  overflow: hidden;
  color: #ffffff;
}

.kdbl-hero-decoration .kdbl-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}

.kdbl-glow-1 {
  background: #0ea5e9;
  top: -120px;
  left: -80px;
  opacity: 0.3;
}

.kdbl-glow-2 {
  background: #8b5cf6;
  bottom: -120px;
  right: -80px;
  opacity: 0.3;
}

.kdbl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.kdbl-hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.kdbl-pill-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #e0f2fe;
}

.kdbl-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 18px;
  color: #ffffff;
  line-height: 1.15;
}

.kdbl-hero-subtitle {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 500;
}

.kdbl-hero-cta-box {
  display: flex;
  justify-content: center;
}

.kdbl-hero-cta {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.45);
  transition: all 0.3s ease;
}

.kdbl-hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px -5px rgba(14, 165, 233, 0.6);
  color: #ffffff;
}

/* 3 Kartlı Bilgilendirme Bölümü */
.kdbl-info-section {
  max-width: 1140px;
  margin: 0 auto 80px;
}

.kdbl-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kdbl-info-card {
  background: #ffffff;
  border: 1px solid var(--kdbl-card-border);
  border-radius: var(--kdbl-radius);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--kdbl-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kdbl-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -12px rgba(15, 23, 42, 0.12);
  border-color: #bae6fd;
}

.kdbl-info-icon {
  font-size: 3.2rem;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f9ff;
  border-radius: 20px;
  margin-bottom: 22px;
}

.kdbl-info-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px;
}

.kdbl-info-desc {
  font-size: 0.98rem;
  color: var(--kdbl-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Activities Section */
.kdbl-activities-section {
  max-width: 1140px;
  margin: 0 auto;
}

.kdbl-section-header {
  margin-bottom: 44px;
  text-align: center;
}

.kdbl-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
}

.kdbl-section-desc {
  font-size: 1.15rem;
  color: var(--kdbl-text-muted);
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.6;
}

/* Grid & Cards */
.kdbl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

.kdbl-card {
  background: var(--kdbl-card-bg);
  border: 1px solid var(--kdbl-card-border);
  border-radius: var(--kdbl-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--kdbl-shadow);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kdbl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--kdbl-primary), var(--kdbl-secondary), var(--kdbl-accent));
  opacity: 0.9;
}

.kdbl-card:hover {
  transform: translateY(-8px);
  border-color: #bae6fd;
  box-shadow: 0 25px 45px -12px rgba(14, 165, 233, 0.18);
}

.kdbl-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.kdbl-card-icon {
  font-size: 2.8rem;
  background: #f0f9ff;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid #e0f2fe;
}

.kdbl-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.kdbl-age-tag {
  background: #e0f2fe;
  color: #0284c7;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #bae6fd;
}

.kdbl-status-tag {
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
}

.kdbl-badge-coming {
  background: #fdf4ff;
  color: #c026d3;
  border: 1px solid #f5d0fe;
}

.kdbl-card-body {
  flex-grow: 1;
}

.kdbl-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.kdbl-card-subtitle {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--kdbl-primary);
  margin: 0 0 14px;
}

.kdbl-card-desc {
  font-size: 0.98rem;
  color: var(--kdbl-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}

.kdbl-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.kdbl-skill-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Card Progress */
.kdbl-card-progress {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 24px;
}

.kdbl-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.kdbl-progress-label {
  color: var(--kdbl-text-muted);
  font-weight: 600;
}

.kdbl-progress-val {
  color: #0f172a;
  font-weight: 700;
}

.kdbl-badge-val {
  color: var(--kdbl-secondary);
}

.kdbl-progress-bar-container {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 14px;
}

.kdbl-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--kdbl-primary), var(--kdbl-accent));
  border-radius: 6px;
  transition: width 0.6s ease;
}

/* Card Footer & Button */
.kdbl-card-footer {
  margin-top: auto;
}

.kdbl-card-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px 20px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.4px;
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.4);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.kdbl-card-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(14, 165, 233, 0.55);
  color: #ffffff;
}

.kdbl-btn-lock {
  background: #f1f5f9;
  color: #64748b;
  box-shadow: none;
  border: 1px solid #cbd5e1;
}

.kdbl-btn-lock:hover {
  background: #e2e8f0;
  color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kdbl-btn-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  border: 1px dashed #cbd5e1;
}

.kdbl-btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Standalone adjustments */
html,
body.kdbl-standalone-page,
body.kdbl-vitrin-standalone-page {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  background: #f8fafc;
  overflow-x: hidden;
}

body.kdbl-standalone-page #wpadminbar,
body.kdbl-vitrin-standalone-page #wpadminbar {
  display: none !important;
}

body.kdbl-standalone-page {
  margin-top: 0 !important;
}

.kdbl-vitrin-standalone-shell {
  width: 100%;
  min-height: 100vh;
  background: #f8fafc;
}

.kdbl-vitrin-standalone-page .kdbl-vitrin-wrapper {
  min-height: 100vh;
  padding: 32px 20px 80px;
}

.kdbl-back-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.kdbl-back-site-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Modal */
.kdbl-access-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  opacity: 0;
  pointer-events: none;
}

.kdbl-access-modal.kdbl-access-modal-open {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.kdbl-access-modal-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(5px);
}

.kdbl-access-modal-card {
  position: relative !important;
  z-index: 2 !important;
  width: min(92vw, 520px);
  background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 36%), #ffffff;
  border: 2px solid rgba(186, 230, 253, 0.9);
  border-radius: 28px;
  padding: 42px 42px 34px;
  text-align: center;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.35);
}

.kdbl-access-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
  font-size: 1.5rem;
  cursor: pointer;
}

.kdbl-access-modal-icon {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
  box-shadow: 0 18px 36px rgba(14, 165, 233, 0.25);
}

.kdbl-access-modal-card h3 {
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 1.8rem;
  font-weight: 900;
}

.kdbl-access-modal-card p {
  color: #475569;
  margin: 0 auto 26px;
  line-height: 1.55;
}

.kdbl-access-modal-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.kdbl-access-modal-primary,
.kdbl-access-modal-secondary {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
}

.kdbl-access-modal-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.kdbl-access-modal-secondary {
  color: #0f172a;
  background: #ffffff;
  border: 2px solid #dbeafe;
}

body.kdbl-access-modal-body-lock {
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .kdbl-hero-title { font-size: 2.3rem; }
  .kdbl-hero-subtitle { font-size: 1.08rem; }
  .kdbl-info-grid, .kdbl-grid { grid-template-columns: 1fr; }
}
