/* ProLegalTemplate.com — Global Styles */
:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-dim: #666;
  --accent: #10b981;
  --accent-dark: #059669;
  --green: #16a34a;
  --border: #e5e7eb;
  --max-w: 1100px;
}

* { 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.8;
  font-size: 17px;
}

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

/* NAV */
nav {
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  color: #e2e8f0;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}
nav .logo span { color: var(--accent); }
nav .links { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
nav .links a { color: #94a3b8; }
nav .links a:hover { color: var(--accent); text-decoration: none; }
nav .cta {
  background: var(--accent);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
nav .cta:hover { background: var(--accent-dark); text-decoration: none; }

/* HERO */
.hero {
  max-width: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 80px 24px;
  text-align: center;
}
.hero .inner { max-width: var(--max-w); margin: 0 auto; }
.hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 span { color: var(--accent); }
.hero .sub {
  font-size: 20px;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero .buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-outline { border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* TRUST BAR */
.trust {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.trust .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--text-dim);
}
.trust .stat { font-weight: 700; color: var(--text); }

/* PRODUCTS */
.products {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
}
.products h2 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.product-card .tag {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.product-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.product-card .desc { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.product-card .price { font-size: 28px; font-weight: 800; color: var(--green); margin-bottom: 16px; }
.product-card .links { display: flex; gap: 12px; }
.product-card .links a {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.product-card .links a:hover { border-color: var(--accent); text-decoration: none; }

/* BLOG / ARTICLES */
.blog-section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px;
}
.blog-section h2 {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.blog-card .category {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card .excerpt { color: var(--text-dim); font-size: 15px; }

/* ARTICLE PAGE */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.article .breadcrumb {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.article h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.article .meta {
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article h2 {
  font-size: 28px;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 16px;
}
.article h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.article p { margin-bottom: 20px; }
.article ul, .article ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article li { margin-bottom: 8px; }
.article blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  background: #f8fafc;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-dim);
}
.article .cta-box {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.article .cta-box h3 { margin-top: 0; color: var(--accent); }
.article .faq { margin-top: 48px; }
.article .faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.article .faq-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.article .faq-item p { margin-bottom: 0; color: var(--text-dim); }

/* FOOTER */
footer {
  background: #111;
  color: #999;
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
}
footer .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
footer a { color: #ccc; }
footer .links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero .sub { font-size: 17px; }
  .trust .inner { gap: 24px; }
  .article h1 { font-size: 28px; }
  nav .links { display: none; }
}
