/* ==========================================================================
   ELLPUBLICATION × PROFILE BEHAVIOR DESIGN SYSTEM (LIGHT THEME)
   Pristine, Elegant, High-End Light Aesthetic with Refined Typography & Spacing
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
    --bg-light: #f8fafc;
    --bg-canvas: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-subtle: #e2e8f0;
    --border-hover: #38bdf8;
    --accent-blue: #0284c7;
    --accent-cyan: #0ea5e9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base resets & typography */
html {
    scroll-behavior: smooth;
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

.font-space {
    font-family: var(--font-heading) !important;
}

/* Headings - refined weights & tracking */
h1, h2, h3, h4, .heading-space {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--text-main);
}

/* ==========================================================================
   PROFILE BEHAVIOR SIGNATURE PILL BADGES (ELEGANT LIGHT)
   ========================================================================== */

.pb-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    padding: 4px 13px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.15rem;
    letter-spacing: 0.03em;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 4px rgba(14, 165, 233, 0.06);
    transition: all 0.25s ease;
}

.pb-badge:hover {
    border-color: #0ea5e9;
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.12);
}

.pb-badge-text {
    font-family: var(--font-heading);
    background: linear-gradient(180deg, #0369a1 0%, #0284c7 60%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Status Dot with Pulse */
.pb-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: #0284c7;
    position: relative;
}

.pb-dot::after {
    content: '';
    position: absolute;
    inset: -2.5px;
    border-radius: 9999px;
    background-color: rgba(2, 132, 199, 0.25);
    animation: pbPulse 2s infinite;
}

@keyframes pbPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* ==========================================================================
   AMBIENT GLOW ORBS (LIGHT THEME)
   ========================================================================== */

.ambient-glow-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.ambient-hero-light {
    position: absolute;
    left: 50%;
    top: -140px;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle at 50% 30%, rgba(14, 165, 233, 0.08), rgba(2, 132, 199, 0.02) 50%, transparent 75%);
    filter: blur(60px);
    pointer-events: none;
}

.ambient-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.ambient-orb-blue {
    background: rgba(14, 165, 233, 0.06);
}

.ambient-orb-cyan {
    background: rgba(56, 189, 248, 0.08);
}

/* ==========================================================================
   CARDS & DOSSIERS (REFINED LIGHT THEME + BALANCED SHADOWS)
   ========================================================================== */

.pb-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 2px 4px -1px rgba(15, 23, 42, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.pb-card:hover {
    transform: translateY(-3px);
    border-color: #38bdf8;
    box-shadow: 0 14px 28px -6px rgba(14, 165, 233, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
}

.pb-card-glow {
    position: absolute;
    width: 240px;
    height: 160px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pb-card:hover .pb-card-glow {
    opacity: 1;
}

/* ==========================================================================
   PROFILE BEHAVIOR CIRCULAR ROTATING BADGE / STAMP
   ========================================================================== */

.circular-badge-container {
    width: 105px;
    height: 105px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.08);
}

.circular-badge-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: spinSlow 24s linear infinite;
    transform-origin: center center;
}

.circular-badge-container:hover .circular-badge-svg {
    animation-play-state: paused;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.circular-badge-center-icon {
    font-size: 1.25rem;
    color: #0284c7;
    z-index: 2;
    transition: transform 0.3s ease;
}

.circular-badge-container:hover .circular-badge-center-icon {
    transform: scale(1.1) rotate(15deg);
}

/* ==========================================================================
   INFINITE MARQUEE TICKER: RUNNING DARI KIRI KE KANAN (LEFT TO RIGHT)
   ========================================================================== */

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 1.5rem;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* RUNNING ANIMASI DARI KIRI KE KANAN */
.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-width: 100%;
    gap: 1.5rem;
    animation: scrollMarqueeL2R 30s linear infinite;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollMarqueeL2R {
    0% { transform: translateX(calc(-100% - 1.5rem)); }
    100% { transform: translateX(0); }
}

.indexer-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.indexer-pill:hover {
    background: #ffffff;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

/* ==========================================================================
   PROFILE BEHAVIOR BUTTONS (LIGHT THEME)
   ========================================================================== */

.pb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background-color: #0f172a;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pb-btn-primary:hover {
    background-color: #1e293b;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

.pb-btn-primary .arrow-icon {
    transition: transform 0.2s ease;
}

.pb-btn-primary:hover .arrow-icon {
    transform: translateX(3px);
}

.pb-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background-color: #ffffff;
    color: #1e293b;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.65rem 1.4rem;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.pb-btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #0284c7;
    color: #0284c7;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.pb-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.8125rem;
    color: #475569;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.pb-btn-ghost:hover {
    color: #0f172a;
    background: #f1f5f9;
}

/* ==========================================================================
   INTERACTIVE 5-PILLAR TAB SWITCHER
   ========================================================================== */

.pillar-tab-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.95rem 1.25rem;
    text-align: left;
    border-radius: 0.875rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
    cursor: pointer;
}

.pillar-tab-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pillar-tab-btn.active {
    background: #f0f9ff;
    border-color: #38bdf8;
    color: #0369a1;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.08);
}

.pillar-tab-btn .tab-badge {
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #64748b;
}

.pillar-tab-btn.active .tab-badge {
    background: #0284c7;
    color: #ffffff;
}

.pillar-tab-content {
    display: none;
    animation: fadeInTab 0.3s ease forwards;
}

.pillar-tab-content.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   NAVIGATION GLASSMORPHISM & SIZING (COMFORTABLE SPACING)
   ========================================================================== */

.pb-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
}

.nav-pill-link {
    padding: 0.4rem 0.9rem;
    font-size: 0.8125rem; /* 13px */
    font-weight: 500;
    color: #475569;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.nav-pill-link:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.nav-pill-link.active {
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    font-weight: 600;
}

/* ==========================================================================
   STAT COUNTER CARDS
   ========================================================================== */

.stat-glow-box {
    position: relative;
    padding: 1.5rem 1.25rem;
    border-radius: 1.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    transition: all 0.25s ease;
}

.stat-glow-box:hover {
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.1);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #0f172a;
}

/* ==========================================================================
   FEATURE GRID DISPLAY
   ========================================================================== */

.pb-feature-box {
    border-radius: 1.35rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    padding: 2.25rem 2rem;
    box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.pb-feature-box:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(14, 165, 233, 0.1);
}

/* ==========================================================================
   TESTIMONIAL SHOWCASE
   ========================================================================== */

.pb-testimonial-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px -5px rgba(15, 23, 42, 0.06);
}

.pb-testimonial-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.04), transparent 60%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.98) 100%);
    pointer-events: none;
}

/* ==========================================================================
   SEARCH & FILTER INPUTS
   ========================================================================== */

.pb-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    border-radius: 9999px;
    padding: 0.6rem 1.15rem;
    font-size: 0.8125rem;
    width: 100%;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.pb-input:focus {
    outline: none;
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.pb-input::placeholder {
    color: #94a3b8;
}

/* Category Filter Pill */
.category-filter-pill {
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    font-family: var(--font-heading);
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: all 0.2s ease;
}

.category-filter-pill:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.category-filter-pill.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
