/* ============================================
   LIFETIME DEAL — SharpWebP Gold Theme
   Class names match lifetime-deal.php HTML.
   ============================================ */

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(8, 8, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    font-size: 1.25rem;
    font-weight: 900;
    font-family: var(--font-display);
    color: var(--white-warm);
}

.header-logo span {
    color: var(--gold);
}

.header-cta {
    background: var(--gradient-gold);
    color: var(--bg-deep);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: var(--font-display);
}

.header-cta:hover {
    transform: scale(1.05);
}

/* --- Badge (HTML uses .badge) --- */
.hero .badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--bg-deep);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1), transparent 70%);
    top: -100px;
    right: -200px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(232, 213, 168, 0.06), transparent 70%);
    bottom: -50px;
    left: -100px;
    border-radius: 50%;
}

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

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 1.5rem 0 1rem;
    background: linear-gradient(135deg, var(--white-warm) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Hero CTA button (HTML uses .btn-primary) */
.hero .btn-primary {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--bg-deep);
    padding: 0.875rem 2.5rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.2);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(201, 169, 110, 0.3);
}

/* --- Section Titles --- */
.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--white-warm);
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
}

/* --- Container (from base.css, but sections use it) --- */
section {
    padding: 60px 0;
}

/* --- How It Works: Steps --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.step:hover {
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-4px);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-gold);
    color: var(--bg-deep);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 16px;
}

.step h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white-warm);
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Before/After Demo --- */
.demo {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.demo-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.demo-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    flex: 1;
    text-align: center;
}

.demo-box.before {
    border-color: rgba(248, 113, 113, 0.3);
}

.demo-box.after {
    border-color: rgba(74, 222, 128, 0.3);
}

.demo-box .label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.demo-box .size {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white-warm);
}

.demo-box.after .size {
    color: var(--success);
}

.demo-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

.demo-stat {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 12px;
}

.demo-cta a {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.demo-cta a:hover {
    color: var(--gold-light);
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Card (HTML uses .price-card) */
.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card:hover {
    border-color: rgba(201, 169, 110, 0.3);
    transform: translateY(-4px);
}

.price-card.popular {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(201, 169, 110, 0.1);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-gold);
    color: var(--bg-deep);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.price-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--white-warm);
}

.price-card .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin: 12px 0 4px;
}

.price-card .price-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-card .best-for {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    text-align: left;
}

.price-card ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-card ul li::before {
    content: '\2713';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* Button (HTML uses .btn-card) */
.btn-card {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn-card:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.price-card.popular .btn-card {
    background: var(--gradient-gold);
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 32px;
    line-height: 1.6;
}

.pricing-note span {
    color: var(--cream);
}

/* --- Savings Section --- */
.savings {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.old-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.new-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
}

.save-pct {
    display: inline-block;
    margin-top: 16px;
    background: var(--success-bg);
    color: var(--success);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s;
}

.feature:hover {
    border-color: rgba(201, 169, 110, 0.2);
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- Social Proof --- */
.social-proof {
    text-align: center;
}

.proof-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

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

.proof-stat .num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
}

.proof-stat .lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.proof-stat .stars {
    color: var(--gold);
    font-size: 1rem;
}

/* --- FAQ --- */
.faq {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    padding: 16px 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--cream);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s;
}

.faq-q::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--gold);
    transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
    content: '-';
}

.faq-q:hover {
    color: var(--gold);
}

.faq-a {
    padding: 0 0 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-a {
    display: block;
}

/* --- Final CTA --- */
.final-cta {
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.final-cta h2 {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--white-warm);
    margin-bottom: 12px;
}

.final-cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.final-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.final-buttons a {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--bg-deep);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.final-buttons a:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* --- Footer (lifetime page uses plain <footer>) --- */
footer {
    text-align: center;
    padding: 32px 24px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-secondary);
    margin: 0 12px;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--gold);
}

/* --- Scroll Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Lifetime Responsive === */
@media (max-width: 768px) {
    .hero { padding: 6rem 1.5rem 3rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; max-width: 400px; }
    .demo-compare { flex-direction: column; }
    .proof-stats { gap: 24px; }
    .final-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .header { padding: 0.75rem 1rem; }
    .price-card .price { font-size: 2rem; }
    section { padding: 40px 0; }
    .final-buttons a { width: 100%; max-width: 300px; text-align: center; }
}
