/* Design System Variables */
:root {
    /* Colors - Kemendikdasmen inspired (Blue & Yellow) but modernized */
    --primary-blue: #0A3D62; /* Deep Blue */
    --primary-light: #1E6091;
    --accent-yellow: #F39C12; /* Golden Yellow */
    --accent-teal: #00A8CC;
    --accent-green: #27AE60;
    
    /* Neutral Colors */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.5rem; color: var(--text-muted); }

/* Buttons */
button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary.outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    box-shadow: none;
}

.btn-primary.outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-text {
    background: none;
    color: var(--primary-blue);
    padding: 0;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-text:hover {
    color: var(--accent-teal);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 1000;
    transition: padding var(--transition-normal), box-shadow var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.school-logo {
    height: 2.1rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap; /* Prevents text from wrapping into 2 lines */
    position: relative;
    padding: 0.35rem 0.2rem;
    transition: color var(--transition-fast);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: width var(--transition-normal);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
}

.badge {
    display: inline-block;
    background-color: rgba(243, 156, 18, 0.15);
    color: #D35400;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 24px;
}

.main-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-glass);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.glass-card i {
    font-size: 2.5rem;
}

.glass-card h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--primary-blue);
}

.glass-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-left {
    top: -20px;
    left: -40px;
    animation-delay: 0s;
}

.top-left i { color: var(--accent-teal); }

.bottom-right {
    bottom: -20px;
    right: -20px;
    animation-delay: 3s;
}

.bottom-right i { color: var(--accent-green); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* General Section Styles */
section {
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Features Section */
.features {
    background-color: var(--bg-white);
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.icon-wrapper.blue { background: rgba(0, 168, 204, 0.1); color: var(--accent-teal); }
.icon-wrapper.yellow { background: rgba(243, 156, 18, 0.1); color: var(--accent-yellow); }
.icon-wrapper.teal { background: rgba(39, 174, 96, 0.1); color: var(--accent-green); }


/* Practical Guide Section */
.guide-section {
    background-color: var(--primary-blue);
    color: white;
}

.guide-section h2 {
    color: white;
}

.guide-section p {
    color: rgba(255, 255, 255, 0.8);
}

.guide-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.steps {
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 50px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-yellow);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--primary-blue);
}

.step-content h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.step-content.last {
    margin-left: calc(40px + 2rem);
}

.step-content .btn-primary.outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.step-content .btn-primary.outline:hover {
    background-color: white;
    color: var(--primary-blue);
}

.guide-illustration img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}


/* Accommodation (Tabs) Section */
.accommodation {
    background-color: var(--bg-light);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: #F1F5F9;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    color: var(--primary-blue);
    background: white;
    border-bottom-color: var(--accent-yellow);
}

.tab-content {
    padding: 2.5rem;
}

/* Sophisticated UDL Table Styling */
.udl-table-container {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    background: white;
}

.udl-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.udl-table th {
    background-color: #0A3D62;
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.udl-table th:first-child {
    border-top-left-radius: 15px;
}

.udl-table th:last-child {
    border-top-right-radius: 15px;
}

.udl-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: top;
    color: var(--text-dark);
}

.udl-table tr:last-child td {
    border-bottom: none;
}

.udl-table tr:hover td {
    background-color: #F8FAFC;
}

.udl-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.udl-badge.sensori { background: #E0F2FE; color: #0369A1; }
.udl-badge.instruksi { background: #FEF3C7; color: #B45309; }
.udl-badge.tugas { background: #DCFCE7; color: #15803D; }
.udl-badge.sosial { background: #F3E8FF; color: #6B21A8; }


.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pane-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.check-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.check-list i {
    color: var(--accent-green);
    margin-top: 4px;
}

.google-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition-normal);
}

.google-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #4285F4;
}

.google-card i {
    font-size: 2.5rem;
}

.google-card a {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.google-card a:hover {
    color: #4285F4;
}

/* Workspace Integration Section */
.workspace-integration {
    background-color: white;
}

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

.workspace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.w-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.w-card:hover {
    box-shadow: var(--shadow-md);
    background: white;
}

.w-card .google-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

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


/* Responsive Design */
@media (max-width: 992px) {
    .hero, .guide-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .glass-card.top-left { left: 0; }
    .glass-card.bottom-right { right: 0; }
    
    .steps::before { left: 50%; transform: translateX(-50%); }
    .step { flex-direction: column; align-items: center; text-align: center; }
    .step-content.last { margin-left: 0; }
    
    .pane-grid { grid-template-columns: 1fr; }
}

/* Desktop Default: Hide Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 65px; /* Memberi ruang di bawah agar konten tidak tertutup */
    }

    .navbar {
        padding: 0;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.6rem 1rem;
    }

    /* Sembunyikan navigasi atas & hamburger total pada HP */
    .nav-links, .menu-toggle {
        display: none !important;
    }

    .logo {
        font-size: 1.15rem;
    }

    .school-logo {
        height: 1.8rem;
    }

    .desktop-only-btn {
        display: none !important;
    }

    /* Mobile Native Bottom Navigation Dock (Bar Bawah Melayang Ala iOS/Android) */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 0 0.5rem;
    }

    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748B;
        text-decoration: none;
        font-size: 0.725rem;
        font-weight: 600;
        gap: 2px;
        flex: 1;
        transition: color 0.2s ease;
    }

    .mobile-bottom-item i {
        font-size: 1.35rem;
        transition: transform 0.2s ease;
    }

    .mobile-bottom-item.active {
        color: var(--primary-blue);
        font-weight: 700;
    }

    .mobile-bottom-item.active i {
        transform: translateY(-2px);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
