/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0F1A2F;
    --secondary-color: #6A11CB;
    --accent-color: #00FF9D;
    --accent-hover: #00CC7D;
    --text-color: #FFFFFF;
    --text-secondary: #B0B8D0;
    --bg-dark: #0A1123;
    --bg-card: #1A243F;
    --bg-light: #F5F7FF;
    --border-color: #2A3455;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--accent-color), #00CC7D);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: 'Poppins', sans-serif;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--accent-color);
}

.text-gradient {
    background: linear-gradient(to right, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 26, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(42, 52, 85, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-item a:hover {
    color: var(--accent-color);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.go-button {
    background: var(--gradient-primary);
    color: var(--primary-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.go-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 157, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 5% 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(106, 17, 203, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 157, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 157, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 157, 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.ar-effect {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(42, 52, 85, 0.3);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-color);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 220px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.8);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition);
    border: none;
}

.product-image:hover .play-button {
    opacity: 1;
}

.product-content {
    padding: 30px;
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.product-features span {
    background-color: rgba(106, 17, 203, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-features i {
    color: var(--accent-color);
}

/* ============================================
   PRODUCT ACTIONS FIX
   ============================================ */

/* Perbaikan untuk tombol di product card */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Tombol Watch Demo */
.btn-video {
    background: rgba(106, 17, 203, 0.2);
    color: var(--accent-color);
    border: 2px solid transparent;
    padding: 10px 20px;
    border-radius: 8px; /* PERUBAHAN: dari 50px jadi 8px */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-video:hover {
    background: rgba(106, 17, 203, 0.4);
    transform: translateY(-2px);
}

/* Tombol Learn More */
.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: 8px; /* PERUBAHAN: dari 50px jadi 8px */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: rgba(0, 255, 157, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE FIX FOR PRODUCT ACTIONS
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .product-actions {
        gap: 10px;
    }
    
    .btn-video, .btn-outline {
        padding: 9px 18px;
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-actions {
        flex-direction: column; /* Susun vertikal di mobile */
        gap: 10px;
        width: 100%;
    }
    
    .btn-video, .btn-outline {
        width: 100%; /* Full width */
        padding: 12px 20px;
        border-radius: 10px; /* Sedikit lebih rounded tapi tetap elegan */
        font-size: 1rem;
        justify-content: center;
    }
    
    /* Icon di tombol */
    .btn-video i, .btn-outline i {
        font-size: 1.1rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .product-actions {
        gap: 8px;
    }
    
    .btn-video, .btn-outline {
        padding: 11px 18px;
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .btn-video, .btn-outline {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-video, .btn-outline {
        min-height: 44px; /* Touch target size yang baik */
        padding: 12px 20px;
    }
    
    /* Hilangkan hover effect di touch devices */
    .btn-video:hover, .btn-outline:hover {
        transform: none;
    }
}

/* ============================================
   VIDEO MODAL - COMPACT VERSION
   ============================================ */

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Lebih gelap tapi transparan */
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
    padding: 20px;
}

.video-modal-overlay.active {
    display: flex;
}

.video-modal {
    background: var(--bg-card);
    border-radius: 15px;
    width: 90%;
    max-width: 500px; /* Lebih kecil - seperti ukuran product card */
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 255, 157, 0.2);
    overflow: hidden;
    position: relative;
}

/* Header minimalis */
.video-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(42, 52, 85, 0.3);
}

/* Tombol close kecil di pojok */
.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    margin: 0;
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Konten video - ukuran lebih kecil */
.video-modal-content {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    min-height: 280px; /* Tinggi lebih kecil */
}

.video-modal-content iframe {
    width: 100%;
    height: 280px; /* Tinggi sesuai dengan product image */
    border: none;
    border-radius: 8px;
}

/* Footer kecil dengan judul video */
.video-modal-footer {
    padding: 15px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(42, 52, 85, 0.3);
    text-align: center;
}

.video-title {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0 0 10px 0;
    font-weight: 600;
}

.modal-close-btn {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-close-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.modal-close-btn i {
    font-size: 0.9rem;
}

/* Animasi untuk modal */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.video-modal {
    animation: modalSlideIn 0.25s ease-out;
}

/* Responsive untuk modal kecil */
@media (max-width: 768px) {
    .video-modal {
        max-width: 450px;
        max-height: 60vh;
    }
    
    .video-modal-content iframe {
        height: 240px;
    }
    
    .video-modal-content {
        min-height: 240px;
    }
    
    .video-modal-header {
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .video-modal {
        max-width: 380px;
        max-height: 55vh;
    }
    
    .video-modal-content iframe {
        height: 200px;
    }
    
    .video-modal-content {
        min-height: 200px;
        padding: 8px;
    }
    
    .video-modal-footer {
        padding: 12px;
    }
    
    .video-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 400px) {
    .video-modal {
        max-width: 320px;
    }
    
    .video-modal-content iframe {
        height: 180px;
    }
    
    .video-modal-content {
        min-height: 180px;
    }
}

/* Untuk layar tinggi, tetap kecil */
@media (min-height: 800px) {
    .video-modal {
        max-height: 450px;
    }
}

/* Efek hover untuk modal */
.video-modal:hover {
    border-color: rgba(0, 255, 157, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background-color: var(--primary-color);
    padding: 100px 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    padding: 50px 30px 40px;
    background-color: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(42, 52, 85, 0.3);
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.step-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 15px;
}

.step-action:hover {
    gap: 12px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-secondary);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%23000" opacity="0.05"/></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient-primary);
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
}

.contact-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background-color: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(42, 52, 85, 0.3);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.contact-item i {
    font-size: 1.8rem;
    color: var(--accent-color);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(42, 52, 85, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 255, 157, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 255, 157, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--primary-color);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo a {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    color: var(--text-secondary);
    max-width: 300px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-social {
    flex: 1;
    min-width: 150px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--bg-card);
    color: var(--text-color);
    border-radius: 50%;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-request {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    margin: 60px auto;
    max-width: 1000px;
    border: 2px solid var(--border-color);
    text-align: center;
}

.demo-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.demo-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.demo-subtitle strong {
    color: var(--accent-color);
    background: rgba(0, 255, 157, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: monospace;
}

.demo-instructions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.instruction-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    min-width: 250px;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.instruction-step p {
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

.instruction-step code {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.demo-tip {
    background: rgba(106, 17, 203, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    border-left: 4px solid var(--accent-color);
}

.demo-tip i {
    color: var(--accent-color);
    font-size: 1.8rem;
}

.demo-tip p {
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

.demo-tip strong {
    color: var(--accent-color);
}

/* ============================================
   PUBLIC MARKERS SECTION
   ============================================ */

.public-markers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
    justify-items: center; /* Ini yang membuat semua item center */
}

.marker-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: 100%;
    max-width: 300px; /* Batasi lebar maksimum */
    text-align: center; /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center semua konten */
}

.marker-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 255, 157, 0.1);
}

.marker-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.marker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.marker-info h4 {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    text-align: center;
}

.marker-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* Responsive untuk Public Markers */
@media (max-width: 992px) {
    .public-markers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .public-markers {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Pastikan demo-content juga center */
.demo-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   QUICK ACCESS
   ============================================ */
.quick-access {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.access-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.access-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.access-header h4 {
    font-size: 1.3rem;
    color: var(--text-color);
}

.access-note {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.username-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 20px;
}

.username-input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 157, 0.1);
}

.input-prefix {
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: rgba(106, 17, 203, 0.2);
    color: var(--text-secondary);
    font-weight: 500;
    gap: 8px;
    white-space: nowrap;
}

.username-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    min-width: 0;
}

.username-input:focus {
    outline: none;
}

.access-btn {
    background: var(--gradient-primary);
    color: var(--primary-color);
    border: none;
    padding: 0 25px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.access-btn:hover {
    background: linear-gradient(135deg, #00CC7D, var(--accent-color));
    padding: 0 30px;
}

.access-help {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-help a {
    color: var(--accent-color);
    font-weight: 500;
}

/* ============================================
   ACCESS STATUS BANNER
   ============================================ */
.access-status-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gradient-secondary);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease;
    border: 2px solid var(--accent-color);
}

.access-status-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-content i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.banner-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.banner-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: var(--bg-card);
        width: 100%;
        height: calc(100vh - 80px);
        padding: 40px;
        transition: var(--transition);
        z-index: 999;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -6px);
    }
    
    .hero {
        padding: 120px 20px 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 25px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .demo-instructions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .instruction-step {
        width: 100%;
        max-width: 400px;
    }
    
    .username-input-group {
        flex-direction: column;
    }
    
    .input-prefix {
        justify-content: center;
        padding: 10px;
    }
    
    .access-btn {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
    
    .video-modal {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .video-modal-content iframe {
        height: 300px;
    }
}

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .ar-effect {
        width: 300px;
        height: 300px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

/* Small Mobile (max-width: 576px) */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        padding: 0 15px;
    }
    
    .demo-request {
        padding: 30px 20px;
        margin: 30px 15px;
    }
    
    .instruction-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .instruction-step p {
        text-align: center;
    }
    
    .demo-tip {
        flex-direction: column;
        text-align: center;
    }
    
    .video-modal-content iframe {
        height: 250px;
    }
    
    .video-modal-header h3 {
        font-size: 1.1rem;
    }
}

/* Extra Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn-primary, .btn-secondary, .go-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .demo-actions {
        flex-direction: column;
    }
    
    .demo-actions button,
    .demo-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .play-button {
        opacity: 0.7 !important;
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .nav-item a::after {
        display: none;
    }
    
    .btn-primary, .btn-secondary, .go-button, .access-btn {
        padding: 16px 30px;
        min-height: 50px;
    }
    
    /* Larger touch targets */
    .nav-item a {
        padding: 10px 15px;
        display: block;
    }
    
    .social-icons a {
        width: 55px;
        height: 55px;
    }
    
    .modal-close {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }
    
    /* Remove hover effects on touch devices */
    .product-card:hover {
        transform: none;
    }
    
    .go-button:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .access-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .ar-effect {
        animation: none;
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .access-btn:hover {
        padding: 0 25px !important;
    }
}

/* Print Styles */
@media print {
    .header,
    .go-button,
    .hero-buttons,
    .play-button,
    .btn-video,
    .video-modal-overlay,
    .access-status-banner,
    .footer-social,
    .contact-form,
    .hamburger {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
    }
    
    .hero, .products-section, .how-it-works, .cta-section, .contact-section {
        padding: 20px 0 !important;
        margin: 0 !important;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .footer {
        border-top: 1px solid #ddd;
    }
    
    a {
        color: black !important;
        text-decoration: none !important;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        font-weight: normal;
    }
}

/* Dark/Light Mode */
@media (prefers-color-scheme: light) {
    :root {
        --primary-color: #F5F7FF;
        --secondary-color: #6A11CB;
        --accent-color: #007AFF;
        --accent-hover: #0056CC;
        --text-color: #0A1123;
        --text-secondary: #5A6478;
        --bg-dark: #FFFFFF;
        --bg-card: #FFFFFF;
        --bg-light: #F0F2F8;
        --border-color: #E0E5F0;
        --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    body {
        background-color: var(--primary-color);
    }
    
    .header {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    }
    
    .product-card {
        box-shadow: var(--shadow);
        background-color: white;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --accent-color: #0000FF;
        --border-color: #000000;
    }
    
    .btn-primary, .go-button, .access-btn {
        border: 2px solid black;
    }
    
    .product-card {
        border: 2px solid var(--border-color);
    }
}

/* iOS Safe Areas */
@supports (padding: max(0px)) {
    .header,
    .hero,
    .products-section,
    .how-it-works,
    .cta-section,
    .contact-section,
    .footer {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .header {
        padding-top: max(15px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
    
    .access-status-banner {
        bottom: max(20px, env(safe-area-inset-bottom));
        left: max(20px, env(safe-area-inset-left));
        right: max(20px, env(safe-area-inset-right));
        width: auto;
        transform: translateY(100px);
    }
    
    .access-status-banner.show {
        transform: translateY(0);
    }
}

/* ============================================
   HEADER & NAVIGATION (MOBILE FIX)
   ============================================ */

/* Untuk mobile (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 15px !important; /* Kurangi padding */
    }
    
    .logo {
        font-size: 1.5rem !important; /* Perkecil logo */
    }
    
    .go-button {
        padding: 10px 20px !important; /* Perkecil button */
        font-size: 0.9rem !important;
        white-space: nowrap; /* Hindari text wrap */
    }
    
    .nav-actions {
        gap: 10px !important; /* Kurangi gap */
    }
}

/* Untuk mobile kecil (max-width: 576px) */
@media (max-width: 576px) {
    .navbar {
        padding: 0 10px !important;
    }
    
    .logo {
        font-size: 1.3rem !important;
        gap: 5px;
    }
    
    .go-button {
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        min-width: auto; /* Hilangkan min-width */
    }
    
    .go-button span {
        display: none; /* Sembunyikan text "GO!" jika perlu */
    }
    
    .go-button i {
        margin: 0; /* Hilangkan margin */
    }
    
    /* Alternatif: Ganti text dengan icon saja */
    .go-button.go-icon-only {
        width: 40px;
        height: 40px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .go-button.go-icon-only span {
        display: none;
    }
}

/* Untuk mobile sangat kecil (max-width: 375px) */
@media (max-width: 375px) {
    .logo {
        font-size: 1.2rem !important;
    }
    
    .go-button {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
}

/* ============================================
   LOGO STYLING
   ============================================ */

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* Untuk image logo */
.logo-image {
    height: 40px; /* Sesuaikan tinggi */
    width: auto;
    max-width: 180px; /* Batasi lebar maksimum */
    display: block;
    transition: var(--transition);
}

/* Untuk SVG logo */
.logo-svg {
    height: 40px;
    width: auto;
    max-width: 180px;
}

/* Hide text jika menggunakan image */
.logo-text {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-svg {
        height: 35px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 30px;
    }
    
    .logo-svg {
        height: 30px;
    }
}

/* Hover effect */
.logo-image:hover,
.logo-svg:hover {
    opacity: 0.9;
    transform: scale(1.05);
}
