/* ━━━ STOCK PICKER PAGE ━━━ */
.sp-page {
    --navy: #1B2838;
    --navy-deep: #111C28;
    --navy-light: #243447;
    --blue: #4A90D9;
    --blue-bright: #5BA3EF;
    --blue-vivid: #6BB3FF;
    --blue-pale: #E8F1FC;
    --teal: #3AAFA9;
    --black: #0A0F15;
    --ink: #1a1f26;
    --gray-900: #1C2530;
    --gray-800: #2A3544;
    --gray-700: #3D4F63;
    --gray-600: #556B82;
    --gray-500: #7A8FA5;
    --gray-400: #9FAFC0;
    --gray-300: #C5D0DB;
    --gray-200: #DFE5EC;
    --gray-100: #EEF1F5;
    --gray-50: #F6F8FA;
    --white: #ffffff;
    --green: #34C759;
    --amber: #F5A623;
    --fd: 'Lora', Georgia, serif;
    --fb: 'Source Sans 3', -apple-system, sans-serif;
    --fm: 'IBM Plex Mono', monospace;
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    font-family: var(--fb);
    color: var(--white);
    background: var(--navy-deep);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.sp-page *,.sp-page *::before,.sp-page *::after{box-sizing:border-box}

/* ━━━ HERO ━━━ */
.sp-page .hero{padding:5rem 2.5rem 4rem;text-align:center;position:relative;overflow:hidden}
.sp-page .hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 70% 50% at 50% 0%,rgba(74,144,217,0.1),transparent 70%)}
.sp-page .hero-inner{max-width:800px;margin:0 auto;position:relative;z-index:2}
.sp-page .hero-eyebrow{font-family:var(--fm);font-size:.68rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--blue-bright);margin-bottom:1rem;display:flex;align-items:center;justify-content:center;gap:.75rem}
.sp-page .hero-eyebrow::before,.sp-page .hero-eyebrow::after{content:'';width:32px;height:1.5px;background:linear-gradient(90deg,transparent,var(--blue),transparent);border-radius:2px}
.sp-page .hero h1{font-family:var(--fd);font-size:clamp(2rem,4.5vw,3.2rem);font-weight:700;line-height:1.2;margin-bottom:1rem;animation:spFadeUp .7s ease-out both}
.sp-page .hero h1 em{font-style:italic;color:var(--blue-bright)}
.sp-page .hero-sub{font-size:1.1rem;color:var(--gray-400);max-width:600px;margin:0 auto;line-height:1.7;animation:spFadeUp .7s .15s ease-out both}
.sp-page .hero-badge{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.5rem;padding:.5rem 1.25rem;background:rgba(245,166,35,0.1);border:1px solid rgba(245,166,35,0.2);border-radius:8px;font-size:.82rem;font-weight:600;color:var(--amber);animation:spFadeUp .7s .3s ease-out both}
.sp-page .hero-badge svg{width:16px;height:16px}

/* ━━━ BOOK SECTION ━━━ */
.sp-page .book-section{max-width:1100px;margin:0 auto;padding:0 2.5rem 4rem}
.sp-page .book-layout{display:grid;grid-template-columns:340px 1fr;gap:3.5rem;align-items:start}
.sp-page .book-cover{position:sticky;top:100px}
.sp-page .book-cover-img{width:100%;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,0.5),0 0 0 1px rgba(255,255,255,0.06);transition:transform .4s ease}
.sp-page .book-cover-img:hover{transform:translateY(-4px)}
.sp-page .book-cta-wrap{margin-top:1.5rem;text-align:center}
.sp-page .btn-preorder{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;background:var(--blue);color:var(--white);font-family:var(--fb);font-size:1rem;font-weight:600;border:none;border-radius:10px;cursor:pointer;text-decoration:none;transition:all .3s;animation:spBtnPulse 2s ease-in-out infinite}
.sp-page .btn-preorder:hover{background:var(--blue-bright);transform:translateY(-2px);box-shadow:0 8px 25px rgba(74,144,217,0.35);animation:none}
.sp-page .btn-preorder svg{width:18px;height:18px}
.sp-page .preorder-offer{margin-top:1rem;padding:1rem 1.1rem;text-align:left;background:rgba(245,166,35,0.07);border:1px solid rgba(245,166,35,0.18);border-radius:10px}
.sp-page .preorder-offer-label{font-family:var(--fm);font-size:.64rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--amber);margin-bottom:.45rem}
.sp-page .preorder-offer-copy{font-size:.82rem;line-height:1.55;color:var(--gray-300);margin:0 0 .55rem}
.sp-page .preorder-offer-link{font-size:.82rem;line-height:1.45;font-weight:600;color:var(--blue-bright);text-decoration:underline;text-decoration-color:rgba(91,163,239,0.45);text-underline-offset:3px;transition:color .2s,text-decoration-color .2s}
.sp-page .preorder-offer-link:hover{color:var(--blue-vivid);text-decoration-color:currentColor}

/* ━━━ BOOK CONTENT ━━━ */
.sp-page .book-content h2{font-family:var(--fd);font-size:1.6rem;font-weight:700;margin-bottom:1rem;line-height:1.3}
.sp-page .book-content h2 em{font-style:italic;color:var(--blue-bright)}
.sp-page .book-content p{color:var(--gray-300);font-size:1rem;line-height:1.8;margin-bottom:1.25rem}

/* ━━━ TOPICS ━━━ */
.sp-page .topics{margin-top:2.5rem}
.sp-page .topics h3{font-family:var(--fd);font-size:1.2rem;font-weight:600;margin-bottom:1.25rem;color:var(--white)}
.sp-page .topic-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.sp-page .topic-item{display:flex;align-items:flex-start;gap:.65rem;padding:.85rem 1rem;background:var(--glass);border:1px solid var(--glass-border);border-radius:10px;transition:all .25s}
.sp-page .topic-item:hover{background:rgba(74,144,217,0.06);border-color:rgba(74,144,217,0.15)}
.sp-page .topic-text{font-size:.88rem;color:var(--gray-300);line-height:1.4}
.sp-page .topic-text strong{color:var(--white);font-weight:600;display:block;margin-bottom:.15rem}

/* ━━━ BULK ORDERS ━━━ */
.sp-page .bulk-section{max-width:1100px;margin:0 auto;padding:0 2.5rem 4rem}
.sp-page .bulk-panel{position:relative;overflow:hidden;border:1px solid rgba(91,163,239,0.22);border-radius:18px;background:linear-gradient(135deg,rgba(74,144,217,0.13),rgba(58,175,169,0.08) 42%,rgba(255,255,255,0.035)),rgba(255,255,255,0.04);box-shadow:0 28px 80px rgba(1,12,25,0.42)}
.sp-page .bulk-panel::before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 18% 0%,rgba(107,179,255,0.2),transparent 28%),radial-gradient(circle at 88% 10%,rgba(245,166,35,0.16),transparent 24%)}
.sp-page .bulk-inner{position:relative;z-index:1;padding:2.5rem}
.sp-page .bulk-label{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:.8rem;font-family:var(--fm);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-bright)}
.sp-page .bulk-label::before{content:'';width:8px;height:8px;border-radius:999px;background:var(--green);box-shadow:0 0 0 6px rgba(52,199,89,0.08)}
.sp-page .bulk-heading{font-family:var(--fd);font-size:1.6rem;font-weight:700;line-height:1.3;margin:0 0 1rem}
.sp-page .bulk-heading em{font-style:italic;color:var(--blue-bright)}
.sp-page .bulk-intro{color:var(--gray-300);font-size:1rem;line-height:1.8;margin:0 0 1.75rem;max-width:760px}
.sp-page .bulk-email{color:var(--blue-bright);font-weight:700;text-decoration:none}
.sp-page .bulk-email:hover{text-decoration:underline;text-underline-offset:3px}
.sp-page .bulk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}
.sp-page .bulk-tier{min-height:100%;padding:1.4rem;background:rgba(5,14,24,0.38);border:1px solid rgba(255,255,255,0.09);border-radius:14px;display:flex;flex-direction:column;gap:.9rem;transition:transform .25s ease,border-color .25s ease,background .25s ease}
.sp-page .bulk-tier:hover{transform:translateY(-4px);border-color:rgba(91,163,239,0.35);background:rgba(12,29,47,0.68)}
.sp-page .bulk-qty{font-family:var(--fd);font-size:2rem;font-weight:700;line-height:1;color:var(--white)}
.sp-page .bulk-qty span{font-family:var(--fm);font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-500);display:block;margin-top:.45rem}
.sp-page .bulk-tier h3{font-size:1.03rem;font-weight:700;color:var(--blue-bright);line-height:1.35;margin:0}
.sp-page .bulk-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:1.4rem}
.sp-page .bulk-step{padding:1rem;display:grid;grid-template-columns:auto 1fr;gap:.75rem;align-items:start;background:var(--glass);border:1px solid var(--glass-border);border-radius:14px}
.sp-page .bulk-step-num{width:26px;height:26px;border-radius:7px;background:rgba(74,144,217,0.16);color:var(--blue-bright);display:grid;place-items:center;font-family:var(--fm);font-size:.75rem;font-weight:700}
.sp-page .bulk-step strong{color:var(--white);display:block;font-size:.9rem;line-height:1.3}
.sp-page .bulk-step span{display:block;color:var(--gray-400);font-size:.84rem;line-height:1.45;margin-top:.2rem}
.sp-page .bulk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.sp-page .bulk-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.85rem 2rem;background:var(--blue);color:var(--white);font-family:var(--fb);font-size:1rem;font-weight:700;border:0;border-radius:10px;text-decoration:none;transition:all .25s ease}
.sp-page .bulk-btn:hover{background:var(--blue-bright);transform:translateY(-2px);box-shadow:0 8px 25px rgba(74,144,217,0.35)}
.sp-page .bulk-btn-secondary{background:rgba(255,255,255,0.065);border:1px solid rgba(255,255,255,0.1);color:var(--gray-200)}
.sp-page .bulk-btn-secondary:hover{background:rgba(74,144,217,0.13);border-color:rgba(91,163,239,0.35);color:var(--white)}
.sp-page .bulk-note{color:var(--gray-500);font-size:.82rem;line-height:1.5;margin:.9rem 0 0}

/* ━━━ ENDORSEMENTS ━━━ */
.sp-page .endorsements-section{max-width:1100px;margin:0 auto;padding:0 2.5rem 4rem}
.sp-page .endorsements-header{text-align:center;margin-bottom:2.5rem}
.sp-page .endorsements-header h2{font-family:var(--fd);font-size:1.6rem;font-weight:700;margin-bottom:.5rem}
.sp-page .endorsements-header h2 em{font-style:italic;color:var(--blue-bright)}
.sp-page .endorsements-header hr{width:48px;border:none;border-top:2px solid var(--blue);margin:0 auto}
.sp-page .endorsement-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.25rem;align-items:start}
.sp-page .endorsement-col{display:flex;flex-direction:column;gap:1.25rem;min-width:0}
.sp-page .endorsement{padding:1.75rem;background:var(--glass);border:1px solid var(--glass-border);border-radius:14px;transition:transform .28s ease,box-shadow .28s ease,background .28s ease,border-color .28s ease;display:flex;flex-direction:column;gap:1rem;position:relative;transform-origin:center center;will-change:transform}
.sp-page .endorsement:hover{border-color:rgba(74,144,217,0.2);background:rgba(74,144,217,0.05);transform:translateY(-6px) scale(1.02);box-shadow:0 26px 60px rgba(2,17,35,0.42);z-index:3}
.sp-page .endorsement blockquote{font-family:var(--fd);font-size:.92rem;font-style:italic;color:var(--gray-300);line-height:1.75;margin-bottom:0;position:relative;padding-left:1.25rem;border-left:2px solid rgba(74,144,217,0.25)}
.sp-page .endorsement-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;align-items:center}
.sp-page .endorsement-attr{display:flex;flex-direction:column;gap:.1rem}
.sp-page .endorsement-name{font-size:.88rem;font-weight:600;color:var(--white)}
.sp-page .endorsement-title{font-size:.78rem;color:var(--gray-500);line-height:1.4}
.sp-page .endorsement-stars{display:flex;align-items:center;justify-self:end;gap:.35rem;color:#f4c86a;line-height:1;flex-shrink:0}
.sp-page .endorsement-stars svg{width:1.5rem;height:1.5rem;display:block;fill:currentColor;filter:drop-shadow(0 1px 1px rgba(0,0,0,0.18))}

/* ━━━ AUTHOR ━━━ */
.sp-page .author-section{max-width:1100px;margin:0 auto;padding:0 2.5rem 4rem}
.sp-page .author-card{background:var(--glass);border:1px solid var(--glass-border);border-radius:16px;padding:2.5rem;display:flex;align-items:center;gap:2.5rem}
.sp-page .author-img{width:120px;height:120px;border-radius:50%;object-fit:cover;border:3px solid rgba(74,144,217,0.2);flex-shrink:0}
.sp-page .author-info h3{font-family:var(--fd);font-size:1.25rem;font-weight:700;margin-bottom:.25rem}
.sp-page .author-info .author-title{font-size:.85rem;color:var(--blue-bright);font-weight:500;margin-bottom:.75rem}
.sp-page .author-info p{font-size:.92rem;color:var(--gray-400);line-height:1.7}
.sp-page .author-stats{display:flex;gap:1.5rem;margin-top:1rem}
.sp-page .author-stat{text-align:center}
.sp-page .author-stat strong{font-family:var(--fd);font-size:1.1rem;color:var(--white);display:block}
.sp-page .author-stat span{font-size:.68rem;color:var(--gray-500);text-transform:uppercase;letter-spacing:.05em}

/* ━━━ BOTTOM CTA ━━━ */
.sp-page .bottom-cta-section{background:var(--glass);border-top:1px solid var(--glass-border);padding:3rem 2.5rem;text-align:center}
.sp-page .bottom-cta-section h2{font-family:var(--fd);font-size:1.4rem;font-weight:700;margin-bottom:.75rem}
.sp-page .bottom-cta-section h2 em{font-style:italic;color:var(--blue-bright)}
.sp-page .bottom-cta-section p{font-size:.92rem;color:var(--gray-400);margin-bottom:1.5rem;max-width:550px;margin-left:auto;margin-right:auto;line-height:1.7}
.sp-page .btn-bottom{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;background:var(--blue);color:var(--white);font-family:var(--fb);font-size:1rem;font-weight:600;border:none;border-radius:10px;cursor:pointer;text-decoration:none;transition:all .3s}
.sp-page .btn-bottom:hover{background:var(--blue-bright);transform:translateY(-2px);box-shadow:0 8px 25px rgba(74,144,217,0.35)}
.sp-page .btn-bottom svg{width:18px;height:18px}

/* ━━━ ANIMATIONS ━━━ */
@keyframes spFadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes spBtnPulse{0%,100%{box-shadow:0 0 0 0 rgba(74,144,217,0.3)}50%{box-shadow:0 0 0 8px rgba(74,144,217,0)}}

/* ━━━ RESPONSIVE ━━━ */
@media(max-width:900px){
    .sp-page .book-layout{grid-template-columns:1fr;gap:2rem}
    .sp-page .book-cover{position:static;max-width:280px;margin:0 auto}
    .sp-page .author-card{flex-direction:column;text-align:center}
    .sp-page .author-stats{justify-content:center}
    .sp-page .endorsement-grid{grid-template-columns:1fr}
    .sp-page .endorsement-footer{grid-template-columns:1fr}
    .sp-page .endorsement-stars{justify-self:start}
    .sp-page .bulk-grid,.sp-page .bulk-steps{grid-template-columns:1fr}
}
@media(max-width:600px){
    .sp-page .hero{padding:3rem 1.5rem 2.5rem}
    .sp-page .book-section,.sp-page .bulk-section,.sp-page .author-section,.sp-page .endorsements-section{padding-left:1.5rem;padding-right:1.5rem}
    .sp-page .topic-grid{grid-template-columns:1fr}
    .sp-page .book-cover{max-width:220px}
    .sp-page .bulk-inner{padding:1.5rem}
    .sp-page .bulk-btn{width:100%}
    .sp-page .author-card{padding:1.5rem}
    .sp-page .bottom-cta-section{padding:2rem 1.5rem}
}
