/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* BODY */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
    url("assets/20260122_100603.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* =========================
   TOP NAV (GLASS)
========================= */
.navbar {
  position: fixed; /* Biar navbar melayang saat scroll */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(16px);
  background: rgba(225,225,225,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px; /* Ukuran logo disesuaikan */
  width: auto;
  background: #1e5eff; /* Background biru kotak logo */
  border-radius: 8px;
  padding: 4px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-origin {
  font-weight: 300;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 13px;
  opacity: 0.75;
  transition: 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  opacity: 1;
  color: #1e5eff;
}

/* NAVBAR *
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-box {
  width: 36px;
  height: 36px;
  background: #1e5eff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
  color: #1e5eff;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 96px 24px 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner {
  max-width: 1000px;
  width: 100%;
}

.hero h2 {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 15px;
  opacity: 0.8;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* =========================
   TOMBOL GLASS (FIXED SIZE)
========================= */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.glass-btn {
  /* Membuat ukuran tombol tetap (Fixed) */
  width: 220px; 
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.25s, transform 0.25s; /* Transform tetap ada tapi tidak mengubah layout */
  overflow: hidden;
}

/* Tulisan NOLTRAX MATCH dkk lebih gede */
.glass-btn h2 {
  font-size: 1.2rem; /* Ukuran lebih besar */
  color: #ffffff;
  margin-bottom: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Tulisan Get Started lebih kecil */
.glass-btn span {
  font-size: 0.85rem; /* Ukuran lebih kecil */
  color: #ffffff;
  opacity: 0.7;
  font-weight: 400;
}

.glass-btn:hover {
  background: #1e5eff;
  /* Transform hanya mengangkat tombol sedikit, tidak merusak grid */
  transform: translateY(-5px); 
}

/* GLASS BUTTON *
.glass-btn {
  padding: 18px 28px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  transition: 0.25s;
}

.glass-btn:hover {
  background: #1e5eff;
  transform: translateY(-4px);
}

/* SECTIONS */
section {
  padding: 96px 24px;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.8;
}

/* FEATURES */
.feature-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(14px);
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.9;
}

/* WHY */
.why-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  padding: 28px;
}

.why-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

/* FOOTER */
.footer {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 28px;
  font-size: 13px;
}

/* MOBILE */
@media (max-width: 480px) {
  .hero-inner h1 {
    font-size: 38px;
  }

  .nav-links {
    display: none;
  }
}

/* =========================
   RESET
========================= *
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Membuat body setidaknya setinggi layar agar footer bisa dipaksa ke bawah *
html, body {
  height: 100%;
}

/* =========================
   GLOBAL VAR
========================= *
:root {
  --nav-height: 70px; /* Sedikit lebih tinggi agar lebih lega *
}

/* =========================
   BODY
========================= *
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background:
    linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
    url("assets/20260122_100603.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  
  /* Flexbox di body membantu footer tetap di bawah jika konten sedikit *
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-height);
}

/* =========================
   TOP NAV
========================= *
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 999;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.08); /* Gelap transparan agar teks nav putih terlihat jelas *
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 32px;
  width: auto;
  background: #1e5eff;
  border-radius: 8px;
  padding: 4px;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  color: #ffffff;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: #1e5eff;
}

/* =========================
   HERO (Section Utama)
========================= *
.hero {
  /* Memastikan hero punya jarak yang cukup dari navbar *
  padding: 60px 24px; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Menengahkan teks *
}

.hero-inner {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Menengahkan semua elemen di dalamnya (Logo & Teks) *
}

.hero h2 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px); /* Ukuran font adaptif *
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 50px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

/* =========================
   NAV CARDS (Tombol Grid)
========================= *
.nav-cards {
  display: grid;
  /* Menggunakan minmax agar card tidak terlalu lebar di layar kecil tapi tetap rapi *
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  /* Memberi margin samping agar tidak nempel ke pinggir layar *
  padding: 0 10px; 
}

/* =========================
   GLASS CARD
========================= *
.glass-card {
  text-decoration: none;
  color: white;
  padding: 40px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.glass-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.glass-card span {
  font-size: 13px;
  opacity: 0.6;
}

.glass-card:hover {
  background: rgba(30, 94, 255, 0.8);
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* =========================
   CONTENT SECTIONS
========================= *
.main-content {
  flex: 1; /* Ini akan mengambil sisa ruang agar footer terdorong ke bawah *
}

.intro, .products, .why {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
}

.intro p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.8;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.product h2 {
  color: #1e5eff;
  margin-bottom: 15px;
  font-size: 22px;
}

.why h3 {
  font-size: 28px;
  margin-bottom: 25px;
}

.why ul {
  list-style: none;
}

.why li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1e5eff;
  font-weight: bold;
}

/* =========================
   FOOTER
========================= *
#footer {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 40px 24px;
  width: 100%;
}

#footer h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

#footer p {
  font-size: 12px;
  opacity: 0.6;
}

/* =========================
   RESPONSIVE
========================= *
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Kamu bisa ganti ini dengan menu burger nanti *
  }
  
  .hero {
    padding: 40px 20px;
  }
}
*/
