/* ===== ROOT VARIABLES - Warna Sekolah Bersama ===== */
:root {
    --sb-primary: #1B5E7B;
    --sb-primary-dark: #0F3D52;
    --sb-secondary: #27AE60;
    --sb-secondary-light: #2ECC71;
    --sb-accent: #F39C12;
    --sb-light: #ECF0F1;
    --sb-dark: #2C3E50;
    --sb-white: #FFFFFF;
    --sb-gray: #7F8C8D;
    --sb-gradient: linear-gradient(135deg, var(--sb-primary) 0%, var(--sb-secondary) 100%);
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 0;
    color: var(--sb-dark);
    overflow-x: hidden;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--sb-primary);
}

/* ===== NAVBAR ===== */
.sb-navbar {
    background: transparent;
    box-shadow: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.sb-navbar.scrolled {
    padding: 0.3rem 0;
    background: var(--sb-white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.sb-navbar.scrolled .navbar-brand {
    color: var(--sb-primary) !important;
}

.sb-navbar .navbar-brand {
    font-weight: 700;
    color: var(--sb-white) !important;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-navbar .navbar-brand img {
    height: 40px;
}

.sb-navbar .nav-link {
    color: var(--sb-white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.sb-navbar .nav-link:hover {
    color: var(--sb-accent) !important;
}

.sb-navbar.scrolled .nav-link {
    color: var(--sb-dark) !important;
}

.sb-navbar.scrolled .nav-link:hover {
    color: var(--sb-primary) !important;
}

.sb-navbar .btn-sb-primary {
    background: transparent;
    border: 2px solid var(--sb-white);
    color: var(--sb-white);
}

.sb-navbar .btn-sb-primary:hover {
    background: var(--sb-white);
    color: var(--sb-primary);
}

.sb-navbar.scrolled .btn-sb-primary {
    background: var(--sb-gradient);
    border-color: transparent;
    color: white;
}

.sb-navbar.scrolled .btn-sb-primary:hover {
    box-shadow: 0 5px 20px rgba(27, 94, 123, 0.4);
    transform: translateY(-2px);
}

.btn-sb-primary {
    background: var(--sb-gradient);
    border: none;
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-sb-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(27, 94, 123, 0.4);
    color: white;
}

.btn-sb-outline {
    border: 2px solid var(--sb-primary);
    color: var(--sb-primary);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s;
}

.btn-sb-outline:hover {
    background: var(--sb-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-sb-accent {
    background: var(--sb-accent);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-sb-accent:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
    color: white;
}

/* ===== HERO ===== */
.sb-hero {
    background: var(--sb-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.sb-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sb-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sb-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
}

.sb-hero p.lead {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.sb-hero-img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* ===== SECTION COMMON ===== */
.sb-section {
    padding: 80px 0;
}

.sb-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--sb-dark);
    margin-bottom: 15px;
}

.sb-section-subtitle {
    color: var(--sb-gray);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.sb-section-accent {
    width: 60px;
    height: 4px;
    background: var(--sb-gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* ===== STATS ===== */
.sb-stats {
    background: var(--sb-white);
    padding: 40px 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    margin-top: -60px;
    border-radius: 20px;
}

.sb-stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sb-primary);
}

.sb-stat-item p {
    color: var(--sb-gray);
    font-weight: 500;
}

/* ===== FEATURES ===== */
.sb-feature-card {
    background: var(--sb-white);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.04);
    height: 100%;
}

.sb-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sb-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.sb-feature-icon.bg-1 { background: linear-gradient(135deg, #1B5E7B, #2980B9); }
.sb-feature-icon.bg-2 { background: linear-gradient(135deg, #27AE60, #2ECC71); }
.sb-feature-icon.bg-3 { background: linear-gradient(135deg, #F39C12, #F1C40F); }
.sb-feature-icon.bg-4 { background: linear-gradient(135deg, #E74C3C, #C0392B); }
.sb-feature-icon.bg-5 { background: linear-gradient(135deg, #8E44AD, #9B59B6); }
.sb-feature-icon.bg-6 { background: linear-gradient(135deg, #1ABC9C, #16A085); }

.sb-feature-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--sb-dark);
}

.sb-feature-card p {
    color: var(--sb-gray);
    font-size: 0.95rem;
}

/* ===== ABOUT ===== */
.sb-about {
    background: var(--sb-light);
}

.sb-about-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 100%;
}

.sb-check-list {
    list-style: none;
    padding: 0;
}

.sb-check-list li {
    padding: 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-check-list li::before {
    content: '?';
    background: var(--sb-secondary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ===== PRICING ===== */
.sb-pricing-card {
    background: var(--sb-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 2px solid transparent;
    height: 100%;
}

.sb-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sb-pricing-card.popular {
    border-color: var(--sb-primary);
    position: relative;
}

.sb-pricing-card.popular::before {
    content: 'Populer';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sb-gradient);
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.sb-pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sb-primary);
}

.sb-pricing-card .price small {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--sb-gray);
}

.sb-pricing-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.sb-pricing-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--sb-light);
    color: var(--sb-dark);
    font-size: 0.95rem;
}

/* ===== TESTIMONIAL ===== */
.sb-testimonial {
    background: var(--sb-gradient);
    color: white;
}

.sb-testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.15);
    height: 100%;
}

.sb-testimonial-card p {
    font-style: italic;
    opacity: 0.95;
    line-height: 1.7;
}

.sb-testimonial-card .author {
    font-weight: 600;
    opacity: 1;
}

.sb-testimonial-card .role {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== CTA ===== */
.sb-cta {
    background: var(--sb-dark);
    color: white;
    padding: 80px 0;
}

.sb-cta h2 {
    font-weight: 700;
    font-size: 2.2rem;
}

/* ===== FOOTER ===== */
.sb-footer {
    background: #1A252F;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.sb-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.sb-footer a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.sb-footer a:hover {
    color: var(--sb-secondary-light);
}

.sb-footer-links {
    list-style: none;
    padding: 0;
}

.sb-footer-links li {
    padding: 5px 0;
}

.sb-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sb-hero h1 {
        font-size: 2rem;
    }
    .sb-section {
        padding: 50px 0;
    }
    .sb-section-title {
        font-size: 1.7rem;
    }
    .sb-stats {
        margin-top: -30px;
    }
}

/* ===== PLATFORM CARDS ===== */
.sb-platform-card {
    background: var(--sb-white);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.sb-platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sb-platform-card.web { border-top: 4px solid var(--sb-primary); }
.sb-platform-card.mobile { border-top: 4px solid var(--sb-secondary); }

.sb-platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sb-platform-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.sb-platform-icon-wrap.web { background: linear-gradient(135deg, var(--sb-primary), #2980B9); }
.sb-platform-icon-wrap.mobile { background: linear-gradient(135deg, var(--sb-secondary), #2ECC71); }

.sb-role-badge {
    background: var(--sb-light);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
}

.sb-role-badge i {
    font-size: 1.2rem;
    color: var(--sb-primary);
    margin-top: 2px;
}

.sb-role-badge strong {
    font-size: 0.85rem;
    display: block;
    color: var(--sb-dark);
}

.sb-role-badge small {
    font-size: 0.75rem;
    color: var(--sb-gray);
}

/* ===== CONNECTOR SCHEMA ===== */
.sb-schema-connector {
    position: relative;
    padding: 30px 0;
}

.sb-connector-line {
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, var(--sb-primary), var(--sb-secondary));
    border-radius: 2px;
    opacity: 0.2;
}

.sb-connector-center {
    position: relative;
    display: inline-block;
    background: var(--sb-white);
    padding: 15px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

/* ===== MONITOR VISUAL (Phone mockup) ===== */
.sb-monitor-visual {
    display: flex;
    justify-content: center;
}

.sb-monitor-phone {
    width: 280px;
    background: var(--sb-dark);
    border-radius: 30px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.sb-monitor-screen {
    background: var(--sb-white);
    border-radius: 20px;
    padding: 20px 15px;
    min-height: 350px;
}

.sb-monitor-header-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sb-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sb-light);
}

.sb-monitor-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--sb-light);
}

.sb-monitor-item:last-child {
    border-bottom: none;
}

.sb-monitor-item i {
    font-size: 1.1rem;
    margin-top: 2px;
}

.sb-monitor-item strong {
    font-size: 0.8rem;
    display: block;
    color: var(--sb-dark);
}

.sb-monitor-item small {
    font-size: 0.72rem;
    color: var(--sb-gray);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}