:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --soft: #f8fafc;
  --green: #10b981;
  --purple: #8b5cf6;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius: 8px;
}

/* Base elements */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.35);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: var(--primary);
  border-color: var(--primary);
}

.section-padding {
  padding: 108px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.dashboard-section h2,
.industries-section h2,
.faq-section h2,
.testimonial-intro h2,
.cta-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0;
  line-height: 1.08;
  font-weight: 800;
}

.section-copy,
.lead {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Navigation */
.navbar-glass {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.navbar-glass.navbar-scrolled {
  padding: 0.7rem 0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.navbar-brand,
.footer-brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #22c55e);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.navbar .nav-link {
  color: #334155;
  font-weight: 700;
  font-size: 0.94rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

.nav-login {
  color: #334155;
  font-weight: 700;
  text-decoration: none;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 154px 0 96px;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(16, 185, 129, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}

.hero-section h1 {
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-mockup,
.analytics-preview,
.feature-card,
.pricing-card,
.testimonial-card,
.comparison-table-wrap,
.glass-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-mockup {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mockup-topbar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 252, 0.9);
}

.mockup-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mockup-topbar span:first-child {
  background: #fb7185;
}

.mockup-topbar span:nth-child(2) {
  background: #fbbf24;
}

.mockup-topbar span:nth-child(3) {
  background: #34d399;
}

.mockup-topbar strong {
  margin-left: auto;
  color: #475569;
  font-size: 0.84rem;
}

.mockup-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 470px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  background: #0f172a;
}

.mock-logo,
.mock-sidebar span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
}

.mock-logo {
  background: var(--primary);
}

.mock-sidebar span.active {
  background: #ffffff;
}

.mock-content {
  padding: 1.25rem;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.mock-header,
.analytics-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mock-header small,
.analytics-header small {
  color: var(--muted);
  font-weight: 700;
}

.mock-header h2,
.analytics-header h3 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
}

.mock-header button {
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  color: #ffffff;
  background: var(--primary);
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1.25rem 0;
}

.metric-grid div,
.job-card,
.preview-list div {
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 1rem;
}

.metric-grid i {
  color: var(--primary);
  font-size: 1.2rem;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-top: 0.7rem;
  font-size: 1.35rem;
}

.metric-grid span,
.job-card small,
.preview-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.job-board {
  display: grid;
  gap: 0.85rem;
}

.job-card {
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--primary);
}

.job-card.accent-green::before {
  background: var(--green);
}

.job-card.accent-purple::before {
  background: var(--purple);
}

.job-card span,
.job-card strong,
.job-card small {
  display: block;
}

.job-card span {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.job-card strong {
  margin: 0.25rem 0;
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.brand-row span {
  color: #64748b;
  font-weight: 800;
}

/* Feature and industry cards */
.feature-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feature-card i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.35rem;
}

.feature-card h3,
.pricing-card h3 {
  margin-top: 1.4rem;
  font-size: 1.22rem;
  font-weight: 800;
}

.feature-card p,
.pricing-card p,
.testimonial-card p,
.testimonial-intro p,
.site-footer p {
  color: var(--muted);
}

.industries-section,
.pricing-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.industry-grid div {
  min-height: 142px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.industry-grid i {
  color: var(--primary);
  font-size: 1.5rem;
}

.industry-grid span {
  font-weight: 800;
}

/* Interactive timeline */
.timeline-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline-progress {
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(37, 99, 235, 0.1));
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-step span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 900;
}

.timeline-step strong,
.timeline-step small {
  display: block;
}

.timeline-step strong {
  margin: 0.9rem 0 0.3rem;
  font-size: 1.05rem;
}

.timeline-step small {
  color: var(--muted);
}

.timeline-step.active {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-5px);
}

.timeline-detail {
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-detail i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #ffffff;
  background: var(--primary);
  font-size: 1.35rem;
}

.timeline-detail h3 {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.timeline-detail p {
  margin: 0;
  color: var(--muted);
}

.process-section {
  background:
    radial-gradient(circle at 18% 28%, rgba(37, 99, 235, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.process-flow {
  position: relative;
  padding: 0;
  margin-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  padding: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.process-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -1.05rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-size: 1.15rem;
  font-weight: 900;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.process-step:nth-child(4)::after {
  content: "↓";
  top: auto;
  right: 50%;
  bottom: -1.05rem;
  transform: translateX(50%);
}

.process-step:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}

.process-step:nth-child(6) {
  grid-column: 3;
  grid-row: 2;
}

.process-step:nth-child(7) {
  grid-column: 2;
  grid-row: 2;
}

.process-step:nth-child(8) {
  grid-column: 1;
  grid-row: 2;
}

.process-step:nth-child(5)::after,
.process-step:nth-child(6)::after,
.process-step:nth-child(7)::after {
  content: "←";
}

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

.step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: rgba(37, 99, 235, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-step i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  font-size: 1.45rem;
}

.process-step strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 850;
}

.dashboard-section {
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(16, 185, 129, 0.05)),
    #ffffff;
}

.check-list {
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: #334155;
  font-weight: 700;
}

.check-list i {
  color: var(--green);
  font-size: 1.15rem;
}

.analytics-preview {
  border-radius: 8px;
  padding: 1.5rem;
}

.analytics-header span {
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.45rem 0.75rem;
  font-weight: 800;
}

.chart-bars {
  height: 250px;
  display: flex;
  align-items: end;
  gap: 0.8rem;
  padding: 1.2rem 0;
}

.chart-bars span {
  flex: 1;
  min-width: 22px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--primary), #93c5fd);
}

.preview-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.preview-list strong,
.preview-list span {
  display: block;
}

.comparison-table-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.comparison-table {
  min-width: 680px;
}

.comparison-table th {
  padding: 1.2rem;
  color: var(--ink);
  background: #f8fafc;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.comparison-table td {
  padding: 1.2rem;
  color: #334155;
  font-weight: 650;
}

.comparison-table .bi-check-circle {
  color: var(--green);
}

.comparison-table .bi-x-circle {
  color: #ef4444;
}

/* Testimonials, pricing, and FAQ */
.testimonials-section {
  background: #0f172a;
  color: #ffffff;
}

.testimonial-intro {
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-intro p {
  color: #cbd5e1;
}

.testimonial-card {
  height: 100%;
  border-radius: var(--radius);
  padding: 2rem;
}

.stars {
  color: #f59e0b;
  display: flex;
  gap: 0.18rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.04rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  color: var(--muted);
}

.pricing-card {
  position: relative;
  height: 100%;
  border-radius: 24px;
  padding: 2.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pricing-card.featured {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.plan-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.35rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.price {
  margin: 1.4rem 0;
  font-size: clamp(2.05rem, 4vw, 2.55rem);
  line-height: 1;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card ul {
  padding: 0;
  margin: 0 0 1.6rem;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.pricing-card li {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: #334155;
  font-weight: 700;
}

.pricing-card li i {
  color: var(--green);
  font-size: 1.2rem;
}

.faq-accordion {
  display: grid;
  gap: 1rem;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-accordion .accordion-button {
  border-radius: 8px;
  font-weight: 800;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.cta-section {
  padding: 36px 0 110px;
}

/* Final CTA and footer */
.cta-panel {
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(15, 23, 42, 0.94)),
    var(--primary);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cta-panel .eyebrow {
  color: #bfdbfe;
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0.7rem 0 0;
}

.site-footer {
  padding: 64px 0 28px;
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.site-footer h3 {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer a:not(.footer-brand) {
  display: block;
  color: var(--muted);
  margin-top: 0.6rem;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1199.98px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
  }

  .hero-section {
    padding-top: 132px;
  }

  .timeline-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-progress {
    display: none;
  }

  .preview-list {
    grid-template-columns: 1fr;
  }

  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(5),
  .process-step:nth-child(6),
  .process-step:nth-child(7),
  .process-step:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
  }

  .process-step:nth-child(4)::after {
    content: "→";
    top: 50%;
    right: -1.05rem;
    bottom: auto;
    transform: translateY(-50%);
  }

  .process-step:nth-child(even)::after {
    display: none;
  }

  .cta-panel,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 76px 0;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mock-sidebar {
    display: none;
  }

  .metric-grid,
  .industry-grid,
  .timeline-wrapper {
    grid-template-columns: 1fr;
  }

  .process-flow {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 126px;
  }

  .process-step::after,
  .process-step:nth-child(4)::after,
  .process-step:nth-child(even)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -1.05rem;
    display: inline-flex;
    transform: translateX(50%);
  }

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

  .mock-header,
  .analytics-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-bars {
    height: 190px;
  }

  .comparison-table-wrap {
    overflow-x: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-bottom: 72px;
  }

  .feature-card,
  .pricing-card,
  .testimonial-card,
  .testimonial-intro {
    padding: 1.35rem;
  }

  .timeline-detail {
    flex-direction: column;
  }

}
