/* GlowPika - Luxury Beauty Reviews */
:root {
  --primary: #d4a574;
  --primary-dark: #b8864e;
  --bg: #faf8f6;
  --card: #ffffff;
  --text: #2d2d2d;
  --text-light: #666;
  --border: #e8e3dd;
  --accent: #c8956c;
  --success: #5a8a6a;
  --cta: #e8773b;
  --cta-hover: #d4652a;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo span { color: #e8a87c; }

nav a {
  margin-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

nav a:hover { color: var(--primary-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #fdf2ec 0%, #faf0e6 50%, #f5efe6 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Article Cards Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 3rem 0;
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f5efe6, #fdf2ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.card-body { padding: 1.25rem; }

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.card-body h3 a {
  color: var(--text);
}

.card-body h3 a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-cta {
  display: inline-block;
  background: var(--cta);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}

.card-cta:hover { background: var(--cta-hover); }

/* Section Title */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* Article Page */
.article-header {
  padding: 3rem 0 2rem;
  text-align: center;
}

.article-header h1 {
  font-size: 2rem;
  font-weight: 800;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}

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

.article-body {
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.article-body h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.article-body h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
  color: #444;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: #444;
}

/* Product Card */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.product-rank {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  min-width: 2rem;
}

.product-info { flex: 1; }

.product-info h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.product-stars {
  color: #e8a87c;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.product-pros {
  list-style: none;
  margin: 0 0 0.75rem !important;
}

.product-pros li::before {
  content: "✓ ";
  color: var(--success);
  font-weight: bold;
}

.product-pros li {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.2rem !important;
}

.btn-amazon {
  display: inline-block;
  background: var(--cta);
  color: white !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.2s;
}

.btn-amazon:hover { background: var(--cta-hover); }

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}

.comparison-table th {
  background: var(--primary-dark);
  color: white;
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.comparison-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.comparison-table tr:nth-child(even) { background: #faf8f6; }

.comparison-table .btn-amazon {
  font-size: 0.8rem;
  padding: 0.4rem 1rem;
}

/* FAQ */
.faq { margin: 2rem 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  cursor: pointer;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 1rem 0;
}

.breadcrumb a { color: var(--text-light); }

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #fdf2ec, #faf0e6);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}

.cta-box h3 { margin: 0 0 0.75rem; }

/* Footer */
footer {
  background: #2d2d2d;
  color: #999;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

footer h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

footer a { color: #999; font-size: 0.85rem; }

footer a:hover { color: white; }

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.8rem;
}

.disclosure {
  background: #fff8e7;
  border: 1px solid #f0d78c;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.8rem;
  color: #8b7340;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
