/* Minimal custom CSS (Tailwind handles most styling) */
:root {
  --brand: #0ea5e9;
  --ink: #0b1220;
  --tier-a: #f59e0b;
  --tier-b: #0ea5e9;
  --tier-c: #64748b;
}

/* Hero gradient background */
.hero-gradient {
  background: radial-gradient(1200px 600px at 20% 0%, rgba(14,165,233,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(99,102,241,.18), transparent 55%),
              linear-gradient(#ffffff, #f8fafc);
}

/* Card shadows */
.card {
  box-shadow: 0 10px 35px rgba(2, 6, 23, 0.06);
}

/* Small caps styling */
.smallcaps {
  letter-spacing: .14em;
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 0.5rem;
  margin-top: 0.5rem;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #475569;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
  background-color: #f1f5f9;
  color: #0f172a;
}

/* ============================================
   NICHE CARDS
   ============================================ */
.niche-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.niche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.1);
}

.niche-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #6366f1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

/* ============================================
   TIER BADGES
   ============================================ */
.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.375rem;
}

.tier-badge-a {
  background-color: #fef3c7;
  color: #d97706;
}

.tier-badge-b {
  background-color: #e0f2fe;
  color: #0284c7;
}

.tier-badge-c {
  background-color: #f1f5f9;
  color: #475569;
}

/* Tier card styling */
.tier-card-a {
  border-color: #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.tier-card-b {
  border-color: #7dd3fc;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.tier-card-c {
  border-color: #cbd5e1;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: #22c55e;
}

@media (min-width: 640px) {
  .trust-bar {
    gap: 1.5rem;
  }
}

/* ============================================
   FORM STEP INDICATORS
   ============================================ */
.form-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #e2e8f0;
  color: #64748b;
  transition: all 0.2s ease;
}

.form-step.active .form-step-number {
  background-color: #0ea5e9;
  color: white;
}

.form-step.completed .form-step-number {
  background-color: #22c55e;
  color: white;
}

.form-step-label {
  font-size: 0.875rem;
  color: #64748b;
}

.form-step.active .form-step-label {
  color: #0f172a;
  font-weight: 500;
}

.form-step-connector {
  width: 2rem;
  height: 2px;
  background-color: #e2e8f0;
}

.form-step.completed + .form-step-connector {
  background-color: #22c55e;
}

@media (max-width: 640px) {
  .form-step-label {
    display: none;
  }
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: white;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 20px rgba(2, 6, 23, 0.06);
}

.faq-item summary {
  padding: 1.25rem;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid #64748b;
  border-bottom: 2px solid #64748b;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item .faq-content {
  padding: 0 1.25rem 1.25rem;
  color: #475569;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================
   MOBILE HAMBURGER MENU
   ============================================ */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #0f172a;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 40;
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.1);
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #0f172a;
}

.mobile-menu-niche {
  padding-left: 1rem;
  border-left: 2px solid #e2e8f0;
  margin: 0.5rem 0;
}

.mobile-menu-niche a {
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  color: #0f172a;
}

.tab.active {
  color: #0ea5e9;
  border-bottom-color: #0ea5e9;
}

.tab-content {
  display: none;
  padding: 1.5rem 0;
}

.tab-content.active {
  display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border-image: linear-gradient(135deg, #0ea5e9, #6366f1) 1;
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: white;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(2, 6, 23, 0.1);
  z-index: 30;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ============================================
   PROCESS STEPS (How It Works)
   ============================================ */
.process-step {
  position: relative;
  padding-left: 3rem;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
}

.process-step::after {
  content: '';
  position: absolute;
  left: 0.9375rem;
  top: 2.5rem;
  bottom: -1.5rem;
  width: 2px;
  background: #e2e8f0;
}

.process-step:last-child::after {
  display: none;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9375rem;
}

.pricing-table tr:hover {
  background: #fafbfc;
}
