﻿/* ============================================================
   Dandelion System — book-sales.css
   Product page: School Online Books Ordering System
   Prefix: bs-
   ============================================================ */

/* ---------- Shared section primitives ---------- */
.bs-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.bs-section-eyebrow {
    display: inline-block;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.bs-section-h2 {
    color: var(--text-light);
    font-size: 34px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 18px;
    letter-spacing: 0.3px;
}

.bs-section-h2 strong {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bs-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ---------- Buttons ---------- */
.bs-btn-glow,
.bs-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.6px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.bs-btn-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    box-shadow: 0 0 22px rgba(0, 174, 239, 0.35);
}

.bs-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0, 174, 239, 0.55);
}

.bs-btn-ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.bs-btn-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================================
   SECTION 1 · HERO
   ============================================================ */
.bs-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 80px 24px 100px;
}

.bs-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35) saturate(1.1);
    z-index: 0;
}

.bs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 25, 40, 0.85) 0%, rgba(40, 30, 70, 0.7) 100%);
    z-index: 1;
}

.bs-hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 174, 239, 0.22), transparent 60%);
}

.bs-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 940px;
}

.bs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 174, 239, 0.12);
    color: var(--primary-color);
    border: 1px solid rgba(0, 174, 239, 0.35);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.bs-product-name {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 22px;
    padding-bottom: 18px;
    position: relative;
    display: inline-block;
}

.bs-product-name::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    border-radius: 2px;
}

.bs-hero h1 {
    color: white;
    font-size: 46px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 22px;
    letter-spacing: 0.3px;
}

.bs-hero h1 strong {
    font-weight: 700;
    background: linear-gradient(135deg, #6FE3FF, #B58BFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bs-hero-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 auto 36px;
    max-width: 760px;
}

.bs-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.bs-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: bs-bounce 2s infinite;
}

@keyframes bs-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -8px); }
}

/* ============================================================
   SECTION 2 · THE PROBLEM
   ============================================================ */
.bs-problem {
    background: var(--dark-bg);
    padding: 80px 24px;
    text-align: center;
}

.bs-problem-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.bs-problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 45px 0 35px;
}

.bs-problem-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.25s ease;
}

.bs-problem-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 90, 90, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.bs-problem-card i {
    font-size: 30px;
    color: #FF7A7A;
    margin-bottom: 14px;
}

.bs-problem-card h4 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.bs-problem-card p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.bs-problem-close {
    color: var(--text-light);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    max-width: 780px;
    margin: 20px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--border-gray);
}

/* ============================================================
   SECTION 3 · KEY BENEFITS
   ============================================================ */
.bs-benefits {
    background: var(--darker-bg);
    padding: 80px 0;
}

.bs-benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

.bs-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.bs-benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.bs-benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 35px rgba(0, 174, 239, 0.15);
}

.bs-benefit-card.highlight {
    background: linear-gradient(160deg, rgba(0, 174, 239, 0.10), rgba(160, 100, 230, 0.10)), var(--card-bg);
    border-color: rgba(0, 174, 239, 0.45);
    box-shadow: 0 10px 32px rgba(0, 174, 239, 0.18);
}

.bs-benefit-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FFC76A, #FF8A3D);
    color: #2a1a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: 14px;
    text-transform: uppercase;
}

.bs-benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0, 174, 239, 0.25);
}

.bs-benefit-card h3 {
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.bs-benefit-card p {
    color: var(--text-gray);
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SECTION 4 · TABBED FEATURE EXPLORER
   ============================================================ */
.bs-features {
    background: var(--dark-bg);
    padding: 80px 0;
}

.bs-features-header {
    text-align: center;
    margin-bottom: 40px;
}

.bs-tab-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 35px;
    background: var(--card-bg);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--border-gray);
    max-width: 920px;
}

.bs-tab {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.bs-tab:hover {
    color: var(--text-light);
}

.bs-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.3);
}

.bs-tab-panels {
    max-width: 1100px;
    margin: 0 auto;
}

.bs-tab-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 45px;
    animation: bs-fadeIn 0.35s ease;
}

.bs-tab-panel.active {
    display: grid;
}

@keyframes bs-fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.bs-panel-text .label {
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.bs-panel-text h3 {
    color: var(--text-light);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
}

.bs-panel-text p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.bs-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bs-checklist li {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.55;
    padding: 7px 0 7px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bs-checklist li i {
    color: var(--primary-color);
    font-size: 12px;
    margin-top: 6px;
    flex-shrink: 0;
}

.bs-panel-visual {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    background: var(--darker-bg);
    position: relative;
    aspect-ratio: 4 / 3;
}

.bs-panel-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bs-panel-visual-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.4px;
    padding: 22px 18px 14px;
    text-align: center;
}

/* ============================================================
   SECTION 5 · SPOTLIGHT (Class & Student Management)
   ============================================================ */
.bs-spotlight {
    background: var(--darker-bg);
    padding: 80px 24px;
}

.bs-spotlight-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.bs-spotlight-visual {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bs-spotlight-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
}

.bs-spotlight-text .bs-section-h2 {
    text-align: left;
}

.bs-spotlight-text .bs-section-eyebrow {
    margin-bottom: 14px;
}

.bs-spotlight-text > p {
    color: var(--text-gray);
    font-size: 15.5px;
    line-height: 1.75;
    margin: 18px 0 22px;
}

/* ============================================================
   SECTION 5b · SCREENSHOTS — Reports & Statistics
   ============================================================ */
.bs-shots {
    background: var(--dark-bg);
    padding: 80px 0;
}

.bs-shots-header {
    text-align: center;
    margin-bottom: 50px;
}

.bs-shot-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-bottom: 30px;
}

.bs-shot-solo {
    display: flex;
    justify-content: center;
}

.bs-shot-solo .bs-shot {
    width: auto;
    max-width: 100%;
}

.bs-shot {
    margin: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.bs-shot:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 14px 35px rgba(0, 174, 239, 0.12);
}

.bs-shot-frame {
    background: #0a0f15;
    overflow: hidden;
    /* duo row — fixed crop to top of image so heights match */
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.bs-shot-duo .bs-shot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Solo row — show image at natural size, no crop */
.bs-shot-solo .bs-shot-frame {
    aspect-ratio: auto;
    display: block;
}

.bs-shot-solo .bs-shot-frame img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.bs-shot figcaption {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 14px 16px;
    border-top: 1px solid var(--border-gray);
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 760px) {
    .bs-shot-duo { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 6 · PROCESS TIMELINE
   ============================================================ */
.bs-process {
    background: var(--dark-bg);
    padding: 80px 24px;
}

.bs-process-header {
    text-align: center;
    margin-bottom: 50px;
}

.bs-process-track {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}

.bs-process-track::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-purple));
    opacity: 0.3;
    z-index: 0;
}

.bs-process-step {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 28px 22px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.25s ease;
}

.bs-process-step:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.bs-process-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--dark-bg);
}

.bs-process-icon {
    font-size: 28px;
    color: var(--primary-color);
    margin: 14px 0 12px;
}

.bs-process-step h4 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
}

.bs-process-step p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   SECTION 7 · AUDIENCE
   ============================================================ */
.bs-audience {
    background: var(--darker-bg);
    padding: 80px 0;
}

.bs-audience-header {
    text-align: center;
    margin-bottom: 45px;
}

.bs-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.bs-audience-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.25s ease;
}

.bs-audience-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 28px rgba(0, 174, 239, 0.12);
}

.bs-audience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(0, 174, 239, 0.12);
    border: 1px solid rgba(0, 174, 239, 0.3);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.bs-audience-card h4 {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
}

.bs-audience-card p {
    color: var(--text-gray);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   SECTION 8 · WHY (6-cell grid)
   ============================================================ */
.bs-why {
    background: var(--dark-bg);
    padding: 80px 0;
}

.bs-why-header {
    text-align: center;
    margin-bottom: 50px;
}

.bs-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.bs-why-item {
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.bs-why-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.bs-why-item i {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.bs-why-item h5 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.bs-why-item p {
    color: var(--text-gray);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   SECTION 9 · FINAL CTA
   ============================================================ */
.bs-final-cta {
    background: linear-gradient(135deg, #1a2a3a 0%, #2d2a5e 60%, #3a2a4e 100%);
    padding: 90px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bs-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 174, 239, 0.18), transparent 60%),
                radial-gradient(circle at 75% 40%, rgba(160, 100, 230, 0.16), transparent 55%);
    pointer-events: none;
}

.bs-final-cta-inner {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bs-final-tag {
    display: inline-block;
    color: var(--primary-color);
    background: rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.bs-final-cta h2 {
    color: white;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 18px;
}

.bs-final-cta h2 strong {
    font-weight: 700;
    background: linear-gradient(135deg, #6FE3FF, #B58BFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bs-final-cta p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    margin: 0 auto 32px;
    max-width: 680px;
}

.bs-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .bs-hero h1 { font-size: 34px; }
    .bs-hero-sub { font-size: 16px; }
    .bs-section-h2 { font-size: 26px; }

    .bs-tab-panel { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
    .bs-spotlight-inner { grid-template-columns: 1fr; gap: 30px; }
    .bs-spotlight-text .bs-section-h2 { text-align: center; }

    .bs-process-track { grid-template-columns: repeat(2, 1fr); }
    .bs-process-track::before { display: none; }

    .bs-final-cta h2 { font-size: 28px; }
}

@media (max-width: 560px) {
    .bs-hero { min-height: 540px; padding: 60px 18px 80px; }
    .bs-hero h1 { font-size: 28px; }
    .bs-eyebrow { font-size: 11px; padding: 6px 14px; }

    .bs-tab-bar { border-radius: 14px; }
    .bs-tab { font-size: 12.5px; padding: 9px 14px; }

    .bs-process-track { grid-template-columns: 1fr; }
    .bs-panel-text h3 { font-size: 22px; }
}
