/* Viral Hooks: same look as the Offer Analyzer (Virginia's v13 colours and fonts). */

/* Login screen: a stack of hooks as the picture, the login next to it. */
.vh-login { max-width: 1040px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.vh-login[hidden] { display: none; }
.vh-stack { background: var(--dark); border-radius: 16px; padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 18px 40px rgba(51,10,10,0.18); }
.vh-card { background: white; border-radius: 12px; padding: 16px 20px; font-family: "DM Serif Display", Georgia, serif; font-size: 19px; line-height: 1.35; box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.vh-card.one { transform: rotate(-2deg); }
.vh-card.two { background: var(--peach); transform: translateX(18px) rotate(1.5deg); }
.vh-card.three { background: var(--fire); color: white; transform: rotate(-1deg); }
.vh-login .login-box { max-width: none; }
@media (max-width: 820px) { .vh-login { grid-template-columns: 1fr; gap: 28px; padding: 24px 16px 48px; } .vh-stack { padding: 28px 20px; } .vh-card { font-size: 16px; } }

/* Tool page */
.vh-hero { background: var(--dark); color: white; text-align: center; padding: 48px 24px 56px; }
.vh-hero h1 { font-size: 34px; color: var(--peach); max-width: 680px; margin: 0 auto 12px; }
.vh-hero p { font-size: 14.5px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.vh-eyebrow { font-family: "Lato", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fire) !important; margin-bottom: 12px; }

.vh-wrap { max-width: 820px; margin: -28px auto 0; padding: 0 24px 64px; }
.vh-brief { background: white; border: 1.5px solid var(--cream); border-radius: 12px; padding: 18px 22px 20px; margin-bottom: 14px; }
.vh-brief .label { margin-top: 0; }
.vh-tabs { display: flex; gap: 6px; background: white; border: 1.5px solid var(--cream); border-radius: 12px 12px 0 0; padding: 6px 6px 0; }
.vh-tabs button { flex: 1; background: none; border: none; border-radius: 8px 8px 0 0; padding: 14px 12px; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; color: var(--mid); cursor: pointer; border-bottom: 3px solid transparent; }
.vh-tabs button:hover { color: var(--dark); }
.vh-tabs button[aria-selected="true"] { color: var(--fire); background: #FFF2EE; border-bottom-color: var(--fire); }
.vh-panel { background: white; border: 1.5px solid var(--cream); border-top: none; border-radius: 0 0 12px 12px; padding: 28px 32px 32px; }
.vh-panel .label { margin-top: 22px; }
.vh-panel .label:first-child { margin-top: 0; }
.vh-panel textarea { height: 90px; }

.vibe-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; align-items: center; background: white; border: 1.5px solid var(--peach); border-radius: 30px; padding: 9px 16px; cursor: pointer; font-size: 13px; user-select: none; transition: border-color 0.15s, background 0.15s; }
.choice:hover { border-color: var(--fire); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: var(--fire); background: var(--fire); color: white; font-weight: 600; }
.choice:has(input:focus-visible) { outline: 2px solid var(--dark); outline-offset: 2px; }

.vh-go { margin-top: 28px; }
.usage { font-size: 12.5px; color: var(--mid); margin-top: 12px; }
.error-banner { margin: 20px 0 0; }

.loading { text-align: center; padding: 40px 0 8px; }
.loading p { font-size: 14px; color: var(--mid); }
.loading .slow { font-size: 12px; margin-top: 6px; opacity: 0.8; }

/* Results */
[data-results] { margin-top: 32px; padding-top: 28px; border-top: 1.5px solid var(--cream); }
.results-title { font-family: "DM Serif Display", Georgia, serif; font-weight: normal; font-size: 24px; margin-bottom: 18px; }
.hook-group + .hook-group { margin-top: 22px; }
.hook-cat { font-family: "Lato", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fire); margin-bottom: 10px; }
.hook-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hook-card { background: var(--sand); border: 1.5px solid var(--cream); border-radius: 10px; padding: 16px 18px; }
.hook-tag { display: inline-block; font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fire); background: #FFF2EE; border-radius: 20px; padding: 3px 10px; margin-bottom: 8px; }
.hook-text { font-size: 16px; line-height: 1.5; font-weight: 500; }
.hook-text .fill { background: var(--peach); color: var(--dark); border-radius: 4px; padding: 0 4px; }
.hook-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 10px; }
.hook-example { font-size: 12.5px; margin-right: auto; }
.copy-btn { background: white; border: 1.5px solid var(--peach); border-radius: 20px; padding: 5px 14px; font: inherit; font-size: 12px; font-weight: 600; color: var(--dark); cursor: pointer; }
.copy-btn:hover { border-color: var(--fire); color: var(--fire); }

.feedback-box { background: var(--dark); color: white; border-radius: 12px; padding: 24px 28px; margin-bottom: 28px; }
.feedback-hook { font-family: "DM Serif Display", Georgia, serif; font-size: 19px; color: var(--peach); line-height: 1.4; margin-bottom: 18px; }
.feedback-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feedback-grid h3 { font-family: "Lato", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 10px; }
.feedback-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.feedback-grid li { font-size: 13.5px; line-height: 1.55; padding-left: 22px; position: relative; color: rgba(255,255,255,0.88); }
.feedback-grid li::before { position: absolute; left: 0; font-weight: 900; }
.feedback-grid li.works::before { content: "✓"; color: var(--green); }
.feedback-grid li.change::before { content: "→"; color: var(--peach); }

.results-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.small-note { flex-basis: 100%; font-size: 12px; color: var(--mid); }

@media (max-width: 640px) {
  .vh-hero { padding: 32px 16px 48px; }
  .vh-hero h1 { font-size: 26px; }
  .vh-wrap { padding: 0 12px 48px; }
  .vh-panel { padding: 22px 16px 24px; }
  .vh-tabs button { font-size: 13px; padding: 12px 6px; }
  .feedback-grid { grid-template-columns: 1fr; }
  .feedback-box { padding: 20px; }
}
