/* ============================================
   CSS VARIABLES - Edit all colors here
   ============================================ */
:root {
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-accent: #f0f4f8;
    
    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-accent: #2d3748;
    
    /* Button Colors */
    --btn-primary-bg: #1a1a1a;
    --btn-primary-text: #ffffff;
    --btn-primary-hover: #2d2d2d;
    --btn-secondary-bg: transparent;
    --btn-secondary-text: #1a1a1a;
    --btn-secondary-border: #1a1a1a;
    --btn-secondary-hover: #f8f9fa;
    --btn-option-bg: #f8f8f8;
    --btn-option-text: #1a1a1a;
    --btn-option-border: #e2e8f0;
    --btn-option-hover: #f8f9fa;
    --btn-option-active: #1a1a1a;
    --btn-option-active-text: #ffffff;
    
    /* Accent Colors */
    --accent-primary: #1a1a1a;
    --accent-secondary: #4a5568;
    --highlight-color: #2d3748;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-dark: #cbd5e0;
    
    /* Paywall Specific */
    --paywall-bg: #ffffff;
    --paywall-accent: #1a1a1a;
    --price-original: #a0aec0;
    --price-current: #1a1a1a;
    --testimonial-bg: #f8f9fa;
    
    /* Gradient Triangle Colors - Vibrant Red Glow (Love Symbol) */
    --gradient-red-1: #dc143c;
    --gradient-red-2: #ff1744;
    --gradient-red-3: #ff4569;
    --gradient-red-4: #ff6b8e;
    --gradient-red-5: #ff8fa8;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* ============================================
   PROGRESS BAR
   ============================================ */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff1744 0%, #ff4569 100%);
    transition: width 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 23, 68, 0.3);
}

/* Persistent Gradient Background - Stays visible during transitions */
.gradient-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: white;
    background: radial-gradient(125% 125% at 50% 85%, #fff 50%, #f3b 100%);
    z-index: -10;
    pointer-events: none;
}

/* Paywall page specific gradient - From Uiverse.io by muhammad_1180 */
.gradient-background.paywall-gradient {
    background: white;
    background: radial-gradient(125% 125% at 50% 10%, #fff 70%, #f3e 100%);
}


/* ============================================
   WRAPPER SYSTEM - Consistent sizing
   ============================================ */
.wrapper {
    max-width: 100%;
    width: 100%;
    padding: 2rem 1.5rem;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding-top: 1.5rem;
}

/* ============================================
   PAGE SYSTEM
   ============================================ */
.page {
    display: none;
    position: relative;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.page.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    z-index: 1;
    flex-direction: column;
}

.page.loading-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* ============================================
   TYPOGRAPHY - Consistent text sizing
   ============================================ */
.title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    margin-top: -1rem;
    line-height: 1.2;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.highlight-text {
    font-size: clamp(1.125rem, 3.5vw, 1.5rem);
    color: var(--highlight-color);
    font-weight: 600;
    margin: 1.5rem 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   BUTTON SYSTEM - Consistent button styles
   ============================================ */
.btn {
    font-family: inherit;
    font-size: clamp(1rem, 3vw, 1.125rem);
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    min-height: 52px;
    min-width: 200px;
    width: 100%;
    max-width: 400px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

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

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
}

.btn-primary:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: clamp(1.125rem, 3.5vw, 1.25rem);
    min-height: 60px;
}

.btn-option {
    background-color: var(--btn-option-bg);
    color: var(--btn-option-text);
    border: 1.5px solid var(--btn-option-border);
    margin-bottom: 0;
    text-align: left;
    padding-left: 1.5rem;
}

.btn-gender {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.gender-icon {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    background-color: var(--bg-secondary);
}

.gender-options {
    gap: 0.5rem;
    flex-direction: column;
}

/* First page buttons - less tall */
.page[data-page="1"] .btn-gender {
    padding: 0.625rem 1.5rem;
    min-height: auto;
    height: auto;
}

.btn-option:hover {
    background-color: var(--btn-option-hover);
    border-color: var(--accent-primary);
}

.btn-option:active {
    background-color: var(--btn-option-active);
    color: var(--btn-option-active-text);
    border-color: var(--btn-option-active);
}

/* ============================================
   OPTIONS LAYOUT
   ============================================ */
.options {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   PAYWALL STYLES - Simple & Clean
   ============================================ */
.paywall-wrapper {
    background-color: transparent; /* Allow gradient to show through */
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

/* Happy Readers Section with Gradient Oval */
.happy-readers-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1rem;
    min-height: 200px;
    padding: 3rem 0.5rem;
    overflow: visible;
}

.gradient-oval {
    position: absolute;
    width: 85%;
    max-width: 450px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(ellipse 120% 100% at 50% 50%, rgba(255, 182, 193, 0.4) 0%, rgba(255, 192, 203, 0.3) 25%, rgba(255, 182, 193, 0.2) 50%, rgba(255, 192, 203, 0.1) 75%, transparent 100%);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(20px);
}

.laurel-left,
.laurel-right {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.laurel-left {
    left: -5%;
    transform: translateY(-50%);
}

.laurel-right {
    right: -5%;
    transform: translateY(-50%);
}

.laurel-image {
    height: 140px;
    width: auto;
    opacity: 0.5;
    filter: brightness(0.6);
}

.happy-readers-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem;
}

.happy-readers-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.join-text {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.readers-number {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    margin: 0.5rem 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.readers-label {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Review Card - Dark Theme Style */
.review-card {
    background: #2d2d2d;
    border-radius: 1.875rem; /* rounded-3xl to match why-works-card */
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.review-info {
    flex: 1;
}

.review-name-stars {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review-name {
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: white;
}

.review-stars-inline {
    font-size: 1rem;
    letter-spacing: 2px;
    color: #ffc107;
}

.review-text {
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    color: white;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-style: italic;
    text-align: left;
}

.review-verified {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: rgba(255, 255, 255, 0.7);
}

.verified-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.verified-text {
    font-weight: 500;
}

/* Why It Works Card - Premium Fitness Card Style */
.why-works-card {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    min-height: 240px;
    border-radius: 1.875rem; /* rounded-3xl equivalent */
    margin: 2rem auto;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.why-works-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5; /* fallback */
    background-image: url('paywall_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.why-works-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Clean gradient: from-black/90 via-black/40 to-transparent */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 1;
}

/* Glassmorphism Badge */
.why-works-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.4); /* Darker badge background */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 9999px; /* pill shape */
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.why-works-badge-icon {
    font-size: 0.875rem;
    line-height: 1;
}

.why-works-badge-text {
    font-size: 0.625rem; /* text-[10px] */
    color: white;
    font-weight: 800; /* Much bolder */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-wider */
}

/* Content positioned at bottom-left */
.why-works-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem; /* p-6 */
    z-index: 2;
    text-align: left;
    /* Gradient/drop shadow at bottom - much less black */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 50%, transparent 100%);
}

.why-works-title {
    font-size: clamp(1.875rem, 5vw, 2.25rem); /* text-3xl */
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: left;
}

.why-works-text {
    font-size: clamp(0.75rem, 2vw, 0.875rem); /* text-sm/xs */
    color: rgba(229, 231, 235, 1); /* text-gray-200 */
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    max-width: 85%; /* max-w-[85%] */
    text-align: left;
}


/* Ratings Display - White Theme Style */
.ratings-display {
    background: white;
    border-radius: 1.875rem; /* rounded-3xl */
    padding: 2rem;
    margin: 2rem auto;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
}

/* Top Section: Summary */
.ratings-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ratings-average-number {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.ratings-stars-row {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.star-premium {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #fbbf24; /* Premium gold/yellow-400 */
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.2);
}

.ratings-count-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    font-weight: 400;
}

/* Bottom Section: Breakdown Bars */
.ratings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-star-label {
    width: 70px; /* Wider to accommodate "5 star" text */
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    font-weight: 500;
    flex-shrink: 0;
}

.rating-bar-container {
    flex: 1;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.08); /* Light gray track for white theme */
    border-radius: 9999px; /* rounded-full */
    overflow: hidden;
    position: relative;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #eab308 0%, #fbbf24 100%); /* from-yellow-500 to-yellow-300 */
    border-radius: 9999px;
    min-width: 2px;
    box-shadow: 
        0 0 8px rgba(234, 179, 8, 0.6),
        0 0 16px rgba(234, 179, 8, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
}

.rating-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 9999px;
}

.rating-percent {
    width: 50px;
    text-align: right;
    color: var(--text-primary);
    font-weight: 600;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-variant-numeric: tabular-nums; /* Tabular numeric */
    flex-shrink: 0;
}

/* Recent Purchases Card */
.recent-purchases-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.recent-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.recent-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-primary);
    margin: 0;
}

#recent-purchases {
    color: #ff1744;
    font-weight: 700;
    font-size: 1.15em;
}

/* Sale Card - Clean Professional Design */
/* Product Card - Apple Style */
.sale-card {
    width: 100%;
    max-width: 380px;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    margin: 2.5rem auto;
    position: relative;
}

/* Social Proof Pill - Top */
.social-proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #f9fafb; /* bg-gray-50 */
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e; /* green-500 */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.social-proof-pill .recent-text {
    margin: 0;
    color: #6b7280; /* text-gray-500 */
    font-weight: 400;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
}

/* Product Image - Hero */
.book-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem; /* Increased spacing */
    padding: 0.5rem 0;
    gap: 1rem;
}

.book-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: perspective(1000px) rotateY(-5deg);
    border-radius: 12px;
}

.book-info {
    text-align: center;
    max-width: 280px;
}

.book-title {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.book-description {
    font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
    color: var(--text-secondary);
    margin: 0 0 0.375rem 0;
    font-weight: 400;
    line-height: 1.4;
}

.book-format {
    font-size: clamp(0.8125rem, 2.2vw, 0.9375rem);
    color: var(--text-secondary);
    margin: 0;
    font-weight: 500;
    opacity: 0.8;
}

/* Eyebrow Text - De-escalated */
.eyebrow-text {
    font-size: 0.75rem; /* text-xs */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #b91c1c; /* Deeper, festive red */
    text-align: center;
    margin-bottom: 4px; /* Tight spacing to price */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

/* Pricing Section - Consolidated */
.pricing-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Tightened gap */
    margin-bottom: 2.5rem; /* Increased spacing below price */
    flex-wrap: wrap;
}

.price-old {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: rgba(107, 114, 128, 1); /* gray-500 */
    text-decoration: line-through;
    font-weight: 500;
}

.price-main-group {
    display: flex;
    align-items: flex-start; /* Align badge with top of $7 */
    gap: 0.75rem;
}

.price-new {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -2px;
    line-height: 1;
}

.discount-badge {
    background-color: #ffe4e6;
    color: #e11d48;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 0.8rem;
    white-space: nowrap;
    margin-top: 0.25rem; /* Align with top of $7 */
}

/* Scarcity Engine - Integrated with Text Inside */
.scarcity-engine {
    margin-bottom: 2.5rem; /* Increased spacing below scarcity */
}

.scarcity-progress-container {
    width: 100%;
    height: 24px; /* Taller bar (h-6) */
    background-color: #f3f4f6;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    position: relative;
}

.scarcity-progress-fill {
    height: 100%;
    width: 93%; /* Initial width, will be overridden by JS */
    background: linear-gradient(to right, #fbbf24 0%, #ef4444 100%); /* Orange to Red */
    border-radius: 99px;
    position: relative;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scarcity-text-inside {
    color: white;
    font-size: 0.75rem; /* text-xs */
    font-weight: 700; /* font-bold */
    text-align: center;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.scarcity-progress-fill.shine {
    animation: shine-effect 0.6s ease;
}

@keyframes shine-effect {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
    50% {
        box-shadow: 0 0 12px 4px rgba(251, 191, 36, 0.6);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.scarcity-text {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: #ef4444; /* Red */
    text-align: center;
    margin: 0;
    font-weight: 500;
}

/* CTA Button - Premium with Glow */
.btn-cta-premium {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: clamp(1rem, 3vw, 1.125rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0; /* Removed margin, trust-footer handles spacing */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.btn-cta-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-premium:active {
    transform: translateY(0);
}

.lock-icon {
    font-size: 1em;
}

/* Coupon Code Section */
.coupon-section {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
    display: block;
    visibility: visible;
    opacity: 1;
}

.coupon-input-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    background: white;
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coupon-input:focus {
    outline: none;
    border-color: rgba(255, 23, 68, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1);
}

.coupon-apply-btn {
    padding: 0.75rem 1.5rem;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: 1.5px solid var(--btn-primary-border);
    border-radius: 8px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.coupon-apply-btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.coupon-apply-btn:active {
    transform: translateY(0);
}

.coupon-message {
    margin-top: 0.5rem;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    text-align: center;
    min-height: 1.25rem;
    transition: color 0.2s ease;
}

.coupon-message.coupon-success {
    color: #10b981;
}

.coupon-message.coupon-error {
    color: #ef4444;
}

/* Trust Footer - More Visible */
.trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    color: #4b5563; /* Darker gray for better visibility */
    font-size: 0.75rem; /* text-xs */
    font-weight: 500;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trust-icon {
    font-size: 0.875rem;
}

.trust-separator {
    color: #d1d5db; /* Lighter gray for separator */
}

.btn-cta {
    width: 100%;
    margin-top: 0;
    background-color: #1a1a1a;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #2d2d2d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.secure-text {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    color: var(--text-light);
    margin-top: 1rem;
    text-align: center;
}

/* Christmas Sale Badge */
.sale-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.sale-icon {
    font-size: 1.2em;
}

.sale-text {
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.paywall-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.paywall-subtitle {
    font-size: clamp(1.125rem, 3.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Live Counter */
.live-counter {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 69, 105, 0.1) 100%);
    border: 2px solid rgba(255, 23, 68, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(255, 23, 68, 0.1);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.05); opacity: 0; }
}

.counter-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.counter-icon {
    font-size: 1.5rem;
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.counter-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-primary);
    font-weight: 600;
}

#recent-purchases {
    color: #ff1744;
    font-weight: 700;
    font-size: 1.2em;
}

/* Total Purchases */
.total-purchases {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
}

.total-number {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.total-label {
    display: block;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
}

.value-proposition {
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(255, 23, 68, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 23, 68, 0.1);
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.value-text {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.features-list {
    width: 100%;
    max-width: 550px;
    margin: 2rem 0;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(255, 23, 68, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 23, 68, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.1);
}

.feature-icon {
    font-size: 1.75rem;
    margin-right: 1rem;
    flex-shrink: 0;
    line-height: 1;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feature-title {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-primary);
    font-weight: 600;
}

.feature-desc {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
}

.social-proof {
    width: 100%;
    max-width: 600px;
    margin: 2rem 0;
}

.testimonial {
    background: linear-gradient(135deg, var(--testimonial-bg) 0%, rgba(255, 23, 68, 0.03) 100%);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 23, 68, 0.1);
    margin-bottom: 1.25rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: clamp(1rem, 3vw, 1.125rem);
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.testimonial-author {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    font-weight: 600;
}

/* Enhanced Pricing Box */
.pricing-box {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.05) 0%, rgba(255, 69, 105, 0.05) 100%);
    border: 2px solid rgba(255, 23, 68, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin: 2rem 0;
    max-width: 500px;
    text-align: center;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing {
    margin: 0;
    padding: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.price-label {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
}

.price-original {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--price-original);
    text-decoration: line-through;
}

.price-current {
    font-size: clamp(2.5rem, 7vw, 4rem);
    color: #ff1744;
    font-weight: 700;
    background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-savings {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255, 23, 68, 0.1);
    border-radius: 8px;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: #ff1744;
    font-weight: 600;
}

/* Enhanced Urgency Box */
.urgency-box {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 69, 105, 0.1) 100%);
    border: 2px solid rgba(255, 23, 68, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    max-width: 500px;
    text-align: center;
}

.urgency-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    animation: shake 2s ease-in-out infinite;
}

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

.urgency-text {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#remaining-copies {
    color: #ff1744;
    font-size: 1.2em;
}

.urgency-subtext {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
}

#sale-timer {
    color: #ff1744;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Enhanced Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.1) 0%, rgba(50, 205, 50, 0.1) 100%);
    border: 2px solid rgba(34, 139, 34, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    max-width: 500px;
    text-align: center;
}

.guarantee-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.guarantee-text {
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guarantee-subtext {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.btn-paywall {
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 23, 68, 0.3);
    transition: all 0.3s ease;
}

.btn-paywall:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 23, 68, 0.4);
}

.btn-paywall .btn-text {
    margin-right: 0.5rem;
}

.btn-paywall .btn-arrow {
    font-size: 1.25em;
    transition: transform 0.3s ease;
}

.btn-paywall:hover .btn-arrow {
    transform: translateX(5px);
}

.secure-text {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--text-light);
    margin-top: 1rem;
}

/* ============================================
   RESPONSIVE DESIGN - Mobile First
   ============================================ */

/* Small phones (320px - 374px) */
@media (max-width: 374px) {
    .wrapper {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        min-width: 180px;
        padding: 0.875rem 1.5rem;
    }
}

/* Standard phones (375px - 767px) */
@media (min-width: 375px) and (max-width: 767px) {
    .wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Tablets and small desktops (768px+) */
@media (min-width: 768px) {
    .wrapper {
        max-width: 600px;
        padding: 3rem 2rem;
    }
    
    .page {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Large desktops (1024px+) */
@media (min-width: 1024px) {
    .wrapper {
        max-width: 600px;
    }
    
    .page {
        max-width: 600px;
    }
    
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }
}

/* ============================================
   ACCESSIBILITY & INTERACTIONS
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Touch target sizes - minimum 44x44px */
.btn, .btn-option {
    min-height: 44px;
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.page.entering {
    animation: fadeIn 0.4s ease forwards;
}

.page.exiting {
    animation: fadeOut 0.4s ease forwards;
}

/* ============================================
   HIGHLIGHT EFFECTS
   ============================================ */
.highlight {
    background: linear-gradient(120deg, transparent 0%, var(--bg-accent) 50%, transparent 100%);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

