/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #ffffff;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== NAVBAR (STICKY) ===== */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2b47;
    letter-spacing: 0.3px;
}

.logo-icon {
    color: #ff6b35;
    margin-right: 4px;
}

.logo span {
    color: #ff6b35;
}

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

.nav-menu a {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #1a2b47;
    cursor: pointer;
}

/* ===== HERO - BLUE GRADIENT BACKGROUND ===== */
.hero {
    background: linear-gradient(135deg, #4a5cff 0%, #7b3fe4 100%);
    color: #ffffff;
    padding: 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,107,53,0.25), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 36px;
    opacity: 0.95;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ff6b35;
    color: #ffffff;
}

.btn-primary:hover {
    background: #e85a26;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,107,53,0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
    background: #ffffff;
    color: #4a5cff;
    border-color: #ffffff;
}

/* ===== STATS - SOFT YELLOW BACKGROUND ===== */
.stats {
    background: #fff8e7;
    padding: 50px 0;
    border-bottom: 1px solid #f0e0b8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2rem;
    color: #e85a26;
    margin-bottom: 6px;
    font-weight: 700;
}

.stat-item p {
    color: #6b6b6b;
    font-size: 0.9rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    color: #1a2b47;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #7a869a;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ===== PRODUCTS SECTION - WHITE BACKGROUND ===== */
.produk-section {
    padding: 80px 0;
    background: #ffffff;
}

.produk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}

.produk-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.produk-card:hover {
    border-color: #ff6b35;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74,92,255,0.15);
}

.produk-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f0f3ff;
    overflow: hidden;
}

.produk-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.produk-card:hover .produk-img img {
    transform: scale(1.05);
}

.produk-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.produk-info h3 {
    font-size: 1.05rem;
    color: #1a2b47;
    margin-bottom: 10px;
}

.produk-info p {
    font-size: 0.9rem;
    color: #7a869a;
    margin-bottom: 18px;
    flex-grow: 1;
}

.btn-detail {
    display: inline-block;
    color: #ff6b35;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s, transform 0.3s;
    align-self: flex-start;
}

.btn-detail:hover {
    color: #e85a26;
    transform: translateX(4px);
}

/* ===== SERVICES SECTION - SOFT PURPLE BACKGROUND ===== */
.layanan-section {
    padding: 80px 0;
    background: #f3f0ff;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.layanan-card {
    background: #ffffff;
    padding: 32px 26px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e5e0ff;
    transition: all 0.3s;
}

.layanan-card:hover {
    border-color: #7b3fe4;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(123,63,228,0.15);
}

.layanan-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4a5cff, #7b3fe4);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    font-weight: 700;
}

.layanan-card h3 {
    color: #1a2b47;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.layanan-card p {
    color: #7a869a;
    font-size: 0.9rem;
}

/* ===== BLOG SECTION - LIGHT BLUE BACKGROUND ===== */
.blog-section {
    padding: 80px 0;
    background: #eef4ff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.blog-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #dbe6ff;
    transition: all 0.3s;
}

.blog-card:hover {
    border-color: #4a5cff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74,92,255,0.15);
}

.blog-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #4a5cff, #7b3fe4);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: #1a2b47;
    transition: color 0.3s;
}

.blog-card h3 a:hover {
    color: #4a5cff;
}

.blog-card p {
    color: #7a869a;
    font-size: 0.9rem;
}

/* ===== CTA SECTION - ORANGE GRADIENT BACKGROUND ===== */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: #ffffff;
    color: #ff6b35;
}

.cta-section .btn-primary:hover {
    background: #1a2b47;
    color: #ffffff;
}

/* ===== FOOTER - DARK BLUE BACKGROUND ===== */
.footer {
    background: #1a2b47;
    color: #c5cdd8;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 18px;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col ul li {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #c5cdd8;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 28px;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-bottom .disclaimer {
    font-size: 0.78rem;
    color: #7a869a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #eaeaea;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu a {
        padding: 16px 24px;
        border-top: 1px solid #f0f0f0;
    }

    .nav-menu a::after {
        display: none;
    }

    .hero {
        padding: 70px 24px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .produk-section,
    .layanan-section,
    .blog-section {
        padding: 60px 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .produk-grid {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 1.6rem;
    }
}