@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #111827;
  --bg-card: #1A1F35;
  --bg-card-hover: #222845;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-dark: #2563EB;
  --purple: #8B5CF6;
  --purple-light: #A78BFA;
  --green: #10B981;
  --green-light: #34D399;
  --red: #EF4444;
  --red-light: #F87171;
  --orange: #F59E0B;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #1E293B;
  --border-light: #334155;
  --gradient-1: linear-gradient(135deg, #3B82F6, #8B5CF6);
  --gradient-2: linear-gradient(135deg, #8B5CF6, #EC4899);
  --gradient-3: linear-gradient(135deg, #10B981, #3B82F6);
  --glass: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s;
}
.nav.scrolled { background: rgba(10,14,26,0.95); box-shadow: var(--shadow); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--text-primary);
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-logo .logo-icon-img {
  width: 56px; height: 56px; border-radius: 0; object-fit: contain;
}
.footer-logo-img {
  width: 42px; height: 42px; border-radius: 0; object-fit: contain;
}
.geo-row {
  display: flex; gap: 12px; align-items: center;
}
.geo-row .state-select { flex: 1; }
.geo-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(59,130,246,0.15); color: var(--accent-light);
  border: 1px solid rgba(59,130,246,0.3); border-radius: 10px;
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
  font-family: inherit;
}
.geo-btn:hover { background: rgba(59,130,246,0.25); border-color: var(--accent-light); }
.geo-btn:disabled { opacity: 0.6; cursor: wait; }
.geo-btn-inline {
  padding: 10px 16px; font-size: 13px; flex-shrink: 0;
}
.geo-spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(96,165,250,0.3); border-top-color: var(--accent-light);
  border-radius: 50%; animation: geo-spin 0.8s linear infinite;
}
@keyframes geo-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .geo-row { flex-direction: column; }
  .geo-btn { width: 100%; justify-content: center; }
  .search-bar { flex-wrap: wrap; }
  .geo-btn-inline { width: 100%; justify-content: center; margin-top: 8px; }
}

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--glass); }
.nav-links a.active { color: var(--accent-light); background: rgba(59,130,246,0.1); }
.nav-cta {
  background: var(--gradient-1); color: #fff !important; padding: 10px 20px !important;
  border-radius: 10px !important; font-weight: 600 !important; font-size: 14px !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(59,130,246,0.4); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--text-primary);
  font-size: 24px; cursor: pointer; padding: 8px;
}
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,14,26,0.98); z-index: 99; padding: 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-secondary); font-size: 18px; font-weight: 500;
  padding: 16px 20px; border-radius: 12px; display: block; transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--glass); color: var(--text-primary); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(59,130,246,0.12) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(139,92,246,0.08) 0%, transparent 50%);
  animation: heroBg 20s ease-in-out infinite alternate;
}
@keyframes heroBg { 0% { transform: translate(0,0); } 100% { transform: translate(-5%,3%); } }
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px; padding: 6px 16px 6px 8px; font-size: 13px;
  color: var(--accent-light); font-weight: 500; margin-bottom: 24px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: 56px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 .gradient { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub {
  font-size: 19px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 36px; max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient-1); color: #fff; padding: 16px 32px;
  border-radius: 14px; font-weight: 700; font-size: 16px;
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.4); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--glass); color: var(--text-primary); padding: 16px 32px;
  border-radius: 14px; font-weight: 600; font-size: 16px;
  border: 1px solid var(--glass-border); cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-light); color: #fff; }
.store-badges { display: flex; gap: 14px; align-items: center; }
.store-badge {
  height: 48px; border-radius: 10px; transition: transform 0.2s; cursor: pointer;
  border: 1px solid var(--border-light);
}
.store-badge:hover { transform: scale(1.05); }
.hero-visual {
  display: flex; justify-content: center; align-items: center; position: relative;
}
.phone-mockup {
  width: 300px; height: 620px; border-radius: 40px;
  background: var(--bg-card); border: 3px solid var(--border-light);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(59,130,246,0.15);
  overflow: hidden; position: relative;
}
.phone-mockup .phone-screen {
  width: 100%; height: 100%; padding: 20px;
  background: linear-gradient(180deg, #0A1628 0%, #0F1D32 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 16px;
}
.phone-mockup .app-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.phone-mockup .app-title { font-size: 20px; font-weight: 700; color: #fff; }
.phone-mockup .app-subtitle { font-size: 12px; color: var(--text-muted); text-align: center; }
.phone-features {
  width: 100%; margin-top: 20px; display: flex; flex-direction: column; gap: 8px;
  padding: 0 8px;
}
.phone-feature {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05); padding: 10px 14px;
  border-radius: 10px; font-size: 12px; color: var(--text-secondary);
}
.phone-feature .pf-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.glow-ring {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.1);
  animation: glowPulse 4s ease-in-out infinite;
}
.glow-ring:nth-child(2) { width: 500px; height: 500px; animation-delay: 1s; }
@keyframes glowPulse { 0%,100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.05); } }

/* ─── STATS BANNER ─── */
.stats-banner {
  padding: 80px 0; background: var(--bg-secondary);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat-card { text-align: center; }
.stat-number {
  font-size: 48px; font-weight: 800; line-height: 1;
  background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.stat-number.red { background: linear-gradient(135deg, #EF4444, #F59E0B); -webkit-background-clip: text; background-clip: text; }
.stat-number.green { background: var(--gradient-3); -webkit-background-clip: text; background-clip: text; }
.stat-label { font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.stat-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ─── SECTIONS ─── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px; padding: 6px 16px; font-size: 13px;
  color: var(--accent-light); font-weight: 600; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.section-title {
  font-size: 40px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary); max-width: 650px; margin: 0 auto;
  line-height: 1.7;
}

/* ─── FEATURE GRID ─── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: all 0.3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-1); opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.feature-card .feature-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-light); font-size: 13px; font-weight: 600;
  margin-top: 16px; transition: gap 0.2s;
}
.feature-card .feature-link:hover { gap: 10px; }

/* ─── HOW IT WORKS ─── */
.how-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.how-step {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  padding: 40px 0; position: relative;
}
.how-step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gradient-1); display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; color: #fff; position: relative; z-index: 1;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}
.how-step::after {
  content: ''; position: absolute; left: 55px; top: 104px; bottom: 0;
  width: 2px; background: var(--border-light);
}
.how-step:last-child::after { display: none; }
.how-step h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  position: relative;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 60%);
}
.cta-card {
  max-width: 700px; margin: 0 auto; position: relative; z-index: 1;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 60px 48px;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 {
  font-size: 36px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px;
}
.cta-card p {
  font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7;
}

/* ─── CONTENT CARDS ─── */
.content-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.3s;
}
.content-card:hover { border-color: var(--border-light); }
.expandable-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  cursor: pointer; gap: 16px; user-select: none;
}
.expandable-header:hover { opacity: 0.9; }
.expand-icon {
  font-size: 20px; color: var(--text-muted); transition: transform 0.3s;
  flex-shrink: 0; margin-top: 2px;
}
.expand-icon.open { transform: rotate(45deg); }
.expandable-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.expandable-body.open { max-height: 2000px; padding-top: 16px; }

/* ─── TAGS/BADGES ─── */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
}
.tag-blue { background: rgba(59,130,246,0.15); color: var(--accent-light); }
.tag-green { background: rgba(16,185,129,0.15); color: var(--green-light); }
.tag-red { background: rgba(239,68,68,0.15); color: var(--red-light); }
.tag-orange { background: rgba(245,158,11,0.15); color: var(--orange); }
.tag-purple { background: rgba(139,92,246,0.15); color: var(--purple-light); }

/* ─── ATTORNEY CARDS ─── */
.attorney-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: all 0.3s;
  display: flex; gap: 20px;
}
.attorney-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.attorney-photo {
  width: 80px; height: 80px; border-radius: 14px;
  background: var(--bg-secondary); object-fit: cover; flex-shrink: 0;
}
.attorney-info { flex: 1; }
.attorney-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.attorney-firm { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.attorney-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.attorney-meta span { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; }
.attorney-specialties { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── QUIZ ─── */
.quiz-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; max-width: 700px; margin: 0 auto;
}
.quiz-question { font-size: 18px; font-weight: 600; margin-bottom: 24px; line-height: 1.5; }
.quiz-option {
  display: block; width: 100%; text-align: left;
  background: var(--glass); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 12px;
  font-size: 15px; color: var(--text-primary); cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.quiz-option:hover { border-color: var(--accent); background: rgba(59,130,246,0.05); }
.quiz-option.correct { border-color: var(--green); background: rgba(16,185,129,0.1); }
.quiz-option.incorrect { border-color: var(--red); background: rgba(239,68,68,0.1); }
.quiz-explanation {
  margin-top: 16px; padding: 16px; border-radius: 12px;
  font-size: 14px; line-height: 1.6;
}
.quiz-explanation.correct { background: rgba(16,185,129,0.1); color: var(--green-light); border: 1px solid rgba(16,185,129,0.2); }
.quiz-explanation.incorrect { background: rgba(239,68,68,0.1); color: var(--red-light); border: 1px solid rgba(239,68,68,0.2); }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.quiz-progress { font-size: 14px; color: var(--text-muted); }

/* ─── SEARCH/FILTER ─── */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 20px; margin-bottom: 24px;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 15px; color: var(--text-primary); font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-muted); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip {
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  background: var(--glass); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.chip:hover { border-color: var(--accent); color: var(--accent-light); }
.chip.active { background: rgba(59,130,246,0.15); border-color: var(--accent); color: var(--accent-light); }

/* ─── STATE LOOKUP ─── */
.state-select {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px 20px; font-size: 15px;
  color: var(--text-primary); width: 100%; font-family: inherit;
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.state-select option { background: var(--bg-secondary); color: var(--text-primary); }
.state-results {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-top: 24px;
}
.state-results h3 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.law-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.law-item {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 16px;
}
.law-item .law-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.law-item .law-value { font-size: 15px; font-weight: 600; }

/* ─── FOOTER ─── */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--text-primary); margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 320px; }
.footer-col h4 {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 20px;
}
.footer-col a {
  display: block; color: var(--text-secondary); font-size: 14px;
  padding: 6px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
}

/* ─── PAGE HERO (sub-pages) ─── */
.page-hero {
  padding: 140px 0 60px; text-align: center; position: relative;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(59,130,246,0.08) 0%, transparent 60%);
}
.page-hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 16px; position: relative; }
.page-hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; position: relative; }

/* ─── TABS ─── */
.tabs { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.tab {
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.2s; background: none; border-top: none; border-left: none; border-right: none;
  font-family: inherit;
}
.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--accent-light); border-bottom-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero h1 { font-size: 42px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; height: 500px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .law-grid { grid-template-columns: 1fr; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 36px; }
  .how-step { grid-template-columns: 56px 1fr; gap: 20px; }
  .how-step-num { width: 48px; height: 48px; font-size: 18px; }
  .how-step::after { left: 47px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-hero { padding: 110px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .attorney-card { flex-direction: column; }
  .tabs { overflow-x: auto; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 26px; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .btn-primary, .btn-secondary { padding: 14px 24px; font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 32px; }
}
