﻿/* ============================================================
   Dandelion System — school-bell.css
   Product page: School Bell System (FREEWARE)
   Prefix: sb-
   Accent: freeware green
   ============================================================ */

:root {
    --sb-green: #6FE39C;
    --sb-green-deep: #2EBB6E;
}

/* ---------- Shared section primitives ---------- */
.sb-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

.sb-section-eyebrow {
    display: inline-block;
    color: var(--sb-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sb-section-h2 {
    color: var(--text-light);
    font-size: 32px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 18px;
    letter-spacing: 0.3px;
}

.sb-section-h2 strong {
    font-weight: 700;
    background: linear-gradient(135deg, var(--sb-green), #4ADCC8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sb-green), #4ADCC8);
    border-radius: 2px;
    margin: 18px auto 0;
}

/* ---------- Buttons ---------- */
.sb-btn-glow,
.sb-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;
}

.sb-btn-glow {
    background: linear-gradient(135deg, var(--sb-green), var(--sb-green-deep));
    color: #062018;
    box-shadow: 0 0 22px rgba(111, 227, 156, 0.4);
}

.sb-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(111, 227, 156, 0.6);
    color: #143524;
}

.sb-btn-ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sb-btn-ghost:hover {
    border-color: var(--sb-green);
    color: var(--sb-green);
}

/* ============================================================
   SECTION 1 · HERO
   ============================================================ */
.sb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    padding: 40px 24px;
}

.sb-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.sb-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-green-deep));
    color: #062018;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 26px;
    box-shadow: 0 6px 20px rgba(111, 227, 156, 0.3);
}

.sb-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;
}

.sb-product-name::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--sb-green), #4ADCC8);
    border-radius: 2px;
}

.sb-hero h1 {
    color: white;
    font-size: 44px;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 22px;
    letter-spacing: 0.3px;
}

.sb-hero h1 strong {
    font-weight: 700;
    background: linear-gradient(135deg, #A8FFC8, #7CFFE7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-hero-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 auto 32px;
    max-width: 740px;
}

/* ============================================================
   SECTION 2 · PROBLEM (short narrative)
   ============================================================ */
.sb-problem {
    background: var(--dark-bg);
    padding: 70px 24px;
    text-align: center;
}

.sb-problem-inner {
    max-width: 820px;
    margin: 0 auto;
}

.sb-problem-lead {
    color: var(--text-gray);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.85;
    margin: 28px 0 0;
}

/* ============================================================
   SECTION 4 · SCREENSHOT SHOWCASE (1 image, centered)
   ============================================================ */
.sb-shot-section {
    background: var(--dark-bg);
    padding: 40px 0;
}

.sb-shot {
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    overflow: hidden;
    max-width: 100%;
    width: max-content;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.sb-shot:hover {
    transform: translateY(-3px);
    border-color: var(--sb-green);
    box-shadow: 0 18px 40px rgba(111, 227, 156, 0.15);
}

.sb-shot-frame {
    background: #0a0f15;
    display: block;
    overflow: hidden;
}

.sb-shot-frame img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.sb-shot figcaption {
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    padding: 14px 22px;
    border-top: 1px solid var(--border-gray);
    background: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   SECTION 6 · PROCESS (3 steps)
   ============================================================ */
.sb-process {
    background: var(--dark-bg);
    padding: 75px 24px;
}

.sb-process-header {
    text-align: center;
    margin-bottom: 45px;
}

.sb-process-track {
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
}

.sb-process-track::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--sb-green), #4ADCC8);
    opacity: 0.3;
    z-index: 0;
}

.sb-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;
}

.sb-process-step:hover {
    transform: translateY(-4px);
    border-color: var(--sb-green);
}

.sb-process-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 6px;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-green-deep));
    color: #062018;
    font-weight: 800;
    font-size: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px var(--dark-bg);
}

.sb-process-icon {
    font-size: 28px;
    color: var(--sb-green);
    margin: 14px 0 12px;
}

.sb-process-step h4 {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.sb-process-step p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   SECTION 9 · FINAL CTA
   ============================================================ */
.sb-final-cta {
    background: linear-gradient(135deg, #0c2a1c 0%, #0e3a2c 60%, #14403a 100%);
    padding: 85px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sb-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(111, 227, 156, 0.20), transparent 60%),
                radial-gradient(circle at 75% 40%, rgba(74, 220, 200, 0.16), transparent 55%);
    pointer-events: none;
}

.sb-final-cta-inner {
    max-width: 780px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sb-final-tag {
    display: inline-block;
    color: #062018;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-green-deep));
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.sb-final-cta h2 {
    color: white;
    font-size: 36px;
    font-weight: 300;
    line-height: 1.25;
    margin: 0 0 18px;
}

.sb-final-cta h2 strong {
    font-weight: 700;
    background: linear-gradient(135deg, #A8FFC8, #7CFFE7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-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: 640px;
}

.sb-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .sb-hero h1 { font-size: 32px; }
    .sb-hero-sub { font-size: 15.5px; }
    .sb-section-h2 { font-size: 25px; }

    .sb-process-track { grid-template-columns: 1fr; }
    .sb-process-track::before { display: none; }

    .sb-final-cta h2 { font-size: 27px; }
}

@media (max-width: 560px) {
    .sb-hero { min-height: 520px; padding: 60px 18px 70px; }
    .sb-hero h1 { font-size: 26px; }
    .sb-free-badge { font-size: 11px; padding: 7px 16px; }
}
