/* ============================================
   SITUNEO v2 — Main Stylesheet
   Design: Premium, Modern, Dark Mode Default
   Typography: Plus Jakarta Sans + Inter
   Colors: Royal Blue, Dark Blue, Gold
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Colors - Dark Mode (Default) */
    --primary: #1E5C99;
    --primary-light: #2A7BC8;
    --primary-dark: #164573;
    --secondary: #0F3057;
    --accent: #D4AF37;
    --accent-light: #E8C94B;
    --accent-dark: #B8962E;

    --bg-body: #0B1120;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-card-hover: rgba(20, 30, 55, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(15, 23, 42, 0.6);
    --bg-nav: rgba(11, 17, 32, 0.85);
    --bg-footer: #060B16;
    --bg-section-alt: rgba(15, 23, 42, 0.4);

    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #7E8DA5;
    --text-accent: #D4AF37;

    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(212, 175, 55, 0.3);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(30, 92, 153, 0.3);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.2);

    /* Typography — system font fallback untuk LCP cepat sebelum web font load */
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Sizing */
    --container-max: 1200px;
    --container-wide: 1400px;
    --nav-height: 72px;
    --radius: 12px; /* alias for --radius-md */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Division Colors */
    --color-situdev: #4f7cff;
    --color-situcreative: #e74c8a;
    --color-situdigital: #4ecdc4;
    --color-situserve: #f59e0b;

    /* Status Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
}

/* Light Mode */
[data-theme="light"] {
    --bg-body: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-glass: rgba(241, 245, 249, 0.8);
    --bg-glass-hover: rgba(226, 232, 240, 0.9);
    --bg-input: rgba(241, 245, 249, 0.9);
    --bg-nav: rgba(248, 250, 252, 0.95);
    --bg-footer: #E2E8F0;
    --bg-section-alt: rgba(241, 245, 249, 0.7);

    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #5B6678;
    --text-accent: #B8962E;

    --border: rgba(0, 0, 0, 0.09);
    --border-light: rgba(0, 0, 0, 0.14);
    --border-accent: rgba(184, 150, 46, 0.35);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.09);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.11);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.13);
    --shadow-glow: 0 0 20px rgba(30, 92, 153, 0.18);
    --shadow-gold: 0 0 20px rgba(184, 150, 46, 0.18);
}

/* Light mode component overrides */
[data-theme="light"] .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .hero-bg::before {
    background: radial-gradient(circle, rgba(30, 92, 153, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero-bg::after {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
}

[data-theme="light"] .page-header::before {
    background: radial-gradient(circle, rgba(30, 92, 153, 0.07) 0%, transparent 70%);
}

[data-theme="light"] .tier-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

[data-theme="light"] .tier-btn.active {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #0F172A;
}

[data-theme="light"] .accordion-header {
    background: rgba(241, 245, 249, 0.9);
}

[data-theme="light"] .accordion-header:hover {
    background: rgba(226, 232, 240, 1);
}

[data-theme="light"] .filter-tab {
    background: rgba(241, 245, 249, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

[data-theme="light"] .filter-tab:hover,
[data-theme="light"] .filter-tab.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--accent);
    color: var(--accent-dark);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link.active {
    color: var(--primary);
}

[data-theme="light"] .theme-toggle {
    color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--primary);
}

[data-theme="light"] .lang-toggle {
    color: var(--text-secondary);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .lang-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="light"] .search-box input {
    background: rgba(241, 245, 249, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

[data-theme="light"] .table th {
    background: rgba(241, 245, 249, 0.95);
    color: var(--text-primary);
}

[data-theme="light"] .table tr:hover td {
    background: rgba(241, 245, 249, 0.8);
}

[data-theme="light"] .text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .hero-stat-number {
    color: var(--primary);
}

[data-theme="light"] .section-label {
    color: var(--primary);
}

[data-theme="light"] .back-to-top {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .pagination a,
[data-theme="light"] .pagination span {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

[data-theme="light"] .pagination a:hover,
[data-theme="light"] .pagination .active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--accent);
    color: var(--accent-dark);
}

[data-theme="light"] .btn-outline {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 92, 153, 0.06);
}

[data-theme="light"] .btn-ghost {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

[data-theme="light"] .btn-ghost:hover {
    background: rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .nav-toggle span {
    background: var(--text-primary);
}

[data-theme="light"] .footer {
    border-top-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-heading {
    color: var(--text-primary);
}

[data-theme="light"] .footer-brand p {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-links li {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-links a {
    color: var(--text-muted);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--primary);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

[data-theme="light"] .footer-social a {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-muted);
}

[data-theme="light"] .footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

[data-theme="light"] .card-glass {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .card-glass:hover {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .badge-primary {
    background: rgba(30, 92, 153, 0.1);
    color: var(--primary);
    border-color: rgba(30, 92, 153, 0.2);
}

[data-theme="light"] .badge-accent {
    background: rgba(184, 150, 46, 0.12);
    color: var(--accent-dark);
    border-color: rgba(184, 150, 46, 0.25);
}

[data-theme="light"] .division-logo-wrap:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.14);
    color: var(--text-primary);
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
    color: var(--text-muted);
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.text-accent { color: var(--text-accent); }
.text-primary-color { color: var(--primary-light); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--bg-section-alt);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* === GRID === */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === FLEX UTILITIES === */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 10000;
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand img {
    height: 52px;
    width: auto;
}

.nav-brand span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu .mobile-actions {
    display: none;
}

.nav-link {
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--bg-glass);
}

.nav-link.active {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    color: var(--accent);
    background: var(--bg-glass);
}

/* Language Toggle */
.lang-toggle {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    /* Hide desktop Order button — it's in the mobile menu instead */
    .nav-actions .btn-accent {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        background: var(--bg-body);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        max-height: calc(100vh - var(--nav-height));
        gap: 0.25rem;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-link {
        padding: 0.85rem 1rem;
        font-size: 1.05rem;
        display: block;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: var(--radius-sm);
        border-bottom: 1px solid var(--border);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--accent);
        background: var(--bg-glass);
    }

    /* Mobile menu actions (order button) */
    .nav-menu .mobile-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding-top: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(30, 92, 153, 0.4);
    color: #fff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #0F172A;
    box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    color: #0F172A;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary-light);
    color: var(--primary-light);
    background: var(--bg-glass);
}

.btn-ghost {
    background: var(--bg-glass);
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-glass-hover);
}

.btn-success {
    background: var(--success);
    color: #fff;
    border: none;
}
.btn-success:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    border: none;
}
.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-warning {
    background: var(--warning);
    color: #0F172A;
    border: none;
}
.btn-warning:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-sm);
}

/* === CARDS === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Disable hover transform on form cards — prevents button click issues */
form .card:hover,
.order-step-content .card:hover {
    transform: none;
}

.card-glass {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition);
}

.card-glass:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-light);
}

.card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* === BADGE === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(30, 92, 153, 0.15);
    color: #458CCF;
    border: 1px solid rgba(30, 92, 153, 0.2);
}

.badge-accent {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-popular {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #0F172A;
    font-weight: 700;
}

.badge-confirmed,
.badge-completed,
.badge-paid {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-failed,
.badge-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #F05252;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-processing,
.badge-review {
    background: rgba(59, 130, 246, 0.15);
    color: #4A8BF7;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-new {
    background: rgba(139, 92, 246, 0.15);
    color: #9A70F7;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-expired {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(30, 92, 153, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* === PRICE TAG === */
.price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.price-amount {
    font-size: 1.75rem;
}

.price-currency {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

/* === TAGS / FILTER === */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 92, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === PAGE HEADER === */
.page-header {
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(30, 92, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === FOOTER === */
.footer {
    background: var(--bg-footer);
    padding: 4rem 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

.footer-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* === DIVISION COLORS === */
.division-situdev { --div-color: var(--color-situdev); }
.division-situcreative { --div-color: var(--color-situcreative); }
.division-situdigital { --div-color: var(--color-situdigital); }
.division-situserve { --div-color: var(--color-situserve); }

.division-card .card-icon {
    color: var(--div-color);
    background: rgba(var(--div-color), 0.1);
}

/* Division SVG Logos */
.division-logo-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--div-color, var(--border));
    background: var(--bg-glass);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.division-logo-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.division-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* === PACKAGE CARD === */
.package-card {
    position: relative;
    overflow: hidden;
}

.package-card .package-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.package-card .package-sector {
    margin-bottom: 0.5rem;
}

.package-card .package-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tier-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.25rem;
    margin: 0.75rem 0 0.5rem;
}

.tier-btn {
    flex: 1;
    padding: 0.4rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: calc(var(--radius-sm) - 2px);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.tier-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tier-btn.active {
    background: var(--accent);
    color: #0F172A;
    box-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
}

.package-card .package-price {
    margin: 1rem 0;
    padding: 0.75rem;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
}

.package-card .package-price .price-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-card .package-features {
    margin: 1rem 0;
}

.package-card .package-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.package-card .package-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* === TABLE === */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.85rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: var(--bg-glass);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: var(--bg-glass);
}

/* === ACCORDION / FAQ === */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-glass);
    transition: all var(--transition-fast);
}

.accordion-header:hover {
    background: var(--bg-glass-hover);
}

.accordion-header .icon {
    transition: transform var(--transition);
    font-size: 1.2rem;
    color: var(--text-muted);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
}

.accordion-content {
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === SEARCH BOX === */
.search-box {
    position: relative;
    max-width: 480px;
    margin: 0 auto 2rem;
}

.search-box input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 3rem;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(30, 92, 153, 0.15);
}

.search-box .search-icon {
    position: absolute;
    left: 1.15rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* === PAGINATION === */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination .active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.1);
}

/* === LOADING / SKELETON === */
.skeleton {
    background: linear-gradient(90deg, var(--bg-glass) 25%, var(--bg-glass-hover) 50%, var(--bg-glass) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    animation: revealFallback 0.6s ease 0.5s forwards;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}

/* Disable animation prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; animation: none; }
}

/* === UTILITIES === */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === WHATSAPP FLOAT BUTTON === */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 3rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .page-header {
        padding: calc(var(--nav-height) + 2rem) 0 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}
/* ============================================
   MOBILE RESPONSIVE — Priority HP (max 640px)
   ============================================ */

@media (max-width: 640px) {

    /* === TYPOGRAPHY === */
    h1 { font-size: 1.75rem !important; line-height: 1.3; }
    h2 { font-size: 1.4rem !important; }
    h3 { font-size: 1.15rem !important; }
    .hero h1 { font-size: 2rem !important; }

    /* === CONTAINER === */
    .container { padding: 0 1rem; }
    .section { padding: 2.5rem 0; }

    /* === HERO === */
    .hero { padding: 5rem 0 3rem; }
    .hero-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-actions .btn { width: 100%; text-align: center; }

    /* === GRID — semua jadi 1 kolom di HP === */
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr !important; }

    /* === PAKET DETAIL — sidebar turun ke bawah === */
    .paket-detail-grid,
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 3fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* === ORDER FORM — grid 2 kolom jadi 1 === */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 2fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    /* === PRICING TABLE — scroll horizontal === */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .table-wrapper table { min-width: 600px; }

    /* === FILTER TABS === */
    .filter-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .filter-tab {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    /* === CARD === */
    .card { padding: 1rem; }

    /* === PAKET CARD — tier buttons === */
    .flex.gap-2[style*="flex-wrap"] label {
        flex: 1 1 100% !important;
    }

    /* === STEP INDICATOR ORDER === */
    #stepIndicator {
        gap: 0.25rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    .order-step {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.2rem !important;
        min-width: 60px;
    }
    .order-step .step-num {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
        margin-right: 0.2rem !important;
    }

    /* === ADD-ON GRID di ORDER === */
    #addonGrid {
        grid-template-columns: 1fr !important;
    }

    /* === REVIEW SUMMARY di ORDER === */
    #reviewSummary [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* === PAYMENT METHOD BUTTONS === */
    .flex.gap-2 label[style*="flex: 1"] {
        flex: 1 1 100% !important;
    }

    /* === SECTION HEADER === */
    .section-header { padding: 0 0.5rem; }
    .section-header p { font-size: 0.9rem; }

    /* === BADGE === */
    .badge { font-size: 0.65rem; }

    /* === BTN FULL WIDTH di mobile === */
    .btn-block-mobile { width: 100%; }

    /* === FAQ accordion === */
    .accordion-header { font-size: 0.9rem; }

    /* === ABOUT / CONTACT PAGE === */
    [style*="grid-template-columns: 1fr 2fr"],
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    /* === PRICE DISPLAY === */
    .price-amount { font-size: 1.5rem !important; }

    /* === PAGINATION === */
    .pagination { flex-wrap: wrap; gap: 0.25rem; }

    /* === DIVISION CARDS === */
    .division-card { padding: 1.25rem; }

    /* === PACKAGE FEATURES LIST === */
    .package-features li { font-size: 0.875rem; }

    /* === FOOTER === */
    .footer-grid { gap: 1.5rem; }

    /* === PRODUK PAGE === */
    .product-card [style*="display: grid"] {
        display: flex !important;
        flex-direction: column !important;
    }

    /* === FIX: iOS auto-zoom pada input === */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="date"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* === FIX: Grid 3 kolom hardcoded inline === */
    [style*="grid-template-columns: 1fr 1fr 1fr"],
    [style*="grid-template-columns:1fr 1fr 1fr"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(3"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* === FIX: Grid 4 kolom hardcoded inline === */
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(4"] {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    /* === FIX: JS-generated grids di order review summary === */
    .review-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* === FIX: Pricing table - tambah scroll hint === */
    .table-wrapper {
        position: relative;
    }
    .table-wrapper::after {
        content: "← Geser untuk lihat semua →";
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--text-muted);
        padding: 0.5rem;
        border-top: 1px dashed var(--border);
        margin-top: 0.5rem;
    }

    /* === FIX: Hero actions - tombol full-width === */
    .hero-actions .btn,
    .section .btn-lg {
        min-width: 0;
        white-space: normal;
    }

    /* === FIX: Section header centered proper === */
    .section-header {
        padding: 0 0.5rem;
        text-align: center;
    }
    .section-header h2 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    .section-header p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    /* === FIX: Page header mobile === */
    .page-header {
        padding: calc(var(--nav-height) + 1.5rem) 0 1.5rem !important;
    }
    .page-header h1 {
        font-size: 1.75rem !important;
    }
    .page-header p {
        font-size: 0.95rem;
    }

    /* === FIX: Card padding lebih compact === */
    .card {
        padding: 1rem !important;
    }
    .card h3 {
        font-size: 1.05rem !important;
    }

    /* === FIX: Form label & input spacing === */
    .form-group {
        margin-bottom: 1rem;
    }
    .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem 0.85rem !important;
    }

    /* === FIX: Tier toggle di /paket lebih compact === */
    .tier-toggle {
        padding: 0.2rem;
    }
    .tier-btn {
        font-size: 0.7rem !important;
        padding: 0.45rem 0.4rem !important;
    }

    /* === FIX: Package CTA buttons === */
    .package-cta .btn {
        font-size: 0.85rem;
        padding: 0.65rem 0.75rem;
    }

    /* === FIX: Footer logo & spacing === */
    .footer-brand img {
        height: 40px !important;
    }
    .footer-heading {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .footer-links li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    .footer-bottom {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* === FIX: Timeline about.php === */
    .timeline-item {
        padding-left: 3rem !important;
    }
    .timeline-year {
        left: 0 !important;
        font-size: 0.8rem !important;
    }

    /* === FIX: Price display compact === */
    .package-price {
        padding: 0.75rem 0;
    }
    .price-amount {
        font-size: 1.4rem !important;
    }
    .price-label {
        font-size: 0.75rem;
    }

    /* === FIX: Filter search input anti auto-zoom === */
    .search-input,
    input.form-input[placeholder*="Cari"],
    input.form-input[placeholder*="Search"] {
        font-size: 16px !important;
    }

    /* === FIX: Order page step indicator responsif === */
    .order-step-text {
        display: none !important;
    }

    /* === FIX: WhatsApp float button lebih kecil === */
    .wa-float {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        bottom: 1rem !important;
        right: 1rem !important;
    }
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        bottom: 4.5rem !important;
        right: 1rem !important;
    }

    /* === FIX: Produk page card === */
    .product-card {
        padding: 1.25rem !important;
    }
    .product-card h2 {
        font-size: 1.35rem !important;
    }

    /* === FIX: Breadcrumb === */
    .breadcrumb {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    /* === FIX: Hero text max-width === */
    .hero h1 {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .hero p {
        font-size: 0.95rem !important;
        padding: 0 0.5rem;
    }

    /* === FIX: Badge lebih compact === */
    .badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem !important;
    }

    /* === FIX: Alert/notification === */
    .alert {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

}

/* Tablet — 641px s/d 1024px */
@media (min-width: 641px) and (max-width: 1024px) {

    .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
    .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }

    [style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
    }

    .hero h1 { font-size: 2.5rem; }
    .hero-stats { grid-template-columns: repeat(4, 1fr); }

}

/* ============================================
   MOBILE PALING KECIL — HP Small (<= 375px)
   ============================================ */
@media (max-width: 375px) {
    .container { padding: 0 0.75rem !important; }
    .hero h1 { font-size: 1.6rem !important; }
    .section-header h2 { font-size: 1.25rem !important; }
    h2 { font-size: 1.25rem !important; }
    .btn { font-size: 0.85rem; padding: 0.65rem 1rem; }
    .btn-lg { font-size: 0.95rem; padding: 0.8rem 1.25rem; }
    .price-amount { font-size: 1.25rem !important; }
    .hero-stat-number { font-size: 1.25rem !important; }
    .hero-stat-label { font-size: 0.7rem !important; }
    .nav-brand img { height: 36px !important; }
    .card { padding: 0.875rem !important; }
    .tier-btn { font-size: 0.65rem !important; padding: 0.4rem 0.3rem !important; }
}

/* ============================================
   LANDSCAPE MOBILE FIX
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: calc(var(--nav-height) + 1rem) 0 2rem !important;
    }
    .hero h1 { font-size: 1.5rem !important; margin-bottom: 0.5rem; }
    .hero-stats { margin-top: 1rem !important; }
}

/* Utility classes untuk grid responsive */
.responsive-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.responsive-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 768px) {
    .responsive-3col { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
    .responsive-2col,
    .responsive-3col {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .review-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
}

/* ── Blog Content (Markdown rendered) ──────────────────────────────────── */
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 {
    color: var(--text-primary);
    margin: 1.75rem 0 0.75rem;
    line-height: 1.4;
}
.blog-content h1 { font-size: 1.75rem; }
.blog-content h2 { font-size: 1.45rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.blog-content h3 { font-size: 1.2rem; }
.blog-content h4 { font-size: 1.05rem; }
.blog-content p  { margin: 0 0 1.1rem; }
.blog-content ul, .blog-content ol { padding-left: 1.5rem; margin: 0 0 1.1rem; }
.blog-content li { margin-bottom: 0.35rem; }
.blog-content a  { color: var(--primary-light, #60A5FA); text-decoration: underline; }
.blog-content a:hover { color: var(--accent); }
.blog-content blockquote {
    border-left: 4px solid var(--accent);
    margin: 1.25rem 0;
    padding: 0.75rem 1.25rem;
    background: rgba(212,175,55,0.06);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-secondary);
    font-style: italic;
}
.blog-content pre {
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.1rem 0;
    font-size: 0.875rem;
}
.blog-content code {
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.875em;
    font-family: 'Courier New', monospace;
}
.blog-content pre code {
    background: none;
    padding: 0;
    font-size: inherit;
}
.blog-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 1rem 0;
}
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.1rem 0;
    font-size: 0.9rem;
}
.blog-content th, .blog-content td {
    border: 1px solid var(--border);
    padding: 0.5rem 0.85rem;
    text-align: left;
}
.blog-content th {
    background: var(--bg-glass);
    font-weight: 600;
    color: var(--text-primary);
}
.blog-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.75rem 0;
}
.blog-content h2[id], .blog-content h3[id] {
    scroll-margin-top: 80px;
}
.blog-content .heading-anchor {
    opacity: 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75em;
    margin-right: 0.3rem;
    transition: opacity 0.15s;
}
.blog-content h2:hover .heading-anchor,
.blog-content h3:hover .heading-anchor {
    opacity: 1;
}

/* ============================================
   PENINGKATAN KETERBACAAN HP (ditambahkan)
   Menaikkan ukuran teks/tombol yang terlalu kecil di HP
   agar lebih nyaman dibaca & disentuh. Konservatif & aman.
============================================ */
@media (max-width: 640px) {
    .tier-btn { font-size: 0.76rem !important; }
    .order-step { font-size: 0.72rem !important; }
    .order-step .step-num { font-size: 0.72rem !important; }
    .hero-stat-label { font-size: 0.75rem !important; }
    .badge { font-size: 0.72rem !important; }
}
@media (max-width: 375px) {
    .tier-btn { font-size: 0.72rem !important; }
    .hero-stat-label { font-size: 0.72rem !important; }
}