/* ═══════════════════════════════════════════
   SOLENE — Dark Conversion Landing Page
   Background: #0b0b0f
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #0b0b0f;
  --bg-card: #13131a;
  --bg-elevated: #1a1a24;
  --border: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(236, 72, 153, 0.35);
  --text: #f0f0f5;
  --text-muted: #8a8a9a;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --accent-glow: rgba(236, 72, 153, 0.45);
  --cta-gradient: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-glow: 0 0 40px rgba(236, 72, 153, 0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle ambient glow */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ═══ HERO ═══ */
.hero {
  text-align: center;
  padding: 2rem 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.active-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: active-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes active-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.accent {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 420px;
  margin: 0 auto;
}

/* ═══ MAIN GRID ═══ */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

/* ═══ PAYWALL CARD ═══ */
.paywall-card {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-library {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1028 0%, #2a1838 50%, #1e1030 100%);
}

.preview-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
}

.preview-cell {
  overflow: hidden;
  min-height: 0;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: none;
  transform: scale(1.06);
}

.blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(11, 11, 15, 0.28);
  z-index: 1;
}

.paywall-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.75rem;
  width: 100%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.paywall-content .cta-btn,
.paywall-content .cta-btn * {
  text-shadow: none;
}

.lock-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.15);
  border: 2px solid rgba(236, 72, 153, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  animation: pulse-ring 2.5s ease-in-out infinite;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.3); }
  50% { box-shadow: 0 0 0 12px rgba(236, 72, 153, 0); }
}

.lock-icon {
  width: 28px;
  height: 28px;
  color: var(--accent-light);
}

.paywall-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}

.paywall-title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ═══ DISCOUNT PRICE ═══ */
.price-deal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.price-deal--title {
  display: flex;
  justify-content: center;
  margin-top: 0.35rem;
}

.price-deal--btn {
  gap: 0.35rem;
}

.price-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: var(--accent-light);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  line-height: 1.3;
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.2);
}

.price-badge--inline {
  font-size: 0.65rem;
  vertical-align: middle;
  margin-left: 0.15rem;
}

.cta-primary .price-badge {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  box-shadow: none;
}

.price-old {
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #f87171;
  opacity: 0.75;
}

.price-deal--title .price-old {
  font-size: 1.1rem;
}

.price-deal--btn .price-old {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration-color: rgba(255, 255, 255, 0.7);
}

.cta-secondary .price-deal--btn .price-old {
  color: var(--text-muted);
  text-decoration-color: #f87171;
}

.price-new {
  font-weight: 800;
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-deal--title .price-new {
  font-size: 1.75rem;
}

.price-deal--btn .price-new {
  font-size: 0.95rem;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.cta-secondary .price-deal--btn .price-new {
  background: var(--cta-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-new--inline {
  font-size: inherit;
  font-weight: 700;
}

.paywall-stats {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.paywall-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(19, 19, 26, 0.75);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.paywall-stat-emoji {
  font-size: 1rem;
  line-height: 1;
}

.paywall-stat-text {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.paywall-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.85rem;
}

.paywall-trust svg {
  color: #22c55e;
}

.paywall-tip {
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: var(--radius-sm);
}

.paywall-tip-label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-right: 0.35rem;
}

/* ═══ CTA BUTTONS ═══ */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: -0.01em;
}

.cta-primary {
  background: var(--cta-gradient);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.1) inset;
  animation: cta-glow 3s ease-in-out infinite;
  width: 100%;
  max-width: 300px;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 24px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.1) inset; }
  50% { box-shadow: 0 4px 36px rgba(236, 72, 153, 0.6), 0 0 0 1px rgba(255,255,255,0.15) inset; }
}

.cta-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.55);
}

.cta-secondary {
  background: transparent;
  color: var(--accent-light);
  border: 1.5px solid rgba(236, 72, 153, 0.5);
  width: 100%;
}

.cta-secondary:hover {
  background: rgba(236, 72, 153, 0.1);
  transform: translateY(-1px);
}

/* ═══ BENEFITS CARD ═══ */
.benefits-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.benefits-header {
  margin-bottom: 1.25rem;
}

.benefits-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.emoji-fire {
  display: inline-block;
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.benefits-tagline {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.benefits-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.benefit-item:hover {
  border-color: rgba(236, 72, 153, 0.2);
  background: rgba(236, 72, 153, 0.04);
}

.benefit-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.benefit-text strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.benefit-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.benefits-cta-wrap {
  margin-top: 1.25rem;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.avatars {
  display: flex;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.avatar:last-child {
  background: rgba(236, 72, 153, 0.2);
  color: var(--accent-light);
}

.social-proof p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.social-proof strong {
  color: var(--text);
}

/* ═══ PREVIEW STRIP ═══ */
.preview-strip {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
  position: relative;
  z-index: 1;
}

.strip-label {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.strip-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
}

.strip-item {
  position: relative;
  flex: 0 0 auto;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.strip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.strip-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: none;
  transform: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.strip-item--portrait .strip-img {
  object-position: center top;
}

/* ═══ URGENCY BAR ═══ */
.urgency-bar {
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: rgba(236, 72, 153, 0.08);
  border-top: 1px solid rgba(236, 72, 153, 0.15);
  border-bottom: 1px solid rgba(236, 72, 153, 0.15);
  position: relative;
  z-index: 1;
}

.urgency-bar p {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.55;
}

.urgency-bar strong {
  color: var(--text);
}

.urgency-bar .price-old {
  font-size: 0.82rem;
}

.urgency-bar .price-new--inline {
  font-size: 0.95rem;
}

/* ═══ STICKY MOBILE CTA ═══ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 70%, transparent);
  z-index: 100;
}

.cta-sticky {
  width: 100%;
  max-width: none;
}

/* ═══ FOOTER ═══ */
.footer {
  text-align: center;
  padding: 1.5rem 1.25rem 5rem;
  position: relative;
  z-index: 1;
}

.footer p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   MOBILE LAYOUT
   Benefits compact on top, paywall below
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    /* benefits first on mobile */
    display: flex;
    flex-direction: column;
  }

  .benefits-card {
    order: -1;
    min-height: auto;
    padding: 1rem 1rem 0.85rem;
  }

  .benefits-header {
    margin-bottom: 0.65rem;
    text-align: center;
  }

  .benefits-title {
    font-size: 1.1rem;
  }

  .benefits-tagline {
    display: none;
  }

  /* compact horizontal benefit chips */
  .benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    flex: none;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
    padding: 0.5rem 0.35rem;
  }

  .benefit-icon {
    font-size: 1.1rem;
    width: auto;
  }

  .benefit-text span {
    display: none;
  }

  .benefit-text strong {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  .benefits-cta-wrap,
  .social-proof {
    display: none;
  }

  .paywall-card {
    min-height: 380px;
  }

  .paywall-content {
    padding: 1.5rem 1.25rem;
  }

  .paywall-title {
    font-size: 1.25rem;
  }

  .preview-strip {
    padding-bottom: 1rem;
  }

  .strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    justify-content: stretch;
  }

  .strip-item {
    height: auto;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }

  .strip-item:hover {
    transform: none;
  }

  .strip-img {
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .strip-label {
    font-size: 0.75rem;
  }

  .hero {
    padding: 1.25rem 1rem 0.75rem;
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .hero-sub {
    font-size: 0.82rem;
  }

  .sticky-cta {
    display: block;
  }

  .footer {
    padding-bottom: 5.5rem;
  }
}

@media (max-width: 380px) {
  .benefits-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══ DESKTOP FINE-TUNING ═══ */
@media (min-width: 769px) {
  .hero {
    padding-top: 2.5rem;
  }

  .sticky-cta {
    display: none !important;
  }
}
