/* Page-specific styles for teams.html and storefronts.html. All classes prefixed pg-. */

.pg-accent { color: var(--accent); }
.pg-main { overflow: hidden; }

/* nav extras */
.nav-links .pg-nav-cta { font-family: 'Inter', sans-serif; font-size: 0.92rem; padding: 9px 20px; border-radius: 10px; }
.nav-links a.pg-nav-cta:hover { color: #0a0a0a; }
.nav-links .pg-nav-active { color: var(--accent); }
.pg-btn-sm { padding: 9px 20px; font-size: 0.92rem; border-radius: 10px; cursor: pointer; font-family: 'Inter', sans-serif; }
button.btn { color: var(--text); font-family: 'Inter', sans-serif; cursor: pointer; }
button.btn-accent { color: #0a0a0a; }

/* focus */
.pg-main a:focus-visible, .pg-main button:focus-visible, .pg-main summary:focus-visible,
.nav a:focus-visible, .nav button:focus-visible, .footer a:focus-visible, .footer button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Hero ---------- */
.pg-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 130px 48px 70px;
}
.pg-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.pg-hero h1 { margin-bottom: 0; }
.pg-hero-sub { color: var(--muted); max-width: 560px; margin: 22px 0 30px; line-height: 1.65; font-size: 1.05rem; }
.pg-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pg-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; color: var(--muted); font-size: 0.92rem; }
.pg-proof li { display: inline-flex; align-items: center; gap: 8px; }
.pg-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(179,164,240,0.8); }

/* product fan */
.pg-fan { position: relative; height: 540px; }
.pg-fan figure {
  position: absolute;
  width: 54%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  background: #1a1a1a;
  transition: transform .35s ease, box-shadow .35s ease;
}
.pg-fan img { width: 100%; height: auto; }
.pg-fan .pg-f1 { top: 0; left: -2%; transform: rotate(-6deg); z-index: 1; }
.pg-fan .pg-f2 { top: 6%; right: -2%; transform: rotate(5deg); z-index: 1; }
.pg-fan .pg-f3 { bottom: 0; left: 23%; transform: rotate(-1.5deg); z-index: 2; width: 50%; }
.pg-fan figure:hover { z-index: 5; box-shadow: 0 30px 70px rgba(0,0,0,0.7), 0 0 30px rgba(179,164,240,0.2); }
.pg-fan .pg-f1:hover { transform: rotate(-3deg) scale(1.05); }
.pg-fan .pg-f2:hover { transform: rotate(2.5deg) scale(1.05); }
.pg-fan .pg-f3:hover { transform: rotate(-0.5deg) scale(1.04); }

/* ---------- Generic blocks ---------- */
.pg-block { max-width: 1440px; margin: 0 auto; padding: 90px 48px; position: relative; }
.pg-head { max-width: 760px; margin-bottom: 52px; }
.pg-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.pg-head h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); margin-bottom: 18px; }
.pg-head p { color: var(--muted); line-height: 1.65; }
.pg-grid { display: grid; gap: 24px; }
.pg-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pg-card { height: 100%; transition: border-color .3s, transform .3s, box-shadow .3s; }
.pg-card:hover { border-color: rgba(179,164,240,0.4); box-shadow: 0 0 34px rgba(179,164,240,0.08); }
.pg-card h3 { font-size: 1.2rem; padding-bottom: 14px; margin-bottom: 14px; }
.pg-card.pg-compact { padding: 28px 26px; }
.pg-card.pg-compact h3 { border: none; padding-bottom: 0; margin-bottom: 10px; }
.pg-card .card-icon { width: 34px; height: 34px; padding: 0; }

/* panel wrapper to echo the site's rounded dark panels */
.pg-panel {
  background: #050505;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.04);
  max-width: 1440px;
  margin: 40px auto;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.pg-panel::before {
  content: "";
  position: absolute;
  top: -180px; right: -140px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,164,240,0.10), transparent 65%);
  pointer-events: none;
}
.pg-panel > * { position: relative; }

/* ---------- Steps ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: pgstep; position: relative; }
.pg-step { position: relative; padding-top: 30px; }
.pg-step .pg-step-num {
  position: absolute; top: 22px; right: 22px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(179,164,240,0.4);
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--accent);
}
.pg-step h3 { font-size: 1.15rem; padding-bottom: 14px; margin-bottom: 14px; padding-right: 36px; }
.pg-steps.pg-line::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%; top: -14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(179,164,240,0.5), transparent);
}

/* ---------- Why switch list ---------- */
.pg-why { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.pg-why-list { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; }
.pg-why-list li {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 24px 20px 58px;
  position: relative;
  line-height: 1.55;
  transition: border-color .3s;
}
.pg-why-list li:hover { border-color: rgba(179,164,240,0.35); }
.pg-why-list li::before {
  content: "";
  position: absolute;
  left: 24px; top: 25px;
  width: 14px; height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.pg-why-list strong { font-weight: 400; color: var(--text); }
.pg-why-list span { color: var(--muted); }

/* ---------- Three ways ---------- */
.pg-ways .pg-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Example cards ---------- */
.pg-example { display: block; overflow: hidden; padding: 0; }
.pg-example .pg-shot { position: relative; background: #0a0a0a; border-bottom: 1px solid var(--card-border); overflow: hidden; }
.pg-example .pg-shot img { width: 100%; height: auto; transition: transform .6s ease; }
.pg-example:hover .pg-shot img { transform: scale(1.03); }
.pg-example .pg-body { padding: 26px 28px 30px; }
.pg-example .pg-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  border: 1px solid rgba(179,164,240,0.3);
  background: rgba(179,164,240,0.08);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}
.pg-example h3 { border: none; padding: 0; margin: 0 0 8px; font-size: 1.35rem; }
.pg-example .pg-visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent); font-size: 0.95rem; }
.pg-example .pg-visit svg { width: 16px; height: 16px; transition: transform .25s; }
.pg-example:hover .pg-visit svg { transform: translate(3px, -3px); }
.pg-single-example { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 0; max-width: 1100px; margin: 0 auto; overflow: hidden; padding: 0; }
.pg-single-example .pg-shot { border-bottom: none; border-right: 1px solid var(--card-border); }
.pg-single-example .pg-body { display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }

/* browser chrome on screenshots */
.pg-chrome { display: flex; gap: 6px; padding: 10px 14px; background: #111; border-bottom: 1px solid var(--card-border); }
.pg-chrome i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c2c; display: block; }

/* ---------- Device mockup ---------- */
.pg-devices { position: relative; padding: 20px 0 40px; }
.pg-laptop { position: relative; width: 92%; margin-left: 0; }
.pg-laptop-screen {
  background: #0c0c0c;
  border: 2px solid #2a2a2a;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 60px rgba(179,164,240,0.12);
}
.pg-laptop-screen .pg-cam { width: 5px; height: 5px; border-radius: 50%; background: #333; margin: -4px auto 5px; }
.pg-laptop-screen img { width: 100%; height: auto; border-radius: 4px 4px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pg-laptop-base {
  height: 16px;
  background: linear-gradient(#2b2b2b, #151515);
  border-radius: 0 0 18px 18px;
  position: relative;
  margin: 0 -3%;
  border: 1px solid #2a2a2a;
  border-top: none;
}
.pg-laptop-base::after {
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 18%; height: 5px;
  transform: translateX(-50%);
  background: #090909;
  border-radius: 0 0 8px 8px;
}
.pg-phone {
  position: absolute;
  right: 0; bottom: 0;
  width: 27%;
  background: #0c0c0c;
  border: 2px solid #333;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.75), 0 0 50px rgba(179,164,240,0.2);
  z-index: 3;
}
.pg-phone img { width: 100%; height: auto; border-radius: 20px; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.pg-phone::before {
  content: "";
  position: absolute; top: 13px; left: 50%;
  width: 28%; height: 5px;
  transform: translateX(-50%);
  background: #000;
  border-radius: 4px;
  z-index: 2;
}

/* ---------- Performance list ---------- */
.pg-perf { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pg-perf .pg-card p + p { margin-top: 12px; }
.pg-why-it { color: var(--text); font-size: 0.95rem; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.06); }
.pg-why-it b { font-weight: 400; color: var(--accent); letter-spacing: 0.04em; }

/* ---------- Timeline ---------- */
.pg-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 34px; }
.pg-timeline::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 9px;
  height: 1px;
  background: linear-gradient(90deg, rgba(179,164,240,0.6), rgba(179,164,240,0.15));
}
.pg-tl-item { position: relative; }
.pg-tl-item::before {
  content: "";
  position: absolute; top: -31px; left: 0;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid var(--accent);
  box-shadow: 0 0 14px rgba(179,164,240,0.6);
}
.pg-tl-item .pg-when { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 10px; display: block; }
.pg-tl-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.pg-tl-item p { color: var(--muted); line-height: 1.6; }

/* ---------- Money ---------- */
.pg-money { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pg-money-flow { display: flex; flex-direction: column; gap: 0; }
.pg-flow-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 22px;
  position: relative;
}
.pg-flow-row + .pg-flow-row { margin-top: 22px; }
.pg-flow-row + .pg-flow-row::before {
  content: "";
  position: absolute; left: 36px; top: -22px;
  width: 1px; height: 22px;
  background: linear-gradient(rgba(179,164,240,0), rgba(179,164,240,0.7));
}
.pg-flow-row .card-icon { margin: 0; flex: none; width: 28px; height: 28px; }
.pg-flow-row strong { font-weight: 400; display: block; }
.pg-flow-row span { color: var(--muted); font-size: 0.92rem; }
.pg-points { list-style: none; padding: 0; margin-top: 26px; }
.pg-points li { color: var(--muted); line-height: 1.55; padding: 10px 0 10px 30px; position: relative; border-top: 1px solid rgba(255,255,255,0.05); }
.pg-points li:first-child { border-top: none; }
.pg-points li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 13px; height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.pg-faq { max-width: 900px; margin: 0 auto; }
.pg-faq .accordion details p + p { padding-top: 0; margin-top: -12px; }

/* ---------- CTA band ---------- */
.pg-cta-band {
  max-width: 1440px;
  margin: 30px auto 0;
  padding: 0 48px;
}
.pg-cta-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(179,164,240,0.32);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(179,164,240,0.10), rgba(179,164,240,0.02) 55%, #050505);
  padding: 80px 32px;
  box-shadow: 0 0 60px rgba(179,164,240,0.08);
}
.pg-cta-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; max-width: 780px; margin: 0 auto 18px; position: relative; }
.pg-cta-inner p { color: var(--muted); max-width: 560px; margin: 0 auto 8px; line-height: 1.6; position: relative; }
.pg-cta-inner .cta-row { position: relative; }

/* footer additions */
.footer-bottom .footer-legal a { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pg-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pg-steps { grid-template-columns: repeat(2, 1fr); }
  .pg-timeline { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .pg-timeline::before { display: none; }
  .pg-tl-item::before { position: static; display: block; margin-bottom: 16px; }
  .pg-steps.pg-line::before { display: none; }
}
@media (max-width: 900px) {
  .pg-hero { padding: 110px 16px 40px; min-height: 0; }
  .pg-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .pg-hero-ctas .btn { width: 100%; justify-content: center; }
  .pg-fan { height: 400px; max-width: 420px; margin: 0 auto; width: 100%; }
  .pg-block { padding: 60px 16px; }
  .pg-panel { padding: 44px 16px; margin: 24px 0; border-radius: 24px; }
  .pg-grid-3, .pg-grid-2, .pg-perf { grid-template-columns: 1fr; }
  .pg-why, .pg-money { grid-template-columns: 1fr; gap: 36px; }
  .pg-single-example { grid-template-columns: 1fr; }
  .pg-single-example .pg-shot { border-right: none; border-bottom: 1px solid var(--card-border); }
  .pg-single-example .pg-body { padding: 28px 24px; }
  .pg-cta-band { padding: 0 16px; }
  .pg-cta-inner { padding: 56px 20px; border-radius: 24px; }
  .pg-cta-inner .cta-row .btn { width: 100%; justify-content: center; }
  .pg-head { margin-bottom: 36px; }
  .nav-links .pg-nav-cta { display: inline-flex; justify-content: center; font-size: 1.1rem; padding: 12px 24px; }
}
@media (max-width: 600px) {
  .pg-grid-4, .pg-steps, .pg-timeline { grid-template-columns: 1fr; }
  .pg-devices { padding-bottom: 20px; }
  .pg-phone { width: 30%; border-radius: 20px; padding: 5px; border-width: 1.5px; }
  .pg-phone img { border-radius: 15px; }
  .pg-fan { height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-fan figure, .pg-example .pg-shot img { transition: none; }
}
