/* GLOBAL RESET & FONT */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #8B0000;
    --dark-red: #5C0000;
    --light-red: #A52A2A;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #333333;
    --text-gray: #666666;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* UTILITIES & SECTION HEADER */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin: 1rem 0;
    font-weight: 700;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* 1. NAVBAR STYLES */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 5%;
    background: rgba(255, 255, 255, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 8px;
}

.logo:hover {
    background: rgba(139, 0, 0, 0.05);
    transform: translateY(-2px);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.btn-contact {
    background: var(--primary-red);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    border: 2px solid var(--primary-red);
    transition: all 0.3s;
}

.btn-contact:hover {
    background: transparent;
    color: var(--primary-red) !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* 2. HERO SECTION STYLES */
.hero {
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&q=80') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(139, 0, 0, 0.95) 0%, rgba(139, 0, 0, 0.85) 50%, rgba(139, 0, 0, 0.3) 100%);
    z-index: 0;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-content p strong {
    color: white;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-red);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

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

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
}

/* 2.5 CTA SECTION STYLES */
.cta-section {
    padding: 6rem 5%;
    background: white;
}

.cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.15);
    height: 600px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cta-image:hover img {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(139, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.cta-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-badge i {
    color: #FFD700;
    font-size: 1.2rem;
}

.cta-badge span {
    color: var(--dark-gray);
    font-weight: 600;
}

.cta-content {
    padding: 2rem 0;
}

.cta-tag {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 700;
}

.cta-content > p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.cta-content strong {
    color: var(--primary-red);
    font-weight: 700;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-feature-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.cta-feature-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.cta-feature-item span {
    color: var(--dark-gray);
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.btn-primary-cta:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

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

.cta-info {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1.2rem;
    background: #f0f8ff;
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-info i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* 3. PRODUCTS SECTION STYLES */
.products {
    padding: 6rem 5%;
    background: var(--gray);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    display: grid; 
    gap: 2.5rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
}

.product-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image.elearning {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(165, 42, 42, 0.8)),
                url('https://images.unsplash.com/photo-1501504905252-473c47e087f8?w=800&q=80') center/cover;
}

.product-image.games {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(165, 42, 42, 0.8)),
                url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=800&q=80') center/cover;
}

.product-image.umkm {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(165, 42, 42, 0.8)),
                url('https://images.unsplash.com/photo-1556740758-90de374c12ad?w=800&q=80') center/cover;
}

.product-image.gallery {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8), rgba(165, 42, 42, 0.8)),
                url('https://images.unsplash.com/photo-1460661419201-fd4cecdf8a8b?w=800&q=80') center/cover;
}

.product-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.product-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.product-content .product-subtitle {
    font-size: 0.9rem;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.features-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
}

.feature-item-box {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-red);
}

.feature-item-box:last-child {
    margin-bottom: 0;
}

.feature-item-box:hover {
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.1);
    transform: translateX(5px);
}

.feature-item-box i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item-box div {
    flex: 1;
}

.feature-item-box strong {
    display: block;
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.feature-item-box span {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.product-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
}

.btn-primary:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
}

.btn-disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

.btn-disabled:hover {
    transform: none;
}

.development-notice {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 0.5rem;
}

/* 4. FEATURES SECTION STYLES */
.features {
    padding: 6rem 5%;
    background: white;
}

.features-grid {
    max-width: 1400px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--light-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* 5. FOOTER STYLES */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 6. RESPONSIVE STYLES */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: left 0.3s;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        display: none;
    }

    .cta-container {
        grid-template-columns: 1fr;
    }

    .cta-image {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item-box {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .feature-item-box i {
        margin-top: 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 40px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary-cta,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
    }
}