:root {
  --bg-dark: #080c14;
  --card-dark: #0f172a;
  --card-border: rgba(255, 255, 255, 0.08);
  --primary-blue: #0066ff;
  --whatsapp-green: #25d366;
  --winner-green: rgba(37, 211, 102, 0.15);
  --winner-border: #25d366;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --radius: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.5;
}

/* Announcement Top Bar */
.top-announcement {
  background: linear-gradient(90deg, #1e3a8a, #0f172a);
  color: #93c5fd;
  text-align: center;
  font-size: 0.75rem;
  padding: 8px 15px;
  font-weight: 600;
}

/* Navigation & Logo Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(8, 12, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  mix-blend-mode: luminosity;
  /* Blends the white background into the dark navbar */
  filter: contrast(120%);
}

/* Brand Container Alignment */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Electric Blue Gradient & Glow Effect */
.brand-text-glow {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #00c6ff 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(0, 198, 255, 0.35);
}


/* Brand Text Inside Container */
.brand-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hover/Touch feedback */
.brand-container:hover, 
.brand-container:active {
  background-color: #0056b3; /* Slightly darker blue on tap */
  transform: translateY(-1px);
}



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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a:hover {
  color: #38bdf8;
}

.nav-whatsapp-btn {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Section */
.hero-dark {
  padding: 40px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.trust-pill .dot {
  width: 8px;
  height: 8px;
  background: var(--whatsapp-green);
  border-radius: 50%;
}

.hero-dark h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 15px;
}

.hero-dark h2 span {
  background: linear-gradient(90deg, #0066ff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-dark p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.feature-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #e2e8f0;
}

.pill i {
  color: var(--whatsapp-green);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0052cc, #0066ff);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25);
}

.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

/* Section Container */
.section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.bg-card {
  background: var(--card-dark);
  border-radius: 16px;
  border: 1px solid var(--card-border);
}

.section-title {
  text-align: center;
  margin-bottom: 25px;
}

.section-title h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

/* Product Cards & Image Thumbnails */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-img-wrapper {
  width: 100%;
  height: 170px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.06);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
  text-align: center;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
}

.btn-buy-wa {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- Searchable Comparison Tool Styles --- */
.compare-container {
  max-width: 1000px;
  margin: 0 auto;
}

.compare-selectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.search-compare-input {
  width: 100%;
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
}

.search-compare-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.compare-action-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.compare-submit-btn {
  width: 100%;
  max-width: 300px;
  padding: 12px;
  font-size: 0.95rem;
}

/* Dynamic Column Grid for Comparison (1 to 3 columns) */
.comparison-grid-cols {
  display: grid;
  grid-template-columns: repeat(var(--col-count, 2), 1fr);
  gap: 20px;
  transition: all 0.3s ease-in-out;
}

.compare-column-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.compare-header-box {
  text-align: center;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 15px;
}

.compare-header-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-top: 5px;
}

.compare-header-box .price-badge {
  font-size: 1.2rem;
  font-weight: 800;
  color: #38bdf8;
  margin-top: 5px;
}

/* Spec Category Groups */
.spec-category-group {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.spec-category-header {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-category-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 6px;
  border-radius: 6px;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  color: #fff;
  font-weight: 700;
  text-align: right;
}

/* Winner Highlight Style */
.spec-val.winner-highlight {
  background: var(--winner-green);
  border: 1px solid var(--winner-border);
  color: #4ade80;
  padding: 3px 8px;
  border-radius: 6px;
}

/* Swap Banner Card Styles */
.swap-banner-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-dark);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.swap-icon-box {
  font-size: 2.5rem;
  color: var(--whatsapp-green);
  margin-bottom: 15px;
}

.swap-banner-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.swap-banner-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.swap-steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  margin-bottom: 25px;
}

.swap-step-item {
  font-size: 0.85rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.swap-step-item i {
  color: var(--whatsapp-green);
}

.btn-whatsapp-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--whatsapp-green);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

/* Footer */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 30px 20px;
  text-align: center;
  margin-top: 50px;
  background: var(--bg-dark);
}

.footer-info h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.75rem;
  color: #64748b;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--whatsapp-green);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .compare-selectors-grid {
    grid-template-columns: 1fr;
  }
  .comparison-grid-cols {
    grid-template-columns: 1fr !important;
  }
}
