@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-display: swap;
}

:root {
  --primary: #0b3b5c;
  --primary-light: #145f7a;
  --accent: #e98a4c;
  --accent-hover: #d0733a;
  --bg-light: #f8fafb;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #444;
  --text-light: #666;
  --border: #e0e4e8;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', var(--font-body);
  --max-width: 1240px;
}

*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
}

h1,h2,h3,h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}
.logo img {
  border-radius: 8px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.main-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--accent);
}

.header-notice {
  font-size: 0.8rem;
  opacity: 0.85;
  background: rgba(255,255,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

main {
  flex: 1;
  padding: 40px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

section,article {
  margin-bottom: 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  margin-bottom: 56px;
  overflow: hidden;
}
.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.9;
}
.hero-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.author-section {
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.author-grid {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.author-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.author-bio h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.author-bio p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
}
.contact-strip-icon {
  font-size: 1.8rem;
  color: var(--primary);
}
.contact-strip-email {
  font-weight: 600;
  color: var(--text-dark);
}

.market-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
  color: var(--text-mid);
}

.accordion-section {
  background: var(--bg-white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.accordion-section h2 {
  margin-bottom: 24px;
  font-size: 1.6rem;
}
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  background-color: #f9fafb;
  transition: background 0.2s;
}
.accordion-trigger:hover {
  background-color: #f0f4f7;
}
.accordion-icon-left {
  color: var(--accent);
  font-size: 1.2rem;
}
.accordion-arrow {
  margin-left: auto;
  transition: transform 0.2s;
}
.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: #fff;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.accordion-item.active .accordion-content {
  padding: 16px 20px;
  max-height: 300px;
}

.criteria-section {
  background: var(--bg-white);
  padding: 36px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.criteria-section h2 {
  margin-bottom: 24px;
}
.criteria-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.criteria-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.criteria-list i {
  color: var(--accent);
  font-size: 1.1rem;
}

.top-list-intro {
  text-align: center;
  margin-bottom: 48px;
}
.top-list-intro h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}
.product-card--first {
  border: 2px solid var(--accent);
}
.product-card-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.product-card-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-icon {
  font-size: 2rem;
  color: var(--primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4f7;
  border-radius: 12px;
}
.product-card-logo h3 {
  font-size: 1.4rem;
}
.product-card-image img {
  max-height: 280px;
  width: auto;
  margin: 0 auto;
}
.product-card-scores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}
.score-bar {
  font-size: 0.85rem;
}
.score-label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--text-mid);
}
.bar {
  height: 10px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-align: right;
  padding-right: 4px;
  line-height: 10px;
  border-radius: 10px;
}

.product-card-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rating-large {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary);
}
.stars {
  color: var(--accent);
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.rating-count {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.product-card-review {
  grid-column: 1 / -1;
}
.review-toggle {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.review-toggle:hover {
  color: var(--accent);
}
.review-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.product-card-review.active .review-content {
  max-height: 600px;
}

.product-card-proscons {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #f9fafb;
  padding: 20px;
  border-radius: var(--radius-sm);
}
.product-card-proscons h4 {
  margin-bottom: 8px;
}
.product-card-proscons ul {
  list-style: none;
}
.product-card-proscons li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.pros i { color: #2e7d32; }
.cons i { color: #c0392b; }

.top-pick-final {
  background: linear-gradient(135deg, #f8fafb, #e9f0f5);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.top-pick-final h2 {
  margin-bottom: 32px;
}
.winner-showcase {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
}
.winner-image img {
  width: 300px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.winner-details h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-container {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 480px;
  width: 100%;
  position: relative;
  padding: 36px 32px;
  animation: modalFade 0.3s ease;
}
@keyframes modalFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-light);
}
.modal-close:hover {
  color: var(--text-dark);
}
.form-step h2 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}
.form-step p {
  color: var(--text-mid);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.btn-full {
  width: 100%;
  margin-top: 8px;
}

.form-thanks {
  text-align: center;
}
.thanks-checkmark {
  font-size: 3rem;
  color: #2e7d32;
  margin-bottom: 16px;
}
.form-thanks h2 {
  margin-bottom: 16px;
}
.form-thanks p {
  margin-bottom: 12px;
}

footer {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  margin-top: auto;
  padding: 48px 24px 32px;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  font-size: 0.92rem;
}
.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.8);
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact p {
  margin-bottom: 4px;
  color: rgba(255,255,255,0.8);
}
.footer-disclaimer {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  margin-top: 16px;
}
.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .header-container {
    flex-wrap: wrap;
  }
  .main-nav ul {
    gap: 16px;
    font-size: 0.8rem;
  }
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image img {
    max-height: 300px;
    margin: 0 auto;
  }
  .product-card {
    grid-template-columns: 1fr;
  }
  .winner-showcase {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .header-notice {
    display: none;
  }
  .product-card-proscons {
    grid-template-columns: 1fr;
  }
}