:root {
    --primary: #FF7000;
    --primary-hover: #E66500;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-main: #FFFFFF;
    --bg-light: #FDFDFD;
    
    --color-adab: #FF9F1C;
    --color-iqro: #2EC4B6;
    --color-sirah: #E71D36;

    --font-main: 'Nunito', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(255, 112, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: linear-gradient(135deg, #fff 0%, #fff9f5 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVBAR */
.navbar {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.logo-kibo {
    color: var(--primary);
}

.logo-edu {
    color: var(--text-main);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

/* BUTTONS */
.btn {
    display: inline-block;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn-outline {
    padding: 8px 24px;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 40px;
    font-size: 20px;
}

.glow-effect {
    box-shadow: 0 4px 15px rgba(255, 112, 0, 0.4);
}

.glow-effect:hover {
    box-shadow: 0 8px 25px rgba(255, 112, 0, 0.6);
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    padding: 12px 0;
    z-index: 1000;
    border: 1px solid #eee;
    top: 100%;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #fff9f5;
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* WHATSAPP BUTTON */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* HERO SECTION */
.hero {
    padding: 80px 0 60px;
    background: transparent;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #222;
}

.text-highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transform: rotate(2deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

.blob-bg {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #FFDAB9 0%, #FFE4E1 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 1;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

.floating-badge {
    position: absolute;
    background: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: 20px;
    left: -20px;
    color: var(--primary);
}

.badge-2 {
    bottom: 40px;
    right: -20px;
    color: var(--color-iqro);
    animation-delay: 2s;
}

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

/* PRODUCTS BAR */
.products-bar {
    padding: 40px 0;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.products-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.products-label {
    font-size: 18px;
    font-weight: 700;
    color: #444;
}

.product-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.product-badge {
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid;
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.subject-adab {
    border-color: var(--color-adab);
    color: var(--color-adab);
}

.subject-adab:hover {
    background: var(--color-adab);
    color: #fff;
}

.subject-iqro {
    border-color: var(--color-iqro);
    color: var(--color-iqro);
}

.subject-iqro:hover {
    background: var(--color-iqro);
    color: #fff;
}

.subject-sirah {
    border-color: var(--color-sirah);
    color: var(--color-sirah);
}

.subject-sirah:hover {
    background: var(--color-sirah);
    color: #fff;
}

.curriculum-info {
    font-size: 14px;
    font-weight: 700;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: transparent;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: #222;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* FEATURE CARDS (Orang Tua & Sekolah) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 112, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 112, 0, 0.1);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #222;
}

.feature-card p {
    color: var(--text-muted);
}

/* PRODUCT CARDS */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 112, 0, 0.05);
    transition: var(--transition);
    border: 2px solid rgba(255, 112, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.icon-adab { background: rgba(255, 159, 28, 0.1); color: var(--color-adab); }
.icon-iqro { background: rgba(46, 196, 182, 0.1); color: var(--color-iqro); }
.icon-sirah { background: rgba(231, 29, 54, 0.1); color: var(--color-sirah); }

.product-card h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.product-features {
    margin-bottom: 30px;
    flex-grow: 1;
}

.product-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
    color: #444;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background: #E8F5E9;
    color: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.product-card .btn {
    width: 100%;
}

/* TESTIMONIALS */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(255, 112, 0, 0.05);
    border: 2px solid rgba(255, 112, 0, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.stars {
    color: #FFC107;
    font-size: 20px;
    margin-bottom: 15px;
}

.quote {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: #222;
}

/* PRICING SLIDER */
.pricing-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.pricing-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    width: 100%;
    max-width: 320px;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 600;
}

.features {
    text-align: left;
    margin-bottom: 30px;
}

.features li {
    margin-bottom: 10px;
}

/* FOOTER */
.kibo-footer {
    background: #3B3F45; /* Matching Koobits dark footer */
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-col {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    max-height: 50px;
}

.footer-links-col {
    flex: 1;
    min-width: 150px;
}

.footer-links-col h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 1px;
}

.footer-links-col ul li {
    margin-bottom: 12px;
}

.footer-links-col ul li a {
    color: #bbb;
    font-size: 14px;
}

.footer-links-col ul li a:hover {
    color: #fff;
}

.app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.app-badge {
    height: 35px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.social-contact h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 20px;
    color: #fff;
    opacity: 0.8;
}

.social-icons a:hover {
    opacity: 1;
}

.address-col {
    flex: 1;
    max-width: 600px;
    text-align: right;
}

.address-text {
    font-size: 14px;
    color: #bbb;
}

.footer-bottom .bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.footer-bottom a {
    color: #888;
    margin-left: 10px;
}

.footer-bottom a:hover {
    color: #ccc;
}

.logo-img {
    height: 45px;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .nav-menu {
        display: none;
    }
    
    .products-container {
        flex-direction: column;
        justify-content: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-middle {
        flex-direction: column;
    }

    .address-col {
        text-align: left;
    }
}
