:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #10b981;
  --accent-dark: #059669;
  --danger: #ef4444;
  --warning: #f59e0b;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background-color: rgba(255,255,255,0.92);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.logo:hover { color: var(--primary-dark); }

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

.nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--primary);
  background: var(--gray-100);
}

.nav a.active {
  color: var(--primary);
  background: rgba(99,102,241,0.08);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumbs span { color: var(--gray-400); margin: 0 8px; }

.breadcrumbs .current { color: var(--gray-500); font-weight: 500; }

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-title i { color: var(--primary); }

/* Provider Cards */
.provider-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--primary);
  transition: all 0.2s ease;
}

.provider-card:hover {
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent);
}

.provider-card h4 {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* CTA Buttons */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(16,185,129,0.35);
  width: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16,185,129,0.45);
  color: var(--white);
}

.cta-button.secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

.cta-button.secondary:hover {
  box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}

/* Lead Form Replacement */
.lead-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  height: fit-content;
  position: sticky;
  top: 88px;
  text-align: center;
}

.lead-cta h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead-cta p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 0.9375rem;
}

/* Tables */
.comparison-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 24px 0;
  border: 1px solid var(--gray-200);
}

.table-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.table-row:last-child { border-bottom: none; }

.table-row.header {
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.125rem;
}

/* FAQ */
.faq-section {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.faq-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h4 {
  color: var(--dark);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* Stats */
.stat-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(99,102,241,0.04) 100%);
  padding: 24px;
  border-radius: var(--radius);
  margin: 20px 0;
  border-left: 4px solid var(--primary);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.feature-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-item i {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 48px 0 24px;
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-section a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--dark-2);
  padding-top: 24px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* Main content typography */
.main-content h2 {
  color: var(--dark);
  margin: 32px 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
}

.main-content h3 {
  color: var(--gray-800);
  margin: 24px 0 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

.main-content p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 1.75;
}

.main-content ul, .main-content ol {
  margin: 16px 0 16px 24px;
  color: var(--gray-600);
  line-height: 1.9;
}

.main-content li { margin-bottom: 8px; }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--dark);
  margin-bottom: 8px;
  font-size: 1.25rem;
}

/* Cities Grid */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.city-link {
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.2s ease;
  font-size: 0.9375rem;
}

.city-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* IP Tool Specific */
.ip-showcase {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-xl);
  margin: 24px 0;
}

.main-ip {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
}

.ip-quick-facts {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.fact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 50px;
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.fact-item i { color: var(--accent); }

.hero-lookup-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.hero-lookup-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s;
}

.hero-lookup-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

.hero-lookup-form button {
  padding: 14px 28px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.hero-lookup-form button:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
}

/* Report sections */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .report-grid { grid-template-columns: 1fr; }
  .main-ip { font-size: 2.2rem; }
  .hero h1 { font-size: 2rem; }
  .hero-lookup-form { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .table-row { grid-template-columns: 1fr; gap: 8px; }
  .table-row.header { display: none; }
  .table-row { padding: 16px; border: 1px solid var(--gray-200); margin-bottom: 8px; border-radius: var(--radius-sm); }
}

.data-list { list-style: none; padding: 0; }
.data-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.data-list li:last-child { border-bottom: none; }
.data-list strong { color: var(--gray-800); font-weight: 600; }

/* Map */
.map-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

#map { height: 400px; border-radius: var(--radius); background: var(--gray-100); }

/* Content sections */
.content-header {
  text-align: center;
  margin: 48px 0 32px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.content-header h2 {
  color: var(--dark);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.content-header p {
  color: var(--gray-500);
  font-size: 1.0625rem;
  max-width: 700px;
  margin: 0 auto;
}

.featured-content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}

.featured-content h3 { color: var(--white); margin-bottom: 12px; }
.featured-content p, .featured-content li { color: rgba(255,255,255,0.9); }

/* Section divider */
.section-divider {
  margin: 48px 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}

/* FAQ section on root */
.faq-section-root {
  margin-top: 48px;
}

.faq-item-root {
  margin-bottom: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item-root:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-item-root h3 {
  color: var(--dark);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item-root p { color: var(--gray-600); line-height: 1.7; }

/* Lead gen CTA section */
.lead-gen-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 64px 0;
  margin-top: 48px;
  text-align: center;
}

.lead-gen-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead-gen-section p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 24px;
}

.lead-gen-section .cta-button {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  display: inline-flex;
  width: auto;
  padding: 16px 40px;
}

.lead-gen-section .cta-button:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}

/* IP Block Grid */
.ip-block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.ip-block-grid a {
  display: block;
  text-align: center;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.ip-block-grid a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Loading & Error states */
.loading { color: var(--gray-400); }
.error-message { color: var(--danger); padding: 16px; }

/* Private IP card */
.private-ip-card {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid var(--warning);
}

.private-ip-card .card-title i { color: var(--warning); }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Utility */
.hidden { display: none; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
