/* ===== LUMINTOOL.COM — Shared Stylesheet ===== */

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

:root {
  --accent:     #6366f1;
  --accent-dark:#4f46e5;
  --navy:       #0f172a;
  --slate:      #1e293b;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --bg:         #ffffff;
  --bg-subtle:  #f8fafc;
  --text:       #0f172a;
  --radius:     10px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-hover: 0 6px 24px rgba(99,102,241,.18);
}

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

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

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

/* ===== NAV ===== */
.site-header {
  background: var(--navy);
  padding: 0 1.5rem;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.5px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: #cbd5e1; font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-decoration: none; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 100%);
  color: #fff; text-align: center;
  padding: 100px 1.5rem 80px;
}
.hero-badge {
  display: inline-block; background: rgba(99,102,241,.2); color: var(--accent);
  border: 1px solid rgba(99,102,241,.4); border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem 1rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.2;
  max-width: 780px; margin: 0 auto .8rem;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 1.15rem; color: #94a3b8; max-width: 560px; margin: 0 auto 2rem;
}
.btn {
  display: inline-block; padding: .75rem 1.75rem;
  border-radius: var(--radius); font-weight: 700; font-size: .95rem;
  transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(99,102,241,.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.3); margin-left: .75rem; }
.btn-outline:hover { border-color: #fff; text-decoration: none; }

/* ===== SECTION WRAPPER ===== */
.section { padding: 72px 1.5rem; }
.section-alt { background: var(--bg-subtle); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: .5rem; }
.section-sub { color: var(--muted); font-size: 1rem; margin-bottom: 2.5rem; }

/* ===== TOOL CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card-top { display: flex; align-items: center; gap: .75rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--bg-subtle); border: 1px solid var(--border);
}
.card-name { font-size: 1.05rem; font-weight: 700; }
.card-category { font-size: .75rem; color: var(--muted); }

.stars { color: #f59e0b; font-size: .9rem; }
.rating-text { font-size: .8rem; color: var(--muted); margin-left: .3rem; }

.card-desc { font-size: .9rem; color: #475569; flex: 1; }

.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.card-price { font-size: .82rem; color: var(--muted); }

.btn-card {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--accent); color: #fff; border-radius: 7px;
  font-size: .82rem; font-weight: 700; padding: .45rem 1rem;
  transition: background .2s;
}
.btn-card:hover { background: var(--accent-dark); text-decoration: none; }

/* ===== CATEGORY FILTERS ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  padding: .4rem 1rem; border-radius: 999px; font-size: .83rem; font-weight: 600;
  border: 1.5px solid var(--border); background: var(--bg); color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ===== REVIEW PAGE ===== */
.review-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 100%);
  color: #fff; padding: 60px 1.5rem 50px;
}
.review-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.review-tag {
  background: rgba(99,102,241,.25); color: #a5b4fc; border-radius: 999px;
  font-size: .75rem; font-weight: 700; padding: .25rem .8rem;
}
.review-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .5rem; }
.review-header p { color: #94a3b8; font-size: 1rem; }

.rating-big { display: flex; align-items: center; gap .75rem; margin-top: 1.5rem; }
.rating-score {
  font-size: 2.5rem; font-weight: 900; color: var(--accent);
  line-height: 1;
}
.rating-stars { color: #f59e0b; font-size: 1.3rem; }
.rating-label { font-size: .85rem; color: #94a3b8; }

.review-body { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
@media (max-width: 860px) { .review-body { grid-template-columns: 1fr; } }

.review-content h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 .75rem; }
.review-content p { color: #475569; margin-bottom: 1rem; line-height: 1.75; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 560px) { .pros-cons { grid-template-columns: 1fr; } }
.pros, .cons {
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
.pros { background: #f0fdf4; border: 1px solid #bbf7d0; }
.cons { background: #fff1f2; border: 1px solid #fecdd3; }
.pros h4 { color: #16a34a; font-size: .9rem; font-weight: 700; margin-bottom: .6rem; }
.cons h4 { color: #e11d48; font-size: .9rem; font-weight: 700; margin-bottom: .6rem; }
.pros ul, .cons ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.pros li::before { content: "✓ "; color: #16a34a; font-weight: 700; }
.cons li::before { content: "✗ "; color: #e11d48; font-weight: 700; }
.pros li, .cons li { font-size: .88rem; color: #374151; }

.pricing-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.pricing-table th, .pricing-table td {
  padding: .65rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
}
.pricing-table th { background: var(--bg-subtle); font-weight: 700; color: var(--slate); }
.pricing-table tr:last-child td { border-bottom: none; }

/* Sticky CTA sidebar */
.cta-sidebar {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  position: sticky; top: 80px;
}
.cta-sidebar .score { font-size: 3rem; font-weight: 900; color: var(--accent); line-height: 1; }
.cta-sidebar .out-of { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; }
.cta-sidebar .verdict { font-size: .92rem; font-weight: 700; color: var(--text); margin: .75rem 0 .4rem; }
.cta-sidebar p { font-size: .84rem; color: var(--muted); margin-bottom: 1.25rem; }
.cta-sidebar .btn-primary { width: 100%; text-align: center; display: block; padding: .85rem; }
.cta-sidebar .disclaimer { font-size: .75rem; color: #94a3b8; text-align: center; margin-top: .75rem; }

/* ===== ABOUT ===== */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e1b4b 100%);
  color: #fff; padding: 80px 1.5rem 70px; text-align: center;
}
.about-hero h1 { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin-bottom: .75rem; }
.about-hero p { color: #94a3b8; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.about-body { max-width: 760px; margin: 0 auto; }
.about-body h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 .5rem; }
.about-body p, .about-body li { color: #475569; line-height: 1.8; margin-bottom: .75rem; }
.about-body ul { padding-left: 1.5rem; }
.about-body a { color: var(--accent); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy); color: #94a3b8;
  padding: 48px 1.5rem 24px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .logo { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-brand .logo span { color: var(--accent); }
.footer-brand p { font-size: .85rem; }
.footer-col h4 { color: #fff; font-size: .88rem; font-weight: 700; margin-bottom: .75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: #94a3b8; font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  border-top: 1px solid #334155; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  font-size: .78rem;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #fff; text-decoration: none; }

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 600px) {
  .nav-links { gap: 1.1rem; }
  .hero { padding: 70px 1rem 56px; }
}
