.gfai-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.gfai-wrap * {
  box-sizing: border-box;
}

.gfai-stack {
  display: grid;
  gap: 28px;
}

.gfai-tool {
  background: #ffffff;
  border: 1px solid #e7ebf2;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.gfai-tool + .gfai-tool {
  margin-top: 0;
}

.gfai-hero {
  padding: 36px;
  background:
    radial-gradient(1200px 520px at 35% -20%, rgba(112, 144, 255, 0.48), transparent 58%),
    linear-gradient(180deg, #172554 0%, #020b2d 100%);
  color: #ffffff;
}

.gfai-hero.gfai-plain {
  background: #ffffff;
  color: #111827;
  border-bottom: 1px solid #eef2f7;
}

.gfai-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
  width: 100%;
}

.gfai-hero.gfai-plain .gfai-kicker {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #334155;
}

.gfai-title,
.gfai-hero .gfai-title,
.gfai-hero h1.gfai-title,
.gfai-hero h2.gfai-title,
.gfai-hero h3.gfai-title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-shadow: none;
  -webkit-text-fill-color: #ffffff;
  background: none !important;
 text-align: center;
  width: 100%;
}

.gfai-hero.gfai-plain .gfai-title,
.gfai-hero.gfai-plain h1.gfai-title,
.gfai-hero.gfai-plain h2.gfai-title,
.gfai-hero.gfai-plain h3.gfai-title {
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
}

.gfai-subtitle {
  margin: 0;
  max-width: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.75;
    text-align: center;
  width: 100%;
}

.gfai-hero.gfai-plain .gfai-subtitle {
  color: #64748b;
}

.gfai-search-shell {
  margin-top: 28px;
  border-radius: 999px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gfai-search-grid {
  display: grid;
  gap: 10px;
  align-items: center;
}

.gfai-search-grid.cols-1 {
  grid-template-columns: minmax(0, 1fr) auto;
}

.gfai-search-grid.cols-2 {
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr) auto;
}

.gfai-search-grid.cols-3 {
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.gfai-field,
.gfai-input,
.gfai-select {
  box-sizing: border-box;
}

.gfai-input,
.gfai-select {
  width: 100%;
  height: 72px;
  border-radius: 999px;
  outline: none !important;
  box-shadow: none !important;
  background: #1f2947;
  padding: 0 26px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  appearance: none;
}
.gfai-input{
  width: 100%;
  height: 72px;
  border-radius: 999px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: #1f2947;
  padding: 0 26px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  appearance: none;
}


.gfai-input:focus,.gfai-input:active
{
  border: none !important;
  outline: none !important;
}
.gfai-select:focus, .gfai-select:active {
    border: 1px solid !important;
    border-color: white;
    outline: none !important;
    color: white;
}

.gfai-input::placeholder {
  color: #8fa0c3;
  opacity: 1;
}

.gfai-select option {
  color: #111827;
}

.gfai-btn {
  height: 72px;
  min-width: 260px;
  border: none;
  border-radius: 999px;
  background: #c7a353;
  color: #0f172a;
  padding: 0 30px;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
  box-shadow: none;
}

.gfai-btn:hover {
  background: #d7b56a;
  transform: translateY(-1px);
}

.gfai-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.gfai-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.gfai-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.gfai-hero.gfai-plain .gfai-chip {
  background: #f8fafc;
  border-color: #e5e7eb;
  color: #334155;
}

.gfai-btn-ghost {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.gfai-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.gfai-hero.gfai-plain .gfai-btn-ghost {
  border-color: #d1d5db;
  background: #ffffff;
  color: #111827;
}

.gfai-alert {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 14px;
}

.gfai-body {
  padding: 28px;
  background: #ffffff;
}

.gfai-grid {
  display: grid;
  gap: 16px;
}

.gfai-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gfai-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gfai-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gfai-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gfai-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.gfai-regular-input,
.gfai-regular-select {
  height: 50px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d7dde6;
  background: #ffffff;
  padding: 0 14px;
  font-size: 15px;
  color: #111827;
  outline: none;
  box-shadow: none;
}

.gfai-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.gfai-primary {
  height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.gfai-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gfai-help {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fafafa;
}

.gfai-help-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.gfai-help ul {
  margin: 0;
  padding-left: 20px;
}

.gfai-help li {
  margin: 0 0 6px;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
}

.gfai-results {
  margin-top: 20px;
}

.gfai-results-title {
  margin: 0 0 12px;
  color: #ffb11a;
  font-size: 22px;
  font-weight: 900;
}

.gfai-result-box {
  background: #252525;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.gfai-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gfai-result-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gfai-result-item:nth-child(2n) {
  border-right: none;
}

.gfai-result-item:nth-last-child(-n + 2) {
  border-bottom: none;
}

.gfai-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #24b1ff;
  font-weight: 900;
  font-size: 18px;
  flex: 0 0 42px;
}

.gfai-result-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.gfai-result-value {
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
}

.gfai-panels {
  display: grid;
  gap: 18px;
}

.gfai-panels.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gfai-panel {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.gfai-panel-head {
  padding: 22px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gfai-panel-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #111827;
}

.gfai-panel-text {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 14px;
}

.gfai-copy-all {
  height: 40px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.gfai-divider {
  height: 1px;
  background: #eef2f7;
  margin: 16px 22px;
}

.gfai-card-list {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gfai-text-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: 0.18s ease;
  height: 100%;
  position: relative;
}

.gfai-text-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.gfai-text-card.active {
  border-color: #c7a353;
  background: rgba(199, 163, 83, 0.06);
}

.gfai-business .gfai-text-card {
  color: #ffffff;
  border: none;
  overflow: hidden;
}

.gfai-text {
  font-size: 15px;
  line-height: 1.65;
  font-weight: 800;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}

.gfai-business .gfai-text {
  color: #ffffff;
}

.gfai-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.gfai-mini {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.gfai-mini.gold {
  background: #c7a353;
  border-color: #c7a353;
  color: #111827;
}

.gfai-panel-footer {
  padding: 0 22px 22px;
  display: flex;
  justify-content: center;
}

.gfai-empty {
  border: 1px dashed #d6deea;
  border-radius: 20px;
  padding: 56px 24px;
  text-align: center;
  background: #f8fafc;
}

.gfai-empty h4 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
  color: #111827;
}

.gfai-empty p {
  margin: 0 auto;
  max-width: 700px;
  color: #64748b;
  line-height: 1.8;
  font-size: 16px;
}

.gfai-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: #111827;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 99999;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.gfai-toast.show {
  opacity: 1;
}

.gfai-toast.error {
  background: #b91c1c;
}

.gfai-toast.success {
  background: #111827;
}

@media (max-width: 991px) {
  .gfai-hero {
    padding: 24px;
  }

  .gfai-title {
    font-size: 28px;
  }

  .gfai-search-grid.cols-3,
  .gfai-search-grid.cols-2,
  .gfai-search-grid.cols-1 {
    grid-template-columns: 1fr;
  }

  .gfai-btn {
    min-width: 100%;
  }

  .gfai-input,
  .gfai-select,
  .gfai-btn {
    height: 60px;
  }

  .gfai-grid.cols-4,
  .gfai-grid.cols-3,
  .gfai-grid.cols-2,
  .gfai-result-grid,
  .gfai-panels.split,
  .gfai-card-list {
    grid-template-columns: 1fr;
  }

  .gfai-result-item,
  .gfai-result-item:nth-child(2n) {
    border-right: none;
  }
  
  .gfai-hero-business {
  padding: 46px 36px 40px;
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(125, 150, 255, 0.32), transparent 58%),
    linear-gradient(180deg, #1e2b5b 0%, #000d39 100%);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gfai-business-top-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.gfai-search-shell-business {
  width: 100%;
  max-width: 1190px;
  margin-top: 0;
  padding: 8px;
  border-radius: 999px;
  border: 4px solid rgba(255, 255, 255, 0.55);
  background: rgba(13, 23, 56, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.gfai-hero-business .gfai-search-grid.cols-1 {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.gfai-hero-business .gfai-input {
  height: 64px;
  background: #ffffff;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  padding: 0 28px;
}

.gfai-hero-business .gfai-input::placeholder {
  color: #a3a3a3;
  opacity: 1;
}

.gfai-btn-business {
  height: 58px;
  min-width: 320px;
  padding: 0 28px;
  border-radius: 999px;
  background: #c9a652;
  color: rgba(17, 24, 39, 0.55);
  font-size: 17px;
  font-weight: 900;
  box-shadow: none;
}

.gfai-btn-business:hover {
  background: #d5b462;
}

.gfai-business-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gfai-business-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.gfai-btn-ghost-business {
  min-width: 92px;
  height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 800;
}

.gfai-btn-ghost-business:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
  .gfai-hero-business {
    padding: 28px 18px 24px;
  }

  .gfai-business-top-pill {
    width: 100%;
    max-width: 360px;
    font-size: 14px;
    padding: 12px 18px;
  }

  .gfai-search-shell-business {
    max-width: 100%;
    padding: 8px;
    border-width: 3px;
  }

  .gfai-hero-business .gfai-search-grid.cols-1 {
    grid-template-columns: 1fr;
  }

  .gfai-hero-business .gfai-input {
    height: 58px;
    font-size: 18px;
  }

  .gfai-btn-business {
    width: 100%;
    min-width: 100%;
    height: 56px;
  }

  .gfai-business-actions {
    flex-direction: column;
  }

  .gfai-business-tip,
  .gfai-btn-ghost-business {
    width: 100%;
    max-width: 320px;
  }
}

  .gfai-result-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .gfai-result-item:last-child {
    border-bottom: none;
  }
}