/* =============================================================
   Saudi BC — Public Site Design System
   Brand: Saudi Green (#0E8F5A) + Deep Ink (#131A23)
   Aligned with Saudi BC Brand Identity v1.0
   ============================================================= */

:root {
    /* ===== Official Saudi BC brand palette ===== */
    --sb-green: #0E8F5A;              /* Saudi Green */
    --sb-green-top: #13A066;           /* gradient top */
    --sb-green-dark: #0B6E47;          /* gradient bottom / hover */
    --sb-green-light: #E8F5EE;         /* Mint Tint — subtle backgrounds */
    --sb-navy: #131A23;                /* Deep Ink */
    --sb-navy-soft: #2A3441;           /* Ink 2 / gradient top */
    --sb-text: #131A23;
    --sb-text-2: #1F2937;
    --sb-muted: #6B7280;
    --sb-bg: #FAFAF8;                  /* Paper */
    --sb-bg-soft: #F3F4F6;
    --sb-border: #E5E7EB;
    --sb-line: #E5E7EB;
    --sb-white: #FFFFFF;

    --sb-radius: 16px;
    --sb-radius-lg: 24px;
    --sb-shadow-sm: 0 1px 2px rgba(19,26,35,0.04), 0 1px 3px rgba(19,26,35,0.06);
    --sb-shadow: 0 4px 12px rgba(19,26,35,0.06), 0 2px 4px rgba(19,26,35,0.04);
    --sb-shadow-lg: 0 30px 60px -30px rgba(19,26,35,0.18), 0 2px 6px rgba(19,26,35,0.04);
    --sb-shadow-glow: 0 10px 28px -10px rgba(14,143,90,0.45);

    --sb-font-ar: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --sb-font-en: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, 'Helvetica Neue', sans-serif;
    --sb-font-lat: 'Manrope', -apple-system, sans-serif;
}

html[lang="ar"] body { font-family: var(--sb-font-ar); }
html[lang="en"] body { font-family: var(--sb-font-en); }

body.sb-public {
    background: var(--sb-white);
    color: var(--sb-text);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.sb-public .lat { font-family: var(--sb-font-lat); letter-spacing: -0.3px; }

/* ---------- Public Top Nav ---------- */
.sb-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sb-border);
}

.sb-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.sb-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.sb-brand img {
    height: 44px;
    width: 157px;          /* explicit for SVGs that report odd intrinsic sizes */
    aspect-ratio: 820 / 230;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sb-nav-links {
    display: flex;
    gap: 28px;
    margin-inline-start: auto;
    list-style: none;
    margin-bottom: 0;
    padding: 0;
}

.sb-nav-links a {
    color: var(--sb-navy-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.sb-nav-links a:hover { color: var(--sb-green); }

.sb-nav-cta {
    display: flex;
    gap: 10px;
}

/* ---------- Buttons ---------- */
.sb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
    white-space: nowrap;
}

.sb-btn-primary {
    background: var(--sb-green);
    color: var(--sb-white);
    box-shadow: 0 6px 20px -8px rgba(14,143,90,0.55);
}
.sb-btn-primary:hover {
    background: var(--sb-green-dark);
    color: var(--sb-white);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px -8px rgba(14,143,90,0.65);
}

.sb-btn-ghost {
    background: transparent;
    color: var(--sb-navy);
    border-color: var(--sb-border);
}
.sb-btn-ghost:hover {
    background: var(--sb-bg-soft);
    border-color: var(--sb-navy);
    color: var(--sb-navy);
}

.sb-btn-dark {
    background: var(--sb-navy);
    color: var(--sb-white);
}
.sb-btn-dark:hover { background: #0F172A; color: var(--sb-white); }

.sb-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 12px;
}

/* ---------- Hero ---------- */
.sb-hero {
    position: relative;
    padding: 80px 24px 100px;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--sb-green-light) 100%);
    overflow: hidden;
}

.sb-hero::before {
    content: "";
    position: absolute;
    top: -200px;
    inset-inline-end: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(21,165,106,0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.sb-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sb-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--sb-green-light);
    color: var(--sb-green-dark);
    border: 1px solid rgba(14,143,90,0.18);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.sb-hero-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--sb-green);
    border-radius: 50%;
    display: inline-block;
}

.sb-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--sb-navy);
    margin: 0 0 20px;
}
.sb-hero h1 .sb-accent { color: var(--sb-green); }

.sb-hero-lead {
    font-size: 1.15rem;
    color: var(--sb-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.sb-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.sb-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 480px;
}

.sb-hero-stat strong {
    display: block;
    font-size: 1.75rem;
    color: var(--sb-navy);
    font-weight: 700;
    line-height: 1;
}
.sb-hero-stat span {
    font-size: 0.85rem;
    color: var(--sb-muted);
    margin-top: 4px;
    display: block;
}

/* Hero illustration: phone mockup with QR */
.sb-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sb-hero-card {
    background: var(--sb-white);
    border-radius: var(--sb-radius-lg);
    box-shadow: var(--sb-shadow-lg);
    padding: 32px;
    width: 100%;
    max-width: 380px;
    position: relative;
    transform: rotate(-2deg);
}

.sb-hero-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: var(--sb-radius-lg);
    background: linear-gradient(135deg, var(--sb-green), var(--sb-navy));
    z-index: -1;
    opacity: 0.15;
}

.sb-hero-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-navy));
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 2rem; font-weight: 700;
    margin: 0 auto 16px;
}

.sb-hero-card h3 { text-align: center; margin: 0 0 4px; font-size: 1.25rem; color: var(--sb-navy); }
.sb-hero-card .role { text-align: center; color: var(--sb-muted); margin: 0 0 24px; font-size: 0.9rem; }

.sb-hero-qr {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: var(--sb-bg);
    border-radius: 12px;
    margin-bottom: 20px;
}
.sb-hero-qr img { width: 140px; height: 140px; object-fit: contain; }

.sb-hero-save-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px auto 18px;
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-green-dark));
    color: var(--sb-white);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 6px 16px -4px rgba(14,143,90,0.45);
}
.sb-hero-save-pill i { font-size: 0.95rem; }

.sb-hero-actions {
    display: flex;
    gap: 8px;
}
.sb-hero-actions .pill {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: var(--sb-bg-soft);
    border-radius: 10px;
    color: var(--sb-navy);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ---------- Sections ---------- */
.sb-section {
    padding: 90px 24px;
}

.sb-section-soft { background: var(--sb-bg); }
.sb-section-dark { background: var(--sb-navy); color: var(--sb-white); }
.sb-section-dark .sb-section-title h2 { color: var(--sb-white); }
.sb-section-dark .sb-section-title p { color: rgba(255,255,255,0.7); }

.sb-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sb-section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.sb-section-title .label {
    display: inline-block;
    color: var(--sb-green);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.sb-section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--sb-navy);
    margin: 0 0 16px;
    line-height: 1.2;
}

.sb-section-title p {
    font-size: 1.1rem;
    color: var(--sb-muted);
    margin: 0;
}

/* ---------- Features grid ---------- */
.sb-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sb-feature {
    background: var(--sb-white);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 32px 28px;
    transition: all 0.3s;
}

.sb-feature:hover {
    transform: translateY(-4px);
    border-color: var(--sb-green);
    box-shadow: var(--sb-shadow);
}

.sb-feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--sb-green-light);
    color: var(--sb-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.sb-feature h3 {
    font-size: 1.2rem;
    color: var(--sb-navy);
    margin: 0 0 10px;
    font-weight: 700;
}

.sb-feature p {
    color: var(--sb-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- How it works ---------- */
.sb-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    counter-reset: step;
}

.sb-step {
    text-align: center;
    counter-increment: step;
    position: relative;
}

.sb-step::before {
    content: counter(step);
    display: inline-flex;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--sb-white);
    color: var(--sb-green);
    border: 2px solid var(--sb-green);
    font-weight: 800;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sb-step h4 {
    color: var(--sb-navy);
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.sb-step p {
    color: var(--sb-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.sb-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.sb-plan {
    background: var(--sb-white);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-lg);
    padding: 36px 32px;
    position: relative;
}

.sb-plan-popular {
    border-color: var(--sb-green);
    border-width: 2px;
    box-shadow: var(--sb-shadow-lg);
    transform: scale(1.03);
}

.sb-plan-popular::before {
    content: "الأكثر طلباً";
    position: absolute;
    top: -14px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    background: var(--sb-green);
    color: white;
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.sb-plan h3 { color: var(--sb-navy); font-size: 1.4rem; margin: 0 0 8px; font-weight: 700; }
.sb-plan-desc { color: var(--sb-muted); margin: 0 0 24px; font-size: 0.95rem; }
.sb-plan-price { font-size: 2.75rem; font-weight: 800; color: var(--sb-navy); line-height: 1; }
.sb-plan-price small { font-size: 1rem; color: var(--sb-muted); font-weight: 500; }
.sb-plan-cycle { color: var(--sb-muted); margin: 4px 0 24px; font-size: 0.9rem; }

.sb-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.sb-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--sb-text);
    font-size: 0.95rem;
}
.sb-plan-features li i { color: var(--sb-green); }

/* ---------- CTA banner ---------- */
.sb-cta-banner {
    background: linear-gradient(135deg, var(--sb-green) 0%, var(--sb-green-dark) 100%);
    border-radius: var(--sb-radius-lg);
    padding: 60px 48px;
    text-align: center;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(21,165,106,0.4);
}

.sb-cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0 0 12px;
    font-weight: 800;
}
.sb-cta-banner p { opacity: 0.92; margin: 0 0 28px; font-size: 1.1rem; }

.sb-cta-banner .sb-btn-primary {
    background: white;
    color: var(--sb-green-dark);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.sb-cta-banner .sb-btn-primary:hover { background: #F9FAFB; color: var(--sb-green-dark); }

/* ---------- Footer ---------- */
.sb-footer {
    background: var(--sb-navy);
    color: rgba(255,255,255,0.7);
    padding: 60px 24px 24px;
}

.sb-footer-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.sb-footer h5 {
    color: white;
    font-size: 0.95rem;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sb-footer ul { list-style: none; padding: 0; margin: 0; }
.sb-footer ul li { margin-bottom: 10px; }
.sb-footer a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.sb-footer a:hover { color: var(--sb-green); }

.sb-footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sb-footer-brand img {
    height: 44px;
    width: 157px;
    aspect-ratio: 820 / 230;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sb-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ---------- Auth split-screen layout ---------- */
.sb-auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--sb-white);
}

.sb-auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
}

.sb-auth-form-wrap {
    width: 100%;
    max-width: 440px;
}

.sb-auth-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 40px;
    flex-shrink: 0;
}
.sb-auth-brand img {
    height: 46px;
    width: 164px;
    aspect-ratio: 820 / 230;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.sb-auth-form-wrap h1 {
    font-size: 1.75rem;
    color: var(--sb-navy);
    margin: 0 0 8px;
    font-weight: 800;
}
.sb-auth-form-wrap > .lead { color: var(--sb-muted); margin-bottom: 32px; }

.sb-auth-form-wrap label {
    color: var(--sb-navy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    display: block;
}

.sb-auth-form-wrap .form-control {
    border-radius: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--sb-border);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.sb-auth-form-wrap .form-control:focus {
    border-color: var(--sb-green);
    box-shadow: 0 0 0 4px rgba(21,165,106,0.1);
}

.sb-auth-submit {
    width: 100%;
    padding: 13px;
    background: var(--sb-green);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(21,165,106,0.35);
    transition: all 0.2s;
    cursor: pointer;
}
.sb-auth-submit:hover { background: var(--sb-green-dark); transform: translateY(-1px); }

.sb-auth-meta {
    text-align: center;
    margin-top: 24px;
    color: var(--sb-muted);
    font-size: 0.95rem;
}
.sb-auth-meta a { color: var(--sb-green); font-weight: 600; text-decoration: none; }
.sb-auth-meta a:hover { text-decoration: underline; }

/* Decorative side */
.sb-auth-visual-side {
    background: linear-gradient(135deg, var(--sb-navy) 0%, #0F172A 100%);
    color: white;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sb-auth-visual-side::before {
    content: "";
    position: absolute;
    top: -150px;
    inset-inline-end: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(21,165,106,0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.sb-auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
}

.sb-auth-visual-side h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin: 0 0 16px;
}
.sb-auth-visual-side h2 .accent { color: var(--sb-green); }

.sb-auth-visual-side .desc { opacity: 0.85; font-size: 1.05rem; margin-bottom: 36px; }

.sb-auth-perks {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sb-auth-perks li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sb-auth-perks li:last-child { border-bottom: none; }
.sb-auth-perks .perk-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(21,165,106,0.2);
    color: var(--sb-green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.sb-auth-perks h5 { color: white; margin: 0 0 2px; font-size: 1rem; }
.sb-auth-perks p { margin: 0; opacity: 0.7; font-size: 0.9rem; }

/* ---------- About / Trust strip ---------- */
.sb-trust-strip {
    padding: 40px 24px;
    background: var(--sb-white);
    border-top: 1px solid var(--sb-border);
    border-bottom: 1px solid var(--sb-border);
}
.sb-trust-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    text-align: center;
}
.sb-trust-item {
    color: var(--sb-muted);
    font-size: 0.95rem;
}
.sb-trust-item i {
    font-size: 1.5rem;
    color: var(--sb-green);
    display: block;
    margin-bottom: 8px;
}
.sb-trust-item strong {
    color: var(--sb-navy);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

/* ---------- Problem / Solution ---------- */
.sb-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.sb-split-section h3 {
    font-size: 1.75rem;
    color: var(--sb-navy);
    margin: 0 0 20px;
    font-weight: 800;
}
.sb-pain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sb-pain-list li {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--sb-border);
    align-items: flex-start;
}
.sb-pain-list li:last-child { border-bottom: none; }
.sb-pain-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: #FEE2E2;
    color: #DC2626;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.sb-solution-icon {
    background: var(--sb-green-light);
    color: var(--sb-green-dark);
}
.sb-pain-list h5 { margin: 0 0 2px; font-size: 1rem; color: var(--sb-navy); font-weight: 600; }
.sb-pain-list p { margin: 0; color: var(--sb-muted); font-size: 0.9rem; }

/* ---------- Use cases ---------- */
.sb-usecases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.sb-usecase {
    background: var(--sb-white);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.sb-usecase:hover {
    transform: translateY(-4px);
    border-color: var(--sb-green);
    box-shadow: var(--sb-shadow);
}
.sb-usecase-emoji {
    font-size: 2.25rem;
    margin-bottom: 16px;
    display: block;
}
.sb-usecase h4 {
    color: var(--sb-navy);
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.1rem;
}
.sb-usecase p {
    color: var(--sb-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ---------- Screenshot showcase ---------- */
.sb-showcase {
    background: linear-gradient(135deg, var(--sb-navy) 0%, #0F172A 100%);
    color: white;
    border-radius: var(--sb-radius-lg);
    padding: 60px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.sb-showcase::before {
    content: "";
    position: absolute;
    top: -100px; inset-inline-start: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(21,165,106,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.sb-showcase-content { position: relative; z-index: 1; }
.sb-showcase h2 {
    font-size: 2rem;
    margin: 0 0 16px;
    line-height: 1.2;
}
.sb-showcase h2 .accent { color: var(--sb-green); }
.sb-showcase > div p {
    opacity: 0.85;
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.sb-showcase ul { list-style: none; padding: 0; margin: 0 0 28px; }
.sb-showcase ul li { padding: 8px 0; font-size: 0.95rem; }
.sb-showcase ul li i { color: var(--sb-green); margin-inline-end: 8px; }

.sb-mockup {
    background: white;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    position: relative;
    z-index: 1;
}
.sb-mockup-chrome {
    display: flex;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--sb-border);
    margin-bottom: 12px;
}
.sb-mockup-dot {
    width: 11px; height: 11px; border-radius: 50%;
}
.sb-mockup-inner {
    background: var(--sb-bg);
    border-radius: 10px;
    padding: 16px;
}
.sb-mockup-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.sb-mockup-stat {
    flex: 1;
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--sb-border);
}
.sb-mockup-stat-label { font-size: 0.65rem; color: var(--sb-muted); text-transform: uppercase; }
.sb-mockup-stat-value { font-size: 1.1rem; font-weight: 700; color: var(--sb-navy); }
.sb-mockup-stat-value.green { color: var(--sb-green); }
.sb-mockup-chart {
    background: white;
    border-radius: 8px;
    padding: 14px;
    border: 1px solid var(--sb-border);
    height: 110px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}
.sb-mockup-bar {
    flex: 1;
    background: linear-gradient(to top, var(--sb-green), #5FC68E);
    border-radius: 3px 3px 0 0;
}

/* ---------- Testimonials ---------- */
.sb-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.sb-testimonial {
    background: var(--sb-white);
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius);
    padding: 28px 24px;
    position: relative;
}
.sb-testimonial::before {
    content: "\201C";
    position: absolute;
    top: -12px;
    inset-inline-start: 20px;
    font-size: 4rem;
    color: var(--sb-green);
    font-family: Georgia, serif;
    line-height: 1;
}
.sb-testimonial p {
    color: var(--sb-text);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 0 20px;
}
.sb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sb-testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sb-green), var(--sb-navy));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.sb-testimonial-author h5 {
    margin: 0; font-size: 0.95rem; color: var(--sb-navy); font-weight: 700;
}
.sb-testimonial-author span {
    color: var(--sb-muted); font-size: 0.85rem;
}
.sb-testimonial-stars {
    color: #F59E0B;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* ---------- FAQ ---------- */
.sb-faq {
    max-width: 820px;
    margin: 0 auto;
}
.sb-faq-item {
    border: 1px solid var(--sb-border);
    border-radius: 12px;
    margin-bottom: 14px;
    background: white;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.sb-faq-item[open] { box-shadow: var(--sb-shadow); border-color: var(--sb-green); }
.sb-faq-item summary {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--sb-navy);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.sb-faq-item summary::-webkit-details-marker { display: none; }
.sb-faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--sb-green);
    font-weight: 300;
    transition: transform 0.2s;
}
.sb-faq-item[open] summary::after { content: "–"; }
.sb-faq-item .sb-faq-answer {
    padding: 0 24px 20px;
    color: var(--sb-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
/* ============================================================
   RESPONSIVE — Tablet, mobile, small mobile
   ============================================================ */

/* Universal — prevent any horizontal scroll on small screens */
html, body { overflow-x: hidden; max-width: 100vw; }
body.sb-public img, body.sb-public iframe, body.sb-public video { max-width: 100%; height: auto; }

/* ---------- Tablet & below (≤ 900px) ---------- */
@media (max-width: 900px) {
    /* Nav */
    .sb-nav-inner { padding: 12px 16px; gap: 12px; }
    .sb-nav-links { display: none; }
    .sb-brand-text small { display: none; }
    .sb-brand img { height: 32px; }
    .sb-brand { font-size: 1rem; }
    .sb-nav-cta { gap: 6px; }
    .sb-nav-cta .sb-btn { padding: 8px 14px; font-size: 0.85rem; }

    /* Hero */
    .sb-hero { padding: 40px 18px 60px; }
    .sb-hero::before { width: 320px; height: 320px; top: -120px; inset-inline-end: -120px; }
    .sb-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .sb-hero h1 { font-size: clamp(1.75rem, 6vw, 2.4rem); line-height: 1.2; }
    .sb-hero-lead { font-size: 1rem; }
    .sb-hero-cta { flex-direction: column; gap: 10px; }
    .sb-hero-cta .sb-btn { width: 100%; justify-content: center; }
    .sb-hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .sb-hero-stat strong { font-size: 1.3rem; }
    .sb-hero-stat span { font-size: 0.75rem; }
    .sb-hero-card { transform: none; max-width: 320px; padding: 24px; }

    /* Sections */
    .sb-section { padding: 50px 18px; }
    .sb-section-title { margin-bottom: 36px; }
    .sb-section-title h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    .sb-section-title p { font-size: 1rem; }

    /* Trust strip */
    .sb-trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

    /* Split section (problem/solution) */
    .sb-split-section { grid-template-columns: 1fr; gap: 36px; }
    .sb-split-section h3 { font-size: 1.4rem; }

    /* Features */
    .sb-features { gap: 16px; }
    .sb-feature { padding: 24px 22px; }

    /* Use cases */
    .sb-usecases { gap: 12px; }
    .sb-usecase { padding: 22px 18px; }
    .sb-usecase-emoji { font-size: 2rem; margin-bottom: 12px; }

    /* Showcase mockup */
    .sb-showcase { grid-template-columns: 1fr; padding: 36px 24px; gap: 28px; border-radius: 16px; }
    .sb-showcase h2 { font-size: 1.4rem; }

    /* Pricing */
    .sb-plan-popular { transform: none; }
    .sb-plan { padding: 28px 24px; }

    /* Testimonials */
    .sb-testimonials { gap: 16px; }
    .sb-testimonial { padding: 24px 20px; }

    /* CTA banner */
    .sb-cta-banner { padding: 40px 24px; border-radius: 18px; }
    .sb-cta-banner h2 { font-size: 1.5rem; }
    .sb-cta-banner p { font-size: 1rem; }

    /* Footer */
    .sb-footer { padding: 40px 18px 20px; }
    .sb-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }

    /* Auth */
    .sb-auth-page { grid-template-columns: 1fr; }
    .sb-auth-visual-side { display: none; }
    .sb-auth-form-side { padding: 32px 20px; }
    .sb-auth-form-wrap h1 { font-size: 1.5rem; }
}

/* ---------- Small mobile (≤ 480px) ---------- */
@media (max-width: 480px) {
    /* Nav becomes ultra-compact */
    .sb-nav-inner { padding: 10px 12px; }
    .sb-brand-text { display: none; }
    .sb-brand img { height: 36px; }
    .sb-nav-cta .sb-btn { padding: 7px 10px; font-size: 0.8rem; }
    .sb-nav-cta .sb-btn-ghost i { display: none; }

    /* Hero — tighter */
    .sb-hero { padding: 32px 14px 50px; }
    .sb-hero h1 { font-size: 1.6rem; }
    .sb-hero-eyebrow { font-size: 0.75rem; padding: 5px 12px; }
    .sb-hero-lead { font-size: 0.95rem; margin-bottom: 24px; }
    .sb-hero-stats { gap: 8px; }
    .sb-hero-stat strong { font-size: 1.1rem; }
    .sb-hero-stat span { font-size: 0.7rem; }
    .sb-hero-card { max-width: 100%; padding: 20px; }
    .sb-hero-actions { flex-wrap: wrap; }
    .sb-hero-actions .pill { font-size: 0.75rem; padding: 8px; }

    /* Sections */
    .sb-section { padding: 40px 14px; }
    .sb-section-title { margin-bottom: 28px; }
    .sb-section-title h2 { font-size: 1.5rem; line-height: 1.25; }
    .sb-section-title .label { font-size: 0.78rem; }

    /* Trust strip — single column */
    .sb-trust-inner { grid-template-columns: 1fr; gap: 18px; }

    /* Features — full width single column */
    .sb-features { grid-template-columns: 1fr; }

    /* Use cases */
    .sb-usecases { grid-template-columns: 1fr 1fr; }

    /* Steps */
    .sb-steps { grid-template-columns: 1fr; gap: 24px; }
    .sb-step::before { width: 48px; height: 48px; font-size: 1.25rem; margin-bottom: 14px; }

    /* Pricing — full width */
    .sb-pricing { grid-template-columns: 1fr; }
    .sb-plan { padding: 24px 20px; }
    .sb-plan-price { font-size: 2.25rem; }

    /* Showcase */
    .sb-showcase { padding: 28px 18px; }
    .sb-showcase h2 { font-size: 1.25rem; }
    .sb-showcase ul li { font-size: 0.9rem; }

    /* Testimonials — full width */
    .sb-testimonials { grid-template-columns: 1fr; }

    /* FAQ */
    .sb-faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
    .sb-faq-item .sb-faq-answer { padding: 0 18px 16px; font-size: 0.9rem; }

    /* CTA banner */
    .sb-cta-banner { padding: 32px 20px; }
    .sb-cta-banner h2 { font-size: 1.3rem; }
    .sb-cta-banner p { font-size: 0.95rem; margin-bottom: 20px; }
    .sb-cta-banner .sb-btn { width: 100%; justify-content: center; font-size: 0.95rem; }

    /* Footer — single column */
    .sb-footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .sb-footer-brand { justify-content: center; }
}

/* ---------- Tiny screens (≤ 360px) — last-resort safety ---------- */
@media (max-width: 360px) {
    .sb-hero h1 { font-size: 1.4rem; }
    .sb-section-title h2 { font-size: 1.3rem; }
    .sb-hero-stats { grid-template-columns: 1fr 1fr; }
    .sb-usecases { grid-template-columns: 1fr; }
}
