/* ===============================================
   ROOT COLORS + BOOTSTRAP OVERRIDE
=============================================== */
:root {
    --linear-gradient: linear-gradient(135deg, #6fb1ff 0%, #4f6df5 45%, #7b3ff2 70%, #c218f5 100%);
    --bg-light: #f4f7ff;
    --bg-soft: #eef2ff;
    --bg-card: rgba(255,255,255,0.75);
    --glass-border: rgba(111,177,255,0.18);
    --glass-shadow: 0 10px 40px rgba(79,109,245,0.12);
    --primary-color: #d9f99d;
    --primary-hover: #c4ef73;
    --primary-dark: #a3d65c;
    --accent-color: #c46b3f;
    --accent-light: #e89b5e;
    --bg-dark: #000000;
    --bg-dark-soft: #0a0a0a;
    --text-light: #ffffff;
    --text-dark: #000000;
    --text-muted: #9ca3af;
    --shadow-primary: rgba(217, 249, 157, 0.4);
    --bs-primary: #d9f99d;
    --bs-primary-rgb: 217, 249, 157;
    --bs-success: #d9f99d;
    --bs-success-rgb: 217, 249, 157;
    --bs-link-color: #d9f99d;
    --bs-link-hover-color: #c4ef73;
    --bs-body-bg: #000000;
    --bs-body-color: #ffffff;
}

/* ===============================================
   RESET & GLOBAL
=============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
}

/* ===============================================
   ECOSYSTEM EVENT SECTION - FULL SCREEN
=============================================== */
.ecosystem-event-section {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.ecosystem-event-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(111,177,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(123,63,242,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.ecosystem-event-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Tags Row */
.ecosystem-tags-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 60px;
}

.ecosystem-tags-row .btn-ecosyn {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ecosystem-tags-row .btn-ecosyn:hover {
    background: rgba(217,249,157,0.15);
    border-color: rgba(217,249,157,0.4);
    color: #d9f99d;
    transform: translateY(-2px);
}

/* Left Content */
.ecosystem-left-content {
    padding-right: 30px;
}

.ecosyn-pulse-badge {
    font-size: 13px;
    letter-spacing: 3px;
    color: #d9f99d;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.ecosyn-pulse-badge i {
    color: #d9f99d;
    font-size: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.ecosystem-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 24px 0;
    letter-spacing: -1px;
}

.ecosystem-title .highlight-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 5px 0;
}

.ecosystem-title .text-primary {
    background: var(--linear-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecosystem-description {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin-top: 20px;
}

/* Right Side - Cards */
.ecosystem-slider-wrap {
    width: 100%;
}

.ecosystem-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Cards */
.ecosystem-card {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    padding: 28px 24px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ecosystem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217,249,157,0.4);
    background: rgba(255,255,255,0.07);
}

.ecosystem-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 18px;
}

.ecosystem-icon i {
    font-size: 26px;
    background: linear-gradient(135deg, #6fb1ff, #7b3ff2, #c218f5);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ecosystem-card h5 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.ecosystem-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.55;
    margin: 0;
}

/* ===============================================
   FORCE FIX - ENTER THE SPACE BUTTON & MODAL
=============================================== */
#heroBtn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: linear-gradient(135deg, #6fb1ff, #7b3ff2, #c218f5) !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 99999 !important;
    position: relative !important;
}

#heroBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(123,63,242,0.4) !important;
}

.custom-modal {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.65) !important;
    backdrop-filter: blur(6px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.35s ease !important;
    z-index: 99999 !important;
}

.custom-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.custom-modal-content {
    background: #ffffff !important;
    color: #111 !important;
    width: 360px !important;
    max-width: 90% !important;
    padding: 32px 28px !important;
    border-radius: 20px !important;
    text-align: center !important;
    position: relative !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25) !important;
    transform: scale(0.85) translateY(20px) !important;
    transition: all 0.35s ease !important;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1) translateY(0) !important;
}

.close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 18px !important;
    font-size: 22px !important;
    color: #999 !important;
    cursor: pointer !important;
    transition: 0.2s !important;
    z-index: 10 !important;
}

.close-btn:hover {
    color: #000 !important;
}

/* ===============================================
   NAVBAR - FIXED & SCROLL FOLLOW
=============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: all 0.35s ease;
    padding: 10px 32px; /* pindahkan padding ke sini */
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    margin-left: -70px; /* tarik lebih ke kiri jika perlu */
    margin-bottom: 40px;
} 

.nav-right {
    margin-bottom: 20px;
    padding-right: 10px; /* pindahkan padding ke kanan saja */
    display: flex;
    align-items: flex-start;
    align-self: flex-start;
}


.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-logo {
    height: 50px;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 42px;
}

.btn-ecosyn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-ecosyn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===============================================
   HERO SECTION
=============================================== */
.hero-section {
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=1170&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 140px 0 100px;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: -31px;
    left: 0;
    width: 100%;
    height: 105%;
    background: linear-gradient(353deg, rgba(0, 0, 0, 1), transparent);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(345deg, black, rgba(0, 0, 0, 0.1), transparent, transparent);
}

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.highlight-box {
    display: inline-block;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(10px);
    padding: 4px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.35);
    vertical-align: middle;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
}

.text-primary {
    background: var(--linear-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-info {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.hero-info .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-info .info-item i {
    font-size: 24px;
    background: linear-gradient(135deg, #6fb1ff, #4f6df5, #7b3ff2, #c218f5);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info .info-item span {
    font-size: 18px;
    color: #ffffff;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #ccc;
    max-width: 600px;
}

.hero-partner img {
    height: 60px;
    width: auto;
}

/* ===============================================
   ANIMATED STAIRCASE PATTERNS
=============================================== */
.staircase-up, .staircase-down, .staircase-up-black {
    position: relative;
    width: 100%;
    height: 110px;
    overflow: hidden;
}

.staircase-up { background: var(--bg-dark); }
.staircase-down { background: var(--bg-light); }
.staircase-up-black { background: #faf6f0; }

.staircase-up .step-layer, 
.staircase-down .step-layer, 
.staircase-up-black .step-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.staircase-up .step-layer {
    background: linear-gradient(135deg, #000000 0%, #000000 8%, #1a1a1a 8%, #1a1a1a 16%, #2a2a2a 16%, #2a2a2a 24%, #3a3a3a 24%, #3a3a3a 32%, #4a4a4a 32%, #4a4a4a 40%, #5a5a5a 40%, #5a5a5a 48%, #e8e8e8 48%, #e8e8e8 56%, #f0f0f0 56%, #f0f0f0 64%, #f8f8f8 64%, #f8f8f8 72%, #ffffff 72%, #ffffff 100%);
    transform: translateX(-100%);
}

.staircase-down .step-layer {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 10%, #f5f0ea 10%, #f5f0ea 20%, #faf6f0 20%, #faf6f0 100%);
    transform: translateX(100%);
}

.staircase-up-black .step-layer {
    background: linear-gradient(135deg, #faf6f0 0%, #faf6f0 10%, #e8e0d5 10%, #e8e0d5 20%, #d0c8b8 20%, #d0c8b8 30%, #2a2a2a 30%, #2a2a2a 40%, #1a1a1a 40%, #1a1a1a 50%, #0a0a0a 50%, #0a0a0a 60%, #000000 60%, #000000 100%);
    transform: translateX(-100%);
}

.staircase-up.animate .step-layer,
.staircase-up-black.animate .step-layer { 
    transform: translateX(0); 
}

.staircase-down.animate .step-layer { 
    transform: translateX(0); 
}

.staircase-up.reverse .step-layer,
.staircase-up-black.reverse .step-layer { 
    transform: translateX(100%); 
}

.staircase-down.reverse .step-layer { 
    transform: translateX(-100%); 
}

/* ===============================================
   EVENT SECTION
=============================================== */
.event-section {
    padding: 90px 0;
    background: #f7f8fa;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.event-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 38px 28px;
    text-align: center;
    transition: all .35s ease;
    border: 1px solid #ececec;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: #d9f99d;
}

.logo-wrap {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    background: #fafafa;
    border-radius: 20px;
    padding: 20px;
}

.logo-wrap img {
    max-width: 170px;
    max-height: 75px;
    object-fit: contain;
    transition: 0.3s ease;
}

.event-card:hover .logo-wrap img { 
    transform: scale(1.05); 
}

.card-content h3 { 
    color: #111; 
    font-size: 22px; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

.card-content p { 
    color: #7a7a7a; 
    font-size: 15px; 
    margin: 0; 
    line-height: 1.6; 
}

/* ===============================================
   FOOTER - KIRI KANAN POJOK with SPACE-BETWEEN
=============================================== */
.site-footer {
    background: linear-gradient(135deg, #07090f, #0b0e17);
    padding: 60px 80px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
    box-sizing: border-box;
}

/* LEFT SIDE - TEPI KIRI */
.footer-left {
    flex-shrink: 0;
    text-align: left;
}

.footer-left img {
    max-width: 180px;
    height: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 320px;
}

/* RIGHT SIDE - TEPI KANAN */
.footer-right {
    flex-shrink: 0;
    text-align: right;
    margin-left: auto;
}

.contact-title {
    font-size: 16px;
    font-weight: 700;
    color: #c4ef73;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links a i {
    color: #c4ef73;
    font-size: 14px;
    width: 18px;
}

.social-links a:hover {
    transform: translateX(-4px);
    background: rgba(196, 239, 115, 0.1);
    border-color: rgba(196, 239, 115, 0.3);
    color: #ffffff;
}

/* ===============================================
   FOOTER BOTTOM
=============================================== */
.footer-bottom {
    text-align: center;
    padding: 20px 80px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    background: #07090f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===============================================
   UTILITIES
=============================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary-color);
    z-index: 1001;
    transition: width 0.1s;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ===============================================
   RESPONSIVE
=============================================== */
@media (max-width: 1200px) {
    .ecosystem-title {
        font-size: 48px;
    }
}

@media (max-width: 992px) {
    .ecosystem-left-content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .ecosystem-slider-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .ecosystem-tags-row {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .ecosystem-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .ecosystem-slider {
        gap: 20px;
    }
    
    .ecosystem-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .navbar.scrolled {
        padding: 12px 20px;
    }
    
    .btn-ecosyn-glass {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 2rem !important;
        white-space: normal !important;
    }
    
    .hero-section {
        padding: 100px 0 60px !important;
        background-attachment: scroll !important;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-info .info-item i {
        font-size: 20px;
    }
    
    .hero-info .info-item span {
        font-size: 16px;
    }
    
    .staircase-up, 
    .staircase-down, 
    .staircase-up-black {
        height: 60px;
    }
    
    .ecosystem-event-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .ecosystem-event-section .container {
        padding: 0 24px;
    }
    
    .ecosystem-slider {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ecosystem-title {
        font-size: 32px;
        text-align: center;
    }
    
    .ecosystem-card {
        padding: 20px 18px;
        text-align: center;
    }
    
    .ecosystem-icon {
        margin: 0 auto 16px;
    }
    
    .event-section {
        padding: 70px 0;
    }
    
    .event-grid {
        gap: 20px;
    }
    
    .event-card {
        padding: 28px 22px;
        border-radius: 22px;
    }
    
    /* FOOTER RESPONSIVE - STACK VERTICAL */
    .site-footer {
        padding: 40px 24px 30px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-left {
        text-align: center;
        width: 100%;
    }
    
    .footer-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-right {
        text-align: center;
        width: 100%;
        margin-left: 0;
    }
    
    .contact-title {
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }
    
    .social-links a {
        justify-content: center;
    }
    
    .social-links a:hover {
        transform: translateX(0);
    }
    
    .footer-bottom {
        padding: 15px 24px;
    }
}

@media (max-width: 550px) {
    .ecosystem-slider {
        gap: 14px;
    }
    
    .ecosystem-card {
        padding: 16px 14px;
        border-radius: 20px;
    }
    
    .ecosystem-icon {
        width: 48px;
        height: 48px;
    }
    
    .ecosystem-icon i {
        font-size: 22px;
    }
    
    .ecosystem-card h5 {
        font-size: 16px;
    }
    
    .ecosystem-card p {
        font-size: 12px;
    }
    
    .ecosystem-tags-row .btn-ecosyn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .site-footer {
        padding: 30px 16px 20px;
    }
    
    .footer-left img {
        max-width: 140px;
    }
    
    .footer-tagline {
        font-size: 12px;
    }
    
    .contact-title {
        font-size: 14px;
    }
    
    .social-links a {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .footer-bottom {
        padding: 12px 16px;
        font-size: 11px;
    }
}