/* ============================================
   ShipLinker - Premium SaaS Marketing Website
   CSS Stylesheet
   ============================================ */

/* === CSS VARIABLES === */
:root {
  --brand-gradient: linear-gradient(61deg, #001644 3.91%, #001B61 31.21%, #155FFF 73.35%);
  --brand-dark: #001644;
  --brand-mid: #001B61;
  --brand-blue: #155FFF;
  --brand-light-blue: #4A7FFF;
  --white: #ffffff;
  --off-white: #F8FAFF;
  --light-gray: #F1F4F9;
  --mid-gray: #E2E8F0;
  --text-dark: #0F1729;
  --text-mid: #3A4563;
  --text-muted: #6B7A99;
  --border-light: #E8EDF5;
  --success: #10B981;
  --shadow-sm: 0 1px 3px rgba(21, 95, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(21, 95, 255, 0.10), 0 2px 6px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(21, 95, 255, 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 24px 64px rgba(21, 95, 255, 0.18), 0 8px 24px rgba(0, 0, 0, 0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.display-hero {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* === UTILITIES === */
.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.bg-off-white { background: var(--off-white); }
.brand-gradient-bg { background: var(--brand-gradient); }

/* === BUTTONS === */
.btn-primary-brand {
  background: var(--brand-gradient);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(21, 95, 255, 0.35);
}

.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21, 95, 255, 0.45);
  color: var(--white);
}

.btn-secondary-brand {
  background: transparent;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary-brand:hover {
  background: rgba(21, 95, 255, 0.06);
  transform: translateY(-2px);
  color: var(--brand-blue);
}

.btn-white {
  background: var(--white);
  color: var(--brand-dark);
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  color: var(--brand-dark);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  color: var(--white);
}

/* === NAVIGATION === */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  padding: 0;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  letter-spacing: -0.05em;
}

.nav-logo-text {
  font-size: 1.22rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--brand-blue);
  background: rgba(21, 95, 255, 0.06);
}

.nav-links a.pricing-link {
  color: var(--text-mid);
}

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

.nav-ctas .btn-secondary-brand { padding: 9px 20px; font-size: 0.88rem; }
.nav-ctas .btn-primary-brand { padding: 9px 20px; font-size: 0.88rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* Mobile nav must be hidden by default at ALL widths;
   it is only revealed inside the max-width media query when .open is added */
.mobile-nav {
  display: none;
}

.mobile-nav.open {
  display: block;
}

/* === HERO SECTION === */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  background: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob-1 {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(21, 95, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-blob-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0, 27, 97, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 95, 255, 0.07);
  border: 1px solid rgba(21, 95, 255, 0.18);
  color: var(--brand-blue);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-headline { margin-bottom: 24px; }

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-trust-avatars {
  display: flex;
}

.hero-trust-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}

.hero-trust-avatar:first-child { margin-left: 0; }

/* Hero visual area */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-browser {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.hero-browser:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.browser-bar {
  background: var(--light-gray);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--mid-gray);
}

.browser-dots { display: flex; gap: 6px; }
.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.browser-dot-red { background: #FF5F57; }
.browser-dot-yellow { background: #FFBD2E; }
.browser-dot-green { background: #28CA41; }

.browser-url {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.77rem;
  color: var(--text-muted);
  border: 1px solid var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-url .lock-icon {
  color: var(--success);
  font-size: 0.7rem;
}

.browser-screen {
  background: var(--off-white);
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

/* Dashboard mockup inside browser */
.dash-mockup {
  display: flex;
  height: 380px;
}

.dash-sidebar {
  width: 52px;
  background: var(--brand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 14px;
}

.dash-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition);
}

.dash-nav-icon.active {
  background: var(--brand-blue);
  color: white;
}

.dash-main {
  flex: 1;
  background: var(--off-white);
  overflow: auto;
  padding: 16px;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dash-topbar h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.dash-stat-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-light);
}

.dash-stat-label { font-size: 0.62rem; color: var(--text-muted); margin-bottom: 4px; }
.dash-stat-value { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.dash-stat-change { font-size: 0.58rem; color: var(--success); }

.dash-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

.dash-chart-card, .dash-list-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  border: 1px solid var(--border-light);
}

.dash-mini-label { font-size: 0.65rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(21, 95, 255, 0.15);
  transition: all var(--transition);
}

.chart-bar.active { background: var(--brand-blue); }
.chart-bar:hover { background: rgba(21, 95, 255, 0.6); cursor: pointer; }

.courier-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.62rem;
}

.courier-list-item:last-child { border-bottom: none; }

.courier-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  margin-right: 6px;
}

/* Floating callouts */
.hero-callout {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
  z-index: 10;
  white-space: nowrap;
}

.hero-callout .callout-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
}

.hero-callout-1 { top: 20px; left: -30px; animation-delay: 0s; }
.hero-callout-2 { top: 80px; right: -20px; animation-delay: 0.7s; }
.hero-callout-3 { bottom: 100px; left: -20px; animation-delay: 1.4s; }
.hero-callout-4 { bottom: 20px; right: -10px; animation-delay: 2.1s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* === STATS BAR === */
.stats-bar {
  padding: 40px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.stat-item { text-align: center; padding: 0 24px; }
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--mid-gray);
  align-self: center;
}

/* === INTEGRATIONS SECTION === */
#integrations .logo-track-wrapper {
  overflow: hidden;
  position: relative;
}

#integrations .logo-track-wrapper::before,
#integrations .logo-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

#integrations .logo-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--off-white), transparent);
}

#integrations .logo-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--off-white), transparent);
}

.logo-track {
  display: flex;
  gap: 32px;
  animation: scroll-logos 28s linear infinite;
  width: max-content;
}

.logo-track:hover { animation-play-state: paused; }

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  min-width: 140px;
  height: 64px;
  flex-shrink: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.logo-item:hover {
  border-color: rgba(21, 95, 255, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.logo-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: -0.01em;
}

.logo-category-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
}

/* === WHY CHOOSE SECTION === */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(21, 95, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.feature-card h5 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* === WHAT MAKES DIFFERENT === */
.ownership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.ownership-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}

.ownership-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

.ownership-item .icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.ownership-item .label {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 6px;
}

.ownership-item .desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* === FEATURE SHOWCASE === */
.feature-category {
  margin-bottom: 48px;
}

.feature-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand-gradient);
  border-image: var(--brand-gradient) 1;
}

.category-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

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

.feature-tag {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}

.feature-tag:hover {
  background: rgba(21, 95, 255, 0.06);
  border-color: rgba(21, 95, 255, 0.25);
  color: var(--brand-blue);
}

.feature-tag i { font-size: 0.75rem; color: var(--brand-blue); }

/* === PRODUCT SHOWCASE === */
.product-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.product-tab {
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  background: var(--white);
  color: var(--text-muted);
  transition: all var(--transition);
}

.product-tab.active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 16px rgba(21, 95, 255, 0.3);
}

.product-tab:hover:not(.active) {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.product-pane { display: none; }
.product-pane.active { display: block; }

.product-browser {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.product-screen {
  background: var(--off-white);
  padding: 20px;
  min-height: 360px;
}

/* Simulated screen content */
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.screen-title { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); }

.screen-table {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.screen-table-header {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
  padding: 10px 16px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.screen-table-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr 1fr;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
  font-size: 0.78rem;
  transition: background var(--transition);
}

.screen-table-row:last-child { border-bottom: none; }
.screen-table-row:hover { background: rgba(21, 95, 255, 0.03); }

.row-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
}

.badge-success { background: rgba(16, 185, 129, 0.1); color: #059669; }
.badge-pending { background: rgba(245, 158, 11, 0.1); color: #D97706; }
.badge-transit { background: rgba(21, 95, 255, 0.1); color: var(--brand-blue); }
.badge-rto { background: rgba(239, 68, 68, 0.1); color: #DC2626; }

.product-info-panel {
  margin-top: 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.product-info-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.product-info-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* === HOW IT WORKS === */
.steps-timeline {
  position: relative;
  padding-left: 0;
}

.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.step-item:last-child { margin-bottom: 0; }

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(21, 95, 255, 0.3);
  z-index: 1;
}

.step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--brand-blue), var(--border-light));
  margin: 8px 0;
  min-height: 40px;
}

.step-item:last-child .step-line { display: none; }

.step-content {
  padding-top: 12px;
  flex: 1;
}

.step-content h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* === FAQ === */
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  border: none;
  box-shadow: none;
  padding: 20px 24px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-blue);
  background: rgba(21, 95, 255, 0.04);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23155FFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-accordion .accordion-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding: 0 24px 20px;
}

/* === FINAL CTA === */
#final-cta {
  background: var(--brand-gradient);
  position: relative;
  overflow: hidden;
}

#final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 3fr 0 2fr;
  gap: 0;
  align-items: center;
}

/* === FOOTER === */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: white;
}

.footer-brand-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
  line-height: 1.6;
  max-width: 240px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  transform: translateY(-2px);
}

/* === MODAL === */
.modal-content {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.modal-header {
  background: var(--brand-gradient);
  border: none;
  padding: 24px 28px;
}

.modal-title { color: white; font-weight: 700; font-size: 1.15rem; }
.btn-close { filter: invert(1) brightness(2); opacity: 0.75; }
.btn-close:hover { opacity: 1; }

.modal-body { padding: 28px; }

.modal-body .form-control, .modal-body .form-select {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.modal-body .form-control:focus, .modal-body .form-select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(21, 95, 255, 0.12);
}

.modal-body label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; }

/* === SCROLL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* === BACK TO TOP === */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

#backToTop.visible { opacity: 1; pointer-events: all; }
#backToTop:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-toggle { display: block; }

  .mobile-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .mobile-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
  }

  .mobile-nav a:hover { background: var(--off-white); color: var(--brand-blue); }
  .mobile-nav .mobile-cta-row { display: flex; gap: 10px; margin-top: 12px; padding: 0 4px; }
  .mobile-nav .mobile-cta-row .btn-primary-brand,
  .mobile-nav .mobile-cta-row .btn-secondary-brand { flex: 1; justify-content: center; }

  #hero { padding-top: 100px; }
  .hero-visual { margin-top: 40px; }
  .hero-browser { transform: none; }
  .hero-callout { display: none; }

  .section-pad { padding: 64px 0; }
  .stats-bar .d-flex { flex-wrap: wrap; justify-content: center !important; }
  .stat-divider { display: none; }
  .stat-item { width: 50%; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .screen-table-header, .screen-table-row {
    grid-template-columns: 2fr 1.5fr 1fr;
  }
  .screen-table-header > *:nth-child(4),
  .screen-table-header > *:nth-child(5),
  .screen-table-row > *:nth-child(4),
  .screen-table-row > *:nth-child(5) { display: none; }
}

@media (max-width: 767px) {
  .display-hero { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .section-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn-primary-brand, .hero-ctas .btn-secondary-brand { width: 100%; justify-content: center; }
  .product-tabs { gap: 6px; }
  .product-tab { padding: 7px 14px; font-size: 0.78rem; }
  .ownership-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* === MISC === */
.text-brand { color: var(--brand-blue) !important; }

.badge-new {
  background: rgba(21, 95, 255, 0.1);
  color: var(--brand-blue);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.highlight-box {
  background: rgba(21, 95, 255, 0.05);
  border: 1px solid rgba(21, 95, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.counter-number {
  font-variant-numeric: tabular-nums;
}

/* === PRICING SECTION NAV REFERENCE === */
a[href="#pricing"] { cursor: pointer; }
