/* ── VIBE CHECK PAGE ── */

.vc-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.vc-main {
  flex: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 7rem 2rem 4rem;
  width: 100%;
}

/* Hero */
.vc-hero {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.vc-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.vc-bg-circle.vc1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(247,197,208,0.4) 0%, transparent 70%);
  top: -120px; left: 50%;
  transform: translateX(-50%);
}
.vc-bg-circle.vc2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%);
  top: 100px; right: -80px;
}

.vc-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.vc-headline em { color: var(--hot); font-style: italic; }

.vc-sub {
  font-size: 1rem;
  color: var(--smoke);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Search */
.vc-search-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.vc-search-box {
  display: flex;
  gap: 0.6rem;
  background: white;
  border: 1.5px solid #e8e0ea;
  border-radius: 3rem;
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  box-shadow: 0 8px 30px rgba(26,26,46,0.08);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.vc-search-box:focus-within {
  border-color: var(--rose);
  box-shadow: 0 8px 30px rgba(214,63,107,0.12);
}

.vc-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  background: transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vc-input::placeholder {
  text-transform: none;
  font-weight: 300;
  letter-spacing: 0;
  color: #ccc;
}

.vc-btn {
  background: var(--hot);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 2.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(214,63,107,0.3);
}
.vc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,63,107,0.4); }
.vc-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.vc-btn-sm {
  background: white;
  color: var(--hot);
  border: 1.5px solid var(--blush);
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vc-btn-sm:hover { border-color: var(--rose); box-shadow: 0 2px 12px rgba(214,63,107,0.15); }

.vc-suggestions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vc-suggest-label {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.06em;
}

.vc-chip {
  background: white;
  border: 1px solid #e8e0ea;
  color: var(--smoke);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s;
}
.vc-chip:hover { border-color: var(--rose); color: var(--hot); }

/* Loading */
.vc-loading {
  text-align: center;
  padding: 4rem 2rem;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--blush);
  border-top-color: var(--hot);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.loading-text {
  font-size: 1rem;
  color: var(--smoke);
  font-style: italic;
}

/* Error */
.vc-error {
  text-align: center;
  padding: 3rem;
  background: #fff0f3;
  border-radius: 1.2rem;
  border: 1px solid var(--blush);
}

.error-icon { font-size: 2.5rem; display: block; margin-bottom: 0.8rem; }
.vc-error p { color: var(--smoke); margin-bottom: 1.2rem; }

/* Results */
.vc-results {
  animation: fadeUp 0.5s forwards;
}

.vc-result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.vc-result-id {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.vc-result-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--charcoal);
}

.vc-result-company {
  font-size: 0.9rem;
  color: #999;
}

.vc-result-exchange {
  font-size: 0.75rem;
  color: #bbb;
  background: #f5f0f8;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
}

.vc-vibe-pill {
  background: #fff0f3;
  border: 1.5px solid var(--blush);
  color: var(--hot);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  white-space: nowrap;
}

/* Price strip */
.vc-price-strip {
  background: white;
  border-radius: 1rem;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}

.price-main { display: flex; align-items: baseline; gap: 0.8rem; }

.price-val {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--charcoal);
}

.price-change {
  font-size: 0.95rem;
  font-weight: 500;
}
.price-change.up   { color: #2ecc71; }
.price-change.down { color: #e74c3c; }

.price-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: #aaa;
  flex-wrap: wrap;
}
.price-meta strong { color: var(--charcoal); }

/* Analysis card */
.vc-analysis-card {
  background: var(--charcoal);
  border-radius: 1.2rem;
  padding: 2rem;
  margin-bottom: 1.2rem;
}

.vc-analysis-headline {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.vc-analysis-body {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
}

/* Meters */
.vc-meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.vc-meter-card {
  background: white;
  border-radius: 1rem;
  padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}

.meter-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.8rem;
}

.meter-bar-lg {
  height: 6px;
  background: #f0e8ee;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.meter-fill-lg {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--rose), var(--hot));
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.meter-fill-lg.bff {
  background: linear-gradient(90deg, #c9a84c, #e8849a);
}

.meter-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.meter-card-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
}

.meter-card-label-val {
  font-size: 0.78rem;
  color: var(--smoke);
  font-weight: 500;
}

/* Flags */
.vc-flags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vc-flag-block {
  background: white;
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}

.flag-block-title {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.flag-block-title.green { color: #27ae60; }
.flag-block-title.red   { color: var(--hot); }

.flag-item {
  font-size: 0.82rem;
  color: var(--smoke);
  line-height: 1.5;
  padding: 0.3rem 0;
  border-bottom: 1px solid #f5f0f8;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.flag-item:last-child { border-bottom: none; }
.flag-item.empty { color: #ccc; font-style: italic; }

/* Responsive */
@media (max-width: 600px) {
  .vc-meters, .vc-flags { grid-template-columns: 1fr; }
  .vc-price-strip { flex-direction: column; align-items: flex-start; }
  .vc-result-header { flex-direction: column; }
  .vc-search-box { flex-direction: column; border-radius: 1rem; padding: 0.8rem; }
  .vc-btn { border-radius: 0.75rem; width: 100%; }
}
