/* ============================================
   Orbit Lead Services — Marketplace Styles
   Design: Dark navy + electric blue + white
   Approach: Mobile-first, no frameworks
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy-950: #020617;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #334155;
  --navy-600: #475569;
  --navy-500: #64748b;
  --navy-400: #94a3b8;
  --navy-300: #cbd5e1;
  --navy-200: #e2e8f0;
  --navy-100: #f1f5f9;
  --navy-50: #f8fafc;

  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;

  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-900: #14532d;

  --yellow-500: #eab308;
  --yellow-400: #facc15;
  --yellow-900: #713f12;

  --white: #ffffff;
  --black: #000000;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy-950);
  color: var(--navy-200);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--blue-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--blue-300);
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: -0.025em;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.nav__links {
  display: none;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  color: var(--navy-400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--blue-500);
  color: var(--white) !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.nav__cta:hover {
  background: var(--blue-600);
  box-shadow: var(--shadow-glow);
  color: var(--white) !important;
}

@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-400);
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--navy-400);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: var(--font-sans);
  text-decoration: none;
}

.btn--primary {
  background: var(--blue-500);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
}

.btn--primary:hover {
  background: var(--blue-600);
  box-shadow: var(--shadow-glow);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--navy-300);
  border: 1px solid var(--navy-700);
}

.btn--secondary:hover {
  border-color: var(--navy-500);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

@media (min-width: 480px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- How It Works --- */
.how-it-works {
  padding: 80px 0;
  border-top: 1px solid var(--navy-800);
}

.section__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  text-align: center;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section__desc {
  text-align: center;
  color: var(--navy-400);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 1rem;
}

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

.step {
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition-base);
}

.step:hover {
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-400);
  margin-bottom: 20px;
}

.step__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.step__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step__text {
  font-size: 0.9375rem;
  color: var(--navy-400);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* --- Listings / Markets --- */
.listings {
  padding: 80px 0;
  border-top: 1px solid var(--navy-800);
}

.listings__toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.listings__count {
  font-size: 0.9375rem;
  color: var(--navy-400);
}

.listings__count strong {
  color: var(--white);
}

.listings__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 7px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy-400);
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
}

.filter-btn:hover {
  border-color: var(--navy-600);
  color: var(--navy-200);
}

.filter-btn--active {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--blue-400);
}

@media (min-width: 768px) {
  .listings__toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --- Site Cards --- */
.listings__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .listings__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .listings__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-card {
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.site-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.site-card:hover {
  border-color: var(--navy-700);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.site-card:hover::before {
  opacity: 1;
}

.site-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.site-card__badges {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--live {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-400);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge--live::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.badge--available {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green-400);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge--coming-soon {
  background: rgba(234, 179, 8, 0.12);
  color: var(--yellow-400);
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.site-card__niche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.site-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.site-card__domain {
  font-size: 0.8125rem;
  color: var(--navy-500);
  font-family: var(--font-mono);
  margin-bottom: 16px;
}

.site-card__location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--navy-400);
  margin-bottom: 20px;
}

.site-card__location svg {
  flex-shrink: 0;
}

.site-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--navy-800);
}

.site-card__price {
  display: flex;
  flex-direction: column;
}

.site-card__price-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.025em;
}

.site-card__price-period {
  font-size: 0.75rem;
  color: var(--navy-500);
}

.site-card__cta {
  padding: 9px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-500);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-card__cta:hover {
  background: var(--blue-600);
  box-shadow: var(--shadow-glow);
  color: var(--white);
  transform: translateY(-1px);
}

.site-card__cta svg {
  width: 14px;
  height: 14px;
}

/* --- No Results --- */
.listings__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--navy-500);
}

.listings__empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.listings__empty-text {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy-400);
}

.listings__empty-sub {
  font-size: 0.875rem;
}

/* --- Pricing --- */
.pricing {
  padding: 80px 0;
  border-top: 1px solid var(--navy-800);
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pricing-card {
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
  border-color: rgba(59, 130, 246, 0.3);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--navy-900) 100%);
}

.pricing-card--popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-card__popular-label {
  display: none;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pricing-card--popular .pricing-card__popular-label {
  display: block;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-card__price {
  margin-bottom: 20px;
}

.pricing-card__price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.035em;
}

.pricing-card__price-period {
  font-size: 0.875rem;
  color: var(--navy-500);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--navy-400);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--navy-300);
  padding: 6px 0;
}

.pricing-card__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%233b82f6'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-card__btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  text-align: center;
  text-decoration: none;
  border: none;
}

.pricing-card__btn--outline {
  background: transparent;
  color: var(--navy-300);
  border: 1px solid var(--navy-700);
}

.pricing-card__btn--outline:hover {
  border-color: var(--navy-500);
  color: var(--white);
}

.pricing-card__btn--filled {
  background: var(--blue-500);
  color: var(--white);
}

.pricing-card__btn--filled:hover {
  background: var(--blue-600);
  box-shadow: var(--shadow-glow);
  color: var(--white);
}

/* --- FAQ --- */
.faq {
  padding: 80px 0;
  border-top: 1px solid var(--navy-800);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--navy-900);
  border: 1px solid var(--navy-800);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq__item:hover {
  border-color: var(--navy-700);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--blue-400);
}

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy-500);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
  color: var(--blue-400);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq__item--open .faq__answer {
  max-height: 300px;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--navy-400);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  border-top: 1px solid var(--navy-800);
}

.cta-banner__inner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.cta-banner__text {
  font-size: 1rem;
  color: var(--navy-400);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--navy-800);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.footer__brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--navy-600);
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--navy-500);
}

.footer__links a:hover {
  color: var(--navy-300);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

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

.animate-in:nth-child(1) { animation-delay: 0ms; }
.animate-in:nth-child(2) { animation-delay: 60ms; }
.animate-in:nth-child(3) { animation-delay: 120ms; }
.animate-in:nth-child(4) { animation-delay: 180ms; }
.animate-in:nth-child(5) { animation-delay: 240ms; }
.animate-in:nth-child(6) { animation-delay: 300ms; }
.animate-in:nth-child(7) { animation-delay: 360ms; }
.animate-in:nth-child(8) { animation-delay: 420ms; }
.animate-in:nth-child(9) { animation-delay: 480ms; }
.animate-in:nth-child(10) { animation-delay: 540ms; }
