:root {
    --bg: #0d0d0d;
    --card: #141414;
    --text: #e6e6e6;
    --accent: #00d47e;
    --accent-hover: #04b468;
    --border: #2b2b2b;
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* UX untuk navigasi */
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. TYPOGRAPHY (SEO Optimized) */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    color: var(--text);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--text);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

p {
    margin-bottom: 1rem;
    font-size: clamp(0.95rem, 2vw, 1rem);
    opacity: 0.92;
}

/* 3. NAVBAR (Sticky untuk UX) */
.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    aspect-ratio: 1/1;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    opacity: 0.85;
    transition: var(--transition);
    padding: 0.25rem 0;
    position: relative;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.intro {
    text-align:center;
}

/* 4. HAMBURGER MENU (Mobile First) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 1.5rem;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent);
    padding-left: 2rem;
}

/* 5. HERO SECTION (Prioritas Konten) */
.hero {
    padding: clamp(3rem, 6vw, 4rem) 1.5rem 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-banner {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #1a1a1a, #202020);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-banner:hover img {
    transform: scale(1.02);
}

.hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* 6. CONTENT CARDS (Hierarki Visual) */
.content-section {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 126, 0.1);
}

.card h2 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* 7. LISTS & BUTTONS */
ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    background:#fff;
}

li {
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
}

.a {
    color:#fff;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 126, 0.3);
}

/* 8. FAQ SECTION */
.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: var(--text);
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: "Q.";
    color: var(--accent);
    margin-right: 0.5rem;
    font-weight: 700;
}

/* 9. FOOTER (Structured Data Ready) */
footer {
    margin-top: 3rem;
    padding: 3rem 1.5rem;
    background: #111;
    border-top: 1px solid var(--border);
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #bbb;
    opacity: 0.8;
    transition: var(--transition);
    padding: 0.25rem 0;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
    padding-left: 0.5rem;
}

.footer-notes {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.footer-notes p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* 10. UTILITY CLASSES (Untuk SEO & Accessibility) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* 11. RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 2rem 1rem 1.5rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    footer {
        padding: 2rem 1rem;
    }
}

@media (min-width: 769px) {
    .footer-sections {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto 2rem;
    }
    
    .footer-section {
        margin-bottom: 0;
    }
}

/* 12. PERFORMANCE OPTIMIZATIONS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* 13. PRINT STYLES (Untuk SEO) */
@media print {
    .navbar,
    .hamburger,
    .btn,
    footer {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}