@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    --ocean-abyss:   #020c1b;
    --ocean-deep:    #0a1929;
    --ocean-dark:    #0d2137;
    --ocean-mid:     #0077b6;
    --ocean-light:   #00b4d8;
    --ocean-glow:    #48cae4;
    --ocean-foam:    #caf0f8;
    --ocean-surface: #90e0ef;
    --accent-orange: #f77f00;
    --accent-amber:  #fcbf49;
    --text-primary:  #e8f4fd;
    --text-secondary:#a8d5ea;
    --text-dark:     #1a2a3a;
    --glass-bg:      rgba(255, 255, 255, 0.06);
    --glass-border:  rgba(255, 255, 255, 0.12);
    --card-shadow:   0 25px 50px rgba(0, 0, 0, 0.35);
    --glow-sm:       0 0 20px rgba(0, 180, 216, 0.3);
    --glow-md:       0 0 40px rgba(0, 180, 216, 0.4);
    --radius-lg:     20px;
    --radius-xl:     32px;
    --transition:    all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--ocean-abyss);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ─── ANIMATED BACKGROUND ───────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0,119,182,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0,180,216,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(0,60,100,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ─── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ocean-abyss); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--ocean-mid), var(--ocean-glow));
    border-radius: 10px;
}

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
    background: rgba(2, 12, 27, 0.7) !important;
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(2, 12, 27, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.navbar-brand {
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.navbar-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}
.navbar-logo:hover {
    transform: scale(1.06);
}
.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-left: 4px;
}
.footer-brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-left: 8px;
}
.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--ocean-light), var(--ocean-glow));
    border-radius: 2px;
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-link:hover {
    color: #ffffff !important;
    background: var(--glass-bg);
}
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }
.nav-link.active { color: var(--ocean-foam) !important; }

.navbar-toggler {
    border: 1px solid var(--glass-border) !important;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    color: white !important;
}
.navbar-toggler:focus { box-shadow: var(--glow-sm); }

/* Mobile navbar open */
.navbar-collapse.show {
    background: rgba(2, 12, 27, 0.97);
    border-radius: 0 0 16px 16px;
    padding: 1rem;
    margin-top: 0.5rem;
}

/* ─── HERO SECTION ──────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 100px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('gambar/bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease;
    z-index: 0;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 12, 27, 0.90) 0%,
        rgba(13, 33, 55, 0.80) 50%,
        rgba(0, 119, 182, 0.50) 100%
    );
}
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,180,216,0.6) 0%, transparent 70%);
    animation: float-particle linear infinite;
    opacity: 0;
}

@keyframes float-particle {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* Instansi label */
.instansi-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--accent-amber);
    margin-bottom: 14px;
    opacity: 0.9;
}
.instansi-label i {
    font-size: 0.85rem;
    color: var(--accent-amber);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,180,216,0.15);
    border: 1px solid rgba(0,180,216,0.3);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ocean-glow);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--ocean-glow);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
    box-shadow: 0 0 8px var(--ocean-glow);
}
@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: #ffffff;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-glow), var(--ocean-foam));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-narrative {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.85;
    color: rgba(200, 230, 245, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary-ocean {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 32px;
    border-radius: 100px;
    border: none;
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 0.3px;
    box-shadow: 0 8px 25px rgba(0,119,182,0.45);
    cursor: pointer;
}
.btn-primary-ocean:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,119,182,0.6);
    color: #ffffff;
    text-decoration: none;
}

.btn-ghost-ocean {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--ocean-foam);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    border: 1px solid rgba(202, 240, 248, 0.35);
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}
.btn-ghost-ocean:hover {
    background: var(--glass-bg);
    border-color: var(--ocean-foam);
    color: #ffffff;
    transform: translateY(-3px);
    text-decoration: none;
}

/* Stats bar */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
}
.stat-item { text-align: left; }
.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ocean-glow);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    opacity: 0.7;
}
.scroll-indicator span {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(202, 240, 248, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--ocean-glow);
    border-radius: 2px;
    animation: scroll-down 1.8s ease infinite;
}
@keyframes scroll-down {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ─── SECTION LAYOUT ────────────────────────────────────── */
.equipment-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    z-index: 1;
}
.equipment-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Alternating background */
.equipment-section:nth-of-type(odd) {
    background-color: var(--ocean-abyss);
}
.equipment-section:nth-of-type(even) {
    background-color: var(--ocean-deep);
}

/* Decorative divider */
.section-divider {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}
.section-divider.top { top: 0; }
.section-divider.bottom { bottom: 0; transform: rotate(180deg); }
.section-divider svg { display: block; width: 100%; }

.equipment-section .container { position: relative; z-index: 2; }

/* Decorative glow blob */
.equipment-section .bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}

/* ─── SECTION HEADER ────────────────────────────────────── */
.equipment-number {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ocean-light);
    background: rgba(0,180,216,0.1);
    border: 1px solid rgba(0,180,216,0.25);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.section-title .subtitle-text {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0;
    margin-top: 8px;
}

.section-description {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(180, 215, 235, 0.8);
    margin-bottom: 0;
    max-width: 520px;
}

/* ─── GUIDE BOX ─────────────────────────────────────────── */
.guide-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--ocean-light);
    padding: 28px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin-top: 28px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.guide-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,180,216,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.guide-box h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ocean-foam);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.guide-box h5 .guide-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: var(--glow-sm);
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: steps;
}
.guide-list li {
    counter-increment: steps;
    padding: 12px 0 12px 56px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(200, 225, 240, 0.85);
    position: relative;
    transition: color 0.3s;
}
.guide-list li:last-child { border-bottom: none; padding-bottom: 0; }
.guide-list li:first-child { padding-top: 0; }
.guide-list li::before {
    counter-increment: none;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, rgba(0,119,182,0.4), rgba(0,180,216,0.4));
    border: 1px solid rgba(0,180,216,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--ocean-glow);
    flex-shrink: 0;
    transition: var(--transition);
}
.guide-list li:hover::before {
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    box-shadow: var(--glow-sm);
    color: #fff;
}
.guide-list li:hover { color: #fff; }

/* ─── IMAGE CARD ────────────────────────────────────────── */
.img-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.img-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(0,180,216,0.4), rgba(0,119,182,0.1), transparent 60%);
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
}
.img-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,20,40,0.6) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}
.equipment-img {
    width: 100%;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 4/3;
    object-fit: cover;
}
.img-card:hover .equipment-img {
    transform: scale(1.07);
}

/* Image badge */
.img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(2, 12, 27, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 10px 16px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
}
.img-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s infinite;
}
.img-badge span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ocean-foam);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── VIDEO TUTORIAL BOX ───────────────────────────────────── */
.video-tutorial-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--ocean-glow);
    padding: 28px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin-top: 24px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.video-tutorial-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(72,202,228,0.05) 0%, transparent 60%);
    pointer-events: none;
}
.video-tutorial-box h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ocean-foam);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.video-tutorial-box h5 .guide-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-glow));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
    box-shadow: var(--glow-sm);
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(72, 202, 228, 0.2);
    transition: var(--transition);
}
.video-wrapper:hover {
    border-color: rgba(72, 202, 228, 0.4);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 180, 216, 0.15);
}
.video-wrapper video {
    width: 100%;
    display: block;
    background: #000;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.from-left {
    transform: translateX(-50px);
}
.reveal.from-right {
    transform: translateX(50px);
}
.reveal.visible {
    opacity: 1;
    transform: translate(0);
}

/* ─── FOOTER ────────────────────────────────────────────── */
footer {
    background: var(--ocean-dark);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
footer::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(0,180,216,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.footer-inner { position: relative; z-index: 1; text-align: center; }

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}
.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.footer-logo-img:hover {
    transform: scale(1.07);
    filter: drop-shadow(0 4px 14px rgba(0,180,216,0.4));
}
.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.footer-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 32px 0;
}
.footer-copy {
    font-size: 0.82rem;
    color: rgba(168, 213, 234, 0.5);
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 992px) {
    .equipment-section { padding: 80px 0; }
    .hero-stats { gap: 24px; }
}
@media (max-width: 768px) {
    .hero-title { letter-spacing: -0.5px; }
    .hero-stats { gap: 20px; }
    .stat-number { font-size: 1.8rem; }
    .hero-cta-group { flex-direction: column; align-items: flex-start; }
    .section-description { max-width: 100%; }
    .equipment-section { padding: 70px 0; }
    .guide-list li { padding-left: 48px; }
}
@media (max-width: 576px) {
    .hero-section { padding: 140px 0 80px; }
    .hero-stats { flex-direction: row; justify-content: space-between; }
}
