:root {
  --brand-50: #fef2f2;
  --brand-100: #fee2e2;
  --brand-200: #fecaca;
  --brand-600: #dc2626;
  --brand-700: #b91c1c;
  --brand-800: #991b1b;
  --corporate-50: #f8fafc;
  --corporate-100: #f1f5f9;
  --corporate-200: #e2e8f0;
  --corporate-300: #cbd5e1;
  --corporate-400: #94a3b8;
  --corporate-500: #64748b;
  --corporate-600: #475569;
  --corporate-700: #334155;
  --corporate-800: #1e293b;
}

.k-card {
  position: relative;
  border-radius: 16px;
  padding: 16px;
  background: 
    radial-gradient(600px 200px at 0% 0%, rgba(220,38,38,.03), transparent 60%) no-repeat,
    linear-gradient(145deg, #ffffff, #fafbfc);
  border: 1px solid var(--corporate-200);
  box-shadow: 0 1px 3px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.04);
  transition: all .22s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.k-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(220,38,38,.08), 0 8px 32px rgba(15,23,42,.06);
  border-color: rgba(220,38,38,.2);
}

.k-iconbox {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--corporate-100), var(--corporate-50));
  color: var(--corporate-600);
  border: 1px solid var(--corporate-200);
  transition: all .22s ease;
  flex-shrink: 0;
}

.k-card:hover .k-iconbox {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  border-color: var(--brand-600);
  transform: scale(1.05);
}

.k-card-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--corporate-800);
  margin-bottom: 2px;
  line-height: 1.3;
}

.k-card-subtitle {
  font-size: .875rem;
  color: var(--corporate-500);
  line-height: 1.4;
}

.k-card-icon {
  color: var(--corporate-400);
  transition: color .2s ease;
  font-size: 1rem;
  flex-shrink: 0;
}

.k-card:hover .k-card-icon {
  color: var(--brand-600);
}

.k-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  padding: .28rem .5rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .55rem .9rem;
  border-radius: 10px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--brand-600), var(--brand-700));
  box-shadow: 0 6px 16px rgba(220,38,38,.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e11d48, var(--brand-700));
}

.btn-outline {
  border: 1px solid rgba(2,6,23,.14);
  color: #0f172a;
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
  background: #fff5f5;
}

.docs-panel {
  display: none;
}

.docs-panel.show {
  display: grid;
}

.login-tab.active,
.doukampus-tab.active {
  background: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}

.disabled-resource {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.disabled-resource::after {
  content: "Yakında";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f59e0b;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .k-card {
    padding: 12px;
  }
  
  .k-iconbox {
    width: 40px;
    height: 40px;
  }
  
  .k-card-title {
    font-size: .95rem;
  }
  
  .k-card-subtitle {
    font-size: .8rem;
  }
  
  .k-card-icon {
    font-size: .9rem;
  }
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

.hero-decor {
  position: relative;
  overflow: hidden;
  background: 
    radial-gradient(1200px 600px at 10% -10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(800px 400px at 110% 120%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(100deg, #b91c1c, #7f1d1d);
  color: #fff;
}

.hero-decor .hero-content {
  position: relative;
  z-index: 1;
}

.hero-decor .orb {
  position: absolute;
  z-index: 0;
  border-radius: 9999px;
  filter: blur(6px);
  opacity: .30;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-decor .orb.a {
  width: 380px;
  height: 380px;
  left: -60px;
  top: -40px;
  background: radial-gradient(circle at 35% 35%, #fff, rgba(255,255,255,.12) 45%, transparent 65%);
  animation: hero-float-1 18s ease-in-out infinite;
}

.hero-decor .orb.b {
  width: 240px;
  height: 240px;
  right: 10%;
  top: 12%;
  background: radial-gradient(circle at 40% 40%, #fff, rgba(255,255,255,.12) 45%, transparent 65%);
  animation: hero-float-2 22s ease-in-out infinite;
}

.hero-decor .orb.c {
  width: 520px;
  height: 520px;
  right: -120px;
  bottom: -160px;
  background: radial-gradient(circle at 60% 60%, #fff, rgba(255,255,255,.10) 35%, transparent 60%);
  animation: hero-float-3 26s ease-in-out infinite;
}

.hero-decor .orb.d {
  width: 180px;
  height: 180px;
  left: 35%;
  bottom: 3rem;
  background: radial-gradient(circle at 50% 50%, #fff, rgba(255,255,255,.12) 50%, transparent 70%);
  animation: hero-float-2 20s ease-in-out infinite reverse;
}

.hero-decor .dotmask {
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 1.2px) 0 0/16px 16px;
  opacity: .25;
}

@keyframes hero-float-1 {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-16px) translateX(8px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

@keyframes hero-float-2 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes hero-float-3 {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor .orb {
    animation: none !important;
  }
}