/*
 * KSP Energy Toolkit - Modern Premium Stylesheet
 */

.ksp-energy-toolkit-wrapper {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  min-height: 85vh;
}

/* Hero Section */
.tk-hero {
  position: relative;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
  overflow: hidden;
  border-radius: 16px;
  border-bottom: 5px solid #0d9488;
}
.tk-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
}
.tk-hero .lead {
  color: #ccfbf1;
  max-width: 700px;
  margin: 0 auto;
}

/* Landing Cards Dashboard */
.tk-landing-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.tk-landing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 35px -5px rgba(13, 148, 136, 0.1), 0 10px 15px -5px rgba(13, 148, 136, 0.05) !important;
}

.tk-icon-wrapper {
  width: 100px;
  height: 100px;
  transition: transform 0.3s ease;
}
.tk-landing-card:hover .tk-icon-wrapper {
  transform: scale(1.1);
}

.bg-teal-light {
  background-color: #f0fdfa;
}
.text-teal {
  color: #0d9488;
}
.btn-teal {
  background-color: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
  transition: all 0.2s ease;
}
.btn-teal:hover {
  background-color: #0f766e !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Calculators Cards */
.toolkit-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.toolkit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03) !important;
}

.toolkit-cover-wrapper {
  height: 200px;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}
.toolkit-cover {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.toolkit-card:hover .toolkit-cover {
  transform: scale(1.05);
}
.toolkit-cover-placeholder {
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
}

.toolkit-badge {
  top: 15px;
  left: 15px;
  background-color: rgba(15, 23, 42, 0.85) !important;
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
}

.toolkit-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.1rem;
  color: #0f172a !important;
  line-height: 1.4;
  height: 2.8em;
}
.toolkit-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em;
  line-height: 1.5;
  color: #475569;
}

.toolkit-card .btn-primary {
  background-color: #0d9488;
  border-color: #0d9488;
  transition: all 0.2s ease;
}
.toolkit-card .btn-primary:hover {
  background-color: #0f766e;
  border-color: #0f766e;
  transform: translateY(-1px);
}
