

/* =============================================
   RUNNING TEXT
   ============================================= */
.running-text-bar {
    background: linear-gradient(90deg, var(--navy) 0%, #1E40AF 100%);
    color: white; padding: 0.5rem 0;
    overflow: hidden;
}
.running-text-inner {
    max-width: 1280px; margin: 0 auto;
    padding: 0 1.5rem;
    display: flex; align-items: center; gap: 1rem;
}
.running-text-inner > i { color: var(--orange); font-size: 0.875rem; flex-shrink: 0; }
.marquee-wrapper { flex: 1; overflow: hidden; position: relative; }
.marquee-wrapper::before, .marquee-wrapper::after {
    content: ''; position: absolute; top: 0; z-index: 1; height: 100%; width: 40px;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, #1E3A5F, transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, #1E40AF, transparent); }
.marquee-track {
    display: flex; align-items: center;
    animation: marquee 30s linear infinite;
    white-space: nowrap; width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-link:hover { text-decoration: underline !important; color: #FFFFFF !important; }
.marquee-item {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0 2.5rem; font-size: 0.8rem; font-weight: 500;
    color: rgba(255,255,255,0.9);
}
.marquee-item .marquee-dot { color: var(--orange); font-size: 0.5rem; }
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   HERO SLIDER
   ============================================= */
.hero-slider {
    position: relative; width: 100%; overflow: hidden;
    background: #0F172A;
    max-height: 520px;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.slide {
    min-width: 100%; position: relative; cursor: pointer;
    text-decoration: none; display: block;
}
.slide img {
    width: 100%; height: 520px; object-fit: cover;
    display: block; transition: transform 0.6s ease;
}
.slide:hover img { transform: scale(1.02); }
.slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.65) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.5rem;
}
.slide-caption {
    color: white;
    transform: translateY(10px); opacity: 0;
    transition: all 0.5s ease 0.3s;
}
.slide.active .slide-caption { transform: translateY(0); opacity: 1; }
.slide-caption h2 { font-size: 1.75rem; font-weight: 700; color: white; margin-bottom: 0.5rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.slide-caption p { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 600px; }

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3);
    color: white; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem;
    transition: all 0.3s ease; z-index: 10;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
}
.hero-slider:hover .slider-btn { opacity: 1; visibility: visible; }
.slider-btn:hover { background: rgba(255,255,255,0.35); border-color: white; transform: translateY(-50%) scale(1.1); }
.slider-btn-prev { left: 1.5rem; }
.slider-btn-next { right: 1.5rem; }

/* Slider Dots */
.slider-dots {
    position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.5rem; z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: all 0.3s; border: none;
}
.slider-dot.active { background: white; width: 24px; border-radius: 4px; }

/* =============================================
   HERO CONTENT
   ============================================= */
.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #1E293B 100%);
    color: white; position: relative; overflow: hidden;
    padding: 5rem 1.5rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero > * { position: relative; z-index: 1; }
.hero { display: flex; max-width: 100%; }
.hero > .hero-content, .hero > .hero-visual { max-width: 1280px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero { max-width: none; padding: 5rem 1.5rem; }
/* Override: use max-width inner */
.hero {
    display: block;
    padding: 0;
}
.hero > .hero-content, .hero > .hero-visual {
    padding: 5rem 1.5rem;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    background: none;
    color: white;
    position: relative;
}
/* Wrap in outer div instead */
header.hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #1E293B 100%);
    padding: 0;
    position: relative; overflow: hidden;
}
header.hero::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-content, .hero-visual {
    position: relative; z-index: 1;
}
.hero-content {
    padding: 5rem 3rem 5rem 1.5rem;
    max-width: 100%;
}
.hero-visual {
    padding: 4rem 1.5rem 4rem 0;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(249,115,22,0.15); border: 1px solid rgba(249,115,22,0.3);
    color: #FB923C; padding: 0.35rem 0.875rem;
    border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
header.hero h1 {
    font-size: 3rem; line-height: 1.15; margin-bottom: 1.25rem;
    color: white; font-weight: 800; letter-spacing: -1px;
}
.highlight { color: #60A5FA; }
header.hero > .hero-content > p {
    font-size: 1.05rem; color: rgba(255,255,255,0.75);
    margin-bottom: 2rem; max-width: 480px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-outline-white {
    background: transparent; border: 2px solid rgba(255,255,255,0.3);
    color: white; border-radius: var(--radius-md);
    padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
    transition: all 0.2s;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero-trust {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.hero-trust span {
    display: flex; align-items: center; gap: 0.4rem;
    color: rgba(255,255,255,0.55); font-size: 0.8rem;
}
.hero-trust i { color: #60A5FA; }

/* Dashboard Mockup */
.dashboard-mockup {
    background: white; border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5); width: 100%; max-width: 440px;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
}
.mockup-topbar {
    background: #F1F5F9; padding: 0.6rem 1rem;
    display: flex; align-items: center; gap: 0.75rem;
    border-bottom: 1px solid #E2E8F0;
}
.dots { display: flex; gap: 0.35rem; }
.dot-red { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.dot-yellow { width: 10px; height: 10px; border-radius: 50%; background: #FEBC2E; }
.dot-green { width: 10px; height: 10px; border-radius: 50%; background: #28C840; }
.mockup-url { font-size: 0.75rem; color: #94A3B8; flex: 1; text-align: center; background: white; border-radius: 20px; padding: 0.2rem 0.75rem; }
.mockup-body { display: flex; height: 260px; }
.mockup-sidebar {
    width: 56px; background: #1E293B; padding: 0.75rem 0.5rem;
    display: flex; flex-direction: column; gap: 0.4rem;
}
.mock-menu {
    height: 8px; border-radius: 4px; background: rgba(255,255,255,0.15);
}
.mock-menu.active { background: #3B82F6; }
.mockup-content { flex: 1; padding: 1rem; background: #F8FAFC; display: flex; flex-direction: column; gap: 0.75rem; }
.mockup-stats { display: flex; gap: 0.5rem; }
.mock-stat { flex: 1; height: 52px; border-radius: 6px; animation: pulse 2s infinite; }
.mock-stat.blue { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); }
.mock-stat.orange { background: linear-gradient(135deg, #F97316 0%, #EA580C 100%); animation-delay: 0.3s; }
.mock-stat.green { background: linear-gradient(135deg, #10B981 0%, #059669 100%); animation-delay: 0.6s; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; flex: 1; }
.mockup-box { background: white; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* Floating Badges */
.hero-visual { position: relative; }
.float-badge {
    position: absolute; background: white; border-radius: 30px;
    padding: 0.6rem 1.1rem; font-size: 0.78rem; font-weight: 600; color: var(--navy);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex; align-items: center; gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}
.float-badge i { color: var(--green, #10B981); }
.float-badge-1 { top: 8%; right: -10%; animation-delay: 0s; }
.float-badge-2 { bottom: 15%; right: -8%; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* =============================================
   STATS
   ============================================= */
.stats {
    background: linear-gradient(135deg, #0A1628 0%, #0F2444 40%, #1a2f5e 70%, #0A1628 100%);
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 60% 80% at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(99,102,241,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.stat-container {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: relative; z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(147,197,253,0.3), transparent);
}
.stat-icon-wrap {
    width: 60px; height: 60px; border-radius: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #93C5FD;
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(37,99,235,0.2);
}
.stat-item:hover .stat-icon-wrap {
    background: rgba(37,99,235,0.3);
    border-color: rgba(147,197,253,0.5);
    box-shadow: 0 8px 30px rgba(37,99,235,0.4);
    color: #BFDBFE;
}
.stat-item h3 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -2px;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #BFDBFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-item p {
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 3.5rem 1.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.bg-subtle { background: #F1F5F9; }

.section-header { text-align: center; margin-bottom: 2rem; }
.section-badge {
    display: inline-block; background: #EFF6FF; color: var(--blue);
    font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; padding: 0.3rem 0.875rem; border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}
.section-header h2 { font-size: 2.25rem; color: var(--navy); margin-bottom: 0.75rem; font-weight: 800; }
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 480px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Guru Grid */
.guru-grid { max-width: 1280px; margin: 0 auto; }
.guru-card {
    background: white; border-radius: var(--radius-lg);
    padding: 2rem 1.5rem; text-align: center;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    transition: all 0.3s; display: flex; flex-direction: column; align-items: center;
}
.guru-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue); }
.guru-avatar {
    width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
    border: 3px solid #EFF6FF; margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
}
.guru-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.guru-card .guru-role { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.guru-card .guru-school { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.guru-card .guru-count { font-size: 0.8rem; color: var(--blue); font-weight: 600; margin-bottom: 1.25rem; }

/* Karya Grid */
.karya-grid { max-width: 1280px; margin: 0 auto; }
.karya-pub-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    transition: all 0.3s; display: flex; flex-direction: column;
}
.karya-pub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.karya-pub-thumb {
    height: 168px; background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.75rem; color: var(--blue); overflow: hidden; position: relative;
}
.karya-pub-thumb img { width: 100%; height: 100%; object-fit: cover; }
.karya-pub-type {
    position: absolute; top: 0.75rem; right: 0.75rem;
    background: rgba(0,0,0,0.5); color: white; font-size: 0.7rem;
    font-weight: 600; padding: 0.2rem 0.5rem; border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
}
.karya-pub-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.karya-pub-cat { font-size: 0.72rem; color: var(--blue); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.4rem; }
.karya-pub-body h3 { font-size: 0.95rem; color: var(--navy); font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.karya-pub-body p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.karya-pub-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.875rem; }
.karya-pub-meta i { margin-right: 0.25rem; }

/* =============================================
   TENTANG SECTION
   ============================================= */
.tentang-section { background: white; }
.tentang-container {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.tentang-text .section-header { text-align: left; margin-bottom: 1.5rem; }
.tentang-text > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; font-size: 1rem; }
.tentang-features { display: flex; flex-direction: column; gap: 0.75rem; }
.feat-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.feat-item i { color: var(--success-color, #10B981); font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }
.feat-item span { font-size: 0.9rem; color: var(--text-color); }
.image-stack { position: relative; width: 300px; height: 320px; margin: 0 auto; }
.img-card { position: absolute; border-radius: 20px; }
.img-card-back {
    width: 240px; height: 280px; background: linear-gradient(135deg, #DBEAFE 0%, #EFF6FF 100%);
    bottom: 0; right: 0; border: 1px solid #BFDBFE;
}
.img-card-front {
    width: 240px; height: 280px;
    background: linear-gradient(135deg, var(--navy) 0%, #1E3A8A 100%);
    top: 0; left: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: white; gap: 1rem; box-shadow: var(--shadow-lg);
}
.img-card-front i { font-size: 4rem; color: #60A5FA; }
.img-card-front span { font-size: 1.5rem; font-weight: 800; letter-spacing: 1px; }
.tentang-container:has(.tentang-img) { align-items: stretch; }
.tentang-image { display: flex; align-items: center; justify-content: center; position: relative; }
.tentang-img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: contain; object-position: center; border-radius: 20px; background: linear-gradient(135deg, #0f172a, #1e3a8a, #3b82f6); border: 1px solid #E8EEF7; box-shadow: var(--shadow-lg); position: absolute; inset: 0; box-sizing: border-box; padding: 6px; }
@media (max-width: 900px) {
    .tentang-image { min-height: 0; }
    .tentang-img { position: static; height: auto; max-height: 420px; }
}

/* Modern Image Stack (When Image Uploaded) */
.modern-image-stack {
    position: relative;
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
}
.modern-image-stack .tentang-img-anim {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(15,23,42,0.15);
    border: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.modern-image-stack .stack-card {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modern-image-stack .stack-back {
    background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
    transform: translate(15px, 15px) rotate(4deg);
    z-index: 1;
}
.modern-image-stack .stack-mid {
    background: linear-gradient(135deg, #DBEAFE, #93C5FD);
    transform: translate(-10px, 10px) rotate(-3deg);
    z-index: 2;
}

.modern-image-stack:hover .tentang-img-anim {
    animation: wiggle 0.8s ease-in-out infinite;
}
.modern-image-stack:hover .stack-back {
    transform: translate(25px, 20px) rotate(6deg);
}
.modern-image-stack:hover .stack-mid {
    transform: translate(-15px, 15px) rotate(-5deg);
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1.02); }
    25% { transform: rotate(-3deg) scale(1.02); }
    75% { transform: rotate(3deg) scale(1.02); }
}

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--navy); color: white; }
.footer-top {
    max-width: 1280px; margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
    display: grid; grid-template-columns: 2fr 1fr; gap: 3rem;
}
.footer-brand .brand-title { color: white; }
.footer-brand .brand-icon { color: #60A5FA; }
.footer-brand p { color: #94A3B8; margin-top: 1rem; font-size: 0.875rem; line-height: 1.7; max-width: 360px; }
.footer-links h4 { color: white; margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; }
.footer-links a { display: block; color: #94A3B8; font-size: 0.875rem; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1280px; margin: 0 auto;
    font-size: 0.8rem; color: #64748B;
}

/* =============================================
   PORTFOLIO PAGE
   ============================================= */
.portfolio-header { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: white; padding: 4rem 1.5rem; }
.portfolio-container { max-width: 1000px; margin: 0 auto; display: flex; gap: 2rem; align-items: center; }
.portfolio-container img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); object-fit: cover; }
.portfolio-info h1 { font-size: 2rem; color: white; margin-bottom: 0.25rem; }
.portfolio-info p { color: #DBEAFE; margin-bottom: 1rem; }
.portfolio-bio { font-size: 0.95rem; line-height: 1.6; max-width: 600px; color: #F8FAFC; }
.portfolio-filters { max-width: 1000px; margin: 0 auto 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.filter-btn { padding: 0.5rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border-color); background: var(--white); cursor: pointer; transition: all 0.2s; font-size: 0.875rem; }
.filter-btn.active, .filter-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* Loading state */
.loading-state { text-align: center; padding: 3rem; color: var(--text-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .tentang-container { grid-template-columns: 1fr; gap: 3rem; }
    .tentang-text .section-header { text-align: center; }
    .image-stack { margin: 0 auto 2rem; }
}

@media (max-width: 768px) {

    header.hero { grid-template-columns: 1fr; }
    .hero-content { padding: 3.5rem 1.25rem 2rem; text-align: center; }
    header.hero h1 { font-size: 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { display: none; }

    .stat-container { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 2rem 1rem; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item h3 { font-size: 2.2rem; }

    .hero-slider { max-height: 260px; }
    .slide img { height: 260px; }
    .slide-caption h2 { font-size: 1.1rem; }

    .float-badge { display: none; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .portfolio-container { flex-direction: column; text-align: center; }
}

/* =============================================
   NEW HERO SECTION
   ============================================= */
.hero-new {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #06122B 0%, #0D2357 35%, #1140A0 65%, #0D2357 100%);
    padding: 2.5rem 1.5rem 2rem;
}
.hero-new-bg {
    position: absolute; inset: 0; pointer-events: none;
}
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(90px);
}
.hero-orb-1 {
    width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(59,130,246,0.35) 0%, rgba(29,78,216,0.15) 50%, transparent 70%);
    top: -160px; right: -80px;
    animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, rgba(37,99,235,0.1) 50%, transparent 70%);
    bottom: -120px; left: -60px;
    animation: orbFloat 10s ease-in-out infinite reverse;
}
@keyframes orbFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-24px)} }
.hero-grid-lines { display: none; }

.hero-new-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem; align-items: center;
    position: relative; z-index: 1;
}

/* ---- Hero Left ---- */
.hero-left { display: flex; flex-direction: column; }

.hero-ticker {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px; padding: 0.35rem 1rem 0.35rem 0.5rem;
    margin-bottom: 1.5rem; width: fit-content; max-width: 100%;
    backdrop-filter: blur(8px);
}
.ticker-badge {
    background: linear-gradient(90deg, #E63946, #F97316);
    color: white; padding: 0.2rem 0.65rem; border-radius: 20px;
    font-size: 0.68rem; font-weight: 700; flex-shrink: 0; letter-spacing: 0.3px;
}
.ticker-text {
    font-size: 0.82rem; color: rgba(255,255,255,0.75); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; text-decoration: none;
    transition: color 0.2s;
}
.ticker-text:hover { color: white; }

.hero-new-title {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 900; color: white;
    line-height: 1.18; letter-spacing: -1.2px;
    margin-bottom: 1.1rem;
}
.hero-gradient-text {
    background: linear-gradient(90deg, #C084FC 0%, #60A5FA 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-new-desc {
    color: rgba(255,255,255,0.6); font-size: 0.97rem;
    line-height: 1.75; margin-bottom: 1.75rem; max-width: 440px;
}

.hero-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.hero-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(90deg, #2563EB, #3B82F6);
    color: white; padding: 0.7rem 1.4rem; border-radius: 10px;
    font-size: 0.875rem; font-weight: 700; text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,99,235,0.35); transition: all 0.2s; border: none; cursor: pointer;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.5); }
.hero-btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.07); border: 1.5px solid rgba(255,255,255,0.2);
    color: white; padding: 0.7rem 1.4rem; border-radius: 10px;
    font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.hero-btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.hero-btn-webinar {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(239,68,68,0.12); border: 1.5px solid rgba(239,68,68,0.35);
    color: #F87171; padding: 0.7rem 1.2rem; border-radius: 10px;
    font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.hero-btn-webinar:hover { background: rgba(239,68,68,0.22); color: #FCA5A5; }

.hero-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.55); padding: 0.3rem 0.75rem; border-radius: 20px;
    font-size: 0.78rem; font-weight: 500; text-decoration: none; transition: all 0.2s;
}
.hero-pill:hover { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.4); color: #93C5FD; }
.hero-pill i { font-size: 0.72rem; }

.hero-trust-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust-row span {
    display: flex; align-items: center; gap: 0.4rem;
    color: rgba(255,255,255,0.4); font-size: 0.78rem;
}
.hero-trust-row i { color: #60A5FA; }

/* ---- Hero Right (Mockup Card) ---- */
.hero-right { position: relative; }

.hero-webinar-container {
    position: relative; max-width: 440px; width: 100%; transition: max-width 0.3s ease;
}
.hero-webinar-container:has(.hwc-list.multiple) {
    max-width: 600px; /* Expand if there are multiple webinars */
}
.hwc-list {
    display: flex; flex-direction: column; gap: 1rem;
}
.hwc-list.multiple {
    flex-direction: row; /* Kanan kiri */
}
.hwc-card {
    background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.95) 100%);
    border: 1px solid rgba(99,179,255,0.18);
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
    backdrop-filter: blur(20px);
    animation: cardFloat 6s ease-in-out infinite;
    display: flex; flex-direction: column;
    flex: 1;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hwc-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #6366f1, #3b82f6, #06b6d4, #10b981);
    border-radius: 22px 22px 0 0;
    z-index: 1;
}
.hwc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 40px rgba(99,102,241,0.15);
}
/* If there are 2 cards, make them a bit smaller to fit */
.hwc-list.multiple .hwc-card {
    border-radius: 18px;
    animation: none;
}
.hwc-list.multiple .hwc-thumbnail { height: 180px; }
.hwc-list.multiple .hwc-body { padding: 1rem; gap: 0.6rem; }
.hwc-list.multiple .hwc-title { font-size: 0.95rem; -webkit-line-clamp: 2; }
.hwc-list.multiple .hwc-desc { display: none; }
.hwc-list.multiple .hwc-meta { padding-top: 0.5rem; margin-top: 0; font-size: 0.75rem; flex-direction: column; gap: 0.25rem; }
.hwc-list.multiple .hwc-meta span { font-size: 0.75rem; }
.hwc-list.multiple .hwc-btn { padding: 0.5rem 0.5rem; font-size: 0.75rem; text-align: center; }

@keyframes cardFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

.hwc-header {
    display: flex; justify-content: flex-end;
}
.hwc-live-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.75rem; font-weight: 700; color: #34D399; letter-spacing: 0.5px;
    background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.3);
    padding: 0.4rem 0.85rem; border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(52,211,153,0.15), 0 0 20px rgba(52,211,153,0.08);
}
.live-dot { width: 8px; height: 8px; background: #34D399; border-radius: 50%; animation: blink 1.4s infinite; box-shadow: 0 0 6px #34D399; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hwc-body {
    padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem;
}
.hwc-thumbnail {
    width: 100%; height: 200px;
    background: linear-gradient(135deg, rgba(99,102,241,0.3) 0%, rgba(59,130,246,0.2) 50%, rgba(6,182,212,0.3) 100%);
    border-radius: 14px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative; overflow: hidden;
}
.hwc-thumbnail::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(to top, rgba(15,23,42,0.6), transparent);
    pointer-events: none;
}
.hwc-title {
    font-size: 1.25rem; font-weight: 800;
    background: linear-gradient(135deg, #fff 60%, rgba(147,197,253,0.9) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hwc-desc {
    font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hwc-meta {
    display: flex; gap: 1rem; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1rem; margin-top: 0.25rem;
}
.hwc-meta span {
    display: flex; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem; font-weight: 500;
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 0.75rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}
.hwc-meta i { color: #60A5FA; }
.hwc-actions {
    display: flex; gap: 0.75rem; margin-top: 0.5rem;
}
.hwc-btn {
    padding: 0.8rem 1.25rem; border-radius: 12px; font-weight: 700; font-size: 0.875rem;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    flex: 1; transition: all 0.25s ease;
    letter-spacing: 0.2px;
}
.hwc-btn-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(79,70,229,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
    border: none;
}
.hwc-btn-primary:hover {
    background: linear-gradient(135deg, #4338CA 0%, #2563EB 100%);
    box-shadow: 0 8px 28px rgba(79,70,229,0.55);
    transform: translateY(-1px);
}
.hwc-btn-outline {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.15);
}
.hwc-btn-outline:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); }

/* =============================================
   STATS BAR (replaces old .stats section)
   ============================================= */
.stats-bar {
    background: linear-gradient(90deg, #070E1F 0%, #0D1B3E 50%, #070E1F 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 0;
}
.stats-bar-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: stretch;
}
.sbar-item {
    flex: 1; display: flex; align-items: center; gap: 0.875rem;
    padding: 1.25rem 1.5rem; transition: background 0.2s;
}
.sbar-item:hover { background: rgba(59,130,246,0.05); }
.sbar-divider { width: 1px; background: rgba(255,255,255,0.07); flex-shrink: 0; margin: 1rem 0; }
.sbar-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; font-size: 1.1rem;
    background: rgba(59,130,246,0.12); color: #60A5FA;
    border: 1px solid rgba(59,130,246,0.2);
}
.sbar-icon.orange { background: rgba(249,115,22,0.12); color: #FB923C; border-color: rgba(249,115,22,0.2); }
.sbar-icon.purple { background: rgba(139,92,246,0.12); color: #A78BFA; border-color: rgba(139,92,246,0.2); }
.sbar-icon.green  { background: rgba(16,185,129,0.12); color: #34D399; border-color: rgba(16,185,129,0.2); }
.sbar-icon.red    { background: rgba(239,68,68,0.12); color: #F87171; border-color: rgba(239,68,68,0.2); }
.sbar-num { font-size: 1.6rem; font-weight: 800; color: white; letter-spacing: -1px; line-height: 1; }
.sbar-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); font-weight: 500; margin-top: 0.2rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* =============================================
   RESPONSIVE NEW HERO
   ============================================= */
@media (max-width: 1024px) {
    .hero-new-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-new { padding: 3rem 1.25rem 2.5rem; }
    .stats-bar-inner { flex-wrap: wrap; }
    .sbar-item { flex: 1 1 45%; }
    .sbar-divider { display: none; }
}
@media (max-width: 768px) {
    .hwc-list.multiple { flex-direction: column !important; }
    .hero-webinar-container, .hero-webinar-container:has(.hwc-list.multiple) { max-width: 100% !important; width: 100% !important; overflow: hidden !important; }
    .hero-right { width: 100% !important; max-width: 100% !important; overflow: hidden !important; }
}

@media (max-width: 600px) {
    .hero-new-title { font-size: 1.85rem; }
    .hero-cta-row { flex-direction: column; }
    .hero-btn-primary, .hero-btn-ghost, .hero-btn-webinar { justify-content: center; }
    
    /* Ubah Stats Bar jadi sejajar 2 (grid 2 kolom) di HP */
    .stats-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.75rem; }
    .sbar-item { flex: unset; padding: 0.75rem; border-radius: 12px; background: rgba(255,255,255,0.02); gap: 0.5rem; align-items: center; }
    .sbar-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .sbar-num { font-size: 1.25rem; }
    .sbar-label { font-size: 0.55rem; }
    
    .hwc-list, .hwc-list.multiple { flex-direction: column !important; width: 100% !important; min-width: 0 !important; }
    .hwc-card { width: 100% !important; max-width: 100% !important; min-width: 0 !important; overflow: hidden !important; box-sizing: border-box !important; }
    .hwc-thumbnail, .hwc-list.multiple .hwc-thumbnail { height: 120px !important; background-size: contain !important; background-position: center !important; width: 100% !important; max-width: 100% !important; }
    .hwc-body { padding: 1rem !important; gap: 0.75rem !important; overflow: hidden !important; width: 100% !important; box-sizing: border-box !important; }
    
    .hwc-title, .hwc-desc { word-break: break-word !important; white-space: normal !important; overflow-wrap: break-word !important; width: 100% !important; }
    
    .hwc-meta { flex-direction: column !important; gap: 0.5rem !important; width: 100% !important; flex-wrap: wrap !important; }
    .hwc-actions { flex-direction: column !important; gap: 0.5rem !important; width: 100% !important; }
    .hwc-btn { width: 100% !important; justify-content: center !important; }
}
