/* =======================================
   CSS VARIABLES & RESET
   ======================================= */
:root {
    --green: #1B4332;
    --navy: #0A192F;
    --orange: #FF5722;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --text-main: #333333;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(10, 25, 47, 0.1);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --light-bg: #0d1b2a;
    --text-main: #e0e1dd;
    --text-muted: #a9a9a9;
    --white: #1b263b;
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-orange { color: var(--orange); }
.text-navy { color: var(--navy); }
.text-green { color: var(--green); }
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 2rem; }
.section-padding { padding: 80px 0; }

/* =======================================
   COMPONENTS
   ======================================= */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}
.btn-primary {
    background-color: var(--orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}
.btn-primary:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}
.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
    background: var(--navy);
    color: #fff;
}
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* =======================================
   HEADER
   ======================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}
[data-theme="dark"] .navbar { background: rgba(13, 27, 42, 0.9); }
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo img {
    height: 50px;
    object-fit: contain;
}
.nav-links { display: none; } /* Mobile First: Hidden by default */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
}

/* =======================================
   HERO SECTION
   ======================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9) 0%, rgba(27, 67, 50, 0.8) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* =======================================
   KEUNGGULAN (GLASSMORPHISM)
   ======================================= */
.features { margin-top: -60px; position: relative; z-index: 10; }
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    background-color: var(--white);
}
.glass-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.glass-card i { font-size: 2.5rem; color: var(--green); margin-bottom: 15px; }
.glass-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy); }
[data-theme="dark"] .glass-card h3 { color: #fff; }

/* =======================================
   TRAINING & PRODUCT GRID
   ======================================= */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); }

.training-grid, .product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.card, .product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}
.card:hover, .product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}
.card-body { padding: 30px; }
.card-body h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--navy); }
[data-theme="dark"] .card-body h4 { color: #fff; }
.card-body p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; }
.btn-link { color: var(--orange); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

/* Product specific */
.product-img-placeholder {
    height: 200px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.product-info { padding: 20px; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.specs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }
.product-actions { display: flex; justify-content: space-between; align-items: center; }
.btn-icon { color: #25D366; font-size: 1.5rem; transition: var(--transition); }
.btn-icon:hover { transform: scale(1.1); }

/* =======================================
   STATISTICS
   ======================================= */
.bg-navy { background-color: var(--navy); }
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item h2 {
    display: inline-block;
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 5px;
}
.stat-item span { font-size: 3rem; color: var(--orange); font-weight: 700; }
.stat-item p { font-size: 1rem; opacity: 0.8; }

/* =======================================
   CTA & FOOTER
   ======================================= */
.cta-section {
    background: linear-gradient(135deg, var(--green) 0%, var(--navy) 100%);
    padding: 80px 20px;
    color: #fff;
}
.footer { background-color: #050d1a; color: #a9a9a9; padding: 60px 0 20px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer h4 { color: #fff; margin-bottom: 20px; font-size: 1.1rem; }
.footer-links a {
    display: block;
    color: #a9a9a9;
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--orange); padding-left: 5px; }
.footer-contact p { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.social-links a { color: #fff; font-size: 1.2rem; margin-right: 15px; transition: var(--transition); }
.social-links a:hover { color: var(--orange); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.85rem; }

/* =======================================
   FLOATING ELEMENTS
   ======================================= */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}
.floating-wa:hover { transform: scale(1.1); }

/* =======================================
   MEDIA QUERIES (DESKTOP)
   ======================================= */
@media (min-width: 768px) {
    .hero h1 { font-size: 4rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .training-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
        gap: 30px;
    }
    .nav-links a {
        text-decoration: none;
        color: var(--text-main);
        font-weight: 600;
        transition: var(--transition);
    }
    .nav-links a:hover { color: var(--orange); }
    .feature-grid { grid-template-columns: repeat(4, 1fr); }
    .training-grid { grid-template-columns: repeat(4, 1fr); }
}