:root {
    --bs-primary: #3b76e1 !important;
    --bs-primary-rgb: 59, 118, 225 !important;
}

@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,600);

* {
    padding: 0;
    margin: 0;
}

.header {
    background: url("images/landing/header-pattern.png"), linear-gradient(150deg, var(--bs-dark) 0%, var(--bs-primary) 90%);
    background-repeat: no-repeat;
    padding: 70px 0 130px 0;
}

.bg-pattern {
    background: url("images/landing/pattern-2.png"), #fff;
    background-repeat: no-repeat;
}

.wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('images/landing/wave.png');
    background-size: 1000px 100px;
}

.wave.wave1{
    animation: animate 30s linear infinite;
    z-index: 10;
    opacity: 1;
    animation-delay: 0s;
    bottom: 0;
}

.wave.wave2{
    animation: animate2 15s linear infinite;
    z-index: 9;
    opacity: 0.5;
    animation-delay: -5s;
    bottom: 10px;
}

.wave.wave3{
    animation: animate 30s linear infinite;
    z-index: 8;
    opacity: 0.2;
    animation-delay: -2s;
    bottom: 10px;
}

.wave.wave4{
    animation: animate2 5s linear infinite;
    z-index: 7;
    opacity: 0.7;
    animation-delay: -5s;
    bottom: 20px;
}

@keyframes animate {
    0%
    {
        background-position:0 ;
    }
    100%
    {
        background-position:1000px;
    }
}

@keyframes animate2 {
    0%
    {
        background-position:0 ;
    }
    100%
    {
        background-position:-1000px;
    }
}

.img-head {
    background:url('images/landing/bg-header.png');
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px 0;
}

.img-head img{
    transform: translatey(0px);
	animation: float 5s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(20px);
	}
	100% {
		transform: translatey(0px);
	}
}

.card-1{
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url('images/landing/pattern-card-1.png');
    /* background-position: top; */
}

.card-2{
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url('images/landing/pattern-card-2.png');
    /* background-position: center; */
}

.card-3{
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url('images/landing/pattern-card-3.png');
    /* background-position: center; */
}

  .carousel-cell {
    width: 100%;
    max-width: 600px;
    margin-right: 30px;
  }

  /* cell number */
  .carousel-cell:before {
    display: block;
  }
/* ========================================
   YUDAPEDIA LANDING PAGE STYLES
   ======================================== */

/* === HEADER HERO SECTION === */
.header-hero {
    position: relative;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #6366f1 100%);
    padding: 120px 0 200px 0;
    overflow: hidden;
    min-height: 100vh;
}

/* Decorative Elements */
.header-hero::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 25px 25px;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Container */
.header-hero .container {
    position: relative;
    z-index: 10;
}

/* Hero Content */
.hero-content {
    padding-right: 20px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-buttons .btn-light {
    background: #ffffff;
    color: #6366f1;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.hero-buttons .btn-light:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.35);
}

.hero-buttons .btn-primary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 5;
    animation: floatAnimation 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

/* Wave Bottom */
.wave-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background-size: 1200px 200px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.wave-hero-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z' fill='%23ffffff' fill-opacity='0.08'/%3E%3C/svg%3E");
    animation: wave1 20s linear infinite;
    z-index: 4;
}

.wave-hero-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0,130 Q300,170 600,130 T1200,130 L1200,200 L0,200 Z' fill='%23ffffff' fill-opacity='0.12'/%3E%3C/svg%3E");
    animation: wave2 15s linear infinite reverse;
    z-index: 3;
}

.wave-hero-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0,150 Q300,120 600,150 T1200,150 L1200,200 L0,200 Z' fill='%23ffffff' fill-opacity='0.18'/%3E%3C/svg%3E");
    animation: wave3 25s linear infinite;
    z-index: 2;
}

.wave-hero-4 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 200' preserveAspectRatio='none'%3E%3Cpath d='M0,160 Q300,130 600,160 T1200,160 L1200,200 L0,200 Z' fill='%23f8fafc' fill-opacity='1'/%3E%3C/svg%3E");
    animation: wave4 18s linear infinite reverse;
    z-index: 1;
}

@keyframes wave1 {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

@keyframes wave2 {
    0% { background-position-x: 0; }
    100% { background-position-x: -1200px; }
}

@keyframes wave3 {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

@keyframes wave4 {
    0% { background-position-x: 0; }
    100% { background-position-x: -1200px; }
}

/* === STATS SECTION === */
.stats-section {
    position: relative;
    background: #f8fafc;
    padding: 100px 0 80px 0;
    margin-top: -120px;
    z-index: 20;
}

.stat-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: translate(-25%, -25%);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.35);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 991px) {
    .header-hero {
        padding: 100px 0 180px 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .wave-hero {
        height: 150px;
        background-size: 1000px 150px;
    }
    
    .stats-section {
        margin-top: -80px;
        padding: 80px 0 60px 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-hero {
        padding: 80px 0 140px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .hero-image {
        margin-bottom: 40px;
    }
    
    .hero-image img {
        max-width: 350px;
    }
    
    .wave-hero {
        height: 120px;
        background-size: 800px 120px;
    }
    
    .stats-section {
        margin-top: -60px;
        padding: 60px 0 50px 0;
    }
    
    .stat-card {
        padding: 32px 20px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Extra Small */
@media (max-width: 576px) {
    .header-hero {
        padding: 60px 0 120px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .stat-card {
        padding: 28px 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}
/* ========================================
   YUDAPEDIA LANDING PAGE - landing.css
   Sesuai class: .header-hero, .hero-*, .stats-section, .stat-card
   ======================================== */

/* === HEADER HERO === */
.header-hero {
    position: relative;
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #7c3aed 75%, #6366f1 100%);
    padding: 70px 0 150px 0;
    overflow: hidden;
}

/* Dot decoration */
.header-hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
}

.header-hero::after {
    content: '';
    position: absolute;
    bottom: 28%;
    left: 2%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 1;
    pointer-events: none;
}

.header-hero .container {
    position: relative;
    z-index: 10;
}

/* === HERO CONTENT === */
.hero-content {
    padding-right: 10px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: 0.3px;
}

.hero-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}

/* Jika text_gradient gagal render, fallback putih */
.hero-title span,
.hero-title font {
    color: #ffffff;
}

.hero-description {
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

/* === HERO BUTTONS === */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-buttons .btn-light {
    background: #ffffff;
    color: #6d28d9;
    border: none;
    box-shadow: 0 3px 12px rgba(255,255,255,0.2);
}

.hero-buttons .btn-light:hover {
    background: #f5f3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,255,255,0.3);
    color: #6d28d9;
}

.hero-buttons .btn-primary {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-primary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* === HERO IMAGE === */
.hero-image {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heroFloat 5s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    max-width: 380px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.25));
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

/* === WAVE HERO === */
.wave-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-size: 1200px 150px;
    background-repeat: repeat-x;
    pointer-events: none;
}

.wave-hero-1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150'%3E%3Cpath d='M0,75 Q300,38 600,75 T1200,75 L1200,150 L0,150 Z' fill='%23ffffff' fill-opacity='0.07'/%3E%3C/svg%3E");
    animation: waveMove 18s linear infinite;
    z-index: 4;
}

.wave-hero-2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150'%3E%3Cpath d='M0,95 Q300,122 600,95 T1200,95 L1200,150 L0,150 Z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    animation: waveMove 14s linear infinite reverse;
    z-index: 3;
}

.wave-hero-3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150'%3E%3Cpath d='M0,108 Q300,84 600,108 T1200,108 L1200,150 L0,150 Z' fill='%23ffffff' fill-opacity='0.14'/%3E%3C/svg%3E");
    animation: waveMove 22s linear infinite;
    z-index: 2;
}

.wave-hero-4 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 150'%3E%3Cpath d='M0,120 Q300,98 600,120 T1200,120 L1200,150 L0,150 Z' fill='%23f8fafc' fill-opacity='1'/%3E%3C/svg%3E");
    animation: waveMove 16s linear infinite reverse;
    z-index: 1;
}

@keyframes waveMove {
    0% { background-position-x: 0; }
    100% { background-position-x: 1200px; }
}

/* === STATS SECTION === */
.stats-section {
    position: relative;
    background: #f8fafc;
    padding: 20px 0 60px 0;
    margin-top: -90px;
    z-index: 20;
}

/* === STAT CARD - White like Medanpedia === */
.stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 14px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(109,40,217,0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Top accent */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6d28d9 0%, #6366f1 100%);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(109,40,217,0.15);
    border-color: rgba(109,40,217,0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6d28d9 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* === RESPONSIVE TABLET 991px === */
@media (max-width: 991px) {
    .header-hero {
        padding: 55px 0 130px 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-image img {
        max-width: 300px;
    }

    .wave-hero {
        height: 115px;
        background-size: 900px 115px;
    }

    .stats-section {
        margin-top: -65px;
        padding: 16px 0 50px 0;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

/* === RESPONSIVE MOBILE 767px === */
@media (max-width: 767px) {
    .header-hero {
        padding: 50px 0 115px 0;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-subtitle {
        font-size: 0.825rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 0.875rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        padding: 9px 20px;
        font-size: 0.875rem;
    }

    .hero-image {
        margin-bottom: 28px;
    }

    .hero-image img {
        max-width: 230px;
    }

    .wave-hero {
        height: 95px;
        background-size: 700px 95px;
    }

    .stats-section {
        margin-top: -52px;
        padding: 14px 0 40px 0;
    }

    .stat-card {
        padding: 18px 10px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* === RESPONSIVE SMALL 576px === */
@media (max-width: 576px) {
    .header-hero {
        padding: 40px 0 100px 0;
    }

    .hero-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        max-width: 260px;
    }

    .hero-image img {
        max-width: 195px;
    }

    .wave-hero {
        height: 78px;
        background-size: 600px 78px;
    }

    .stats-section {
        margin-top: -42px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.78rem;
    }
}