.ktda-fgs-container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

.ktda-fgs-header {
  text-align: center;
  margin-bottom: 40px;
}

.ktda-fgs-title {
  margin: 0 0 16px 0;
}

.ktda-fgs-description {
  margin: 0 auto;
}

.ktda-fgs-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ktda-fgs-features-wrapper {
  flex: 1 1 400px;
}

.ktda-fgs-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ktda-fgs-feature-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  flex: 1 1 calc(50% - 8px);
  min-width: 200px;
}

.ktda-fgs-feature-card.ktda-fgs-width-auto {
  flex: 0 0 auto;
}

.ktda-fgs-feature-card.ktda-fgs-width-fill {
  flex: 1 1 0%;
}

.ktda-fgs-feature-card.ktda-fgs-width-full {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Badge Styling */
.ktda-fgs-badge-wrapper {
  display: flex;
  margin-bottom: 16px;
  justify-content: center;
}

.ktda-fgs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
}

.ktda-fgs-badge:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.ktda-fgs-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ktda-fgs-badge-icon svg {
  width: 1em;
  height: 1em;
}

/* Checklist Styling */
.ktda-fgs-checklist-items {
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ktda-fgs-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.ktda-fgs-checklist-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.ktda-fgs-checklist-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* removed floating item bg */

.ktda-fgs-card-type-checklist.ktda-fgs-checklist-style-floating {
  background-color: #f8f9fa !important;
  color: #1a1a1a !important;
  border-radius: 16px !important;
  padding: 20px 24px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15), inset 0 2px 0 rgba(255,255,255,0.7) !important;
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ktda-fgs-card-type-checklist.ktda-fgs-checklist-style-floating:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2), inset 0 2px 0 rgba(255,255,255,0.7);
}

.ktda-fgs-checklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ktda-fgs-checklist-header-left, .ktda-fgs-checklist-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ktda-fgs-checklist-title {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.ktda-fgs-checklist-header-icon {
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ktda-fgs-checklist-header-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.ktda-fgs-checklist-item-icon-wrapper {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ktda-fgs-checklist-item-icon-wrapper.ktda-fgs-status-checked {
  background-color: #22c55e;
  color: white;
}

.ktda-fgs-checklist-item-icon-wrapper.ktda-fgs-status-unchecked {
  background-color: transparent;
  border: 2px solid #ccc;
  color: transparent;
}

.ktda-fgs-feature-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.ktda-fgs-card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0.2;
}

.ktda-fgs-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ktda-fgs-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ktda-fgs-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.ktda-fgs-icon i {
  font-size: inherit;
}

.ktda-fgs-feature-title {
  margin: 0 0 8px 0;
}

.ktda-fgs-feature-desc {
  margin: 0;
}

.ktda-fgs-image-container {
  flex: 1 1 400px;
  position: relative;
  display: flex;
  overflow: hidden;
}

.ktda-fgs-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s ease;
}

.ktda-fgs-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Hover Effects */
.ktda-fgs-feature-card:hover {
  transform: translateY(var(--ktda-fgs-hover-lift, 0));
  scale: var(--ktda-fgs-hover-scale, 1);
  rotate: var(--ktda-fgs-hover-rotate, 0deg);
}

.ktda-fgs-image-container:hover .ktda-fgs-image {
  transform: scale(var(--ktda-fgs-img-hover-scale, 1)) rotate(var(--ktda-fgs-img-hover-rotate, 0deg));
}

@media (max-width: 767px) {
  .ktda-fgs-content {
    flex-direction: column;
  }
  .ktda-fgs-features {
    grid-template-columns: 1fr;
  }
}
