/* ============================================================
   Navbar
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cart {
  position: relative;
  cursor: pointer;
  color: var(--text-primary);
  padding: 8px;
  transition: color 0.2s;
}

.nav-cart:hover {
  color: var(--accent-blue);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ============================================================
   Cart Sidebar
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.cart-close:hover {
  color: var(--text-primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  color: var(--text-secondary);
  text-align: center;
  padding: 40px 0;
}

.cart-item-bundle {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-bundle img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 8px;
}

.cart-bundle-label {
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 500;
}

.thankyou-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.875rem;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-qty button:hover {
  border-color: var(--accent-blue);
}

.cart-item-qty span {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  text-align: center;
  padding: 14px;
}

/* ============================================================
   Quantity Selector & Add to Cart
   ============================================================ */
.add-to-cart-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--accent-blue);
}

.qty-value {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  background: var(--bg-secondary);
}

.btn-add-cart {
  padding: 10px 32px;
}

/* ============================================================
   CSS Reset
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   CSS Custom Properties — Dark Theme
   ============================================================ */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111118;
  --bg-card: #161622;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --accent-blue: #2d7ff9;
  --accent-blue-hover: #4a9eff;
  --accent-blue-glow: rgba(45, 127, 249, 0.3);
  --font-family: 'Inter', sans-serif;
  --max-width: 1200px;
}

/* ============================================================
   Base Body Styles
   ============================================================ */
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-family);
}

/* ============================================================
   Base Section Styles
   ============================================================ */
header,
section,
footer {
  max-width: var(--max-width);
  padding: 80px 24px;
  margin: 0 auto;
}

/* Hero */
.hero-content {
  text-align: center;
  padding: 140px 20px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-tagline-top {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-image {
  max-width: 500px;
  margin: 0 auto 24px;
}

.hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 32px var(--accent-blue-glow));
}

.hero-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-price-old {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.6;
}

.hero-price {
  font-size: 2rem;
  font-weight: 700;
  color: #22c55e;
}

.hero-price-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 48px;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 4px 20px var(--accent-blue-glow);
}

.hero-specs {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-spec-item {
  text-align: center;
}

.hero-spec-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.hero-spec-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Sections shared */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 48px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue-glow);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Showcase */
.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-top: -32px;
  margin-bottom: 48px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.showcase-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

.showcase-item img,
.showcase-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.showcase-item:hover img,
.showcase-item:hover video {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Specs table */
.specs-table-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
}

.specs-table td:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

.specs-table td:last-child {
  text-align: right;
  font-weight: 600;
}

/* What's in the box */
.box-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.box-item {
  text-align: center;
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 24px;
  min-width: 160px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.box-item-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.box-item p {
  font-weight: 500;
  font-size: 0.9375rem;
}

/* How to Order steps */
.steps {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 180px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Order Form Layout */
.order-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .order-layout {
    grid-template-columns: 1fr;
  }
}

/* GCash info */
.gcash-info {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: start;
}

.gcash-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-blue);
}

.gcash-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.gcash-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.gcash-amount {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.gcash-qr {
  text-align: center;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
}

.gcash-qr img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
}

.gcash-qr-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  margin-top: 8px;
}

.gcash-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 125, 254, 0.1);
  border: 1px solid rgba(0, 125, 254, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.gcash-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #007DFE;
}

.cod-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

.cod-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #22c55e;
}

/* Payment options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: border-color 0.2s;
}

.payment-option:has(input:checked) {
  border-color: var(--accent-blue);
  background: rgba(45, 127, 249, 0.05);
}

.payment-option input[type="radio"] {
  accent-color: var(--accent-blue);
}

.payment-option span {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.gcash-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Form fields */
.order-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-family);
  transition: border-color 0.2s;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a0a0b0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group-wide {
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 1.125rem;
}

/* Thank you message */
.thank-you {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 48px 24px;
}

.thank-you h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 12px;
}

.thank-you p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Reviews */
.reviews-summary {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-stars {
  font-size: 2rem;
  color: #f5a623;
  letter-spacing: 4px;
}

.reviews-average {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 8px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-date {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.review-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-body {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-author {
  color: var(--accent-blue);
  font-size: 0.875rem;
  font-weight: 500;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-blue);
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
}

/* Footer */
#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}

.footer-content {
  text-align: center;
  padding: 48px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-contact,
.footer-domain {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 16px;
  opacity: 0.6;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
