/* ============================================================================
   OFFIQA — Homepage enhancement layer (index.html only)
   Loads AFTER offiqa-design-v2.css. Elevates the homepage into a flagship
   landing page: split hero with a CSS-built New Tab product mockup, a
   "built for" role strip, and graceful scroll-reveal. Does not affect other pages.
   ========================================================================== */

/* ---------------------------------------------------------- Split hero */
.home-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 4vw, 4rem);
  row-gap: var(--space-5);
  align-items: flex-start;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
.home-hero-split .hero-copy { min-width: 0; }

/* .hero-copy .tag-pill now uses global .tag-pill styles (teal via offiqa-design-v2.css) */
.hero-copy .tag-pill { margin-bottom: 1.5rem; }

.home-hero-split h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.home-hero-split .lead { 
  font-family: var(--font-sans);
  font-size: 1.05rem; 
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 48ch; 
  margin-bottom: 1.5rem;
}
.home-hero-split .review {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.hero-actions .button {
  border-radius: var(--r-xl);
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
}
.hero-actions .button.btn-dark {
  background: #0B1229;
  color: #FFFFFF;
  border: none;
}
.hero-actions .button.btn-outline {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--line);
}

.home-hero-split .trust-strip {
  grid-column: 1 / -1;
  margin-top: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line-soft);
}

/* ---------------------------------------------------- New Tab mockup */
.hero-visual {
  position: relative;
  min-width: 0;
  transform-origin: right top;
  animation: hv-rise 0.8s cubic-bezier(.2,.7,.3,1) 0.32s both;
}
@keyframes hv-rise { from { opacity: 0; transform: translateY(24px) scale(0.9); } to { opacity: 1; transform: scale(0.9); } }

.nt {
  position: relative;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  animation: nt-bob 6s ease-in-out infinite;
}

/* faux browser chrome */
.nt-bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nt-dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; }
.nt-dot:nth-child(1) { background: #F25F58; }
.nt-dot:nth-child(2) { background: #FABC2E; }
.nt-dot:nth-child(3) { background: #28C840; }
.nt-omni {
  flex: 1; margin-left: 0.8rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: #F4F7FB;
  border: 1px solid #E2E8F0;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: #64748B;
  text-align: left;
}

.nt-body { padding: 1.4rem 1.6rem; display: grid; gap: 0.9rem; background: #FFFFFF; }

.nt-greet { display: grid; gap: 0.15rem; }
.nt-time { font-family: var(--font-sans); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.05em; color: #64748B; text-transform: uppercase; }
.nt-greet strong { font-family: var(--font-sans); font-weight: 600; font-size: 1.35rem; color: #0F172A; }

/* resume card */
.nt-resume {
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  background: #F4F7FB;
  border: 1px solid rgba(0,0,0,0.05);
}
.nt-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.nt-tags span {
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: #FFFFFF; color: #64748B; border: 1px solid rgba(0,0,0,0.06);
  font-family: var(--font-sans); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.nt-resume h4 { font-family: var(--font-sans); font-weight: 600; font-size: 1.25rem; color: #0F172A; margin-bottom: 0.8rem; }
.nt-apps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.nt-apps span {
  padding: 0.3rem 0.8rem; border-radius: 999px;
  background: #DDF1FA; color: #0369A1;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.8rem;
}
.nt-note { font-family: var(--font-sans); font-size: 0.95rem; color: #475569; margin: 0 0 1.2rem; line-height: 1.5; }
.nt-note em { font-weight: 600; color: #0F172A; font-style: normal; }
.nt-note .dot { color: #94A3B8; margin: 0 0.1rem; }
.nt-next {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 500; color: #0F172A;
}
.nt-pulse {
  position: relative;
  width: 12px; height: 12px; border-radius: 50%; background: #E2E8F0;
  display: flex; align-items: center; justify-content: center;
}
.nt-pulse::after {
  content: "";
  width: 7px; height: 7px; border-radius: 50%; background: #0F172A;
}
.nt-resume-btn {
  display: inline-block;
  margin-top: 1.2rem; padding: 0.6rem 1.4rem; border-radius: 999px;
  background: #0B1229; color: #FFFFFF;
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
}

/* mini cards */
.nt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.nt-mini {
  padding: 1rem 1.2rem; border-radius: 16px;
  background: #F4F7FB; border: 1px solid rgba(0,0,0,0.05);
}
.nt-mini-h { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; color: #0F172A; margin-bottom: 0.6rem; }
.nt-mini p { font-family: var(--font-sans); font-size: 0.85rem; color: #475569; margin: 0; line-height: 1.5; }
.nt-mini ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 0.4rem; }
.nt-mini li { position: relative; padding-left: 1rem; font-family: var(--font-sans); font-size: 0.85rem; color: #475569; margin: 0; line-height: 1.5; }
.nt-mini li::before { content: "•"; position: absolute; left: 0; top: 0; font-size: 1rem; line-height: 1.5; color: #94A3B8; }

/* app launcher */
.nt-launch { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-start; margin-top: 0.2rem; }
.nt-launch span {
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: #FFFFFF; border: 1px solid rgba(0,0,0,0.08);
  font-family: var(--font-sans); font-size: 0.7rem; color: #64748B;
  display: flex; align-items: center; justify-content: center;
}
.nt-launch span:last-child {
  padding: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%;
}

/* floating badges */
.nt-float {
  position: absolute; z-index: 3;
  padding: 0.45rem 0.8rem; border-radius: 999px;
  font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500;
  background: #FFFFFF; color: #0F172A; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  animation: nt-bob 5s ease-in-out infinite;
}
.nt-float-1 {
  top: 2.5rem; left: -2.5rem;
  animation-delay: 0.2s;
}
.nt-float-2 {
  bottom: 3.8rem; right: -1.2rem;
  animation-delay: 1.2s;
}
@keyframes nt-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------- Built-for role strip */
.role-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.8rem;
  margin: calc(var(--space-6) * -0.2) calc(50% - 50vw) var(--space-6);
  padding: 1.5rem 0;
  width: 100vw;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.role-strip .role-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 0.5rem;
}
.role-strip .role-chip {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.role-strip .role-sep {
  color: var(--line-2);
  margin: 0 0.1rem;
}

/* ---------------------------------------------------- Section polish */
/* hero: white card on cool blue-gray page background */
.home-hero-split {
  background: transparent;
  box-shadow: none;
}

/* eyebrow & section-kicker teal styles now live in offiqa-design-v2.css (applied to all pages) */
/* lift role cards & feature cards a touch more on the homepage */
.persona-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.persona-card:hover { transform: translateY(-6px); }

/* Scroll-reveal now lives in offiqa-design-v2.css (applied to all pages) */

/* ---------------------------------------------------- Responsive */
@media (max-width: 920px) {
  .home-hero-split { grid-template-columns: 1fr; }
  .home-hero-split h1 { max-width: 20ch; }
  .home-hero-split .lead { max-width: 60ch; }
  .nt { transform: none !important; animation: none; max-width: 460px; margin: 0 auto; }
  .nt-float-1 { right: 2%; }
  .nt-float-2 { left: 2%; }
}
@media (max-width: 540px) {
  .nt-grid { grid-template-columns: 1fr; }
  .nt-float { display: none; }
  .role-strip { margin-top: 0; }
}
