/* ============================================
   SOFT LIGHT THEME - Nyaman & Menarik
   Palet: Warm Off-White + Teal Fresh
   Base: #eef2f6 (soft cool white) bukan #fff
   ============================================ */

/* Scrollbar - Soft Light */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #e2e8f0; }
::-webkit-scrollbar-thumb { background: #14b8a6; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #0d9488; }

/* Body - Soft Light Base (bukan putih menyilaukan) */
body {
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.011em;
    background-color: #eef2f7; /* soft cool white, nyaman di mata */
    color: #334155;
}

/* ============================================
   METRO TILE - Light Surface dengan aksen lembut
   ============================================ */
.metro-tile {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    will-change: transform;
    background: linear-gradient(150deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(20, 184, 166, 0.18) !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.metro-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 184, 166, 0.45) !important;
    box-shadow: 0 12px 28px -10px rgba(20, 184, 166, 0.25);
}

/* ============================================
   DARK TILE - Kontras menarik (aksen gelap teal)
   Bukan hitam pekat, tapi deep teal-slate
   ============================================ */
.dark-tile {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(150deg, #1e3a3a 0%, #134e4a 100%);
    position: relative;
    will-change: transform;
    border-color: rgba(45, 212, 191, 0.2) !important;
    box-shadow: 0 10px 30px -12px rgba(19, 78, 74, 0.4);
}
.dark-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(45, 212, 191, 0.5) !important;
    box-shadow: 0 16px 40px -12px rgba(19, 78, 74, 0.55);
}

/* ============================================
   TOMBOL
   ============================================ */
.metro-btn {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.metro-btn:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 22px -8px rgba(20, 184, 166, 0.45);
}
.metro-btn:active { transform: translateY(0); }

/* ============================================
   ICON BOX
   ============================================ */
.icon-box {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.metro-tile:hover .icon-box,
.dark-tile:hover .icon-box {
    transform: scale(1.08);
}

/* ============================================
   ANIMASI
   ============================================ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeSlideUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.animate-float { animation: floatSoft 6s ease-in-out infinite; }

/* ============================================
   RANGE SLIDER - Soft Light
   ============================================ */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: linear-gradient(90deg, #14b8a6 0%, #14b8a6 var(--val, 20%), #cbd5e1 var(--val, 20%), #cbd5e1 100%);
    outline: none;
    border-radius: 8px;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #14b8a6;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(20, 184, 166, 0.35);
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.18);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid #14b8a6;
    box-shadow: 0 2px 6px rgba(20, 184, 166, 0.35);
}

/* ============================================
   FOCUS STATE - Lembut tapi jelas
   ============================================ */
input:focus, select:focus, button:focus-visible {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   BADGE
   ============================================ */
.metro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

/* ============================================
   TENOR BUTTON - Soft Light
   ============================================ */
.tenor-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}
.tenor-btn:hover {
    transform: translateY(-2px);
    border-color: #14b8a6;
    color: #0f766e;
    background: #f0fdfa;
    box-shadow: 0 6px 16px -6px rgba(20, 184, 166, 0.3);
}

/* ============================================
   NAV LINK
   ============================================ */
.nav-link {
    position: relative;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover::after { width: 100%; }

/* ============================================
   SOCIAL BUTTON - Soft Light
   ============================================ */
.social-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}
.social-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #14b8a6, #10b981);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px -8px rgba(20, 184, 166, 0.5);
}

/* ============================================
   SELECT & INPUT - Soft Light
   ============================================ */
select, input[type="text"], input[type="email"],
input[type="tel"], input[type="password"] {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
}
select:focus, input:focus {
    border-color: #14b8a6 !important;
    background-color: #ffffff !important;
}
select option {
    background-color: #ffffff;
    color: #334155;
}

/* ============================================
   TEXT SELECTION
   ============================================ */
::selection {
    background: rgba(20, 184, 166, 0.25);
    color: #0f172a;
}

/* ============================================
   SCROLLBAR FIREFOX
   ============================================ */
* {
    scrollbar-width: thin;
    scrollbar-color: #14b8a6 #e2e8f0;
}

/* ============================================
   SMOOTH TRANSITION GLOBAL
   ============================================ */
a, button {
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}