/* ==========================================================================
   VG Live GEO & Enterprise AI Scanner (Mode 1: GEO | Mode 2: Şirket Röntgeni)
   Paper & Ink Editorial Aesthetic (#faf9f6 / #18181b / #285443)
   ========================================================================== */

.vg-demolar-grid {
  display: grid;
  grid-template-columns: 1.38fr 0.92fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.vg-geo-widget {
  background: #ffffff;
  border: 1px solid #d8d3c8;
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 12px 32px -18px rgba(24, 24, 27, 0.12);
  position: relative;
}

/* Mode Switcher Tabs (Seçenek 1 vs Seçenek 2) */
.vg-geo-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  background: #f4f1ea;
  border: 1px solid #e2ddd2;
  border-radius: 10px;
  margin-bottom: 18px;
}

.vg-geo-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #52525b;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.16s ease;
  text-align: left;
}

.vg-geo-tab:hover {
  color: #18181b;
}

.vg-geo-tab.is-active {
  background: #18181b;
  color: #faf9f6;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(24, 24, 27, 0.16);
}

.vg-geo-tab-pill {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(40, 84, 67, 0.14);
  color: #285443;
  font-weight: 600;
}

.vg-geo-tab.is-active .vg-geo-tab-pill {
  background: #285443;
  color: #ecfdf5;
}

/* Header & Description inside Widget */
.vg-geo-head {
  margin-bottom: 18px;
}

.vg-geo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #285443;
  font-weight: 600;
  margin-bottom: 6px;
}

.vg-geo-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.vg-geo-title {
  font-family: Newsreader, Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  font-weight: 500;
  color: #18181b;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.vg-geo-desc {
  font-size: 13.5px;
  line-height: 1.58;
  color: #52525b;
  margin: 0;
}

/* Input Form Row */
.vg-geo-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.vg-geo-input-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.vg-geo-input-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #71717a;
  pointer-events: none;
}

input.vg-geo-input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 74px !important;
  border: 1px solid #cfc9bc;
  border-radius: 10px;
  background: #faf9f6;
  color: #18181b;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.vg-geo-input:focus {
  background: #ffffff;
  border-color: #18181b;
  outline: none;
}

.vg-geo-submit {
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #18181b;
  color: #faf9f6;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}

.vg-geo-submit:hover {
  background: #285443;
}

.vg-geo-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Sample Quick-Test Buttons & Capability Badges */
.vg-geo-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5e0d5;
  font-size: 11.5px;
  color: #71717a;
}

.vg-geo-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.vg-geo-sample-btn {
  appearance: none;
  border: 1px solid #ded8cc;
  background: #faf9f6;
  color: #3f3f46;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.vg-geo-sample-btn:hover {
  border-color: #18181b;
  color: #18181b;
  background: #f1ede4;
}

.vg-geo-what-checks {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #71717a;
}

/* Loading Skeleton / Progress */
.vg-geo-loading {
  margin-top: 18px;
  padding: 18px;
  border-radius: 12px;
  background: #faf9f6;
  border: 1px solid #e4dfd3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #27272a;
}

.vg-geo-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid #d4cfc3;
  border-top-color: #285443;
  border-radius: 999px;
  animation: vgGeoSpin 0.75s linear infinite;
  flex-shrink: 0;
}

@keyframes vgGeoSpin {
  to { transform: rotate(360deg); }
}

/* Error Notice */
.vg-geo-error {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 12.5px;
}

/* Results Container */
.vg-geo-results {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e4dfd3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Top Summary Card: Score + Brand + Sector + Speed */
.vg-geo-summary-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: #faf9f6;
  border: 1px solid #e2ddd2;
  border-radius: 12px;
}

.vg-geo-score-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vg-geo-score-circle {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  line-height: 1;
  border: 1.5px solid #18181b;
  background: #ffffff;
}

.vg-geo-score-circle.is-good {
  border-color: #15803d;
  background: #f0fdf4;
  color: #14532d;
}

.vg-geo-score-circle.is-mid {
  border-color: #b45309;
  background: #fffbeb;
  color: #78350f;
}

.vg-geo-score-circle.is-low {
  border-color: #b91c1c;
  background: #fef2f2;
  color: #7f1d1d;
}

.vg-geo-score-num {
  font-size: 20px;
}

.vg-geo-score-max {
  font-size: 9.5px;
  opacity: 0.72;
  margin-top: 2px;
}

.vg-geo-brand-meta {
  min-width: 0;
}

.vg-geo-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.vg-geo-brand-name {
  font-family: Newsreader, Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #18181b;
}

.vg-geo-sector-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e9e4d8;
  color: #27272a;
}

.vg-geo-domain-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #71717a;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vg-geo-subscores {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: #52525b;
}

.vg-geo-subscore-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #ded8cc;
  white-space: nowrap;
}

/* Signal Grid (Technical Checks) */
.vg-geo-signals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.vg-geo-signal-card {
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #e4dfd3;
  background: #faf9f6;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vg-geo-signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: #52525b;
}

.vg-geo-signal-val {
  font-size: 12px;
  font-weight: 600;
  color: #18181b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vg-geo-dot-ok {
  color: #15803d;
  font-weight: 700;
}

.vg-geo-dot-warn {
  color: #b45309;
  font-weight: 700;
}

.vg-geo-dot-miss {
  color: #dc2626;
  font-weight: 700;
}

/* 9 AI Bot Matrix */
.vg-geo-block {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e4dfd3;
  background: #ffffff;
}

.vg-geo-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.vg-geo-block-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3f3f46;
  font-weight: 600;
  margin: 0;
}

.vg-geo-bots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.vg-geo-bot-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  border: 1px solid #e5e0d5;
  background: #faf9f6;
}

.vg-geo-bot-chip.is-allowed {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #14532d;
}

.vg-geo-bot-chip.is-blocked {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.vg-geo-bot-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Findings List */
.vg-geo-findings {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vg-geo-finding {
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid #e4dfd3;
  background: #faf9f6;
  font-size: 12.5px;
  line-height: 1.5;
}

.vg-geo-finding.is-high {
  border-left: 3.5px solid #dc2626;
  background: #fffafa;
}

.vg-geo-finding.is-medium {
  border-left: 3.5px solid #d97706;
  background: #fffdf7;
}

.vg-geo-finding.is-ok {
  border-left: 3.5px solid #16a34a;
  background: #f7fee7;
}

.vg-geo-finding-title {
  font-weight: 600;
  color: #18181b;
  display: block;
  margin-bottom: 2px;
}

.vg-geo-finding-detail {
  color: #52525b;
  font-size: 12px;
}

/* Buyer Prompts List */
.vg-geo-prompts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vg-geo-prompts-list li {
  font-size: 12px;
  color: #27272a;
  padding: 8px 11px;
  border-radius: 8px;
  background: #faf9f6;
  border: 1px dashed #d6d0c2;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
}

/* Conversion CTA Bar inside Results */
.vg-geo-cta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #18181b;
  color: #faf9f6;
}

.vg-geo-cta-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #e4e4e7;
  max-width: 390px;
}

.vg-geo-cta-text strong {
  color: #ffffff;
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.vg-geo-cta-btn {
  appearance: none;
  border: 0;
  border-radius: 9px;
  background: #faf9f6;
  color: #18181b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.vg-geo-cta-btn:hover {
  background: #e4e0d5;
}

/* Right Column: KOBİ & Enterprise Implementation Cards */
.vg-kobi-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vg-kobi-card {
  background: #faf9f6;
  border: 1px solid #d8d3c8;
  border-radius: 16px;
  padding: 22px 24px;
}

.vg-kobi-card-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
  display: block;
  margin-bottom: 6px;
}

.vg-kobi-card h3 {
  font-family: Newsreader, Georgia, serif;
  font-size: 21px;
  line-height: 1.24;
  font-weight: 500;
  color: #18181b;
  margin: 0 0 10px 0;
}

.vg-kobi-card p {
  font-size: 13.5px;
  line-height: 1.58;
  color: #52525b;
  margin: 0 0 14px 0;
}

.vg-kobi-pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vg-kobi-pillars li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e4dfd3;
  font-size: 12.5px;
  line-height: 1.48;
  color: #3f3f46;
}

.vg-kobi-pillars li strong {
  display: block;
  color: #18181b;
  font-size: 13px;
  margin-bottom: 2px;
}

.vg-kobi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e4dfd3;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .vg-demolar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vg-geo-widget {
    padding: 18px 16px;
  }
  .vg-geo-form {
    flex-direction: column;
  }
  .vg-geo-submit {
    width: 100%;
    justify-content: center;
  }
  .vg-geo-summary-bar {
    grid-template-columns: 1fr;
  }
  .vg-geo-subscores {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .vg-geo-signals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vg-geo-bots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
