:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000;
  color: #f5f5f5;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), transparent 35%),
    linear-gradient(180deg, #050505 0%, #111111 100%);
  scroll-behavior: smooth;
}

body {
  color: #f1f1f1;
}

* {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

img {
  max-width: 100%;
  display: block;
}

button, input {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.product-grid article,
.info-card,
.card-panel,
.btn,
.qris-preview,
.payment-group {
  opacity: 0;
  animation: fadeInUp 0.8s ease both;
}

.product-grid article {
  animation-delay: 0.15s;
}

.info-card {
  animation-delay: 0.2s;
}

.card-panel {
  animation-delay: 0.25s;
}

.btn,
.qris-preview,
.payment-group {
  animation-delay: 0.3s;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

.topbar nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar a:hover {
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: #bbbbbb;
  margin: 0 0 14px;
}

.hero h1,
.section-heading h2,
.checktout-hero h1,
.card-panel h2 {
  margin: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  max-width: 620px;
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 28px;
  color: #d7d7d7;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  cursor: pointer;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #f5f5f5;
}

.btn-white {
  background: rgba(255,255,255,0.08);
  color: #f5f5f5;
  width: 100%;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.highlight-card {
  width: 100%;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.highlight-card h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.highlight-card p {
  color: #dcdcdc;
  line-height: 1.8;
}

.products-section,
.info-section,
.checkout-panel {
  padding: 32px 0;
}

.section-heading {
  max-width: 720px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.product-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.product-card p {
  margin: 0;
  color: #bdbdbd;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  color: #d2d2d2;
}

.product-card li {
  margin-bottom: 10px;
}

.info-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
}

.info-card h3 {
  margin-top: 0;
}

.checkout-hero {
  padding: 28px 0;
}

.checkout-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.card-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 28px;
}

.order-summary p,
.order-summary .product-details p,
.form-group label,
.manual-note {
  color: #d1d1d1;
}

.order-summary h2 {
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 500;
}

input[type="text"] {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #f5f5f5;
}

.radio-card small {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #b9b9b9;
}

input[type="text"]:focus {
  outline: none;
  border-color: #ffffff;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.radio-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-card input {
  width: 18px;
  height: 18px;
}

.radio-card span {
  color: #f4f4f4;
  font-weight: 500;
}

.qris-price {
  margin: 20px 0 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.qris-price span {
  display: block;
  color: #bfbfbf;
  margin-bottom: 8px;
}

.qris-total {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.radio-card:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.06);
}

.payment-group h3 {
  margin: 0 0 12px;
}

.qris-preview {
  margin-top: 14px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
}

.qris-preview img {
  max-width: 240px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.btn-full {
  width: 100%;
}

.manual-note {
  margin: 0;
  color: #c5c5c5;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .hero,
  .checkout-panel,
  .product-grid,
  .info-section {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .info-section {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .radio-grid {
    grid-template-columns: 1fr;
  }
}
