/* Modern Landing Page Styles - Medanpedia Inspired */

/* Body Adjustment for Fixed Navbar */
.wrapper-navbar + .wrapper-content {
    padding-top: 0 !important;
}

/* Modern Navbar Styles */
.modern-navbar {
    background: transparent !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.modern-navbar.scrolled {
    background: rgba(102, 126, 234, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.modern-navbar .navbar {
    background: transparent !important;
    padding: 20px 0 !important;
    transition: padding 0.3s ease;
}

.modern-navbar.scrolled .navbar {
    padding: 12px 0 !important;
}

.modern-navbar .navbar-brand-modern {
    display: flex;
    align-items: center;
}

.modern-navbar .sidebar-block__top-logo {
    height: 40px;
    width: auto;
}

.modern-navbar .navbar-nav {
    gap: 10px;
}

.nav-item-modern {
    margin: 0 8px;
}

.nav-link-modern {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-link-modern:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1);
}

.nav-item-button {
    margin-left: 15px;
}

.btn-dasbor-modern {
    background: white !important;
    color: #667eea !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-dasbor-modern.btn-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: none;
}
.btn-dasbor-modern.btn-outline:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-dasbor-modern:hover {
    background: #f8f9fa !important;
    color: #764ba2 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.btn-dasbor-modern i {
    font-size: 14px;
}

/* Navbar Mobile */
.navbar-toggler {
    border: none !important;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-burger {
    width: 24px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-burger-line,
.navbar-burger-line::before,
.navbar-burger-line::after {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-burger-line::before,
.navbar-burger-line::after {
    content: '';
    position: absolute;
}

.navbar-burger-line::before {
    top: -7px;
}

.navbar-burger-line::after {
    top: 7px;
}

@media (max-width: 991px) {
    .modern-navbar .navbar-collapse {
        background: rgba(102, 126, 234, 0.95);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        backdrop-filter: blur(10px);
    }
    
    .nav-item-modern {
        margin: 5px 0;
    }
    
    .nav-link-modern {
        padding: 12px 16px !important;
    }
    
    .nav-item-button {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .btn-dasbor-modern {
        width: 100%;
        justify-content: center;
    }
}

/* Gradient Background */
#block_125 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 80px 0 120px 0;
}

#block_125 .bg-image {
    background: none !important;
}

#block_125 .block-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Animated Background Elements */
#block_125::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: float 20s infinite ease-in-out;
}

#block_125::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Decorative Hearts and Emojis */
.decorative-emoji {
    position: absolute;
    font-size: 80px;
    animation: floatEmoji 8s infinite ease-in-out;
    z-index: 1;
}

.emoji-love-left {
    top: 20%;
    left: 10%;
}

.emoji-love-right {
    bottom: 15%;
    right: 10%;
}

.emoji-heart-card-1 {
    bottom: 30%;
    left: 5%;
    font-size: 100px;
}

@keyframes floatEmoji {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Stars Rating */
.stars-rating {
    position: absolute;
    top: 15%;
    right: 8%;
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: floatStar 6s infinite ease-in-out;
    z-index: 2;
}

.stars-rating::before {
    content: '⭐⭐⭐⭐⭐';
    font-size: 24px;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 2;
    padding: 60px 0 120px 0;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

/* Stats Cards in Hero Section */
.stats-card-hero {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.stats-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stats-card-hero:hover::before {
    transform: scaleX(1);
}

.stats-card-hero:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-button .btn-hero-primary {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
}

.hero-button .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #764ba2;
}

.hero-button .btn-hero-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.hero-button .btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.hero-button {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 550px;
    min-height: 500px;
    animation: fadeInRight 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-img {
    max-width: 100%;
    height: auto;
}

/* Social Icons Floating Animation */
.social-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.social-icons .icon-float {
    pointer-events: auto;
}

.icon-float {
    position: absolute;
    background: white;
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    animation: floatIcon 4s infinite ease-in-out;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 5;
}

.icon-float:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.icon-1 {
    top: 8%;
    right: 18%;
    background: #1877f2;
    color: white;
    animation-delay: 0s;
}

.icon-2 {
    top: 35%;
    right: 3%;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    animation-delay: 0.5s;
    border-radius: 22px;
}

.icon-3 {
    bottom: 25%;
    right: 8%;
    background: #FF0000;
    color: white;
    animation-delay: 1s;
}

.icon-4 {
    top: 12%;
    left: 18%;
    background: white;
    color: #667eea;
    animation-delay: 0.3s;
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3);
}

.icon-5 {
    top: 45%;
    left: 2%;
    background: white;
    color: #1877f2;
    animation-delay: 0.8s;
}

.icon-6 {
    bottom: 18%;
    left: 8%;
    background: #25D366;
    color: white;
    animation-delay: 1.2s;
    border-radius: 22px;
}

.icon-7 {
    bottom: 8%;
    right: 25%;
    background: white;
    color: #667eea;
    animation-delay: 1.7s;
}

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

/* Hero Phone/Character Mockup */
.hero-phone {
    position: relative;
    z-index: 10;
    animation: characterFloat 3s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.phone-mockup {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    width: 220px;
    height: 400px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    position: relative;
    border: 10px solid #1a202c;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: #4a5568;
    border-radius: 3px;
    z-index: 2;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #4a5568;
    border-radius: 50%;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    opacity: 0.3;
}

.hero-character {
    position: absolute;
    bottom: -60px;
    right: -60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 160px;
    height: 200px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.4);
    border: 8px solid white;
    padding: 20px;
}

.character-avatar {
    font-size: 90px;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-character::after {
    content: '';
    position: absolute;
    bottom: 15px;
    width: 60px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.hero-character i {
    display: none;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Statistics Section */
#block_stats.stats-section {
    background: #f7fafc !important;
    position: relative;
    padding: 80px 0 100px 0 !important;
    z-index: 3;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Wave Divider Top */
.wave-divider-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: translateY(-1px);
    z-index: 1;
}

.wave-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    color: #f7fafc;
}

#block_stats .stats-card {
    background: white !important;
    border-radius: 24px !important;
    padding: 45px 35px !important;
    text-align: center;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.12) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.6s ease-out;
    position: relative;
    overflow: hidden;
    display: block !important;
}

#block_stats .stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#block_stats .stats-card:hover::before {
    transform: scaleX(1);
}

#block_stats .stats-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25) !important;
}

#block_stats .stats-number {
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: #667eea !important;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.2;
    letter-spacing: -1px;
    display: block !important;
}

#block_stats .stats-label {
    color: #4a5568 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px;
    display: block !important;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Container Enhancement */
#block_125 .container {
    position: relative;
    z-index: 2;
}

/* SVG Divider Enhancement */
#block_125 .block-divider-bottom {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 1;
}

#block_125 .block-divider-bottom svg {
    color: #ffffff !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-illustration {
        height: 400px;
        margin-top: 50px;
    }
    
    .icon-float {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 330px;
    }
    
    .hero-character {
        width: 130px;
        height: 160px;
        bottom: -50px;
        right: -50px;
    }
    
    .character-avatar {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    #block_125 {
        padding: 40px 0 80px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-illustration {
        height: 350px;
        margin-top: 40px;
    }
    
    .decorative-emoji {
        font-size: 50px;
    }
    
    .stars-rating {
        display: none;
    }
    
    .icon-float {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .phone-mockup {
        width: 150px;
        height: 280px;
        border-radius: 30px;
    }
    
    .phone-mockup::before {
        width: 60px;
        height: 5px;
        top: 12px;
    }
    
    .phone-mockup::after {
        width: 8px;
        height: 8px;
        top: 20px;
    }
    
    .hero-character {
        width: 110px;
        height: 140px;
        right: -40px;
        bottom: -40px;
        border: 6px solid white;
    }
    
    .character-avatar {
        font-size: 60px;
    }
    
    .stats-section {
        padding: 60px 0 80px 0 !important;
    }
    
    .wave-divider-top svg {
        height: 60px;
    }
    
    .stats-card {
        padding: 35px 25px !important;
        margin-bottom: 20px !important;
    }
    
    .stats-number {
        font-size: 2.3rem !important;
    }
    
    .stats-label {
        font-size: 0.95rem !important;
    }
    
    #block_125::before,
    #block_125::after {
        opacity: 0.5;
    }
}

/* WhatsApp Float Button Enhancement */
.whatsapp-float {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5) !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7) !important;
}
