* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0A2463;
  --secondary: #1E3A8A;
  --accent: #3B82F6;
  --danger: #DC2626;
  --warning: #F59E0B;
  --success: #10B981;
  --dark: #111827;
  --light: #F9FAFB;
  --gray: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.logo-subtext {
  font-size: 0.8rem;
  color: var(--gray);
  display: block;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.lang-selector {
  position: relative;
}

.lang-btn {
  background: white;
  border: 2px solid var(--border);
  padding: 8px 15px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  border-color: var(--accent);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-top: 10px;
  min-width: 150px;
  display: none;
  z-index: 1001;
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-option:hover {
  background: var(--light);
}

.lang-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
}

/* ===== HERO BANNER ===== */
.hero-banner {
  margin-top: 80px;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== MAIN CONTENT LAYOUT ===== */
.main-content {
  padding: 60px 0;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

.gallery-container {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.main-image {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.main-image:hover img {
  transform: scale(1.05);
}

.zoom-indicator {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image:hover .zoom-indicator {
  opacity: 1;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.thumbnail-item {
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.thumbnail-item.active,
.thumbnail-item:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: scale(1.05);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PRODUCT INFO SECTION ===== */
.product-info {
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.product-header {
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 20px;
}

.product-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
  background: linear-gradient(45deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  font-weight: 400;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.badge {
  background: var(--light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 2px solid var(--border);
}

.badge i {
  color: var(--accent);
}

.price-section {
  background: linear-gradient(135deg, var(--light), white);
  padding: 25px;
  border-radius: 15px;
  margin: 25px 0;
  border-left: 5px solid var(--accent);
}

.price-label {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.price-note {
  color: var(--success);
  font-weight: 500;
  font-size: 0.9rem;
}

.action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 30px 0;
}

.btn-whatsapp {
  background: linear-gradient(45deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 18px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-catalog {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 18px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-catalog:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.contact-info {
  background: var(--light);
  padding: 20px;
  border-radius: 15px;
  margin-top: 30px;
  text-align: center;
}

.contact-info i {
  color: var(--accent);
  margin-right: 8px;
}

/* ===== FEATURES SECTION ===== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 80px;
}

.feature-card {
  background: white;
  padding: 35px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 25px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* ===== SPECIFICATIONS SECTION ===== */
.specs-section {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
  overflow: hidden;
}

.specs-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
  position: relative;
  background: white;
}

/* Scroll indicator for mobile */
.scroll-indicator {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  z-index: 10;
  animation: scrollHint 2s infinite;
  pointer-events: none;
  align-items: center;
  gap: 8px;
}

.scroll-indicator i {
  font-size: 0.9rem;
}

@keyframes scrollHint {
  0%, 100% {
    opacity: 0.8;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(5px);
  }
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px; /* Lebar minimum untuk 3 kolom */
}

.specs-table th {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 18px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  position: sticky;
  left: 0;
  z-index: 2;
}

.specs-table th:first-child {
  min-width: 180px;
}

.specs-table th:nth-child(2) {
  min-width: 220px;
}

.specs-table th:nth-child(3) {
  min-width: 300px;
  border-right: none;
}

.specs-table td {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  line-height: 1.6;
  vertical-align: top;
  background-color: white;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  background-color: #f8fafc;
  position: sticky;
  left: 0;
  z-index: 1;
  border-right: 1px solid var(--border);
  min-width: 180px;
}

.specs-table td:nth-child(2) {
  background-color: white;
  min-width: 220px;
}

.specs-table td:nth-child(3) {
  background-color: #f8fafc;
  min-width: 300px;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background-color: rgba(59, 130, 246, 0.08);
}

.specs-table tr:hover td:first-child {
  background-color: rgba(59, 130, 246, 0.12);
}

.specs-table tr:hover td:nth-child(3) {
  background-color: rgba(59, 130, 246, 0.12);
}

.specs-table tr:nth-child(even) td:first-child {
  background-color: #f1f5f9;
}

.specs-table tr:nth-child(even) td:nth-child(2) {
  background-color: #f8fafc;
}

.specs-table tr:nth-child(even) td:nth-child(3) {
  background-color: #f1f5f9;
}

.spec-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* Scrollbar styling */
.specs-table-wrapper::-webkit-scrollbar {
  height: 10px;
}

.specs-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
  margin: 0 10px;
}

.specs-table-wrapper::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.specs-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox scrollbar */
.specs-table-wrapper {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* ===== APPLICATIONS SECTION ===== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 80px;
}

.app-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent);
}

.app-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--danger);
}

.app-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 80px 40px;
  border-radius: 25px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  background: linear-gradient(45deg, var(--danger), var(--warning));
  color: white;
  border: none;
  padding: 20px 45px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.3);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 25px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--dark);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 15px;
  color: var(--gray);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* ===== FOOTER ===== */
.main-footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: white;
}

.footer-contact i {
  color: var(--accent);
  margin-right: 10px;
  width: 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #9CA3AF;
  font-size: 0.9rem;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .gallery-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-container {
    position: static;
  }
  
  .main-image {
    height: 350px;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 300px;
    margin-top: 70px;
  }
  
  .product-title {
    font-size: 2rem;
  }
  
  .action-buttons {
    grid-template-columns: 1fr;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid,
  .apps-grid {
    grid-template-columns: 1fr;
  }
  
  .specs-section,
  .faq-section {
    padding: 30px 20px;
  }
  
  .specs-table {
    min-width: 850px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 14px 12px;
    font-size: 0.9rem;
  }
  
  .specs-table th:first-child,
  .specs-table td:first-child {
    min-width: 160px;
  }
  
  .specs-table th:nth-child(2),
  .specs-table td:nth-child(2) {
    min-width: 200px;
  }
  
  .specs-table th:nth-child(3),
  .specs-table td:nth-child(3) {
    min-width: 250px;
  }
  
  .scroll-indicator {
    display: flex;
  }
  
  .cta-section {
    padding: 50px 20px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  /* HIDDEN HOME BUTTON ON MOBILE */
  .home-btn {
    display: none;
  }
  
  .nav-controls {
    gap: 10px;
  }
  
  .header-container {
    flex-direction: row;
    padding: 8px 0;
    justify-content: space-between;
     padding: 10px 20px;
  max-width: 1200px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-subtext {
    font-size: 0.7rem;
  }
  
  .logo-img {
    height: 35px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    height: 250px;
    border-radius: 15px;
    margin-top: 65px;
  }
  
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-image {
    height: 250px;
  }
  
  .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  .btn-whatsapp,
  .btn-catalog {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  
  .specs-section {
    padding: 20px 15px;
  }
  
  .specs-table {
    min-width: 800px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  
  .specs-table th:first-child,
  .specs-table td:first-child {
    min-width: 140px;
  }
  
  .specs-table th:nth-child(2),
  .specs-table td:nth-child(2) {
    min-width: 180px;
  }
  
  .specs-table th:nth-child(3),
  .specs-table td:nth-child(3) {
    min-width: 220px;
  }
  
  .scroll-indicator {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .product-title {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .product-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  .product-badges {
    justify-content: center;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .feature-card,
  .app-card {
    padding: 25px 20px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .app-icon {
    font-size: 2rem;
  }
  
  .cta-section {
    padding: 40px 15px;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .btn-cta {
    padding: 16px 25px;
    font-size: 1rem;
    width: 100%;
  }
  
  .faq-section {
    padding: 25px 15px;
  }
  
  .lang-btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Untuk layar sangat kecil (max 360px) */
@media (max-width: 360px) {
  .logo-text {
    font-size: 0.9rem;
  }
  
  .logo-subtext {
    display: none;
  }
  
  .hero-banner {
    height: 200px;
  }
  
  .thumbnail-item {
    height: 60px;
  }
  
  .specs-table {
    min-width: 750px;
  }
  
  .specs-table th,
  .specs-table td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }
  
  .specs-table th:first-child,
  .specs-table td:first-child {
    min-width: 120px;
  }
  
  .specs-table th:nth-child(2),
  .specs-table td:nth-child(2) {
    min-width: 160px;
  }
  
  .specs-table th:nth-child(3),
  .specs-table td:nth-child(3) {
    min-width: 200px;
  }
  
  .scroll-indicator {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  
  .price {
    font-size: 1.6rem;
  }
}