/* ============================================================
   index.css — PortfolixHub homepage styles
   ============================================================ */

/* ── HERO STICKY SHRINK ── */
.hero-sticky-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  overflow: hidden;
  height: 100vh;
}

.hero-spacer {
  height: 100vh;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1800&q=80') center / cover no-repeat;
  filter: brightness(.45) grayscale(10%);
  transform-origin: center top;
  will-change: transform;
}

.hero-content {
  position: absolute;
  bottom: 48px;
  left: var(--pad);
  z-index: 2;
  max-width: 780px;
  will-change: opacity, transform;
}

.hero-h1 {
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .96;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-line {
  overflow: hidden;
  display: block;
}

.hero-line span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-line:nth-child(1) span { animation-delay: .25s; }
.hero-line:nth-child(2) span { animation-delay: .38s; }

@keyframes lineUp {
  to { transform: translateY(0); }
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .8s .6s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  color: var(--black);
  padding: 4px 4px 4px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s;
  cursor: none;
  opacity: 0;
  animation: fadeUp .8s .72s cubic-bezier(.16, 1, .3, 1) forwards;
}

.hero-btn:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, .3);
  transform: translateY(-2px);
}

.hero-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  flex-shrink: 0;
}

.hero-btn-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.hero-trusted {
  position: absolute;
  bottom: 48px;
  right: var(--pad);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .01em;
  z-index: 2;
  opacity: 0;
  animation: fadeUp .6s .9s forwards;
  text-align: right;
}

.hero-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  justify-content: flex-end;
}

.hero-icons svg {
  color: rgba(255, 255, 255, .35);
  width: 22px;
  height: 22px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MAIN CONTENT WRAPPER ── */
.main-content {
  position: relative;
  z-index: 20;
  background: var(--white);
  margin-bottom: -100vh; /* compensates the JS translateY(-VH) scroll effect */
}

/* ── STATEMENT ── */
.statement {
  padding: 40vh var(--pad) 64px;
  text-align: center;
}

.statement h2 {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 820px;
  margin: 0 auto 36px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 6px;
  max-width: 900px;
  margin: 0 auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--g600);
  letter-spacing: -.01em;
}

.tag svg {
  color: var(--g400);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.tag-sep {
  color: var(--g300);
  font-size: 13px;
  margin: 0 2px;
}

/* ── SPACES ── */
.spaces {
  padding: 20px var(--pad) 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.spaces-left h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 16px;
}

.spaces-left p {
  font-size: 15px;
  color: var(--g500);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 400px;
}

.spaces-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--g200);
}

.space-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--g200);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: start;
}

.space-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--g500);
  margin-top: 2px;
}

.space-icon svg {
  width: 16px;
  height: 16px;
  color: inherit;
}

.space-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -.01em;
  margin-bottom: 2px;
}

.space-sub {
  font-size: 13px;
  color: var(--g400);
  margin-bottom: 8px;
}

.space-desc {
  font-size: 13.5px;
  color: var(--g500);
  line-height: 1.55;
}

/* ── LOCATIONS ── */
.locations { padding: 0 var(--pad) 100px; }

.sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 20px;
}

.sec-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.sec-header p {
  font-size: 14px;
  color: var(--g500);
  line-height: 1.5;
  max-width: 380px;
  margin-top: 6px;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
}

.loc-card {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  background: var(--black);
  cursor: none;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}

.loc-card:hover { transform: scale(1.02); }

.loc-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: brightness(.55) grayscale(10%);
  transition: filter .4s, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.loc-card:hover img {
  filter: brightness(.45) grayscale(0%);
  transform: scale(1.05);
}

.loc-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.loc-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
}

.loc-addr {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px;
}

.loc-view {
  background: var(--white);
  color: var(--black);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
  cursor: none;
}

.loc-view:hover { background: var(--g100); transform: scale(1.04); }

/* Coming soon card */
.loc-card-soon {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  background: var(--g100);
  border: 2px dashed var(--g300);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  cursor: default;
}

.soon-inner { text-align: center; padding: 32px; }

.soon-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.soon-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: 6px;
}

.soon-sub { font-size: 13px; color: var(--g500); line-height: 1.5; }

/* ── PRICING ── */
.pricing { padding: 0 var(--pad) 100px; }

.pricing-head { text-align: center; margin-bottom: 56px; }

.pricing-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}

.pricing-head p {
  font-size: 15px;
  color: var(--g500);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.price-card { padding: 0 40px; position: relative; }
.price-card + .price-card { border-left: 1px solid var(--g200); }

/* Leftmost card — less right padding */
.price-card:first-child { padding-right: 32px; }
/* Rightmost card — less left padding */
.price-card:last-child  { padding-left: 32px; }

.price-card-dark {
  background: var(--black);
  border-radius: 20px;
  padding: 32px 32px 36px;
  margin: -8px 0;
  border-left: none !important;
  position: relative;
  z-index: 2;
}

.price-card-dark + .price-card { border-left: none; padding-left: 40px; }

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .7);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.plan-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--g500);
  margin-bottom: 12px;
}

.price-card-dark .plan-name { color: rgba(255, 255, 255, .5); }

.plan-price {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-card-dark .plan-price { color: var(--white); }

.plan-price sup {
  font-size: 22px;
  font-weight: 600;
  margin-top: 6px;
  align-self: flex-start;
}

.plan-price sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--g400);
  letter-spacing: -.01em;
}

.price-card-dark .plan-price sub { color: rgba(255, 255, 255, .4); }

.plan-tagline {
  font-size: 13.5px;
  color: var(--g500);
  line-height: 1.5;
  margin-bottom: 24px;
}

.price-card-dark .plan-tagline { color: rgba(255, 255, 255, .5); }

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  margin-bottom: 24px;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  cursor: none;
}

.plan-btn-outline { border: 1.5px solid var(--g200); color: var(--black); }
.plan-btn-outline:hover { border-color: var(--black); background: var(--black); color: var(--white); }
.plan-btn-light { background: var(--white); color: var(--black); }
.plan-btn-light:hover { background: var(--g100); transform: scale(1.02); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-features li {
  font-size: 13.5px;
  color: var(--g600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-card-dark .plan-features li { color: rgba(255, 255, 255, .65); }

.feat-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--g300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.price-card-dark .feat-check { border-color: rgba(255, 255, 255, .25); }
.feat-check svg { width: 10px; height: 10px; color: var(--g500); }
.price-card-dark .feat-check svg { color: rgba(255, 255, 255, .7); }

/* ── TESTIMONIALS ── */
.testimonials { padding: 0 0 100px; }

.testimonials-head { text-align: center; padding: 0 var(--pad); margin-bottom: 48px; }

.testimonials-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.testimonials-head p { font-size: 15px; color: var(--g500); line-height: 1.6; }

.marquee-wrap {
  overflow: hidden;
  margin-bottom: 14px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

.m-left  .marquee-track { animation: mLeft  38s linear infinite; }
.m-right .marquee-track { animation: mRight 42s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

@keyframes mLeft  { from { transform: translateX(0);    } to { transform: translateX(-50%); } }
@keyframes mRight { from { transform: translateX(-50%); } to { transform: translateX(0);    } }

.rev-card {
  min-width: 260px;
  max-width: 260px;
  border: 1px solid var(--g200);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--white);
  flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s;
  cursor: none;
}

.rev-card:hover { border-color: var(--g300); box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }

.rev-rating {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rev-star  { font-size: 12px; }
.rev-text  { font-size: 13px; line-height: 1.55; color: var(--g600); margin-bottom: 14px; }

.rev-author { display: flex; align-items: center; gap: 9px; }

.rev-author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(80%);
}

.rev-name { font-size: 12.5px; font-weight: 600; color: var(--black); }
.rev-role { font-size: 11px; color: var(--g400); }

/* ── FAQ ── */
.faq {
  padding: 0 var(--pad) 100px;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.faq-left { position: sticky; top: 88px; }

.faq-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.faq-left p {
  font-size: 14.5px;
  color: var(--g500);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 340px;
}

.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--g200); }
.faq-item:last-child { border-bottom: 1px solid var(--g200); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  gap: 20px;
  cursor: none;
  letter-spacing: -.01em;
  transition: color .15s;
}

.faq-q:hover { color: var(--g600); }

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--g300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--g400);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1),
              background .25s, border-color .25s, color .25s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.16, 1, .3, 1);
}

.faq-item.open .faq-ans { max-height: 200px; }

.faq-ans p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--g500);
  padding-bottom: 20px;
}

/* ── CTA BLOCK ── */
.cta-wrap { padding: 0 var(--pad) 56px; }

.cta-box {
  background: var(--black);
  border-radius: 18px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cta-h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 360px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: transparent;
  color: var(--white);
  padding: 4px 4px 4px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  cursor: none;
}

.cta-btn:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }

.cta-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  font-size: 14px;
}

.cta-btn-icon svg {
  width: 14px;
  height: 14px;
  color: currentColor;
}

.cta-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.cta-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}

.cta-feats svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, .4);
  flex-shrink: 0;
}

.cta-avatars { display: flex; align-items: center; gap: 10px; }

.avatar-stack { display: flex; }

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--black);
  margin-right: -8px;
  filter: grayscale(40%);
}

.cta-join { font-size: 13px; color: rgba(255, 255, 255, .4); margin-left: 14px; }