/* ============================================
   LawSEO Landing Page — LawmaticOS
   Clean, professional, conversion-focused
   ============================================ */

:root {
  --navy: #0f1929;
  --navy-mid: #162338;
  --navy-card: #1a2d47;
  --navy-border: rgba(255,255,255,0.08);
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --gold: #f59e0b;
  --white: #ffffff;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-400: #94a3b8;
  --grey-500: #64748b;
  --grey-600: #475569;
  --text: #e2e8f0;
  --text-muted: rgba(255,255,255,0.5);
  --green: #10b981;
  --green-light: #34d399;
  --red: #ef4444;
  --red-light: #f87171;
  --yellow: #fbbf24;
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

/* ============================================
   NAV
   ============================================ */
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--navy-border);
  position: sticky; top: 0; z-index: 50;
  background: rgba(15,25,41,0.97);
  backdrop-filter: blur(12px);
}
.navbar-brand {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.5px;
  color: var(--white); text-decoration: none;
}
.navbar-brand span { color: var(--accent-light); }
.navbar-links { display: flex; align-items: center; gap: 1.5rem; }
.navbar-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.15s;
}
.navbar-links a:hover { color: var(--white); text-decoration: none; }
.navbar-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent); color: var(--white);
  border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600;
  transition: background 0.15s;
}
.navbar-cta:hover { background: var(--accent-light); text-decoration: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(37,99,235,0.06) 0%, transparent 100%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--accent-light);
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.2);
  padding: 0.35rem 1rem; border-radius: 999px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-light); display: inline-block;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900; letter-spacing: -1.5px;
  color: var(--white); line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero-sub {
  font-size: 1.125rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 0.9rem 2rem;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius); font-size: 1rem; font-weight: 700;
  transition: background 0.15s; text-decoration: none;
}
.btn-primary:hover { background: var(--accent-light); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.06); color: var(--text-muted);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius); font-size: 1rem; font-weight: 600;
  transition: background 0.15s, color 0.15s; text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }

/* Trust bar */
.trust-bar {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--navy-border);
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); }
.trust-icon { font-size: 1rem; }

/* ============================================
   WHAT IS RANKDECK
   ============================================ */
.how-it-works { padding: 4rem 1.5rem; }
.section-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800;
  letter-spacing: -0.75px; color: var(--white); margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 520px;
  margin-bottom: 3rem; line-height: 1.65;
}

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 680px) { .steps-grid { grid-template-columns: 1fr; } }

.step-card {
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.25);
  color: var(--accent-light); font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--white); }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies { padding: 4rem 1.5rem; background: var(--navy-mid); }
.case-studies-header { text-align: center; margin-bottom: 2.5rem; }
.case-studies-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem;
}
.case-card {
  background: var(--navy-card); border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.case-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-2px); }
.case-card-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.city-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(37,99,235,0.15); color: var(--accent-light);
  padding: 0.25rem 0.6rem; border-radius: 999px; border: 1px solid rgba(37,99,235,0.2);
}
.rank-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3px;
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.rank-well { background: rgba(52,211,153,0.1); color: var(--green-light); border: 1px solid rgba(52,211,153,0.2); }
.rank-under { background: rgba(248,113,113,0.1); color: var(--red-light); border: 1px solid rgba(248,113,113,0.2); }
.rank-mixed { background: rgba(251,191,36,0.1); color: var(--yellow); border: 1px solid rgba(251,191,36,0.2); }

.case-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.case-card-finding {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.55;
  flex: 1; margin-bottom: 1.25rem;
}
.case-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.score-pill {
  font-size: 0.75rem; font-weight: 700; color: var(--grey-400);
}
.score-pill strong { color: var(--white); }
.btn-view-deck {
  padding: 0.5rem 1rem;
  background: rgba(37,99,235,0.1); color: var(--accent-light);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 0.5rem; font-size: 0.8rem; font-weight: 600;
  transition: background 0.15s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem;
}
.btn-view-deck:hover { background: rgba(37,99,235,0.2); text-decoration: none; }

/* ============================================
   PRICING / CTA
   ============================================ */
.pricing-cta { padding: 5rem 1.5rem; text-align: center; }
.pricing-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900;
  letter-spacing: -1px; margin-bottom: 1rem; color: var(--white);
}
.pricing-cta p { font-size: 1.05rem; color: var(--text-muted); max-width: 520px; margin: 0 auto 2rem; }
.pricing-guarantee {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--green-light);
  background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.15);
  padding: 0.6rem 1.25rem; border-radius: 999px; margin-bottom: 2rem;
}
.pricing-guarantee-icon { font-size: 1rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--navy-border);
  padding: 2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-size: 0.9rem; font-weight: 700; color: var(--text-muted); }
.footer-brand span { color: var(--accent-light); }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--white); text-decoration: none; }