@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fff7ed;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', serif;
  --radius: 12px;
  --section-gap: 48px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
}

.logo .logo-line1,
.logo .logo-line2 {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.header-notice span {
  font-size: 0.85rem;
  color: var(--text-light);
  background: #f3f4f6;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}

main {
  flex: 1;
  padding: 40px 0 20px;
}

.main-layout {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
}

.review-article {
  flex: 1 1 auto;
  max-width: 860px;
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  padding: clamp(24px, 5vw, 48px);
}

.sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 24px;
  align-self: flex-start;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: opacity 0.2s;
}

.product-card img:hover {
  opacity: 0.9;
}

.product-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.product-rating {
  color: #facc15;
  font-size: 1rem;
  margin-bottom: 16px;
}

.product-rating .count {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-left: 4px;
}

.product-cta {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.25s;
  box-shadow: 0 6px 14px rgba(249,115,22,0.25);
}

.product-cta:hover {
  background: var(--primary-dark);
}

.breadcrumbs {
  display: flex;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.breadcrumbs .current {
  color: var(--text);
  font-weight: 500;
}

.trending-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.3;
  margin-bottom: 24px;
  color: #111827;
}

.author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-info .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #facc15;
  font-size: 1.2rem;
}

.stars .rating {
  color: var(--text);
  font-weight: 600;
  margin-left: 6px;
  font-size: 1rem;
}

.stars .reviews {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-left: 4px;
}

.hero-image {
  margin: 0 -24px 32px;
  border-radius: 0;
  overflow: hidden;
  background: #e5e7eb;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-image figcaption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  padding: 12px 24px 0;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin: 36px 0 16px;
  color: #111827;
}

.article-content p {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.05rem;
}

.inline-image {
  margin: 24px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f4f6;
}

.inline-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.steps {
  padding-left: 24px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.steps li {
  margin-bottom: 8px;
}

.benefits {
  list-style: none;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.benefits li {
  margin-bottom: 8px;
}

.cta-inline {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.cta-inline:hover {
  color: var(--primary-dark);
}

.update-box {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 28px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.update-box .icon {
  font-size: 1.8rem;
  line-height: 1;
}

.update-box p {
  font-size: 0.98rem;
  margin: 0;
}

.button-block {
  text-align: center;
  margin: 40px 0 20px;
}

.main-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  transition: background 0.25s;
  box-shadow: 0 8px 18px rgba(249,115,22,0.25);
}

.main-cta:hover {
  background: var(--primary-dark);
}

.testimonials {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.testimonials h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 32px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testimonial {
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.testimonial-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text);
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.9rem;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.footer-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
}

.footer-company {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

.footer-company p {
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: flex-start;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: underline;
  transition: color 0.2s;
}

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

.footer-disclaimer {
  width: 100%;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 0.9rem;
  color: #888;
  line-height: 1.7;
}

.footer-disclaimer p {
  margin-bottom: 14px;
}

.copyright {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #999;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 28px 0 16px;
}

.legal-content h3 {
  font-size: 1.4rem;
  margin: 20px 0 10px;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .main-layout {
    flex-direction: column;
    align-items: center;
  }

  .review-article {
    max-width: 100%;
  }

  .sidebar {
    display: none;
  }
}

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

  .author-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-notice span {
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .hero-image {
    margin: 0 -16px 24px;
  }

  .review-article {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .header-notice {
    display: none;
  }
}