/* ===== UTILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

:root {
  --white: #ffffff;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: #d2d2d7;
  --border-light: #e8e8ed;
  --primary: #0071e3;
  --primary-hover: #0077ed;
  --accent: #e85d04;
  --accent-hover: #d45200;
  --success: #30d158;
  --success-bg: #e8f8ee;
  --error-bg: #fef0f0;
  --rating: #ff9f0a;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display',
    'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1100px;
  --content-width: 720px;
  --header-h: 60px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.header-logo:hover {
  color: var(--text);
}

.header-logo span {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
  line-height: 1.4;
}
.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f0f7ff;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ===== CATEGORY GRID ===== */
.section {
  padding: 60px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.category-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.category-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
  transform: translateY(-4px);
  color: var(--text);
}

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

.category-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.category-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.category-card .card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform 0.2s;
}

.category-card:hover .card-arrow {
  transform: translateX(4px);
}

.category-card.coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ===== ARTICLE PAGE ===== */
.article-page {
  padding: 40px 0 60px;
}

.article {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.article-header {
  margin-bottom: 40px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.article-breadcrumb a {
  color: var(--text-tertiary);
}
.article-breadcrumb a:hover {
  color: var(--primary);
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.article h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.article-featured-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
  padding-top: 8px;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text-secondary);
}

.article-content p {
  margin-bottom: 20px;
}

.article-content strong {
  font-weight: 600;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  display: flex;
  gap: 24px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 28px 0;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-sm);
}

.product-card-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: white;
  padding: 8px;
}

.product-card-info {
  flex: 1;
  min-width: 0;
}

.product-card-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-card-info .rating {
  color: var(--rating);
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-info .price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: white;
  flex-shrink: 0;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.3);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.comparison-table th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background 0.15s;
}

.comparison-table tbody tr:hover {
  background: #f8f9fa;
}

.comparison-table .winner {
  background: var(--success-bg) !important;
  font-weight: 600;
}

.comparison-table .winner td:first-child {
  border-left: 3px solid var(--success);
}

/* ===== PROS / CONS ===== */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.pros,
.cons {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--surface);
}

.pros {
  border-left: 4px solid var(--success);
}

.cons {
  border-left: 4px solid var(--accent);
}

.pros h4,
.cons h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros ul,
.cons ul {
  list-style: none;
  padding: 0;
}

.pros li,
.cons li {
  padding: 6px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.pros li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.cons li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  margin: 48px 0;
  padding: 40px 32px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.cta-section .btn {
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* ===== DISCLOSURE ===== */
.disclosure {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  background: var(--bg);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 48px 0 0;
  border: 1px solid var(--border-light);
  line-height: 1.6;
}

/* ===== BUYING GUIDE ===== */
.buying-guide {
  margin: 40px 0;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}
.buying-guide p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.buying-guide p:last-child {
  margin-bottom: 0;
}

/* ===== FAQ ===== */
.faq {
  margin: 40px 0;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 12px;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.faq-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== AD PLACEHOLDER ===== */
.ad-slot {
  background: var(--bg);
  border: 1px dashed var(--border);
  text-align: center;
  padding: 32px 20px;
  margin: 32px 0;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.footer-brand h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  color: white;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .article h1 {
    font-size: 1.7rem;
  }

  .article-featured-img {
    border-radius: var(--radius-sm);
  }

  .product-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .product-card-img {
    width: 100px;
    height: 100px;
  }

  .product-card .btn {
    width: 100%;
    justify-content: center;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.8rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .article {
    padding: 0 16px;
  }

  .cta-section {
    padding: 28px 20px;
  }

  .cta-section .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .article h1 {
    font-size: 1.4rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }
}
