h2, h3 {
  font-weight: bold;
}

body.page-template-page-spcapp {
  background: #fff;
}

.spc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

.spc-benefits {
  padding: 0;
}

.spc-download {
  padding-bottom: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: #444;
}

/* Buttons */
.spc-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.spc-btn-primary {
  background: #f58220;
  color: #fff;
}

.spc-btn-secondary {
  border: 2px solid #f58220;
  color: #f58220;
}

/* Hero */
.spc-hero {
  background: linear-gradient(180deg, #ffe0b3, #fff);
  background-image: url('/wp-content/uploads/2026/01/spc-app-banner-full.png');
  background-size: cover;
  background-repeat: no-repeat;
  height: 400px;
}

.spc-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.spc-hero .spc-container {
  display: grid;
  gap: 40px;
}

.spc-hero-content h1 {
  font-size: 32px;
  color: #B22C2F;
}

.spc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.spc-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Benefits */
.spc-benefits .spc-container {
  display: block;
}

.spc-benefits .spc-slide {
    background: #ffe4ab;
    background: linear-gradient(218deg, rgba(255, 228, 171, 1) 0%, rgba(255, 245, 224, 1) 50%, rgba(255, 250, 239, 1) 85%, rgba(255, 255, 255, 1) 100%);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px;
}

.spc-benefits .spc-slide-content h2 {
    color: #B22C2F;
}

.spc-benefits .spc-slide-content img {
    margin-bottom: 16px;
}

.spc-benefits .spc-slide-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.spc-benefits .spc-slide-img img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

.spc-benefits .splide__track {
    overflow: hidden;
}

.spc-benefits .splide__slide {
    height: auto;
}

.splide__pagination__page.is-active {
    background: #E87722;
    width: 15px;
    border-radius: 5px;
    transform: none;
    transition: width .2s linear;
}

.splide__arrow {
    background: #f68220;
}

.splide__arrow svg {
    fill: #fff;
}

/* Download */
.spc-download {
  color: #2b2b2b;
}

.spc-download p {
  color: #2b2b2b;
}

.spc-download-inner {
  background-image: url('/wp-content/uploads/2026/01/download-bg.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 24px;
  padding: 52px 24px;
  overflow: visible;
  position: relative;
  display: grid;
  gap: 40px;
}

.spc-download-content h2 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.spc-download-content {
  max-width: 560px;
}

.spc-download-content p {
  margin-bottom: 14px;
}

.spc-download-content h2 .spc-accent {
  color: #B22C2F;
}

.spc-download-visual img {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.spc-qrs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 10px;
  align-items: start;
  justify-items: start;
}

.spc-qr {
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  width: 100%;
  max-width: 260px;
}

.spc-qr img:first-child {
  border-radius: 8px;
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.spc-qr img:last-child {
  height: 45px;
  width: auto;
}

.spc-welcome-offer {
  position: relative;
  background: #fff;
  color: #333;
  padding: 16px;
  margin-top: 54px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border: 2px solid #E87722;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  width: 100%;
}

.spc-welcome-offer .spc-offer-label {
  font-size: 1.35em;
    position: absolute;
    top: -55px;
    left: -2px;
    padding: 13px 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background: #fff;
    border: 2px solid #E87722;
    border-bottom: 0;
    color: #E87722;
    font-weight: 900;
}

.welcome-cols {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
}

.welcome-cols .welcome-col:first-child {
  width: 20%;
} 

.welcome-col.price p {
  color: #B22C2F;
  font-size: 72px;
  font-weight: bold;
  line-height: 1em;
}

@media (max-width: 600px) {
  .spc-container {
    padding: 0 16px;
  }

  .spc-download-inner {
    padding: 28px 16px;
    gap: 22px;
  }

  .spc-qrs {
    justify-items: center;
  }

  .spc-qr {
    max-width: 320px;
  }

  .spc-welcome-offer {
    max-width: 100%;
    margin-top: 60px;
  }

  .spc-welcome-offer .spc-offer-label {
    left: 0;
    max-width: 100%;
  }

  .welcome-cols {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .welcome-cols .welcome-col:first-child {
    width: auto;
  }

  .welcome-cols .welcome-col:last-child {
    padding-left: 0;
  }

  .welcome-col.price p {
    padding-left: 0;
    font-size: clamp(44px, 14vw, 64px);
  }
}

.spc-welcome-offer img {
  width: 60px;
  height: auto;
}

.spc-welcome-offer p {
  margin: 0;
  color: #2b2b2b;
}

.spc-store-badges {
  display: flex;
  gap: 12px;
}

.spc-store-badges img {
  height: 40px;
}

/* Register */
.spc-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.member-badge {
  display: flex; 
  align-items: center; 
  color: #53BA5E; 
  border: 1px solid #53BA5E;
  border-radius: 9px;
  padding: 6px 12px;
  background-color: rgba(83, 186, 94, 0.08);
}

.spc-register .spc-steps {
  margin-top: 28px;
  margin-bottom: 34px;
}

.spc-register h2,
.spc-register .spc-section-intro {
  text-align: center;
}

.spc-register h2 {
  color: #B22C2F;
}

.spc-step {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.spc-register .spc-step {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: left;
}

.spc-register .spc-step button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.spc-register .spc-step small {
  display: block;
  margin-top: 10px;
  color: #8a8a8a;
  letter-spacing: 0.04em;
}

.spc-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f58220;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.spc-register .spc-step-number {
  width: 30px;
  height: 30px;
  background: #d6d6d6;
  color: #fff;
  margin-bottom: 0;
}

.spc-register .spc-step.is-active .spc-step-number,
.spc-register .spc-step.is-complete .spc-step-number {
  background: #3fa64a;
}

.spc-register .spc-step.is-active h4,
.spc-register .spc-step.is-complete h4 {
  color: #2b2b2b;
  font-weight: 700;
}

.spc-register .spc-step h4 {
  margin-top: 8px;
  margin-bottom: 0;
  color: #666;
  font-weight: 600;
}

.spc-step-detail {
  display: none;
  background: #ffe4ab;
  background: linear-gradient(218deg, rgba(255, 228, 171, 1) 0%, rgba(255, 245, 224, 1) 50%, rgba(255, 250, 239, 1) 85%, rgba(255, 255, 255, 1) 100%);
  border-radius: 18px;
  padding: 30px 15px;
  padding-left: 45px;
  gap: 22px;
}

.spc-step-detail.is-active {
  display: flex;
  align-items: center;
  flex-direction: row;
}

.spc-register-text {
  width: 40%;
}

.spc-step-detail h3 {
  margin-bottom: 15px;
  color: #B22C2F;
}

.spc-step-detail > .spc-register-image,
.spc-register-splide {
  width: 60%;
}

.spc-register-splide {
  text-align: center;
}

@media (max-width: 768px) {
  .spc-step-detail.is-active {
    flex-direction: column;
    align-items: stretch;
    padding-left: 15px;
  }

  .spc-register-text,
  .spc-step-detail > .spc-register-image,
  .spc-register-splide {
    width: 100%;
  }
}

.spc-step-detail .spc-register-image img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.spc-register .splide__pagination {
  margin-top: 10px;
}

/* FAQ */
.spc-faq-item {
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.spc-faqs .spc-container {
  display: grid;
  gap: 26px;
}

.spc-faq-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spc-faq-right {
  width: 100%;
}

.spc-faq-cta {
  margin-top: 18px;
}

.spc-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: #2b2b2b;
}

.spc-faq-item p {
  margin-top: 15px;
}

.spc-faq-item summary::-webkit-details-marker {
  display: none;
}

.spc-faq-item summary::after {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.spc-faq-item[open] summary::after {
  content: '−';
}

/* Tablet */
@media (min-width: 768px) {
  .spc-hero .spc-container,
  .spc-download-inner,
  .spc-benefits .spc-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .spc-benefits .spc-slide {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 80px 60px;
    gap: 40px;
  }

  .spc-benefits .spc-slide-img {
    justify-content: center;
  }

  .spc-hero-content h1 {
    font-size: 42px;
  }

  .spc-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .spc-download-inner {
    padding: 60px 60px;
    grid-template-columns: 520px 1fr;
    gap: 56px;
    align-items: normal;
  }

  .spc-download-visual img {
    position: absolute;
    top: -60px;
    max-width: 500px;
    width: 500px;
  }

  .spc-qrs {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: start;
  }

  .spc-faqs .spc-container {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    column-gap: 60px;
  }

  .spc-faqs h2 {
    margin-bottom: 10px;
  }

  .spc-faq-list {
    margin-top: 10px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  section {
    padding: 80px 0;
  }

  .spc-hero-content h1 {
    font-size: 48px;
  }
}