/* ============================================================
   Hyque Technology — public site components.
   ============================================================ */

/* ---------- navbar ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 247, 252, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 8px 30px rgba(17, 18, 31, 0.06); }

.brand-lockup { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark-svg { width: 40px; height: 40px; display: block; }
.brand-mark-img { height: 38px; width: auto; display: block; border-radius: 9px; box-shadow: 0 2px 10px rgba(17, 18, 31, 0.18); }
.brand-mark-img--lg { height: 52px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s var(--ease-out);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-links a.btn-brand,
.nav-links a.btn-brand:hover,
.nav-links a.btn-brand:focus,
.nav-links a.btn-brand.active {
  color: #fff;
  padding: 0.75rem 1.6rem;
}
.nav-links a.btn-brand::after { display: none; }

.nav-burger {
  display: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
}

@media (max-width: 991.98px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.nav-links--open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn-brand { margin-top: 0.75rem; text-align: center; }
  .nav-burger { display: inline-flex; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
}
.hero-blob--1 { width: 420px; height: 420px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(6,182,212,0.35), transparent 70%); }
.hero-blob--2 { width: 460px; height: 460px; top: -80px; right: -160px; background: radial-gradient(circle, rgba(236,72,153,0.30), transparent 70%); }
.hero-blob--3 { width: 380px; height: 380px; bottom: -180px; left: 40%; background: radial-gradient(circle, rgba(124,58,237,0.28), transparent 70%); }

.hero-content { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); line-height: 1.05; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; }

.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; }
.hero-stat strong { font-family: var(--font-display); font-size: 1.9rem; display: block; color: var(--ink); }
.hero-stat span { font-size: 0.85rem; color: var(--muted); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- video hero (homepage) ---------- */

.hero--video { background: #04060f; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 6, 15, 0.72) 0%, rgba(4, 6, 15, 0.6) 45%, rgba(4, 6, 15, 0.82) 100%),
    radial-gradient(60% 60% at 50% 40%, rgba(4, 6, 15, 0.15), rgba(4, 6, 15, 0.55) 75%);
}

.hero--video .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hero--video h1 { color: #fff; }
.hero--video .hero-lede { color: rgba(255, 255, 255, 0.82); }
.hero--video .hero-stat strong { color: #fff; }
.hero--video .hero-stat span { color: rgba(255, 255, 255, 0.62); }
.hero--video .btn-outline-brand { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hero--video .btn-outline-brand:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero--video .pill { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.hero--video .stack-chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.hero--video .hero-visual { border-color: rgba(255, 255, 255, 0.18); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 600;
  font-size: 0.88rem;
  z-index: 2;
}

/* ---------- logo strip ---------- */

.stack-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.stack-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ---------- section headers ---------- */

.section-head { max-width: 640px; }
.section-head.mx-auto { text-align: center; }

/* ---------- service cards ---------- */

.service-card {
  padding: 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.service-card .icon-tile { margin-bottom: 0.2rem; transition: background 0.4s, color 0.4s; }
.service-card h3 { font-size: 1.2rem; transition: color 0.4s; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; transition: color 0.4s; }
.service-card .service-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-violet);
  transition: color 0.4s;
}
.service-card .service-link .material-symbols-outlined { font-size: 1.1rem; transition: transform 0.25s; }
.service-card:hover .service-link .material-symbols-outlined { transform: translateX(4px); }

/* water-fill hover effect: rises up and inverts the card's text to white */
.card-water {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}
.water-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0%;
  background: var(--gradient-brand);
  transition: height 0.7s var(--ease-out);
}
.water-crest {
  position: absolute;
  left: 0; right: 0;
  height: 26px;
  bottom: 0%;
  transform: translateY(55%);
  transition: bottom 0.7s var(--ease-out);
}
.water-crest svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.water-crest .wave-back { fill: rgba(255, 255, 255, 0.28); animation: stat-wave-scroll 6s linear infinite; }
.water-crest .wave-front { fill: rgba(255, 255, 255, 0.45); animation: stat-wave-scroll 3.6s linear infinite reverse; }

.service-card:hover .water-body { height: 100%; }
.service-card:hover .water-crest { bottom: 100%; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link,
.service-card:hover .service-link .material-symbols-outlined { color: #fff; }
.service-card:hover .icon-tile { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* detailed service page cards with media */
.service-detail-card { overflow: hidden; }
.service-detail-media { height: 210px; overflow: hidden; }
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.service-detail-card:hover .service-detail-media img { transform: scale(1.06); }
.service-detail-body { position: relative; padding: 1.6rem; }
.service-detail-body .icon-tile { transition: background 0.4s, color 0.4s; }
.service-detail-body h3 { transition: color 0.4s; }
.service-detail-body p { transition: color 0.4s; }
.service-detail-card:hover .service-detail-body .water-body { height: 100%; }
.service-detail-card:hover .service-detail-body .water-crest { bottom: 100%; }
.service-detail-card:hover .service-detail-body h3,
.service-detail-card:hover .service-detail-body p { color: #fff; }
.service-detail-card:hover .service-detail-body .icon-tile { background: rgba(255, 255, 255, 0.22); color: #fff; }
.service-detail-card:hover .service-detail-body .btn-outline-brand {
  background: #fff;
  border-color: #fff;
  color: var(--brand-violet);
}
.service-detail-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.service-detail-actions .btn-brand,
.service-detail-actions .btn-outline-brand { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

/* ---------- pricing packages modal ---------- */

.modal-card--lg { max-width: 900px; }
.pricing-tier {
  position: relative;
  height: 100%;
  padding: 1.6rem 1.3rem 1.3rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s;
}
.pricing-tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pricing-tier--popular { border-color: var(--brand-violet); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.14); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.02em; padding: 0.3rem 0.85rem; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.pricing-tier-name { font-weight: 700; font-size: 0.95rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.pricing-tier-price { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0.35rem 0 1rem; }
.pricing-tier-features { list-style: none; padding: 0; margin: 0 0 1.3rem; flex: 1; display: flex; flex-direction: column; gap: 0.55rem; }
.pricing-tier-features li {
  font-size: 0.86rem; color: var(--ink-soft); padding-left: 1.5rem; position: relative; line-height: 1.4;
}
.pricing-tier-features li::before {
  content: "check"; font-family: "Material Symbols Outlined"; position: absolute; left: 0; top: 0;
  font-size: 1.1rem; color: var(--brand-violet);
}

.why-choose-us { border-top: 1px solid var(--line-soft, var(--line-strong)); padding-top: 1.3rem; }
.why-choose-us h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; }
.why-choose-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem 1.5rem; }
.why-choose-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--ink-soft); }
.why-choose-list .material-symbols-outlined { color: var(--brand-violet); font-size: 1.15rem; flex-shrink: 0; }
@media (max-width: 576px) { .why-choose-list { grid-template-columns: 1fr; } }

/* ---------- leadership cards (open-ring cylinder portrait) ---------- */

.leader-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.9rem 1rem;
  flex-wrap: wrap;
}
.leader-side { flex: 1 1 0; min-width: 74px; }
.leader-side--name { text-align: right; }
.leader-side--name h3 { font-size: 1rem; line-height: 1.25; }
.leader-side--role { text-align: left; }
.leader-side--role p { line-height: 1.3; }

.leader-ring {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leader-ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: leader-ring-spin 10s linear infinite;
}
@keyframes leader-ring-spin {
  from { transform: rotate(115deg); }
  to { transform: rotate(475deg); }
}
.leader-photo {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(17, 18, 31, 0.18);
  border: 3px solid #fff;
}

/* ---------- process steps ---------- */

.process-step {
  position: relative;
  padding-left: 3.2rem;
}
.process-step .step-num {
  position: absolute;
  left: 0; top: 0;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  box-shadow: var(--shadow-lift);
}

/* ---------- stat / counter cards ---------- */

.stat-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
}
.stat-content { position: relative; z-index: 2; }
.stat-box strong { font-family: var(--font-display); font-size: 2.4rem; display: block; }
.stat-box span { color: var(--muted); font-size: 0.85rem; }

/* ---------- wave counter fill ---------- */

.stat-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  transition: height 1.3s var(--ease-out);
}
.stat-box.counting .stat-wave { height: 46%; }
.stat-wave svg {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200%;
  height: 100%;
}
.stat-wave .wave-back {
  fill: var(--brand-violet);
  opacity: 0.16;
  animation: stat-wave-scroll 7s linear infinite;
}
.stat-wave .wave-front {
  fill: var(--brand-cyan);
  opacity: 0.22;
  animation: stat-wave-scroll 4.2s linear infinite reverse;
}
@keyframes stat-wave-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- testimonial cards ---------- */

.testimonial-card { padding: 1.8rem; height: 100%; }
.testimonial-card .stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 0.6rem; }
.testimonial-card p.quote { color: var(--ink-soft); font-size: 0.98rem; }
.testimonial-person { display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem; }
.testimonial-person img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; font-size: 0.9rem; }
.testimonial-person span { font-size: 0.78rem; color: var(--muted); }

/* ---------- course / blog cards ---------- */

.course-card, .blog-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.course-media, .blog-media { position: relative; height: 190px; overflow: hidden; }
.course-media img, .blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.course-card:hover .course-media img, .blog-card:hover .blog-media img { transform: scale(1.08); }
.course-pill, .blog-pill {
  position: absolute; top: 0.8rem; left: 0.8rem;
  background: rgba(17,18,31,0.72);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.course-body, .blog-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.course-body h3, .blog-body h3 { font-size: 1.08rem; }
.course-body p, .blog-body p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }
.course-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 0.85rem; color: var(--muted); }
.course-price { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.blog-meta { font-size: 0.78rem; color: var(--muted); display: flex; gap: 0.8rem; align-items: center; }
.course-empty, .blog-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--muted); }

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.filter-pill {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0.42rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.filter-pill.active, .filter-pill:hover {
  border-color: transparent;
  background: var(--gradient-brand);
  color: #fff;
}

/* ---------- AI Studio ---------- */

.ai-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.ai-type-toggle { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.ai-type-btn {
  flex: 1;
  min-width: 120px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  text-align: center;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.ai-type-btn .material-symbols-outlined { display: block; font-size: 1.6rem; margin-bottom: 0.3rem; }
.ai-type-btn.active { border-color: transparent; background: var(--gradient-brand-soft); color: var(--brand-violet); box-shadow: inset 0 0 0 1.5px rgba(124,58,237,0.3); }

#aiResolutionWrap .ai-type-toggle, #aiGenderWrap .ai-type-toggle { gap: 0.5rem; }
#aiResolutionWrap .ai-type-btn, #aiGenderWrap .ai-type-btn { min-width: 0; padding: 0.5rem; font-size: 0.85rem; border-radius: var(--radius-pill); }

#aiUploadPreview:empty { display: none; }
#aiUploadPreview img {
  max-height: 140px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  display: block;
}

.ai-result {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper-sunken);
  min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-strong);
}
.ai-result img, .ai-result video, .ai-result audio { width: 100%; display: block; }
.ai-result .ai-placeholder { color: var(--muted); text-align: center; padding: 2rem; font-size: 0.9rem; }

.token-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--gradient-brand-soft);
  color: var(--brand-violet);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.spinner-brand {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line-strong);
  border-top-color: var(--brand-violet);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- forms ---------- */

.form-modern label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; color: var(--ink); }
.form-modern .form-control, .form-modern .form-select, .form-modern textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.95rem;
  font-size: 0.95rem;
  background: #fff;
}
.form-modern .form-control:focus, .form-modern .form-select:focus, .form-modern textarea:focus {
  border-color: var(--brand-violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-success {
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: #0c7c92;
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-weight: 600;
}
.form-error-text { color: #d6336c; font-size: 0.88rem; font-weight: 600; min-height: 1.2em; }

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }
.cta-band .btn-light-pill {
  background: #fff; color: var(--brand-violet); font-weight: 700;
  border-radius: var(--radius-pill); padding: 0.75rem 1.7rem; border: none;
  transition: transform 0.25s var(--ease-out);
}
.cta-band .btn-light-pill:hover { transform: translateY(-2px); color: var(--brand-magenta); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 4rem 0 1.5rem; }
.site-footer h6 { color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.65); }
.site-footer a:hover { color: #fff; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word small { color: rgba(255,255,255,0.5); }
.footer-social {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.footer-social:hover { background: var(--gradient-brand); border-color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 3rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* ---------- breadcrumb hero (inner pages) ---------- */

.page-hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }

/* ---------- prose (blog post) ---------- */

.prose { font-size: 1.05rem; color: var(--ink-soft); }
.prose p { margin-bottom: 1.3rem; }

/* ---------- misc responsive ---------- */

@media (max-width: 767.98px) {
  .hero-visual { margin-top: 2.5rem; }
  .hero-float-card { display: none; }
}

/* ---------- auth (login / create account) ---------- */

.auth-shell { min-height: calc(100vh - 78px); }
.auth-shell-row { min-height: calc(100vh - 78px); }

.auth-visual-col { position: relative; min-height: 320px; }
.auth-visual {
  height: 100%; min-height: 320px;
  background-size: cover; background-position: center;
}
.auth-visual-content {
  height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(2rem, 4vw, 3.25rem);
  color: #fff;
}
.auth-visual-content .brand-word { color: #fff; }
.auth-visual-content .eyebrow { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.auth-visual-content h1 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.18; margin-top: 1.5rem; }
.auth-visual-content .hero-lede { color: rgba(255, 255, 255, 0.78); font-size: 1rem; }

.auth-feature-list { list-style: none; padding: 0; margin: 1.85rem 0 0; display: flex; flex-direction: column; gap: 1.05rem; }
.auth-feature-list li { display: flex; align-items: center; gap: 0.85rem; font-weight: 600; font-size: 0.95rem; }
.auth-feature-list .icon-tile { width: 40px; height: 40px; border-radius: var(--radius-sm); font-size: 1.15rem; background: rgba(255, 255, 255, 0.14); color: #fff; flex-shrink: 0; }

.auth-visual-stats {
  display: flex; gap: 2.2rem; margin-top: 2.5rem; padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.auth-visual-stats strong { font-family: var(--font-display); font-size: 1.7rem; display: block; }
.auth-visual-stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }

.auth-form-col { display: flex; align-items: center; background: var(--paper); }
.auth-form-wrap { width: 100%; max-width: 440px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 3.5rem) 1.5rem; }
.auth-form-wrap .eyebrow { margin-bottom: 0.9rem; }
.auth-form-wrap h2 { font-size: 1.5rem; }

.auth-google-btn { border-color: var(--line-strong); background: #fff; font-size: 0.95rem; }
.auth-google-btn:hover { box-shadow: var(--shadow-soft); }

.auth-divider { display: flex; align-items: center; gap: 0.9rem; margin: 1.6rem 0; }
.auth-divider hr { flex: 1; margin: 0; border-color: var(--line); opacity: 1; }
.auth-divider span { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

.auth-tabs { display: flex; gap: 0.5rem; background: var(--paper-sunken); border-radius: var(--radius-pill); padding: 0.3rem; margin-bottom: 1.75rem; }
.auth-tabs .filter-pill { flex: 1; border: none; background: transparent; }
.auth-tabs .filter-pill.active { box-shadow: var(--shadow-soft); }
.auth-tabs .filter-pill:hover:not(.active) { background: rgba(124, 58, 237, 0.08); color: var(--brand-violet); }

.input-icon-group { position: relative; display: block; }
.input-icon-group .material-symbols-outlined {
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 1.2rem; pointer-events: none;
}
.input-icon-group input { padding-left: 2.7rem !important; }

.auth-footnote { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: 1.75rem; }
.auth-footnote a { font-weight: 600; }

@media (max-width: 991.98px) {
  .auth-shell, .auth-shell-row { min-height: 0; }
  .auth-visual-col { min-height: 280px; }
  .auth-visual-stats { display: none; }
  .auth-form-col { background: var(--paper); }
}
