/* 500 Volleyball Training Sessions — styles */
:root { --navy: #0f172a; --dark: #020617; --yellow: #eab308; --yellow-light: #facc15; --slate: #94a3b8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Archivo', system-ui, -apple-system, sans-serif; background: var(--dark); color: #0f172a; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--yellow-light); }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 10px 40px rgba(234,179,8,.35); } 50% { box-shadow: 0 10px 60px rgba(234,179,8,.6); } }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #475569; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }

/* Urgency bar */
.urgency-bar { position: sticky; top: 0; z-index: 50; background: var(--yellow); color: var(--dark); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; font-weight: 700; font-size: 14px; letter-spacing: .02em; flex-wrap: wrap; text-align: center; }
.urgency-bar .label { text-transform: uppercase; }
.timer { display: flex; gap: 6px; font-weight: 900; font-size: 15px; }
.timer .digit { background: var(--dark); color: var(--yellow-light); border-radius: 6px; padding: 2px 8px; min-width: 34px; text-align: center; }

/* Hero */
.hero { background: radial-gradient(circle at center, #0f172a 0%, #020617 100%); color: #f8fafc; padding: 64px 24px 80px; display: flex; flex-direction: column; align-items: center; }
.hero-inner { max-width: 1100px; width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(234,179,8,.12); border: 1px solid rgba(234,179,8,.4); color: var(--yellow-light); padding: 8px 18px; border-radius: 9999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; }
.hero h1 .accent { color: var(--yellow-light); }
.hero .sub { margin: 0; max-width: 640px; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.55; color: #cbd5e1; }
.hero-image { width: min(680px, 100%); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hero-image img { display: block; width: 100%; height: auto; }
.cta-main { border: none; background: var(--yellow); color: var(--dark); font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 20px 44px; border-radius: 14px; animation: pulseGlow 2.4s ease-in-out infinite; transition: background .2s, transform .2s; }
.cta-main:hover { background: var(--yellow-light); transform: translateY(-2px); }
.hero-secure { display: flex; align-items: center; gap: 8px; color: var(--slate); font-size: 14px; }

/* Feature strip */
.features { background: var(--navy); border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; padding: 36px 24px; }
.features-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature { display: flex; align-items: flex-start; gap: 14px; }
.feature .icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: rgba(234,179,8,.12); border: 1px solid rgba(234,179,8,.35); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feature .title { color: #f8fafc; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.feature .desc { color: var(--slate); font-size: 13.5px; line-height: 1.5; }

/* Generic dark sections */
.section { padding: 80px 24px; color: #f8fafc; }
.section.bg-dark { background: var(--dark); }
.section.bg-navy { background: var(--navy); border-top: 1px solid #1e293b; }
.section-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.section-head { text-align: center; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { color: var(--yellow-light); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; line-height: 1.1; text-transform: uppercase; }
.section-head h2 .accent { color: var(--yellow-light); }

/* Deliverables */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.deliverable { background: var(--navy); border: 1px solid #1e293b; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.deliverable:hover { border-color: rgba(234,179,8,.5); }
.deliverable .icon { font-size: 26px; }
.deliverable .title { font-weight: 800; font-size: 17px; }
.deliverable .desc { color: var(--slate); font-size: 14.5px; line-height: 1.55; }

/* Bonuses */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.bonus-card { background: var(--dark); border: 1px solid #1e293b; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.bonus-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.bonus-card .body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.bonus-card .tag { color: var(--yellow-light); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.bonus-card .title { font-weight: 800; font-size: 17px; }
.bonus-card .desc { color: var(--slate); font-size: 14px; line-height: 1.55; }

/* Testimonials */
.testimonial { background: var(--navy); border: 1px solid #1e293b; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.testimonial .stars { color: var(--yellow-light); font-size: 16px; letter-spacing: 2px; }
.testimonial p { margin: 0; color: #cbd5e1; font-size: 15px; line-height: 1.6; }
.testimonial .person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .person img { width: 46px; height: 46px; border-radius: 9999px; object-fit: cover; border: 2px solid rgba(234,179,8,.5); }
.testimonial .name { font-weight: 700; font-size: 14.5px; }
.testimonial .role { color: #64748b; font-size: 13px; }

/* Pricing */
.pricing { background: radial-gradient(circle at center, #f8fafc 0%, #f1f5f9 100%); padding: 80px 24px; }
.pricing-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.pricing .eyebrow { color: #a16207; }
.pricing h2 { color: var(--navy); }
.pricing .currency-note { color: #64748b; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: stretch; }
.plan { border-radius: 22px; padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.plan-basic { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 10px 40px rgba(15,23,42,.06); }
.plan-premium { position: relative; background: var(--navy); border: 2px solid var(--yellow); box-shadow: 0 20px 60px rgba(234,179,8,.25); }
.plan .plan-name { font-weight: 800; font-size: 21px; }
.plan-basic .plan-name { color: var(--navy); }
.plan-premium .plan-name { color: #f8fafc; }
.plan .plan-sub { font-size: 14px; margin-top: 4px; }
.plan-basic .plan-sub { color: #64748b; }
.plan-premium .plan-sub { color: var(--slate); }
.plan .price-row { display: flex; align-items: baseline; gap: 8px; }
.plan .price { font-size: 44px; font-weight: 900; letter-spacing: -.02em; }
.plan-basic .price { color: var(--navy); }
.plan-premium .price { color: var(--yellow-light); }
.plan .price-note { color: #94a3b8; font-size: 14px; font-weight: 600; }
.plan ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-direction: column; gap: 12px; }
.plan-basic ul { border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.plan-premium ul { border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.plan-basic li { color: #334155; }
.plan-premium li { color: #cbd5e1; }
.plan li .mark { font-weight: 800; }
.mark-yes { color: #16a34a; }
.mark-no { color: #cbd5e1; }
.plan-premium li .mark { color: var(--yellow-light); }
.badge-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--yellow); color: var(--dark); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 6px 18px; border-radius: 9999px; white-space: nowrap; }
.btn-basic { border: 2px solid var(--navy); background: transparent; color: var(--navy); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 16px 24px; border-radius: 12px; transition: background .2s, color .2s; }
.btn-basic:hover { background: var(--navy); color: #fff; }
.btn-premium { border: none; background: var(--yellow); color: var(--dark); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 18px 24px; border-radius: 12px; animation: pulseGlow 2.4s ease-in-out infinite; transition: background .2s; }
.btn-premium:hover { background: var(--yellow-light); }
.guarantee { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.guarantee .shield { font-size: 34px; }
.guarantee .g-title { font-weight: 800; color: var(--navy); font-size: 18px; }
.guarantee p { margin: 0; max-width: 560px; color: #64748b; font-size: 14.5px; line-height: 1.6; }

/* FAQ */
.faq-section { background: var(--dark); color: #f8fafc; padding: 80px 24px; }
.faq-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.faq-inner h2 { margin: 0; text-align: center; font-size: clamp(28px, 4vw, 40px); font-weight: 900; text-transform: uppercase; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--navy); border: 1px solid #1e293b; border-radius: 14px; overflow: hidden; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: none; color: #f8fafc; font-size: 15.5px; font-weight: 700; text-align: left; padding: 20px 22px; }
.faq-icon { color: var(--yellow-light); font-size: 18px; flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-content { padding: 0 22px 20px; color: var(--slate); font-size: 14.5px; line-height: 1.65; animation: slideDown .2s cubic-bezier(.16,1,.3,1) forwards; }
.faq-content.hidden { display: none; }

/* Footer */
footer { background: var(--dark); border-top: 1px solid #1e293b; color: #64748b; padding: 36px 24px; text-align: center; display: flex; flex-direction: column; gap: 14px; font-size: 13.5px; }
footer .links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
footer .links a { color: var(--slate); }
footer .links a:hover { color: var(--yellow-light); }
footer .disclaimer { max-width: 640px; margin: 0 auto; line-height: 1.6; }

/* Purchase popup */
#purchase-popup { position: fixed; bottom: 20px; left: 20px; z-index: 60; background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.35); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 320px; transition: opacity .3s, transform .3s; }
#purchase-popup.hidden { display: none; }
#purchase-popup.off { opacity: 0; transform: translateY(32px); }
#purchase-popup.on { opacity: 1; transform: translateY(0); }
#purchase-popup .ball { flex-shrink: 0; width: 40px; height: 40px; border-radius: 9999px; background: #fef9c3; display: flex; align-items: center; justify-content: center; font-size: 20px; }
#purchase-popup .buyer { font-weight: 800; color: var(--navy); font-size: 14px; }
#purchase-popup .msg { color: #64748b; font-size: 12.5px; }
#purchase-popup .verified { color: #16a34a; font-size: 11px; font-weight: 700; margin-top: 2px; }

/* Upgrade modal */
#upgrade-modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 20px; }
#upgrade-modal.hidden { display: none; }
#modal-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.8); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
#modal-backdrop.on { opacity: 1; }
#modal-container { position: relative; background: #fff; border-radius: 22px; max-width: 460px; width: 100%; padding: 36px 32px; display: flex; flex-direction: column; gap: 18px; text-align: center; transform: scale(.95); opacity: 0; transition: transform .3s, opacity .3s; }
#modal-container.on { transform: scale(1); opacity: 1; }
#close-modal-btn { position: absolute; top: 14px; right: 14px; border: none; background: #f1f5f9; color: #64748b; width: 32px; height: 32px; border-radius: 9999px; font-size: 15px; font-weight: 700; }
#close-modal-btn:hover { background: #e2e8f0; color: var(--navy); }
#modal-container .gift { font-size: 40px; }
#modal-container h3 { margin: 0; font-size: 24px; font-weight: 900; color: var(--navy); line-height: 1.2; text-transform: uppercase; }
#modal-container .modal-copy { margin: 0; color: #475569; font-size: 15px; line-height: 1.6; }
#modal-container .once { background: #fefce8; border: 1px dashed var(--yellow); border-radius: 12px; padding: 12px; color: #854d0e; font-size: 13.5px; font-weight: 700; }
#modal-accept-upgrade-btn { border: none; background: var(--yellow); color: var(--dark); font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 16px 24px; border-radius: 12px; }
#modal-accept-upgrade-btn:hover { background: var(--yellow-light); }
#modal-decline-upgrade-btn { border: none; background: transparent; color: #94a3b8; font-size: 13.5px; font-weight: 600; text-decoration: underline; padding: 4px; }
#modal-decline-upgrade-btn:hover { color: #64748b; }
