/* ============================================================
   SHOPIFY STORE DEVELOPMENT PAGE — TechMindDesignz
   Uses the theme's CSS custom properties (black-and-gold palette)
   ============================================================ */

/* ---- Scroll-reveal animation ---- */
.sp-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-animate.sp-visible {
  opacity: 1;
  transform: none;
}
.sp-animate:nth-child(2) { transition-delay: 0.08s; }
.sp-animate:nth-child(3) { transition-delay: 0.16s; }
.sp-animate:nth-child(4) { transition-delay: 0.24s; }
.sp-animate:nth-child(5) { transition-delay: 0.32s; }
.sp-animate:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   HERO
   ============================================================ */
.sp-hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(130px, 16vw, 190px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.sp-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse 55% 65% at 20% 48%, #d4af3718, transparent 70%),
              radial-gradient(ellipse 40% 50% at 80% 20%, #d4af370d, transparent 60%);
}
.sp-hero__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: radial-gradient(#d4af3730 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 72%);
}
.sp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

/* Badge */
.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-gold);
  color: var(--gold-l);
  background: #0c0c0cd9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: rise 0.8s var(--ease) both;
}

.sp-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 18ch;
  animation: rise 0.9s var(--ease) both;
}
.sp-hero__copy p {
  color: #c4c4c4;
  max-width: 52ch;
  margin-top: 24px;
  font-size: 1.12rem;
  animation: rise 0.9s 0.12s var(--ease) both;
}
.sp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  animation: rise 0.9s 0.24s var(--ease) both;
}
.sp-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  animation: rise 0.9s 0.36s var(--ease) both;
}
.sp-trust-chips span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
}

/* ---- Hero mockup ---- */
.sp-hero__visual {
  position: relative;
  aspect-ratio: 1.1;
  width: 100%;
}
.sp-hero__mockup-glow {
  position: absolute;
  inset: 8% 4% 4% 10%;
  background: radial-gradient(closest-side, #d4af374d, transparent 72%);
  filter: blur(24px);
}
.sp-mockup-desktop {
  position: absolute;
  top: 5%;
  left: 0;
  width: 88%;
  animation: 9s ease-in-out infinite float;
  transform: rotate(-1.5deg);
}
.sp-mockup-phone {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32%;
  animation: 8s ease-in-out 1s infinite reverse float;
  transform: rotate(2deg);
}

/* Frame & phone shells */
.sp-frame {
  background: #0b0b0b;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px #000, 0 0 0 1px #d4af370f;
}
.sp-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: #171717;
}
.sp-frame__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a3a;
}
.sp-frame__bar em {
  flex: 1;
  max-width: 46%;
  height: 12px;
  margin-left: 10px;
  background: #242424;
  border-radius: 6px;
}
.sp-phone {
  background: #1b1b1b;
  border: 1px solid #ffffff24;
  border-radius: 26px;
  padding: 6px;
  box-shadow: 0 40px 70px -26px #000;
}
.sp-phone > .sp-store-mock {
  border-radius: 20px;
}

/* Store mockup inside frames */
.sp-store-mock {
  background: #0e0e0e;
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  flex-direction: column;
}
.sp-store-mock--mobile {
  aspect-ratio: 9/19;
}
.sp-store-nav {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 10px 14px;
}
.sp-store-nav b {
  display: block;
  width: 28px;
  height: 5px;
  background: #ffffff26;
  border-radius: 8px;
}
.sp-store-logo {
  display: block;
  width: 32px;
  height: 12px;
  background: var(--gold);
  border-radius: 3px;
}
.sp-store-cart {
  display: block;
  width: 24px;
  height: 10px;
  background: var(--gold);
  border-radius: 3px;
  margin-left: auto;
}
.sp-store-banner {
  height: 32%;
  margin: 0 14px 10px;
  background: linear-gradient(135deg, var(--gold-d), #1a1a1a 80%);
  border-radius: 8px;
}
.sp-store-banner--m {
  height: 20%;
}
.sp-store-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 14px 14px;
  flex: 1;
}
.sp-store-products--m {
  grid-template-columns: repeat(2, 1fr);
}
.sp-prod__img {
  aspect-ratio: 1;
  background: #1a1a1a;
  border-radius: 6px;
  margin-bottom: 6px;
}
.sp-prod__line {
  width: 70%;
  height: 5px;
  background: #ffffff20;
  border-radius: 4px;
  margin-bottom: 4px;
}
.sp-prod__price {
  width: 40%;
  height: 5px;
  background: var(--gold);
  opacity: 0.5;
  border-radius: 4px;
}

/* Float chips */
.sp-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-gold);
  color: var(--gold-l);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: #0c0c0cd9;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px #000;
  animation: rise 0.8s var(--ease) both;
}
.sp-float-chip--a { top: 0; left: -2%; animation-delay: 1.2s; }
.sp-float-chip--b { bottom: 18%; left: 0; animation-delay: 1.35s; }
.sp-float-chip--c { top: 2%; right: 4%; animation-delay: 1.5s; }

@media (width <= 980px) {
  .sp-hero { min-height: 0; padding-top: 108px; }
  .sp-hero__grid { grid-template-columns: 1fr; }
  .sp-hero h1 { max-width: 20ch; }
  .sp-hero__visual { max-width: 580px; margin-inline: auto; }
}
@media (width <= 560px) {
  .sp-hero h1 { font-size: 1.9rem; }
  .sp-trust-chips { gap: 8px; }
}

/* ============================================================
   PRICING
   ============================================================ */
.sp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.sp-price-card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(#141414, #0e0e0e);
  border-radius: 20px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.sp-price-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
}
.sp-price-card--popular {
  border-color: var(--gold);
  box-shadow: 0 0 60px -20px #d4af3740;
  transform: scale(1.03);
}
.sp-price-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
}
.sp-price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-grad);
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.sp-price-card__label {
  display: block;
  color: var(--gold-l);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.sp-price-card__head h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.sp-price-card__head p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.sp-price-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.sp-price-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e3e3e3;
  font-size: 0.95rem;
}
.sp-price-card__features svg {
  flex: none;
}
.sp-price-card__btn {
  align-self: stretch;
  text-align: center;
}

@media (width <= 960px) {
  .sp-pricing__grid { grid-template-columns: 1fr 1fr; }
  .sp-price-card--popular { transform: none; }
  .sp-price-card--popular:hover { transform: translateY(-4px); }
}
@media (width <= 620px) {
  .sp-pricing__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.sp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sp-testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sp-testimonial__stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}
.sp-testimonial blockquote {
  margin: 0;
  flex: 1;
}
.sp-testimonial blockquote p {
  color: #c9c9c9;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
}
.sp-testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sp-testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #0a0a0a;
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.sp-testimonial__author strong {
  display: block;
  font-size: 0.95rem;
}
.sp-testimonial__author span {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (width <= 900px) {
  .sp-testimonials__grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.sp-faq {
  background: var(--bg2);
  border-block: 1px solid var(--line);
}
.sp-faq__list {
  max-width: 760px;
  margin-inline: auto;
}
.sp-faq__item {
  border-bottom: 1px solid var(--line);
}
.sp-faq__item:first-child {
  border-top: 1px solid var(--line);
}
.sp-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  color: #fff;
  list-style: none;
  transition: color 0.2s;
}
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary::after {
  content: '+';
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold);
  flex: none;
  transition: transform 0.3s var(--ease);
}
.sp-faq__item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.sp-faq__item summary:hover { color: var(--gold-l); }
.sp-faq__item p {
  color: var(--muted);
  padding: 0 0 22px;
  font-size: 0.98rem;
  max-width: 60ch;
  line-height: 1.65;
  animation: rise 0.4s var(--ease) both;
}

/* ============================================================
   RESPONSIVE NAV PANEL (this page renders its own nav)
   ============================================================ */
.shopify-page .nav-panel[hidden] { display: none; }
.shopify-page .nav-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 24px 40px;
  position: fixed;
  inset: 76px 0 0;
  background: var(--bg);
  overflow-y: auto;
  z-index: 49;
}
.shopify-page .nav-panel nav {
  display: flex;
  flex-direction: column;
}
.shopify-page .nav-panel nav a {
  font-family: var(--display);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  font-size: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .sp-animate { opacity: 1; transform: none; transition: none; }
  .sp-float-chip, .sp-badge, .sp-hero h1,
  .sp-hero__copy p, .sp-hero__ctas, .sp-trust-chips { animation: none; }
}

/* ---- Portfolio hero banner screenshots ---- */
.mk-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.project-card:hover .mk-shot {
  transform: scale(1.02);
  transition: transform 0.5s var(--ease);
}
