/* ============================================
   CompliantIntel — Clean Professional Theme
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-muted: #f1f3f5;
  --text: #1a1a2e;
  --text-mid: #495057;
  --text-soft: #868e96;
  --border: #e9ecef;
  --border-dark: #dee2e6;
  --accent: #d97706;
  --accent-light: #fef3c7;
  --accent-dark: #b45309;
  --green: #059669;
  --green-light: #ecfdf5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --blue: #2563eb;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--text);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  z-index: -1;
}

.hero-inner { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-sub strong { color: var(--red); font-weight: 700; }

/* Search/Lookup */
.hero-search {
  display: flex;
  align-items: center;
  max-width: 580px;
  margin: 0 auto 12px;
  background: var(--bg);
  border: 2px solid var(--border-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.hero-search:focus-within { border-color: var(--accent); }

.hero-search-icon {
  padding: 0 0 0 16px;
  font-size: 18px;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: transparent;
}

.hero-search input::placeholder { color: var(--text-soft); }

.hero-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  margin: 4px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.hero-search button:hover { background: var(--accent-dark); }

.hero-hint {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stat-item strong { color: var(--text); font-weight: 700; }
.stat-sep { color: var(--border-dark); }

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-dark);
}

.btn-outline:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 96px 0; }

.section-dark { background: var(--bg-soft); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   PAIN POINTS
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pain-icon { font-size: 32px; margin-bottom: 16px; }

.pain-stat {
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.pain-label {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 28px 20px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   AGENCIES
   ============================================ */
.agency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.agency-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.agency-card:hover { border-color: var(--accent); }

.agency-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.agency-full {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.agency-card p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}

.pricing-featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(217, 119, 6, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1.5px;
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 24px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--text);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-section .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.cta-section .btn-outline:hover {
  border-color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  font-size: 14px;
  color: var(--text-soft);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-soft);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-grid,
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .agency-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255,255,255,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 24px; z-index: 200; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .nav-mobile-toggle { display: block; }

  .hero { padding: 72px 0 60px; }
  .hero-h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-search { flex-direction: column; border-radius: 12px; }
  .hero-search input { padding: 14px 16px; }
  .hero-search button { margin: 0 4px 4px; width: calc(100% - 8px); }

  .section { padding: 64px 0; }
  .section-header h2 { font-size: 28px; }

  .features-grid,
  .pain-grid,
  .agency-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .cta-content h2 { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 28px; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
