/* ========================================================
   NUSA STORE - LANDING PAGE PRO REDESIGN
   Professional Fintech Aesthetic
   ======================================================== */

/* ========== BACKGROUND PATTERN ========== */
body {
    background: 
        radial-gradient(ellipse at top, #ecfdf5 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, #e0f2fe 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
    background-attachment: fixed;
}

/* ========== HERO BADGE (Satu Platform...) ========== */
.badge, [class*="badge-hero"], .hero-badge {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(240,253,250,0.95), rgba(204,251,241,0.95)) !important;
    border: 1.5px solid #5eead4 !important;
    box-shadow: 
        0 4px 15px rgba(15, 118, 110, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

.badge::before, [class*="badge-hero"]::before, .hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* ========== JUDUL NUSA STORE ========== */
h1, [class*="title-main"], .brand-title {
    background: linear-gradient(135deg, #0d5e56 0%, #0f766e 40%, #14b8a6 70%, #0284c7 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    filter: drop-shadow(0 4px 12px rgba(15, 118, 110, 0.15));
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 4px 12px rgba(15, 118, 110, 0.15)); }
    50% { filter: drop-shadow(0 6px 20px rgba(15, 118, 110, 0.25)); }
}

/* ========== SUBTITLE ========== */
.subtitle, [class*="tagline"], p.lead {
    color: #475569 !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    letter-spacing: 0.1px;
}

/* ========== TAB MASUK / DAFTAR (SLIDING) ========== */
.tabs, [class*="tab-container"] {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2f1 100%) !important;
    border: 1px solid rgba(204, 251, 241, 0.8) !important;
    border-radius: 16px !important;
    padding: 5px !important;
    box-shadow: 
        inset 0 2px 4px rgba(15, 118, 110, 0.05),
        0 4px 12px rgba(15, 118, 110, 0.06) !important;
    position: relative;
}

.tab-btn, .tab, [class*="tab"] button {
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    padding: 12px 20px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

.tab-btn.active, .tab.active, [class*="tab"] button.active {
    background: linear-gradient(135deg, #0d5e56 0%, #0f766e 50%, #0d9488 100%) !important;
    color: #ffffff !important;
    box-shadow: 
        0 6px 20px rgba(15, 118, 110, 0.35),
        inset 0 1px 0 rgba(255,255,255,0.15) !important;
    transform: translateY(-1px) !important;
}

/* ========== FORM INPUT (MODERN) ========== */
.form-label, label {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    letter-spacing: -0.1px;
}

.form-control, input[type="text"], input[type="password"], input[type="tel"], input[type="email"] {
    border: 2px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 
        0 1px 3px rgba(15, 23, 42, 0.04),
        inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.form-control:focus, input:focus {
    border-color: #0f766e !important;
    background: #ffffff !important;
    box-shadow: 
        0 0 0 4px rgba(15, 118, 110, 0.12),
        0 4px 12px rgba(15, 118, 110, 0.1) !important;
    transform: translateY(-1px);
}

.form-control::placeholder, input::placeholder {
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* ========== BUTTON PRIMARY (PREMIUM) ========== */
.btn-primary, button[type="submit"], [class*="btn-submit"] {
    background: linear-gradient(135deg, #0d5e56 0%, #0f766e 50%, #0d9488 100%) !important;
    border-radius: 14px !important;
    padding: 16px 24px !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 
        0 8px 20px rgba(15, 118, 110, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.15) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
}

.btn-primary::before, button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover, button[type="submit"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 14px 32px rgba(15, 118, 110, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

.btn-primary:hover::before, button[type="submit"]:hover::before {
    left: 100%;
}

.btn-primary:active, button[type="submit"]:active {
    transform: translateY(-1px) scale(0.99) !important;
}

/* ========== BENEFIT CARDS (PREMIUM) ========== */
.benefit-card, [class*="benefit"], [class*="feature"] {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 20px !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 2px 6px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

.benefit-card::before, [class*="benefit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0f766e, #14b8a6, #0284c7);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

.benefit-card:hover, [class*="benefit"]:hover {
    transform: translateX(6px) translateY(-2px) !important;
    border-color: rgba(20, 184, 166, 0.4) !important;
    box-shadow: 
        0 12px 30px rgba(15, 118, 110, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.8) !important;
}

.benefit-card:hover::before, [class*="benefit"]:hover::before {
    transform: scaleY(1);
}

/* Icon dalam benefit */
.benefit-card i, [class*="benefit"] i {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-size: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-card:hover i, [class*="benefit"]:hover i {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 12px rgba(15, 118, 110, 0.3));
}

/* ========== SECTION TITLE ========== */
h2, h3, .section-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    position: relative;
}

/* ========== FOOTER ========== */
footer, [class*="copyright"], .footer {
    color: #94a3b8 !important;
    font-weight: 500 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.1px;
}

/* ========== PARALLAX FLOATING DECORATION ========== */
@keyframes floatDecor {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ========== ANIMASI STAGGER ========== */
@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.badge, [class*="badge-hero"] {
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.1s;
}

h1, [class*="title-main"] {
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.2s;
}

.subtitle, [class*="tagline"] {
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.3s;
}

.tabs, [class*="tab-container"] {
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.4s;
}

form {
    animation: slideInUp 0.6s ease-out backwards;
    animation-delay: 0.5s;
}

.benefit-card, [class*="benefit"] {
    animation: slideInUp 0.5s ease-out backwards;
}

.benefit-card:nth-child(1), [class*="benefit"]:nth-child(1) { animation-delay: 0.6s; }
.benefit-card:nth-child(2), [class*="benefit"]:nth-child(2) { animation-delay: 0.7s; }
.benefit-card:nth-child(3), [class*="benefit"]:nth-child(3) { animation-delay: 0.8s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    h1, [class*="title-main"] { 
        font-size: 2rem !important; 
        letter-spacing: -1px !important;
    }
    
    .form-control, input { 
        padding: 13px 16px !important; 
        font-size: 0.92rem !important;
    }
    
    .btn-primary, button[type="submit"] { 
        padding: 15px 20px !important; 
        font-size: 0.92rem !important;
    }
    
    .benefit-card, [class*="benefit"] { 
        padding: 16px !important; 
    }
}
