/* ===================================================================
   TEMA SERUIT STYLESHEET
   Version: 1.2 
   Author: Mariyadi - Updesa.com
   =================================================================== */

/* === 1. ROOT VARIABLES === */
:root {
    --bg-dark: #0a0a0a;
    --bg-section-dark: #111111;
    --bg-card-dark: #1a1a1a;
    --text-dark: #ffffff;
    --text-muted-dark: #a0a0a0;
    --border-dark: #333333;
    --primary: #3b82f6;
    --secondary: #ec4899;
    --accent: #22c55e;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    --gradient-hero: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(236, 72, 153, 0.1));
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.3);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* === 2. GLOBAL RESET & BASE STYLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { line-height: 1.6; scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === 3. TYPOGRAPHY & UTILITIES === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { line-height: 1.7; margin-bottom: 1rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted-dark); }
.font-mono { font-family: 'JetBrains Mono', monospace; }
.section { padding: 5rem 0; position: relative; }
.section-dark { background: var(--bg-section-dark); }

/* === 4. BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.btn-outline { background: transparent; color: var(--text-dark); border: 2px solid var(--border-dark); backdrop-filter: blur(10px); }
.btn-outline:hover { border-color: var(--primary); background: rgba(59, 130, 246, 0.1); color: var(--primary); }

/* === 5. HEADER & NAVIGATION === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}
.header-scrolled { background: rgba(10, 10, 10, 0.95); box-shadow: var(--shadow-lg); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.navbar-logo { font-weight: 900; font-size: 1.75rem; text-decoration: none; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.navbar-nav { display: flex; align-items: center; gap: 2rem; list-style: none; }
.navbar-nav a { text-decoration: none; color: var(--text-muted-dark); font-weight: 500; position: relative; transition: color 0.3s ease; }
.navbar-nav a:hover { color: var(--primary); }
.navbar-nav a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: width 0.3s ease; }
.navbar-nav a:hover::after { width: 100%; }
.navbar-cta { display: flex; align-items: center; gap: 1rem; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-dark); cursor: pointer; z-index: 1001; }

/* === 6. MOBILE MENU === */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-card-dark);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.mobile-menu.open { max-height: 500px; }
.mobile-menu nav { padding: 1rem 0; }
.mobile-menu nav a { display: block; padding: 1rem 1.5rem; text-decoration: none; color: var(--text-muted-dark); }
.mobile-menu nav a:hover { background: rgba(59, 130, 246, 0.1); color: var(--primary); }
.mobile-menu .btn { margin: 1rem 1.5rem; text-align: center; display: block; }

/* === 7. HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
    padding-top: 80px; /* Mendorong konten ke bawah header */
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--gradient-hero); z-index: 1; }
.hero-bg { position: absolute; inset: 0; opacity: 0.1; background-image: url('../images/dekstop_beranda.png'); background-size: cover; background-position: center; z-index: 0; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; margin-bottom: 2rem; backdrop-filter: blur(10px); }
.hero h1 { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 1.25rem; color: var(--text-muted-dark); margin: 2rem 0; }
.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; }

/* === 8. FEATURES SECTION === */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 4rem; }
.feature-card { background: var(--bg-card-dark); padding: 2.5rem; border-radius: var(--border-radius-lg); border: 1px solid var(--border-dark); text-align: center; transition: all 0.3s ease; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.feature-icon { font-size: 3rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1.5rem; }
.feature-card h3 { margin-bottom: 1rem; color: var(--text-dark); }
.feature-card p { color: var(--text-muted-dark); }

/* === 9. PREVIEW & GALLERY === */
.preview-container { margin-top: 4rem; }
.mockup-img { width: 100%; height: auto; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-xl); }
.swiper-container { width: 100%; padding: 3rem 0 4rem; overflow: hidden; }
.iphone-mockup { margin: 0 auto; position: relative; width: 280px; height: 560px; background: linear-gradient(145deg, #2a2a2a, #1a1a1a); border-radius: 50px; padding: 20px; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.8), inset 0 0 0 2px #444, 0 0 0 1px #333; }
.iphone-screen { width: 100%; height: 100%; background: #000; border-radius: 35px; overflow: hidden; position: relative; }
.iphone-screen img { width: 100%; height: 100%; object-fit: cover; }
.iphone-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 100px; height: 25px; background: #1a1a1a; border-radius: 0 0 15px 15px; z-index: 10; }
.swiper-pagination-bullet-active { background: var(--primary); }

/* === 9B. VIDEO SECTION === */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-dark);
    margin-top: 4rem; /* Memberi jarak dari judul */
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === 10. USERS TABLE === */
.users-section { overflow-x: auto; margin-top: 3rem; }
.users-table { width: 100%; border-collapse: collapse; background: var(--bg-card-dark); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.users-table th, .users-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--border-dark); }
.users-table thead { background: var(--gradient-dark); }
.users-table tbody tr:hover { background: rgba(59, 130, 246, 0.05); }
.status-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(34, 197, 94, 0.2); color: var(--accent); border-radius: 50px; font-size: 0.875rem; font-weight: 500; }

/* === 11. DEVELOPER SECTION === */
.developer-card { display: flex; align-items: center; gap: 3rem; background: var(--bg-card-dark); padding: 3rem; border-radius: var(--border-radius-lg); border: 1px solid var(--border-dark); box-shadow: var(--shadow-lg); }
.developer-avatar { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 4px solid var(--border-dark); flex-shrink: 0; }
.developer-info h2 { margin-bottom: 0.5rem; }
.developer-info h3 { margin-bottom: 0.25rem; }
.developer-info h4 { margin-bottom: 1.5rem; }
.developer-info p { margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background: var(--bg-section-dark); border: 1px solid var(--border-dark); border-radius: 50%; color: var(--text-muted-dark); text-decoration: none; transition: all 0.3s ease; }
.social-links a:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* === 12. PRICING & TESTIMONIALS === */
.pricing-card { max-width: 500px; margin: 3rem auto; background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: var(--border-radius-lg); padding: 3rem; text-align: center; box-shadow: var(--shadow-xl); }
.pricing-badge { display: inline-block; background: var(--gradient-primary); color: white; padding: 0.5rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; }
.pricing-amount { font-size: 3rem; font-weight: 900; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 1rem 0; }
.pricing-features { list-style: none; margin: 2rem 0; text-align: left; }
.pricing-features li { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.pricing-features .fa-check { color: var(--accent); }
.payment-info { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-dark); text-align: left; }
.payment-steps { padding-left: 1.5rem; margin: 1rem 0; }
.bank-details { display: flex; align-items: center; gap: 1rem; background: var(--bg-section-dark); padding: 1.5rem; border-radius: var(--border-radius); border: 1px solid var(--border-dark); margin: 1rem 0; }
.bank-icon { font-size: 2rem; color: var(--primary); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.testimonial-card { background: var(--bg-card-dark); padding: 2rem; border-radius: var(--border-radius-lg); border: 1px solid var(--border-dark); position: relative; }
.testimonial-card::before { content: '"'; position: absolute; top: -10px; left: 20px; font-size: 4rem; color: var(--primary); line-height: 1; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.author-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.25rem; }

/* === 13. FAQ, CTA, FOOTER === */
.faq-container { max-width: 800px; margin: 3rem auto 0; }
.faq-item { background: var(--bg-card-dark); border: 1px solid var(--border-dark); border-radius: var(--border-radius); margin-bottom: 1rem; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; cursor: pointer; font-weight: 600; }
.faq-icon { transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer-content { padding: 0 1.5rem 1.5rem; color: var(--text-muted-dark); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.cta-section { background: var(--gradient-primary); border-radius: var(--border-radius-lg); padding: 4rem 3rem; text-align: center; color: white; }
footer { background: var(--bg-section-dark); padding: 3rem 0; text-align: center; border-top: 1px solid var(--border-dark); }
.footer-bottom { color: var(--text-muted-dark); }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-bottom a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--text-dark); }
.fab-whatsapp { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; text-decoration: none; box-shadow: var(--shadow-lg); transition: all 0.3s ease; z-index: 999; animation: pulse 2s infinite; }
.fab-whatsapp:hover { transform: scale(1.1); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* === 14. RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .developer-card { flex-direction: column; text-align: center; gap: 2rem; }
}
@media (max-width: 768px) {
    .navbar-nav, .btn-beli-desktop { display: none; }
    .mobile-menu, .mobile-menu-toggle { display: block; }
    .hero { padding-top: 120px; text-align: center; }
    .developer-avatar { width: 150px; height: 150px; }
}