/* ===========================================================
   SOSCALE — Service Page Styles
   Extends the Sogrow design system (style.css)
   =========================================================== */

/* ============================================================
   HERO — CHOOSE YOUR PLAN
   ============================================================ */
#soscale-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--space-md) var(--space-lg);
  overflow: hidden;
}

.soscale-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.soscale-badge {
  display: inline-block;
  padding: .45rem 1.4rem;
  border-radius: 100px;
  border: 1px solid var(--clr-red);
  background: rgba(232, 16, 46, .1);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-red-light);
  margin-bottom: var(--space-sm);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 16, 46, .3);
  }

  50% {
    box-shadow: 0 0 20px 4px rgba(232, 16, 46, .15);
  }
}

.soscale-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--clr-text);
  margin-bottom: var(--space-sm);
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.9),
    0 4px 40px rgba(0, 0, 0, 0.7);
}

.soscale-headline em {
  font-style: italic;
  color: var(--clr-red-light);
  text-shadow:
    0 2px 20px rgba(232, 16, 46, 0.5),
    0 4px 40px rgba(232, 16, 46, 0.3);
}

.soscale-subtitle {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.soscale-guarantees {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--clr-text-muted);
  font-weight: 400;
}

.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--clr-bg-secondary) 0%, var(--clr-surface) 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: var(--space-lg) var(--space-md);
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: inline;
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-red-light);
  line-height: 1;
  text-shadow: 0 0 30px rgba(232, 16, 46, .3);
}

.stat-plus {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--clr-red-light);
  text-shadow: 0 0 30px rgba(232, 16, 46, .3);
}

.stat-label {
  display: block;
  font-size: .82rem;
  color: var(--clr-text-muted);
  font-weight: 400;
  letter-spacing: .03em;
  margin-top: .3rem;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
#pricing {
  padding: var(--space-xl) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  align-items: start;
}

/* --- Card base --- */
.pricing-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: cardReveal .8s var(--ease-out) forwards;
}

.pricing-card:nth-child(1) {
  animation-delay: .2s;
}

.pricing-card:nth-child(2) {
  animation-delay: .45s;
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card glow on hover */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 0%, rgba(232, 16, 46, .06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
  pointer-events: none;
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  border-color: rgba(232, 16, 46, .25);
  transition: border-color .5s var(--ease-out);
}

.card-inner {
  padding: var(--space-lg) var(--space-md);
}

/* --- Elite card specific --- */
.pricing-card--elite {
  border-color: rgba(232, 16, 46, .3);
  background: linear-gradient(170deg, #111 0%, #0d0608 100%);
}

.pricing-card--elite::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--clr-red), var(--clr-red-light), var(--clr-red), transparent);
  animation: eliteShimmer 4s ease-in-out infinite;
}

@keyframes eliteShimmer {

  0%,
  100% {
    opacity: .5;
  }

  50% {
    opacity: 1;
  }
}

/* --- Badge --- */
.card-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-red);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.4rem;
  border-radius: 0 0 10px 10px;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(232, 16, 46, .45);
  animation: badgeGlow 2.5s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes badgeGlow {

  0%,
  100% {
    box-shadow:
      0 4px 16px rgba(232, 16, 46, .4),
      0 0 0 0 rgba(232, 16, 46, .3);
  }

  50% {
    box-shadow:
      0 6px 24px rgba(232, 16, 46, .55),
      0 0 20px 4px rgba(232, 16, 46, .15);
  }
}

/* --- Plan content --- */
.plan-name {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .3rem;
}

.plan-tagline {
  font-size: .9rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  margin-bottom: var(--space-xs);
}

.plan-meta {
  font-size: .72rem;
  color: var(--clr-text-dim);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

/* --- Price block --- */
.price-block {
  text-align: center;
  padding: var(--space-md);
  border-radius: 14px;
  background: var(--clr-surface-hover);
  border: 1px solid var(--clr-border);
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
}

.price-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(232, 16, 46, .08) 0%, transparent 70%);
}

.price-block--elite {
  background: linear-gradient(135deg, rgba(232, 16, 46, .08) 0%, rgba(180, 13, 36, .04) 100%);
  border-color: rgba(232, 16, 46, .2);
}

.price-amount {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--clr-text);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.price-period {
  display: block;
  font-size: .88rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  margin-top: .2rem;
  position: relative;
  z-index: 1;
}

.price-save {
  display: inline-block;
  margin-top: .6rem;
  padding: .3rem .9rem;
  border-radius: 100px;
  background: var(--clr-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

/* --- Features --- */
.features-heading {
  font-family: var(--ff-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--clr-text);
  text-align: center;
  margin-bottom: var(--space-sm);
  letter-spacing: .02em;
}

.features-heading--highlight {
  color: var(--clr-red-light);
}

.category-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-red-light);
  margin-bottom: .6rem;
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--clr-border);
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm) 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  padding: .45rem 0;
  line-height: 1.5;
  transition: color .3s var(--ease-out);
}

.features-list li:hover {
  color: var(--clr-text);
}

.feat-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-highlight {
  color: var(--clr-text) !important;
}

.feature-highlight strong {
  color: var(--clr-red-light);
}

/* ============================================================
   PLAN BUTTONS — Hover animations
   ============================================================ */
.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  margin-top: var(--space-md);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

/* Shared shine animation element */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, .08) 40%,
      rgba(255, 255, 255, .2) 50%,
      rgba(255, 255, 255, .08) 60%,
      transparent 100%);
  transition: none;
  pointer-events: none;
}

.plan-btn:hover .btn-shine {
  animation: btnSweep .7s ease-out forwards;
}

@keyframes btnSweep {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.btn-text {
  position: relative;
  z-index: 2;
}

/* --- Start Growing Now (dark red gradient — lighter than Elite) --- */
.plan-btn--primary {
  background: linear-gradient(135deg, #8b0a1e 0%, #2a060b 50%, #8b0a1e 100%);
  background-size: 200% 200%;
  color: #fff;
  border: 1px solid rgba(232, 16, 46, .25);
}

.plan-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--clr-red);
  box-shadow:
    0 8px 30px rgba(232, 16, 46, .35),
    0 0 60px rgba(232, 16, 46, .15),
    inset 0 0 20px rgba(232, 16, 46, .06);
  animation: primaryBtnGlow 2s ease-in-out infinite alternate;
}

@keyframes primaryBtnGlow {
  0% {
    background-position: 0% 50%;
    box-shadow:
      0 8px 30px rgba(232, 16, 46, .35),
      0 0 60px rgba(232, 16, 46, .15),
      inset 0 0 20px rgba(232, 16, 46, .06);
  }

  100% {
    background-position: 100% 50%;
    box-shadow:
      0 12px 35px rgba(232, 16, 46, .4),
      0 0 80px rgba(232, 16, 46, .18),
      inset 0 0 25px rgba(232, 16, 46, .1);
  }
}

.plan-btn--primary:active {
  transform: translateY(-1px) scale(1);
}

/* Pulsing border animation on hover */
.plan-btn--primary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--clr-red-light), var(--clr-red-dark), var(--clr-red-light));
  z-index: -1;
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}

.plan-btn--primary:hover::before {
  opacity: 1;
  animation: borderRotate 3s linear infinite;
}

/* --- Get Elite Access (dark with red gradient border) --- */
.plan-btn--elite {
  background: linear-gradient(135deg, var(--clr-red-dark) 0%, #1a0508 50%, var(--clr-red-dark) 100%);
  background-size: 200% 200%;
  color: #fff;
  border: 1px solid rgba(232, 16, 46, .3);
}

.plan-btn--elite:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(232, 16, 46, .4),
    0 0 80px rgba(232, 16, 46, .15),
    inset 0 0 30px rgba(232, 16, 46, .08);
  border-color: var(--clr-red-light);
  animation: eliteBtnGlow 2s ease-in-out infinite alternate;
}

.plan-btn--elite:active {
  transform: translateY(-1px) scale(1);
}

@keyframes eliteBtnGlow {
  0% {
    background-position: 0% 50%;
    box-shadow:
      0 8px 30px rgba(232, 16, 46, .4),
      0 0 80px rgba(232, 16, 46, .15),
      inset 0 0 30px rgba(232, 16, 46, .08);
  }

  100% {
    background-position: 100% 50%;
    box-shadow:
      0 12px 40px rgba(232, 16, 46, .5),
      0 0 100px rgba(232, 16, 46, .2),
      inset 0 0 40px rgba(232, 16, 46, .12);
  }
}

@keyframes borderRotate {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(15deg);
  }
}

/* --- Plan footer --- */
.plan-footer {
  text-align: center;
  font-size: .75rem;
  color: var(--clr-text-dim);
  margin-top: var(--space-xs);
  letter-spacing: .03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

  .stats-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
  }

  .soscale-guarantees {
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  #soscale-hero {
    padding-top: 6rem;
    padding-bottom: var(--space-md);
    min-height: 60vh;
  }

  .soscale-hero-content {
    padding: var(--space-md) var(--space-sm);
  }

  .soscale-headline {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .soscale-subtitle {
    font-size: .9rem;
  }

  .soscale-guarantees {
    flex-wrap: wrap;
    gap: .35rem;
    justify-content: center;
  }

  #soscale-hero .guarantee-item {
    font-size: .68rem;
    padding: .4rem .7rem .4rem .55rem;
  }

  .card-inner {
    padding: var(--space-md) var(--space-sm);
  }

  .card-badge {
    font-size: .58rem;
    padding: .35rem 1.1rem;
  }

  /* Stats */
  .stat-number {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .stat-label {
    font-size: .72rem;
  }

  /* Pricing */
  .pricing-section-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .plan-btn {
    padding: 1rem 1.5rem;
    font-size: .82rem;
  }
}

@media (max-width: 400px) {
  .soscale-headline {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  }

  #soscale-hero .guarantee-item {
    font-size: .62rem;
    padding: .35rem .6rem .35rem .5rem;
  }
}