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

:root {
  --bg: #0c0f14;
  --bg-elevated: #14181f;
  --bg-card: #181c24;
  --bg-card-hover: #1e2430;
  --border: #2a303c;
  --border-subtle: #222831;
  --text: #f0f2f5;
  --text-muted: #8b93a7;
  --text-dim: #5c6578;
  --primary: #2dd4bf;
  --primary-dim: #14b8a6;
  --primary-glow: rgba(45, 212, 191, 0.15);
  --accent: #f59e0b;
  --amazon: #ff9900;
  --radius: 16px;
  --max-width: 1120px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.45);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.logo span { color: var(--primary); }
.logo-icon { color: var(--accent); font-size: 1.15rem; }

.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 6rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--primary-glow), transparent),
    var(--bg);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: #0c0f14;
}
.btn-primary:hover {
  background: #5eead4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
  background: var(--bg-elevated);
}

.btn-amazon {
  background: var(--amazon);
  color: #111;
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-amazon:hover {
  background: #ffb84d;
  transform: translateY(-1px);
}

.btn-back {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
}
.btn-back:hover { text-decoration: underline; }

/* ===== Disclosure ===== */
.disclosure-banner {
  background: rgba(245, 158, 11, 0.08);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: 0.7rem 0;
  font-size: 0.825rem;
  color: #fbbf24;
  text-align: center;
}
.disclosure-banner strong {
  font-weight: 600;
  color: #fcd34d;
}

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-elevated); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Categories ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.15rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.category-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-icon { font-size: 2.1rem; margin-bottom: 0.85rem; }
.category-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
  letter-spacing: -0.015em;
}
.category-card p {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ===== Results ===== */
.results-section { min-height: 55vh; }
.results-header { margin-bottom: 2.75rem; }
.results-header h2 {
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.results-header p { color: var(--text-muted); font-size: 1rem; }
.results-block { margin-bottom: 3.5rem; }
.block-header { margin-bottom: 1.5rem; }
.block-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.block-header p { font-size: 0.925rem; color: var(--text-muted); }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.35rem;
}
.products-grid-budget {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  max-width: 660px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: var(--bg-card-hover);
}

.product-image {
  height: 190px;
  background: #0f1319;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image img { transform: scale(1.06); }

.product-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #0c0f14;
  font-size: 0.75rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 650;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  z-index: 2;
}

.product-body {
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.stars { color: var(--accent); letter-spacing: 0.5px; font-size: 0.9rem; }
.rating-value { font-size: 0.875rem; font-weight: 650; }
.rating-count { font-size: 0.8rem; color: var(--text-dim); }

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex: 1;
  line-height: 1.55;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.product-price span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 0.3rem;
}

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: var(--primary-dim); }

.step-number {
  width: 42px;
  height: 42px;
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.15rem;
  border: 1px solid rgba(45, 212, 191, 0.25);
}
.step-card h3 { font-size: 1.1rem; font-weight: 650; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

.ranking-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 2.75rem;
  align-items: start;
}
.about-content h2 {
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 0.95rem;
  line-height: 1.65;
}
.trust-list { list-style: none; margin-top: 1.5rem; }
.trust-list li {
  padding: 0.35rem 0;
  font-weight: 500;
  font-size: 0.95rem;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem;
}
.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 650;
}
.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.about-card .small { font-size: 0.78rem; color: var(--text-dim); }

/* ===== Footer ===== */
.footer {
  background: #080a0e;
  color: var(--text-dim);
  padding: 3.5rem 0 2.25rem;
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 2rem;
}
.footer .logo { color: var(--text); margin-bottom: 0.5rem; }
.footer .logo span { color: var(--primary); }
.footer-brand p { font-size: 0.9rem; margin-top: 0.45rem; color: var(--text-muted); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-note p { font-size: 0.85rem; color: var(--text-dim); }
.footer-note .small { font-size: 0.75rem; margin-top: 0.35rem; opacity: 0.7; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    padding: 1.15rem 1.5rem 1.35rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
  }
  .nav.open { display: flex; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 4.25rem 0 3.25rem; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.85rem; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid-budget { max-width: none; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 1.15rem; }
}
