/* 
   High-End Visual Redesign CSS for Options & Pricing
   Vibe Archetype: Soft Structuralism / Editorial Luxury
   Layout Archetype: The Asymmetrical Bento
*/

:root {
  --he-radius-outer: 2rem;
  --he-radius-inner: calc(2rem - 0.5rem);
  --he-transition-fluid: all 700ms cubic-bezier(0.32, 0.72, 0, 1);
  --he-surface-subtle: rgba(0, 0, 0, 0.03);
  --he-surface-inner: #ffffff;
  --he-border-hairline: rgba(0, 0, 0, 0.06);
  --he-highlight-inner: inset 0 1px 1px rgba(255, 255, 255, 0.5);
  --he-shadow-ambient: 0 24px 48px rgba(0, 0, 0, 0.04), 0 8px 16px rgba(0, 0, 0, 0.02);
}

/* Macro Whitespace Sections */
.ss-section-he {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

@media (max-width: 768px) {
  .ss-section-he {
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Typography Enhancements */
.ss-eyebrow-he {
  display: inline-block;
  background-color: var(--he-surface-subtle);
  border: 1px solid var(--he-border-hairline);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ss-muted);
}

.ss-heading-massive {
  font-family: 'Lexend', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ss-ink);
  margin-bottom: 1.5rem;
}

/* The Double-Bezel Architecture */
.he-bezel-outer {
  background-color: var(--he-surface-subtle);
  border: 1px solid var(--he-border-hairline);
  border-radius: var(--he-radius-outer);
  padding: 0.5rem;
  transition: var(--he-transition-fluid);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.he-bezel-inner {
  background-color: var(--he-surface-inner);
  border-radius: var(--he-radius-inner);
  box-shadow: var(--he-highlight-inner), var(--he-shadow-ambient);
  padding: 2.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  transition: var(--he-transition-fluid);
  position: relative;
  overflow: hidden;
}

/* Button-in-Button Trailing Icon */
.he-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--ss-ink);
  color: #fff;
  border-radius: 9999px;
  padding: 0.75rem 0.75rem 0.75rem 1.75rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--he-transition-fluid);
  border: none;
  cursor: pointer;
  transform: scale(1);
}

.he-btn-pill:hover,
.he-btn-pill:focus {
  background-color: #000;
  color: #fff;
}

.he-btn-pill:active {
  transform: scale(0.98);
}

.he-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  transition: var(--he-transition-fluid);
}

.he-btn-pill:hover .he-btn-icon {
  transform: translateX(2px) translateY(-1px) scale(1.05);
  background-color: rgba(255, 255, 255, 0.25);
}

/* Outline variation */
.he-btn-pill-outline {
  background-color: transparent;
  color: var(--ss-ink);
  border: 1px solid var(--he-border-hairline);
  box-shadow: var(--he-highlight-inner);
}

.he-btn-pill-outline:hover {
  background-color: var(--he-surface-subtle);
  color: var(--ss-ink);
}

.he-btn-pill-outline .he-btn-icon {
  background-color: var(--he-surface-subtle);
  color: var(--ss-ink);
}

/* Asymmetrical Bento Grid */
.he-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.he-col-8 {
  grid-column: span 8;
}

.he-col-4 {
  grid-column: span 4;
}

.he-col-6 {
  grid-column: span 6;
}

.he-col-12 {
  grid-column: span 12;
}

@media (max-width: 991px) {
  .he-col-8, .he-col-4, .he-col-6 {
    grid-column: span 12;
  }
  .he-bento-grid {
    gap: 1rem;
    display: flex;
    flex-direction: column;
  }
}

/* Scroll Interpolation (Entry Animations) */
.he-reveal {
  opacity: 0;
  transform: translateY(4rem);
  filter: blur(8px);
  transition: var(--he-transition-fluid);
  will-change: transform, opacity, filter;
}

.he-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Pricing Specific Typography inside Bento */
.he-price-display {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--ss-ink);
}

.he-price-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ss-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.he-check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.he-check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--ss-muted);
  font-size: 1.05rem;
}

.he-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23116A42' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
