/* Thinqee, Home. Tokens in tokens.css, shared nav/footer/layout patterns in base.css.
   This file holds only sections unique to the homepage. */

/* ─── HERO (full-bleed image, interior pages use .page-hero in base.css) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,3,0,0.94) 0%, rgba(10,3,0,0.7) 45%, rgba(10,3,0,0.15) 100%),
    linear-gradient(0deg, var(--bg-base) 2%, rgba(15,5,0,0.2) 32%, transparent 60%);
}
@media (max-width: 820px) {
  .hero-overlay { background:
    linear-gradient(180deg, rgba(10,3,0,0.86) 0%, rgba(10,3,0,0.66) 42%, rgba(10,3,0,0.8) 78%, var(--bg-base) 100%); }
}
.hero-inner { max-width: 620px; }
.hero .eyebrow { margin-bottom: 20px; display: block; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  line-height: 1.12; margin-bottom: 22px; color: var(--white);
  text-shadow: 0 2px 24px rgba(10,3,0,0.5);
}
.hero .lede { text-shadow: 0 1px 12px rgba(10,3,0,0.6); }
.hero .lede { margin-bottom: 14px; max-width: 540px; }
.hero .lede:last-of-type { margin-bottom: 0; }
@media (max-width: 640px) {
  .hero { min-height: 0; padding: 108px 0 60px; }
  .hero .lede { color: var(--peach); }
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 26px; height: 40px; border: 1px solid var(--border2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--golden); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* ─── FORK (For Organizations / For You) ─── */
.fork-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.45; color: var(--text); max-width: 860px; margin-bottom: 44px;
}
.fork-headline span { color: var(--golden); }
.fork-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fork-card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .2s, border-color .2s, box-shadow .25s;
}
.fork-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: 0 14px 44px rgba(249,115,22,0.12); }
.fork-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fork-icon {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--sunrise), var(--golden));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(249,115,22,0.3);
}
.fork-icon svg { width: 16px; height: 16px; }
.fork-card .eyebrow { margin-bottom: 0; }
.fork-card h3 { margin-bottom: 12px; }
.fork-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 24px; flex: 1; }
.fork-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.fork-tags span {
  font-size: 0.7rem; font-weight: 600; color: var(--peach);
  border: 1px solid var(--border2); border-radius: 100px; padding: 5px 12px;
  background: rgba(249,115,22,0.06);
}
.fork-go { font-size: 0.85rem; font-weight: 600; color: var(--peach); display: inline-flex; gap: 6px; align-items: center; }
.fork-card:hover .fork-go span { transform: translateX(3px); }
.fork-go span { transition: transform .2s; }
.fork-card.featured { background: linear-gradient(165deg, rgba(249,115,22,0.16), rgba(249,115,22,0.04)); border-color: var(--border2); }
.fork-card.featured .fork-go { color: var(--sunrise); }
@media (max-width: 740px) { .fork-grid { grid-template-columns: 1fr; } }

/* ─── ASK THINQEE ANYTHING ─── */
.ask-section { border-top: 1px solid var(--border); }
.ask-widget-wrap { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.ask-widget {
  width: 100%;
  background: var(--card-solid); border: 1px solid var(--border2); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow), var(--shadow-glow);
}
.ask-mascot {
  position: absolute; bottom: -14px; right: -16px; z-index: 2;
  width: 108px; height: auto; transform: rotate(-6deg);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.45));
  pointer-events: none;
}
@media (max-width: 480px) {
  .ask-mascot { width: 80px; height: auto; bottom: -10px; right: -10px; }
}
.ask-tag {
  margin-left: auto; font-size: 0.74rem; font-weight: 700; color: var(--sunrise);
  border: 1px solid var(--sunrise); border-radius: 100px; padding: 5px 13px;
  background: rgba(249,115,22,0.16); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 62%;
}
@media (prefers-reduced-motion: no-preference) {
  .ask-tag.pop { animation: ask-tag-pop .6s cubic-bezier(.34,1.56,.64,1) both; }
}
@keyframes ask-tag-pop {
  0% { transform: scale(0.7); opacity: 0.2; box-shadow: 0 0 0 rgba(249,115,22,0); }
  55% { transform: scale(1.14); opacity: 1; box-shadow: 0 0 18px rgba(249,115,22,0.65); }
  100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 rgba(249,115,22,0); }
}
.ask-stream {
  padding: 20px; display: flex; flex-direction: column; gap: 13px;
  min-height: 210px; transition: opacity .4s ease;
}
.ask-stream.is-leaving { opacity: 0; }
.ask-row { display: flex; align-items: flex-start; gap: 10px; opacity: 0; transition: opacity .25s ease; }
.ask-row.is-active { opacity: 1; }
.ask-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--peach); }
.ask-topic .ask-icon { color: var(--sunrise); width: 19px; height: 19px; }
.ask-icon svg { width: 100%; height: 100%; }
.ask-topic-text { font-weight: 600; color: var(--text); font-size: 0.94rem; line-height: 1.4; }
.ask-point-text { color: var(--muted); font-size: 0.85rem; line-height: 1.5; }
.ask-row.is-typing .ask-topic-text::after,
.ask-row.is-typing .ask-point-text::after {
  content: ''; display: inline-block; width: 2px; height: 0.9em;
  background: currentColor; margin-left: 3px; vertical-align: -0.1em;
  animation: ask-caret 0.8s steps(1) infinite;
}
@keyframes ask-caret { 50% { opacity: 0; } }
@media (max-width: 480px) { .ask-tag { max-width: 48%; } }

/* ─── WHY NOT JUST ANOTHER AI TOOL ─── */
.diff-section { border-top: 1px solid var(--border); }
.diff-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 1px solid var(--border); }
.diff-item { padding: 20px 20px 4px; border-left: 1px solid var(--border); }
.diff-item:first-child { border-left: none; }
.diff-title { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--golden); margin-bottom: 8px; }
.diff-desc { color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
@media (max-width: 900px) {
  .diff-row { grid-template-columns: 1fr 1fr; }
  .diff-item:nth-child(3) { border-left: none; }
  .diff-item:nth-child(1), .diff-item:nth-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
}
@media (max-width: 520px) {
  .diff-row { grid-template-columns: 1fr; }
  .diff-item { border-left: none; border-top: 1px solid var(--border); padding-top: 20px; }
  .diff-item:first-child { border-top: none; }
  .diff-item:nth-child(1), .diff-item:nth-child(2) { border-bottom: none; padding-bottom: 4px; }
}

/* ─── CUBE SECTION ─── */
.cube-section { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(59,18,0,0.35), transparent 40%, rgba(59,18,0,0.35)); }
