/* ========================================
   TRIAL PAGE — V1 Styles
   Matches the AI Advantage Club salesy page
   style: dark header, gold/orange CTAs,
   large bold headlines, serif italic accents
   ======================================== */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: #111827;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* Serif for italic accents */
.serif { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; }
.serif-highlight {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(180deg, transparent 50%, rgba(253,185,49,0.35) 50%);
    padding: 0 6px;
}

/* ── Sticky Header ── */
.trial-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #1A1A1A;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.trial-header .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}
.trial-header .logo-area img { width: 32px; height: 32px; }

/* ── Gold CTA Button ── */
.btn-gold {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(to bottom, #FDB931, #E85D22);
    color: #fff;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(232,93,34,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(232,93,34,0.4);
}
.btn-gold .sub {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ── Urgency Banner ── */
.urgency-banner {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

/* ── Hero ── */
.trial-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px 40px;
}
.trial-hero-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}
.trial-hero-heading h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}
.trial-hero-heading .highlight {
    background: #e5e7eb;
    padding: 2px 10px;
    border-radius: 8px;
}
.trial-hero-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Video area */
.trial-video-area {
    flex: 3;
    min-width: 0;
}
.trial-video-banner {
    background: #E85D22;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.trial-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    cursor: pointer;
}
.trial-video-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trial-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.trial-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 5;
}
.trial-play-btn-inner {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trial-video-wrap:hover .trial-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Value Sidebar */
.value-sidebar {
    width: 100%;
    flex: 2;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.value-sidebar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.4;
}
.value-sidebar h3 .big { font-size: 1.3rem; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; color: #374151; }
.checklist li strong { color: #111827; }
.checklist li svg { flex-shrink: 0; margin-top: 2px; }

/* ── Social Proof Bar ── */
.sp-bar {
    text-align: center;
    padding: 28px 20px;
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    letter-spacing: -0.01em;
}

/* ── Media Showcase ── */
.showcase-trial {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
}
.showcase-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}
.showcase-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: opacity 0.3s ease;
}
.showcase-thumbs-container {
    position: relative;
}
.showcase-thumbs {
    display: flex;
    gap: 8px;
    padding: 16px 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: wrap;
    justify-content: center;
}
.showcase-thumbs::-webkit-scrollbar { display: none; }
.showcase-thumb {
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    background: #f0f0f0;
    transition: 0.2s;
    border: 2px solid transparent;
    flex-shrink: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}
.showcase-thumb.active {
    border-color: #E85D22;
    background: #FFF5F0;
    color: #E85D22;
    font-weight: 600;
}
.showcase-thumb:hover {
    background: #e8e8e8;
}
.showcase-thumb.active:hover {
    background: #FFF5F0;
}

/* ── Everything You Need ── */
.everything-section {
    padding: 80px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.everything-section h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.everything-section p {
    font-size: 1.15rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}
.blob {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    mix-blend-mode: multiply;
    filter: blur(60px);
    opacity: 0.5;
    animation: blobFloat 7s infinite alternate ease-in-out;
}
.blob-1 { background: #e5e7eb; top: 40px; left: 40px; }
.blob-2 { background: #d1d5db; top: 0; right: 40px; animation-delay: 2s; }
@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* ── Feature Sections ── */
.features-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.feature-block {
    display: flex;
    align-items: center;
    gap: 48px;
}
.feature-block.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-media { flex: 1; }
.feature-media img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    width: 100%;
}
.feature-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}
.feature-text .tagline {
    color: #B8860B;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.feature-text .desc {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}
.feature-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.feature-benefits li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}
.feature-benefits li svg { flex-shrink: 0; margin-top: 2px; }

/* ── Mid CTA ── */
.mid-cta-section {
    text-align: center;
    padding: 60px 16px;
    background: #fff;
}
.mid-cta-section p {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 24px;
    font-weight: 500;
}

/* ── Letter Section ── */
.letter-section {
    background: #1A1A1A;
    color: #fff;
    padding: 80px 16px;
    position: relative;
    overflow: hidden;
}
.letter-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(184,134,11,0.08);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.letter-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    position: relative;
    z-index: 1;
}
.letter-left {
    flex-shrink: 0;
}
.letter-left h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
}
.letter-left strong { font-weight: 700; }
.letter-right {
    flex: 1;
    font-size: 1.05rem;
    color: #d1d5db;
    font-weight: 300;
    line-height: 1.8;
}
.letter-right p { margin-bottom: 20px; }
.letter-quote {
    margin: 32px 0;
    padding-left: 24px;
    border-left: 2px solid #B8860B;
}
.letter-quote h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
}

/* ── Testimonials ── */
.testimonials-section {
    background: #fff;
    padding: 80px 16px;
}
.testimonials-section .section-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #B8860B;
    margin-bottom: 12px;
}
.testimonials-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    color: #111827;
}
.testimonials-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #F9F6F0;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.testimonial-quote {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.7;
    font-weight: 400;
    flex: 1;
}
.testimonial-quote strong {
    color: #111827;
    font-weight: 600;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}
.testimonial-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}
.testimonial-role {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}
.testimonial-link {
    font-size: 0.75rem;
    color: #B8860B;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    display: inline-block;
}
.testimonial-link:hover {
    text-decoration: underline;
}
.testimonial-video-card:hover .testimonial-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}
.testimonial-video-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.testimonial-video-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.testimonial-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(184, 134, 11, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}
.testimonial-play-btn svg {
    margin-left: 2px;
}

/* ── Final CTA ── */
.final-cta-section {
    background: #F9F6F0;
    padding: 80px 16px;
    text-align: center;
}
.final-cta-section h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.closing-text {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.7;
}
.trust-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.trust-row .check { color: #22C55E; margin-right: 4px; }

/* ── FAQ ── */
.faq-section-trial {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 16px 80px;
}
.faq-section-trial h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
}
.faq-row-trial {
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
}
.faq-header-trial {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 0;
}
.faq-header-trial:hover { color: #E85D22; }
.faq-body-trial {
    display: none;
    padding: 12px 0 4px;
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ── Footer ── */
.trial-footer {
    background: #111111;
    padding: 40px 16px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}
.trial-footer > p { color: #ccc !important; }
.trial-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.trial-footer .social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.trial-footer .social-links a:hover { color: #FDB931; }
.trial-footer .contact { margin-bottom: 16px; color: #9ca3af; }
.trial-footer .contact p { margin-bottom: 4px; font-weight: 600; }
.trial-footer .contact a { color: #E85D22; font-weight: 700; }
.trial-footer .copyright { color: #6b7280; }

/* ── Sticky Mobile CTA ── */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-mobile-cta.visible { transform: translateY(0); }
.sticky-mobile-cta .btn-gold { width: 100%; padding: 14px 20px; font-size: 1rem; }
.sticky-mobile-cta .sub-text { font-size: 0.75rem; color: #9ca3af; margin-top: 6px; font-weight: 500; }

/* ── Scroll Reveal ── */
.reveal-trial {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-trial.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Social Proof Toast ── */
#sp-toast {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#sp-toast.sp-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
#sp-toast .sp-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e8e8e6;
    border-radius: 14px;
    padding: 14px 18px 14px 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    max-width: 340px;
    position: relative;
    font-family: 'Inter', -apple-system, sans-serif;
}
#sp-toast.sp-visible .sp-inner {
    animation: sp-pop 0.6s ease;
}
@keyframes sp-pop {
    0%   { box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); }
    40%  { box-shadow: 0 12px 40px rgba(45,63,231,0.15), 0 4px 12px rgba(0,0,0,0.08); }
    100% { box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04); }
}
#sp-toast .sp-flag {
    font-size: 28px;
    line-height: 1;
    min-width: 34px;
    text-align: center;
}
#sp-toast .sp-body { flex: 1; min-width: 0; }
#sp-toast .sp-headline {
    font-size: 13.5px;
    font-weight: 600;
    color: #121212;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#sp-toast .sp-meta {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#sp-toast .sp-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: #bbb;
    cursor: pointer;
    padding: 2px 5px;
    line-height: 1;
    transition: color 0.2s;
}
#sp-toast .sp-close:hover { color: #666; }

/* ═══════════════════════════════════════
   UPSELL PAGE — Annual $550 Offer
   ═══════════════════════════════════════ */

/* Body override for upsell page */
.upsell-page {
    background: linear-gradient(180deg, #FFF9F0 0%, #F9F6F0 40%, #fff 100%);
    min-height: 100vh;
}

/* Urgency banner */
.upsell-urgency {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #B91C1C, #DC2626, #E85D22);
    background-size: 200% 200%;
    animation: urgencyPulse 3s ease-in-out infinite;
    color: #fff;
    text-align: center;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(185, 28, 28, 0.4);
}
@keyframes urgencyPulse {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ── Downsell Urgency Banner ── */
.downsell-urgency {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #7C3AED, #6D28D9, #E85D22);
    background-size: 200% 200%;
    animation: urgencyPulse 3s ease-in-out infinite;
    color: #fff;
    text-align: center;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

/* Main container */
.upsell-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    text-align: center;
}

/* Subheadline */
.upsell-subhead {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 16px;
    font-weight: 400;
}

/* Main headline */
.upsell-headline {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 36px;
    color: #111827;
}

/* Product image */
.upsell-image {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin: 0 auto 40px;
    width: 100%;
}

/* Value copy */
.upsell-value {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 36px;
    text-align: left;
}

/* Benefits */
.upsell-benefits {
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}
.upsell-benefits li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}
.upsell-benefits li svg {
    flex-shrink: 0;
    margin-top: 3px;
}
.upsell-benefits li strong {
    color: #111827;
}

/* Closing pitch */
.upsell-closing {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem);
    line-height: 1.4;
    margin-bottom: 40px;
    color: #111827;
    font-weight: 400;
}
.upsell-closing strong {
    font-weight: 800;
}

/* CTA wrapper */
.upsell-cta-wrap {
    margin-bottom: 32px;
}
.upsell-cta-wrap .btn-gold {
    padding: 20px 48px;
    font-size: 1.2rem;
    width: 100%;
    max-width: 520px;
}
.upsell-cta-sub {
    font-size: 0.85rem;
    color: #E85D22;
    font-weight: 600;
    margin-top: 10px;
    font-style: italic;
}

/* Terms checkbox */
.upsell-terms {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.upsell-terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #E85D22;
}
.upsell-terms label {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.6;
    cursor: pointer;
}
.upsell-terms label a {
    color: #E85D22;
    font-weight: 600;
}

/* Skip link */
.upsell-skip {
    display: inline-block;
    color: #E85D22;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    transition: opacity 0.3s;
}
.upsell-skip:hover {
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   CHECKOUT SLIDE-IN PANEL
   ═══════════════════════════════════════ */

/* Overlay */
.checkout-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.4s ease;
}
.checkout-overlay.active {
    background: rgba(0, 0, 0, 0.55);
    pointer-events: auto;
}

/* Panel */
.checkout-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 520px;
    max-width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}
.checkout-panel.active {
    transform: translateX(0);
}

/* Scrollable content */
.checkout-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Header banner */
.checkout-header-banner {
    background: #1A1A1A;
    color: #FDB931;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    padding: 20px 24px;
    letter-spacing: 0.03em;
    line-height: 1.5;
    position: relative;
}

/* Back button */
.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Inter', -apple-system, sans-serif;
}
.checkout-back:hover {
    color: #111827;
}

/* Your Pick */
.checkout-pick {
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}
.checkout-pick-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 8px;
}
.checkout-pick-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-pick-radio {
    width: 16px; height: 16px;
    accent-color: #E85D22;
}
.checkout-pick-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
}
.checkout-pick-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

/* Form sections */
.checkout-section {
    padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
}
.checkout-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-logos {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin-left: auto;
}
.card-logos svg {
    height: 22px;
    width: auto;
}

/* Two-column grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.checkout-field.full-width {
    grid-column: 1 / -1;
}
.checkout-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}
.checkout-field .required {
    color: #EF4444;
}
.checkout-field input,
.checkout-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s;
}
.checkout-field input:focus,
.checkout-field select:focus {
    outline: none;
    border-color: #E85D22;
    box-shadow: 0 0 0 3px rgba(232, 93, 34, 0.1);
}

/* Stripe Payment Element container */
#payment-element {
    min-height: 100px;
}

/* Order summary */
.checkout-summary .checkout-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6b7280;
    padding: 6px 0;
}
.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    padding: 12px 0 4px;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}

/* Terms */
.checkout-terms {
    padding: 16px 24px;
}
.checkout-terms label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.6;
}
.checkout-terms input[type="checkbox"] {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #E85D22;
    cursor: pointer;
}
.checkout-terms a {
    color: #E85D22;
    font-weight: 600;
}

/* Error display */
.checkout-error {
    margin: 0 24px 16px;
    padding: 16px 20px;
    background: #FEF2F2;
    border: 2px solid #DC2626;
    border-radius: 10px;
    color: #DC2626;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    animation: shakeError 0.4s ease-in-out;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

/* Info/notice display (returning users) */
.checkout-info {
    margin: 0 24px 12px;
    padding: 16px 20px;
    background: #EFF6FF;
    border: 1px solid #93C5FD;
    border-radius: 8px;
    color: #1E40AF;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}
.checkout-info a {
    color: #1E40AF;
    font-weight: 700;
    text-decoration: underline;
}

/* Submit button */
.checkout-submit {
    width: calc(100% - 48px);
    margin: 8px 24px 12px;
    padding: 18px 24px;
    font-size: 1.05rem;
    line-height: 1.35;
    border-radius: 12px;
    text-align: center;
}
.checkout-submit .sub {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}
.checkout-spinner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Secure badge */
.checkout-secure {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    padding: 8px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */

@media (max-width: 768px) {
    /* Trial page */
    .trial-header .logo-area span { display: none; }
    .trial-header .btn-gold { padding: 10px 18px !important; font-size: 0.85rem !important; }
    .trial-hero { padding: 24px 12px 32px; }
    .trial-hero-grid { flex-direction: column; }
    .trial-hero-heading h1 { font-size: 1.7rem; }
    .value-sidebar { padding: 24px 20px; }
    .feature-block, .feature-block.reverse { flex-direction: column; gap: 32px; }
    .letter-inner { flex-direction: column; gap: 32px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
    .testimonials-section { padding: 48px 16px; }
    .trust-row { flex-direction: column; gap: 8px; align-items: center; }
    .trial-footer .social-links { flex-direction: column; align-items: center; }
    .sticky-mobile-cta { display: block; }

    /* Social proof toast — position set by JS based on sticky CTA */
    #sp-toast { left: 12px; right: 12px; }
    #sp-toast .sp-inner { max-width: 100%; padding: 12px 32px 12px 12px; gap: 10px; border-radius: 12px; }
    #sp-toast .sp-flag { font-size: 22px; min-width: 28px; }
    #sp-toast .sp-headline { font-size: 13px; }
    #sp-toast .sp-meta { font-size: 11.5px; }
    #sp-toast .sp-close { top: 8px; right: 10px; font-size: 16px; padding: 4px 6px; }

    .showcase-trial {
        margin: 0 10px 40px;
        padding: 10px;
        border-radius: 12px;
    }
    .showcase-thumb {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 16px;
    }
    .showcase-thumbs {
        gap: 6px;
        padding: 12px 0 8px;
    }

    /* Video banner text */
    .trial-video-banner { font-size: 0.7rem; padding: 8px 12px; }

    /* Video modal */
    #videoModal > div { width: 95%; }

    /* Upsell page */
    .upsell-container { padding: 32px 16px 60px; }
    .upsell-headline { font-size: 1.6rem; }
    .upsell-image { max-width: 85%; border-radius: 12px; }
    .upsell-cta-wrap .btn-gold { padding: 18px 32px; font-size: 1.05rem; }

    /* Checkout panel — full screen on mobile */
    .checkout-panel { width: 100%; }
    .checkout-header-banner { font-size: 0.78rem; padding: 16px 40px 16px 16px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-section { padding: 16px; }
    .checkout-submit { width: calc(100% - 32px); margin: 8px 16px 12px; }
    .checkout-secure { padding: 8px 16px 20px; }
    .checkout-terms { padding: 12px 16px; }
    .checkout-pick { padding: 12px 16px; }
}

/* ═══════════════════════════════════════
   BUILDER'S PATH TIMELINE
   ═══════════════════════════════════════ */
.timeline-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 16px 60px;
}
.timeline-header {
    text-align: center;
    margin-bottom: 48px;
}
.timeline-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}
.timeline-header p {
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Timeline item row */
.tl-item {
    display: flex;
    gap: 12px;
    position: relative;
}

/* Left sidebar (desktop) */
.tl-sidebar {
    display: none;
    width: 140px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 2px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}
.tl-badge {
    display: inline-block;
    background: #E85D22;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}
.tl-date {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 6px;
}

/* Center dot + line */
.tl-spine {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.tl-dot-outer {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(232, 93, 34, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 80px;
    z-index: 2;
}
.tl-dot-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E85D22;
}
.tl-line {
    width: 2px;
    flex: 1;
    background: #e5e7eb;
    margin-top: -8px;
}

/* Right content area */
.tl-content {
    flex: 1;
    padding-bottom: 48px;
    padding-left: 12px;
}

/* Mobile badge + date (inline) */
.tl-mobile-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

/* Phase title & description */
.tl-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}
.tl-content .tl-desc {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Phase image */
.tl-image {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

/* Highlights list */
.tl-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}
.tl-highlights li {
    color: #6b7280;
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.tl-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d1d5db;
}

/* Accordion */
.tl-accordion {
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}
.tl-accordion-item {
    border-bottom: 1px solid #e5e7eb;
}
.tl-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.tl-accordion-trigger:hover {
    opacity: 0.8;
}
.tl-accordion-trigger .tl-acc-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    border: none;
}
.tl-acc-badge.learn {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}
.tl-acc-badge.build {
    background: rgba(232, 93, 34, 0.1);
    color: #E85D22;
}
.tl-acc-badge.unlock {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}
.tl-accordion-trigger .tl-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    color: #9ca3af;
}
.tl-accordion-item.open .tl-chevron {
    transform: rotate(180deg);
}
.tl-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.tl-accordion-item.open .tl-accordion-body {
    max-height: 500px;
}
.tl-accordion-body ul {
    list-style: disc;
    padding: 0 0 14px 20px;
    margin: 0;
}
.tl-accordion-body ul li {
    color: #6b7280;
    font-size: 0.88rem;
    padding: 3px 0;
    line-height: 1.5;
}

/* Desktop: show sidebar, hide mobile meta */
@media (min-width: 768px) {
    .tl-sidebar {
        display: block;
    }
    .tl-mobile-meta {
        display: none;
    }
    .tl-content {
        padding-left: 24px;
    }
    .timeline-header h2 {
        font-size: 2.5rem;
    }
}
@media (min-width: 1024px) {
    .tl-content {
        padding-left: 36px;
    }
}
