:root {
    --primary-color: #10b981; /* Emerald 500 */
    --primary-dark: #047857; /* Emerald 700 */
    --primary-light: #d1fae5; /* Emerald 100 */
    --accent-color: #f59e0b; /* Amber 500 */
    
    --text-heading: #0f172a; /* Slate 900 */
    --text-dark: #0f172a; /* Slate 900 */
    --text-body: #475569; /* Slate 600 */
    --text-muted: #94a3b8; /* Slate 400 */
    
    --bg-page: #ffffff;
    --bg-surface: #f8fafc;
    
    --border-color: #e2e8f0;
}

.dark-theme {
    --text-heading: #ffffff;
    --text-body: #94a3b8; /* Slate 400 */
    --text-muted: #64748b; /* Slate 500 */
    --bg-page: #0B1120; /* Sangat gelap, slate/navy */
    --bg-surface: #1e293b;
    --border-color: rgba(255, 255, 255, 0.1);
    
    background-color: var(--bg-page);
    color: var(--text-body);
}

.dark-theme .btn-primary {
    background: var(--primary-color);
    color: #0B1120;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.dark-theme .btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--text-body);
    min-height: 100vh;
    position: relative;
}

/* --- DECORATIVE BACKGROUND --- */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: floatShape 15s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(16,185,129,0.3) 0%, rgba(209,250,229,0) 100%);
}

.shape-2 {
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(245,158,11,0.2) 0%, rgba(253,230,138,0) 100%);
    animation-delay: -5s;
}

.bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(15,23,42,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15,23,42,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 50px) scale(1.1); }
}

/* --- NAVBAR --- */
.navbar {
    width: 100%;
    background: transparent;
    z-index: 1000;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar .logo-text,
.navbar .nav-links a,
.navbar .btn-text {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

/* Default: tampilkan logo teks-hitam; varian teks-putih disembunyikan (di-swap saat navbar-dark, desktop) */
.site-logo-dark { display: none; }

@media (min-width: 1101px) {
    /* Bar-nya sendiri transparan; yang terlihat adalah kapsul di dalamnya */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 0.9rem 4%;
        background: transparent;
        border-bottom: none;
    }

    .navbar-container {
        max-width: 1180px;
        padding: 0.5rem 0.6rem 0.5rem 1.5rem;
        border-radius: 100px;
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 1px solid rgba(15, 23, 42, 0.07);
        box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
        transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    padding 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Menyusut sedikit setelah digulir */
    .navbar.navbar-scrolled .navbar-container {
        max-width: 1080px;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
        box-shadow: 0 10px 34px rgba(15, 23, 42, 0.12);
    }

    /* Scrolled Dark Navbar state over dark-theme sections */
    .navbar.navbar-dark .navbar-container {
        background: rgba(15, 23, 42, 0.78);
        border-color: rgba(255, 255, 255, 0.09);
        box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
    }

    .navbar.navbar-dark .logo-text {
        color: #ffffff;
    }

    /* Logo swap (desktop): teks putih saat navbar di atas section gelap */
    .navbar.navbar-dark .site-logo-light { display: none; }
    .navbar.navbar-dark .site-logo-dark { display: block; }
    
    .navbar.navbar-dark .nav-links a {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .navbar.navbar-dark .nav-links a:hover,
    .navbar.navbar-dark .nav-links a.active {
        color: var(--primary-color) !important;
        background-color: rgba(16, 185, 129, 0.14);
    }
    
    .navbar.navbar-dark .btn-text {
        color: var(--primary-color);
        border-color: rgba(16, 185, 129, 0.4);
    }
    
    .navbar.navbar-dark .btn-text:hover {
        color: #0b1120;
        background: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    body {
        padding-top: 96px;
    }
}

.navbar-container {
    display: flex;
    align-items: center;
    padding: 1.25rem 4%;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.logo-icon svg {
    width: 125%;
    height: 125%;
    color: #000000;
    position: absolute;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.1rem, 0.6vw, 0.5rem);
    margin-left: clamp(1rem, 2.5vw, 2.25rem);
    min-width: 0;
}

.nav-links a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 0.5rem 0.85rem;
    border-radius: 100px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(16, 185, 129, 0.08);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto; /* Mendorong tombol mentok ke ujung kanan */
    padding-left: 1.5rem;
    flex-shrink: 0;
}

.btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 0.55rem 1.2rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.02);
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: #ffffff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
}

.btn-signup {
    background: var(--primary-color);
    color: #ffffff !important;
    border: 1px solid var(--primary-color);
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.btn-signup:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.btn-signup-mobile {
    display: none;
}

.btn-primary {
    background: var(--text-dark);
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 5% 8rem;
    min-height: calc(100vh - 80px);
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16,185,129,0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: pulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* Varian warna badge & dot: green (emerald, default) dan gold (amber) */
.badge-pill.green-glow {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.badge-pill.gold-glow {
    background: #fef3c7; /* Amber 100 */
    color: #b45309; /* Amber 700 */
    border-color: rgba(245, 158, 11, 0.25);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
}

.pulse-dot.green,
.pulse-dot.green::after {
    background-color: var(--primary-color);
}

.pulse-dot.gold,
.pulse-dot.gold::after {
    background-color: var(--accent-color);
}

.hero-content h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary.large, .btn-secondary.large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-size: 1.05rem;
    border-radius: 8px;
}

.btn-secondary.large {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-secondary.large:hover {
    border-color: var(--text-muted);
    background: var(--bg-surface);
}

.trusted-by p {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trusted-logos {
    display: flex;
    gap: 2rem;
    opacity: 0.6;
    filter: grayscale(100%);
}

.t-logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* --- HERO VISUAL & MOCKUP --- */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    animation: fadeLeft 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.dashboard-mockup {
    width: 100%;
    max-width: 580px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15), 
                0 0 0 1px rgba(15,23,42,0.05);
    transform: rotateY(-8deg) rotateX(4deg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.mockup-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mockup-controls {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.mockup-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mockup-title {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chart-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.chart-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
}

.mockup-chart {
    height: 120px;
    width: 100%;
}

.line-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-chart path:first-child {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

.mockup-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(15,23,42,0.02);
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.emerald { background: var(--primary-light); color: var(--primary-dark); }
.stat-icon.gold { background: #fef3c7; color: #b45309; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px rgba(15,23,42,0.1);
    z-index: 3;
    animation: float 4s ease-in-out infinite alternate;
}

.fb-1 { top: -20px; right: -20px; animation-delay: 0s; }
.fb-2 { bottom: -20px; left: -20px; animation-delay: -2s; }

.fb-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.fb-icon.warn { background: var(--accent-color); }

.fb-text {
    display: flex;
    flex-direction: column;
}

.fb-text strong { font-size: 0.85rem; color: var(--text-dark); }
.fb-text span { font-size: 0.75rem; color: var(--text-muted); }

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

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

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

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .hero-section { gap: 2rem; }
}

/* Mobile Menu Toggle Button styling */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        padding-top: 3rem;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons { justify-content: center; }
    .hero-visual { justify-content: center; width: 100%; }
    .dashboard-mockup { transform: none; }
    .floating-badge { display: none; }
}

/* Navbar beralih ke menu hamburger lebih awal supaya menu tidak pernah berdesakan */
@media (max-width: 1100px) {
    /* Hamburger Show */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Make container static to let absolute child align with full-width .navbar */
    .navbar-container {
        position: static;
    }
    
    .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100vw;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 0 1.5rem;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        z-index: 999;
        margin-left: 0 !important;
    }

    .nav-links a {
        position: relative;
        color: rgba(255, 255, 255, 0.82) !important;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        padding: 1rem 8%;
        font-size: 1.05rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
    }

    .nav-links a:hover {
        color: var(--primary-color) !important;
        background-color: rgba(16, 185, 129, 0.06);
        padding-left: calc(8% + 0.4rem);
    }

    .nav-links a.active {
        color: var(--primary-color) !important;
        background-color: rgba(16, 185, 129, 0.06);
    }

    /* Left accent bar for the active link */
    .nav-links a.active::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 1.5rem;
        border-radius: 0 3px 3px 0;
        background: var(--primary-color);
    }

    .nav-links a::after {
        display: none; /* Hide desktop underline */
    }

    /* Show links when mobile-active with a staggered fade-in */
    @keyframes slideDownMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

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

    .mobile-active .nav-links {
        display: flex !important;
        animation: slideDownMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .mobile-active .nav-links > a {
        opacity: 0;
        animation: fadeInMenuItem 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .mobile-active .nav-links > a:nth-child(1) { animation-delay: 0.05s; }
    .mobile-active .nav-links > a:nth-child(2) { animation-delay: 0.10s; }
    .mobile-active .nav-links > a:nth-child(3) { animation-delay: 0.15s; }
    .mobile-active .nav-links > a:nth-child(4) { animation-delay: 0.20s; }
    .mobile-active .nav-links > a:nth-child(5) { animation-delay: 0.25s; }
    .mobile-active .nav-links > a:nth-child(6) { animation-delay: 0.30s; }
    .mobile-active .nav-links > a:nth-child(7) { animation-delay: 0.35s; }
    .mobile-active .nav-links > a:nth-child(8) { animation-delay: 0.40s; }
    
    .nav-actions {
        margin-left: auto;
        margin-right: 1.5rem;
    }
    
    .nav-actions .btn-signup {
        display: none; /* Hide desktop signup button on mobile to save topbar space */
    }

    .nav-links a.btn-signup-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        width: auto;
        box-sizing: border-box;
        text-align: center;
        background: var(--primary-color);
        color: #ffffff !important;
        padding: 0.95rem 1.25rem;
        border-radius: 100px;
        font-weight: 700;
        font-size: 1rem;
        margin: 1.5rem 8% 0.25rem;
        border-bottom: none;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
        transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .nav-links a.btn-signup-mobile:hover {
        color: #ffffff !important;
        background: var(--primary-dark);
        background-color: var(--primary-dark);
        padding-left: 1.25rem;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
    }

    .nav-links a.btn-signup-mobile::before {
        display: none; /* No active accent bar on the CTA */
    }

    .nav-links a.btn-signup-mobile::after {
        content: "";
        display: block;
        position: static;
        width: 1.05rem;
        height: 1.05rem;
        flex-shrink: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.2s ease;
    }

    .nav-links a.btn-signup-mobile:hover::after {
        transform: translateX(3px);
    }
    
    /* Hamburger animation when active */
    .mobile-active .mobile-menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }
    .mobile-active .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .mobile-active .mobile-menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }
}

/* --- Additional mobile responsive elements for overflow --- */
@media (max-width: 768px) {
    .trusted-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* --- SECTION HEADER --- */
.section-header {
    margin-bottom: 4rem;
}
.section-header.center {
    text-align: center;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-heading);
}
.section-header p {
    font-size: 1.1rem;
    color: var(--text-body);
    max-width: 600px;
}
.section-header.center p {
    margin: 0 auto;
}

/* --- THE OPERATIONAL JOURNEY / TIMELINE --- */
.operational-journey-theme {
    background-color: var(--bg-page);
    color: var(--text-body);
    position: relative;
    overflow: hidden;
}

.journey-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.timeline-container {
    position: relative;
    margin-top: 6rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    border-radius: 100px;
    transition: height 0.1s ease-out;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.timeline-item.left {
    left: 0;
    padding-right: 4rem;
    align-items: flex-end;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 4rem;
    align-items: flex-start;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 2.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 4px solid var(--bg-page);
    box-shadow: 0 0 12px var(--accent-color);
    z-index: 10;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
    background: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 480px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
}

.timeline-item.left .timeline-content:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.1);
}

.step-number {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.timeline-item.right .step-number {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* --- BLUEPRINT VISUALS --- */
.blueprint-visual {
    background: rgba(15, 23, 42, 0.8);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-top: 1.5rem;
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.blueprint-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
}

/* Blueprint: Palm Field Grid */
.palm-field .grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}

.palm-field .cell {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.palm-field .cell span {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.palm-field .cell small {
    font-size: 0.7rem;
    color: var(--text-body);
}

.palm-field .cell.active {
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1);
}

.palm-field .cell.active span {
    color: var(--primary-color);
}

.palm-field .cell.alert {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.palm-field .cell.alert span {
    color: #ef4444;
}

/* Blueprint: Weighbridge */
.weighbridge .weight-display {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 0.75rem;
}

.weighbridge .weight-display .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-body);
    margin-bottom: 0.25rem;
}

.weighbridge .weight-display .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    letter-spacing: 1px;
}

.weighbridge .weight-display.sub {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    margin-bottom: 0;
}

.weighbridge .text-gold {
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    font-weight: 700;
}

/* Blueprint: Mill Gauge */
.mill-gauge {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.gauge-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-ring-circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.5));
}

.gauge-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-inner .gauge-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.1rem;
}

.gauge-inner .gauge-title {
    font-size: 0.65rem;
    color: var(--text-body);
    white-space: nowrap;
}

/* Blueprint: Dispatch */
.dispatch .dispatch-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

.dispatch .badge-status {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    text-shadow: 0 0 5px rgba(16,185,129,0.3);
}

/* --- SECURITY SECTION REDESIGN --- */
.security-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5%;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.security-content {
    flex: 1;
    max-width: 600px;
}

.security-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-heading);
}

.security-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    color: var(--text-body);
}

.security-list {
    list-style: none;
}

.security-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-heading);
}

.security-list li svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.security-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Blueprint Database Visualizer */
.blueprint-db-visual {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    max-width: 400px;
    font-family: 'Courier New', Courier, monospace;
}

.bp-layer {
    background: rgba(15, 23, 42, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.bp-layer.active {
    border: 2px solid var(--primary-color);
    background: rgba(16, 185, 129, 0.03);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.bp-layer.active .bp-label {
    color: var(--primary-color);
    font-weight: 700;
}

.bp-label {
    color: var(--text-body);
    font-size: 0.9rem;
}

.bp-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-body);
}

.bp-layer.active .bp-status {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
}

/* --- PRICING SECTION & CALCULATOR --- */
.pricing-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.pricing-card.interactive-card {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.05);
    width: 100%;
    max-width: 550px;
    overflow: hidden;
}

.pricing-header {
    background: rgba(16, 185, 129, 0.08);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    padding: 3rem 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
    color: var(--text-heading);
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.price .unit {
    font-size: 1.1rem;
    color: var(--text-body);
}

.pricing-body {
    padding: 3rem 2.5rem;
}

/* Calculator Widget */
.pricing-calculator {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
}

.calc-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 1rem;
}

.range-wrapper {
    margin-bottom: 1.75rem;
}

/* Range input styling */
.premium-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin-bottom: 0.75rem;
}

.premium-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-color);
    transition: transform 0.1s;
}

.premium-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-body);
    font-family: monospace;
}

.calc-output {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.calc-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-metric .c-lbl {
    font-size: 0.85rem;
    color: var(--text-body);
}

.calc-metric strong {
    font-size: 1.1rem;
    color: var(--text-heading);
}

.calc-metric.highlight {
    background: rgba(16, 185, 129, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.calc-metric.highlight .c-lbl {
    color: var(--primary-color);
    font-weight: 700;
}

.calc-metric.highlight strong {
    font-size: 1.4rem;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.unlimited-users {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    align-items: flex-start;
}

.unlimited-users .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.u-text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.u-text span {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.4;
}

.w-full {
    width: 100%;
    display: block;
}

.center-text {
    text-align: center;
    justify-content: center;
}

/* Utility spacing (skala 1 = 0.25rem) */
.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* --- FOOTER REDESIGN --- */
.site-footer {
    background: #060913;
    color: var(--text-body);
    padding: 6rem 5% 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-heading);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-body);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-heading);
}

/* --- ADDED VALUE / ROI SECTION --- */
.roi-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.roi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.roi-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.roi-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.05);
}

.roi-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.roi-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.roi-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
}

.roi-card strong {
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(245, 158, 11, 0.3);
}

/* --- FULL FEATURE GRID SECTION --- */
.features-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.25rem;
    transition: transform 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.05);
}

.feature-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.feature-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.feature-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
}

.feature-tag.amber {
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
}

.feature-tag.blue {
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
}

.feature-tag.purple {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-body);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.feature-list.amber li::before {
    background-color: rgba(245, 158, 11, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.feature-list.blue li::before {
    background-color: rgba(14, 165, 233, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.feature-list.purple li::before {
    background-color: rgba(168, 85, 247, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* --- MARKETPLACE SECTION --- */
.marketplace-preview-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.market-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
    transition: transform 0.3s, border-color 0.3s;
}

.market-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08);
}

.market-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.market-tag.physical {
    color: var(--accent-color);
    background: rgba(245, 158, 11, 0.1);
}

.market-tag.services {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.market-tag.fsp {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.market-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-heading);
}

.market-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.market-visual-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
    font-family: monospace;
    font-size: 0.75rem;
}

.market-visual-mini span, .market-visual-mini .mini-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: var(--text-body);
}

.market-visual-mini .mini-tag.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.3);
}

/* --- IMPLEMENTATION SECTION --- */
.implementation-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.roadmap-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.step-card {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.08);
}

.step-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.step-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-body);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 992px) {
    .security-section {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .journey-section, .roi-section, .marketplace-preview-section, .implementation-section, .pricing-section {
        padding: 5rem 5%;
    }

    .timeline-line {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-content {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Force show primary button in dark theme pricing */
.operational-journey-theme .btn-primary,
.dark-theme .pricing-card .btn-primary,
.dark-theme .btn-primary {
    background-color: #10b981 !important;
    background: #10b981 !important;
    color: #0B1120 !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.operational-journey-theme .btn-primary:hover,
.dark-theme .pricing-card .btn-primary:hover,
.dark-theme .btn-primary:hover {
    background-color: #047857 !important;
    background: #047857 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}

/* --- PREMIUM INTERACTIVE & VISUAL EFFECT POLISH --- */
html {
    scroll-behavior: smooth;
}

.nav-links a {
    position: relative;
}

.nav-links a.active {
    color: var(--primary-color) !important;
    background-color: rgba(16, 185, 129, 0.12);
}

/* Ambient Floating Mesh Orbs */
.dark-orb {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    background: var(--primary-color);
    top: 5%;
    left: -150px;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-2 {
    background: var(--accent-color);
    top: 45%;
    right: -150px;
    animation: floatOrb 30s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    background: #0284c7;
    bottom: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    animation: floatOrb 20s infinite alternate ease-in-out;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 100px) scale(1.15); }
}

/* Micro-animations on Blueprint Hover */
/* Step 1 Sensus Pulse */
@keyframes pulseCell {
    0% { box-shadow: inset 0 0 5px rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.3); }
    100% { box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.4); border-color: var(--primary-color); }
}
.timeline-item:hover .palm-field .cell.active {
    animation: pulseCell 1.2s infinite alternate ease-in-out;
}

/* Step 2 LED Digits Roll simulation */
@keyframes rollLED {
    0%, 100% { text-shadow: 0 0 8px rgba(16, 185, 129, 0.5); }
    50% { opacity: 0.75; text-shadow: 0 0 16px rgba(16, 185, 129, 0.9); }
}
.timeline-item:hover .weighbridge .value {
    animation: rollLED 0.8s infinite ease-in-out;
}

/* Step 3 Progress Ring stroke fill */
.progress-ring-circle {
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    stroke-dashoffset: 200; /* partially filled by default */
}

.timeline-item:hover .progress-ring-circle {
    stroke-dashoffset: 67; /* fully filled to target value on hover */
}

/* --- MOBILE VIEW RESPONSIVE REFINEMENTS (MAX-WIDTH 480PX) --- */
@media (max-width: 480px) {
    /* 1. Kebun Blueprint: Stacking Grid to prevent text cutting off */
    .palm-field .grid-layout {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .palm-field .cell {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        text-align: left;
    }
    .palm-field .cell span {
        margin-bottom: 0;
        font-size: 0.85rem;
    }
    .palm-field .cell small {
        font-size: 0.75rem;
    }

    /* 2. Weighbridge Blueprint: Font size adjustments and vertical alignment */
    .weighbridge .weight-display .value {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
    }
    .weighbridge .weight-display.sub {
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        padding: 0.5rem 0;
    }
    .weighbridge .weight-display.sub .label {
        font-size: 0.75rem;
        margin: 0;
    }

    /* 3. Dispatch Blueprint: Stacking Contract details and status badge */
    .dispatch .dispatch-status {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        align-items: center;
        padding: 1rem 0.5rem;
    }
    .dispatch .dispatch-status span {
        font-size: 0.8rem;
    }
    .dispatch .badge-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    /* 4. Calculator Output: Stacking labels and outputs to prevent clipping */
    .calc-metric {
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
        text-align: center;
        padding: 0.5rem;
    }
    .calc-metric.highlight {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }
    .calc-metric.highlight strong {
        font-size: 1.45rem;
    }
}

/* --- INTERACTIVE DEMO SIMULATOR MODAL --- */
.demo-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
}

.demo-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.demo-modal-content {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    width: 100%;
    max-width: 950px;
    height: 550px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.demo-modal-overlay.show .demo-modal-content {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.demo-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.demo-modal-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    height: 100%;
}

.demo-sidebar {
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
}

.demo-sidebar::-webkit-scrollbar {
    width: 6px;
}
.demo-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.demo-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.demo-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.25px;
}

.demo-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
}

.demo-tab:hover {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.85);
}

.demo-tab.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
}

.demo-tab .tab-icon {
    font-size: 1.2rem;
}

.demo-viewscreen {
    background: rgba(15, 23, 42, 0.2);
    padding: 2.5rem;
    overflow-y: auto;
    position: relative;
}

.demo-viewscreen::-webkit-scrollbar {
    width: 8px;
}
.demo-viewscreen::-webkit-scrollbar-track {
    background: transparent;
}
.demo-viewscreen::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.demo-viewscreen::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.demo-tab-content {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    animation: fadeInTab 0.3s ease-out;
}

.demo-tab-content.active {
    display: flex;
    justify-content: center; /* center the screenshot/carousel in the full panel */
}

/* Pin the title at the top so it doesn't offset the media's vertical centering */
.demo-tab-content .mock-header {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
    z-index: 3;
    margin-bottom: 0;
}

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

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.mock-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.mock-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mock-badge.live {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.mock-badge.offline {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.mock-badge.locked {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.mock-badge.success {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mock-stat-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mock-stat-card small {
    font-size: 0.7rem;
    color: var(--text-body);
}

.mock-stat-card strong {
    font-size: 1.15rem;
    color: var(--text-heading);
}

.mock-chart-container {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mock-chart-label {
    font-size: 0.75rem;
    color: var(--text-body);
    font-weight: 700;
}

.mock-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 40px;
}

.bar-col span {
    font-size: 0.65rem;
    color: var(--text-body);
}

.bar-val {
    width: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px 100px 0 0;
    transition: height 0.5s;
    position: relative;
}

.bar-val::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-color);
    border-radius: 100px 100px 0 0;
    opacity: 0.4;
}

.bar-val.active::after {
    background: var(--accent-color);
    opacity: 1;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* Mock Tables */
.mock-table-container {
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
}

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

.mock-table th, .mock-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mock-table th {
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-heading);
    font-weight: 700;
}

.mock-table td {
    color: var(--text-body);
}

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

/* --- RESPONSIVE MODAL --- */
@media (max-width: 900px) {
    .demo-modal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: 100%;
        overflow: hidden;
    }

    .demo-modal-content {
        height: 90vh;
        max-height: 600px;
        border-radius: 20px;
    }

    .demo-sidebar {
        padding: 1.25rem;
        flex-direction: row;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 0.5rem;
    }

    .sidebar-header {
        display: none;
    }

    .demo-tab {
        white-space: nowrap;
        width: auto;
        padding: 0.6rem 0.85rem;
    }

    .demo-viewscreen {
        padding: 1.5rem;
    }

    .mock-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .mock-chart {
        height: 80px;
    }
}

.demo-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: block;
}

/* --- SUB TABS (IN CONTENT AREA) --- */
.sub-tab-bar {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}
.sub-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
}
.sub-tab:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.sub-tab.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--primary-color);
}
.sub-tab-content {
    display: none;
    animation: fadeInSubTab 0.3s ease-out;
}
.sub-tab-content.active {
    display: block;
}
@keyframes fadeInSubTab {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* --- SCREENSHOT CAROUSEL (multi-image tabs) --- */
.demo-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.carousel-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-track .demo-screenshot {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.carousel-track .demo-screenshot:hover {
    transform: none;
    box-shadow: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 17, 32, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: background 0.2s ease, opacity 0.2s ease;
}

.carousel-btn:hover {
    background: var(--primary-color);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 100px;
    background: rgba(11, 17, 32, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots .dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--primary-color);
}

@media (max-width: 600px) {
    .carousel-btn { width: 34px; height: 34px; font-size: 1.2rem; }
    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
}

/* --- SIMULATOR FILTER BAR (STOCK CARD) --- */
.simulator-filter-bar {
    display: flex;
    gap: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.filter-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}
.sim-select {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}
.sim-select:focus {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.text-green {
    color: #10b981 !important;
}
.text-red {
    color: #ef4444 !important;
}
.mt-3 {
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .simulator-filter-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
    .filter-group {
        justify-content: space-between;
        width: 100%;
    }
}/* --- IMAGE LIGHTBOX (ZOOM EFFECT) --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}
.lightbox-overlay.show {
    display: flex;
    opacity: 1;
}
.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-overlay.show .lightbox-image {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}
.lightbox-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}
.demo-screenshot {
    cursor: zoom-in;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-screenshot:hover {
    transform: scale(1.015);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

/* --- STANDALONE DASHBOARD SHOWCASE SECTION --- */
.visualization-showcase-section {
    padding: 6rem 2rem 4rem 2rem;
    position: relative;
    z-index: 2;
}

.dashboard-preview-card {
    max-width: 1140px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16, 185, 129, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-preview-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(16, 185, 129, 0.15);
}

.dashboard-preview-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* --- CANOPIA MOBILE / FIELD APP SECTION --- */
.mobile-section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.mobile-showcase {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

/* Kolom kiri: daftar keunggulan */
.mobile-copy {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.m-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.m-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
.m-icon.amber   { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.25); }
.m-icon.blue    { background: rgba(14, 165, 233, 0.12); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.25); }
.m-icon.purple  { background: rgba(168, 85, 247, 0.12); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }

.m-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.m-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-body);
}

.m-text p strong { color: #cbd5e1; font-weight: 700; }
.m-text p em { font-style: italic; color: #cbd5e1; }

/* Kolom kanan: perangkat */
.mobile-device-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
}

.device-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.16;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 620px;
    border-radius: 44px;
    padding: 10px;
    background: linear-gradient(160deg, #334155 0%, #0f172a 55%, #020617 100%);
    box-shadow: 0 45px 80px -20px rgba(0, 0, 0, 0.75),
                0 0 0 1px rgba(255, 255, 255, 0.09),
                inset 0 1px 1px rgba(255, 255, 255, 0.15);
    animation: float 6s ease-in-out infinite alternate;
    z-index: 2;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #f1f5f9;
}

.phone-view {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-view img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    cursor: zoom-in;
}

.phone-view.active {
    opacity: 1;
    visibility: visible;
    transform: none;
}

/* --- Badge melayang di sekitar perangkat --- */
.mobile-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
    z-index: 5;
    animation: float 5s ease-in-out infinite alternate;
}

.mobile-badge .fb-text strong { color: #ffffff; font-size: 0.8rem; }
.mobile-badge .fb-text span { color: var(--text-muted); font-size: 0.7rem; }

.mb-sync { top: 14%; left: -80px; animation-delay: -1s; }
.mb-offline { bottom: 22%; right: -84px; animation-delay: -3s; }

/* --- Kontrol carousel layar --- */
.pc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-family: inherit;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-body);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: color 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.pc-arrow:hover {
    color: #0b1120;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.pc-arrow.prev { left: -68px; }
.pc-arrow.next { right: -68px; }

.phone-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 5;
}

.pc-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.pc-dot:hover { background: rgba(255, 255, 255, 0.35); }

.pc-dot.active {
    width: 24px;
    background: var(--primary-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* --- Chip daftar modul --- */
.mobile-modules {
    margin-top: 6rem;
    text-align: center;
}

.mm-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.mm-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.mm-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.6rem 1.1rem;
    border-radius: 100px;
    transition: transform 0.25s, color 0.25s, border-color 0.25s;
}

.mm-chip:hover { transform: translateY(-3px); }

.mm-chip.c-emerald:hover { color: #10b981; border-color: rgba(16, 185, 129, 0.45); }
.mm-chip.c-blue:hover    { color: #3b82f6; border-color: rgba(59, 130, 246, 0.45); }
.mm-chip.c-teal:hover    { color: #14b8a6; border-color: rgba(20, 184, 166, 0.45); }
.mm-chip.c-orange:hover  { color: #f97316; border-color: rgba(249, 115, 22, 0.45); }
.mm-chip.c-red:hover     { color: #ef4444; border-color: rgba(239, 68, 68, 0.45); }
.mm-chip.c-amber:hover   { color: #f59e0b; border-color: rgba(245, 158, 11, 0.45); }

/* --- Responsive: Canopia Mobile --- */
@media (max-width: 992px) {
    .mobile-showcase {
        grid-template-columns: 1fr;
        gap: 4rem;
        justify-items: center;
    }

    .mobile-device-wrap { order: -1; }
    .mobile-copy { max-width: 620px; }
    .mb-sync { left: -48px; }
    .mb-offline { right: -48px; }
    .pc-arrow.prev { left: -56px; }
    .pc-arrow.next { right: -56px; }
}

@media (max-width: 768px) {
    .mobile-section { padding: 5rem 5%; }
    .mobile-modules { margin-top: 4rem; }
}

@media (max-width: 560px) {
    .mobile-badge { display: none; }

    .phone-frame {
        animation: none;
        transform: scale(0.86);
        transform-origin: top center;
        margin-bottom: -88px;
    }

    .m-feature { gap: 1rem; }
    .m-icon { width: 42px; height: 42px; border-radius: 12px; }
    .pc-arrow { width: 36px; height: 36px; font-size: 1.25rem; }
    .pc-arrow.prev { left: -6px; }
    .pc-arrow.next { right: -6px; }
    .mm-chip { font-size: 0.78rem; padding: 0.5rem 0.9rem; }
}
