/* ===================================
   Partner Portal Design System
   - Landing/Login: Dark (#0F172A) + Green (#03C75A)
   - App Dashboard: Light (#F8FAFC) + Purple (#5A20FF)
   =================================== */

/* ---- Reset & Base ---- */
* { scroll-behavior: smooth; }
body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.font-black-han { font-family: 'Black Han Sans', sans-serif; font-weight: normal; }

/* ---- Glassmorphism (Dark pages) ---- */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.glass-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.glass-card:hover {
    border-color: rgba(3, 199, 90, 0.5);
    box-shadow: 0 20px 40px -10px rgba(3, 199, 90, 0.2);
}
.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---- Text Gradients ---- */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-primary {
    background: linear-gradient(135deg, #4ade80 0%, #03C75A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Typing Cursor ---- */
.typing-cursor::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 0.8em;
    background-color: #39FF14;
    margin-left: 6px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ---- Step Line (How-to section) ---- */
.step-line::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(to bottom, #5A20FF, rgba(3, 199, 90, 0));
    z-index: 0;
}
.step-item:last-child .step-line::before { display: none; }

/* ---- Scrollbar ---- */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0F172A; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5A20FF; }

/* ---- Shimmer effect ---- */
@keyframes shimmer {
    100% { transform: translateX(100%) skewX(12deg); }
}

/* ---- Safe Area ---- */
.pb-safe-area { padding-bottom: env(safe-area-inset-bottom); }
