@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Roboto:wght@300;400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --background: 40 33% 96%;
  --foreground: 222 91% 30%;
  --card: 40 25% 93%;
  --card-foreground: 222 91% 30%;
  --primary: 222 91% 30%;
  --primary-foreground: 0 0% 100%;
  --secondary: 40 20% 90%;
  --secondary-foreground: 222 40% 35%;
  --muted: 40 15% 91%;
  --muted-foreground: 222 20% 46%;
  --accent: 222 91% 30%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 72% 51%;
  --destructive-foreground: 0 0% 100%;
  --border: 222 12% 82%;
  --input: 222 12% 82%;
  --ring: 222 91% 30%;
  --radius: 0.5rem;
  --surface-elevated: 0 0% 100%;
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Roboto", -apple-system, sans-serif;
  --shadow-card: 0 1px 3px hsl(222 91% 30%/0.04);
  --shadow-elevated: 0 4px 24px hsl(222 91% 30%/0.06);
}
html {
  scroll-behavior: smooth;
}
body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
}
::selection {
  background: hsl(var(--primary) / 0.15);
  color: hsl(var(--foreground));
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}
ul {
  list-style: none;
}
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 640px) {
  .section-container {
    padding: 0 2.5rem;
  }
}
@media (min-width: 1024px) {
  .section-container {
    padding: 0 4rem;
  }
}
.font-display {
  font-family: var(--font-display);
}
.font-body {
  font-family: var(--font-body);
}
.bg-primary {
  background: hsl(var(--primary));
}
.bg-background {
  background: hsl(var(--background));
}
.bg-card {
  background: hsl(var(--card));
}
.text-primary {
  color: hsl(var(--primary));
}
.text-foreground {
  color: hsl(var(--foreground));
}
.text-muted {
  color: hsl(var(--muted-foreground));
}
.text-primary-fg {
  color: hsl(var(--primary-foreground));
}
.border-b-border {
  border-bottom: 1px solid hsl(var(--border));
}
.border-t-border {
  border-top: 1px solid hsl(var(--border));
}

/* Navbar */
.process-step:hover .process-pulse {
  display: block;
}
.process-step:hover .process-node {
  background: #073192;
  border-color: #073192;
  color: #fff;
  box-shadow: 0 0 30px rgb(7 49 146 / 35%);
  transform: scale(1.2);
}
nav.navbar.scrolled .nav-logo {
  filter: brightness(0) !important;
}
.navbar img.nav-logo {
  filter: none !important;
}
.navbar .nav-links a {
  color: rgb(255 255 255 / 65%) !important;
}
nav.navbar.scrolled .nav-links a {
  color: #5e6c8d !important;
}
.nav-cta {
  background: #ffffff !important;
  color: #073192 !important;
}
nav.navbar.scrolled .nav-cta {
  background: #073192 !important;
  color: #ffffff !important;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s;
}
.navbar.scrolled {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  height: 40px;
  width: auto;
  transition: all 0.3s;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  transition: color 0.3s;
}
.nav-cta {
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
.mobile-menu {
  display: none;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  padding: 1.5rem;
}
.mobile-menu.open {
  display: block;
}
@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}
.mobile-menu a,
.mobile-menu button.mob-link {
  display: block;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.3);
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
  width: 100%;
  text-align: left;
}
.mobile-menu a:last-of-type {
  border-bottom: none;
}
.mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  margin-top: 1rem;
  transition: all 0.3s;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .hero-content {
    padding-top: 8rem;
  }
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 56rem;
  text-wrap: balance;
}
.hero h1 .dim {
  opacity: 0.6;
}
.hero-divider {
  height: 1px;
  width: 6rem;
  background: hsl(var(--primary-foreground) / 0.2);
  margin: 2rem 0;
}
.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: hsl(var(--primary-foreground) / 0.7);
  line-height: 1.7;
  max-width: 32rem;
  margin-bottom: 3rem;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .hero-btns {
    flex-direction: row;
  }
}
.btn-light {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  letter-spacing: 0.025em;
}
.btn-light:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-outline-light {
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary-foreground) / 0.4);
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  letter-spacing: 0.025em;
  background: transparent;
}
.btn-outline-light:hover {
  background: hsl(var(--primary-foreground) / 0.1);
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 14px;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  transition: all 0.3s;
  font-family: var(--font-body);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
}
.cta-button:hover {
  background: hsl(222 91% 24%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px hsl(var(--primary) / 0.25);
}
.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 14px;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  transition: all 0.3s;
  font-family: var(--font-body);
  border: 1.5px solid hsl(var(--primary));
  color: hsl(var(--primary));
  background: transparent;
}
.cta-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Sections */
.section-py {
  padding: 6rem 0;
}
@media (min-width: 640px) {
  .section-py {
    padding: 8rem 0;
  }
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 42rem;
  margin-bottom: 1rem;
}
.section-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  max-width: 32rem;
}
@media (min-width: 640px) {
  .section-sub {
    font-size: 16px;
  }
}
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}

/* Apple Card */
.apple-card {
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s;
  background: hsl(var(--surface-elevated));
  border: 1px solid hsl(var(--border));
}
.apple-card:hover {
  box-shadow: var(--shadow-elevated);
}
.apple-card-lg {
  border-radius: 0.75rem;
  padding: 2.5rem;
  transition: all 0.3s;
  background: hsl(var(--surface-elevated));
  border: 1px solid hsl(var(--border));
}
@media (min-width: 640px) {
  .apple-card-lg {
    padding: 3rem;
  }
}
.apple-card-lg:hover {
  box-shadow: var(--shadow-elevated);
}

/* Solutions Section - Scroll-driven tabs */
.solutions-wrapper {
  position: relative;
  height: 200vh;
}
.solutions-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  background: hsl(var(--primary));
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.solutions-sticky .section-container {
  padding-top: 6rem;
  padding-bottom: 4rem;
  width: 100%;
}
@media (min-width: 640px) {
  .solutions-sticky .section-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
.tab-btn {
  position: relative;
  padding-bottom: 1rem;
  margin-right: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 640px) {
  .tab-btn {
    margin-right: 3.5rem;
  }
}
.tab-btn span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.tab-btn.active span {
  color: hsl(var(--primary-foreground));
}
.tab-btn:not(.active) span {
  color: hsl(var(--primary-foreground) / 0.35);
}
.tab-btn:not(.active):hover span {
  color: hsl(var(--primary-foreground) / 0.6);
}
.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: hsl(var(--primary-foreground));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tab-btn.active .tab-indicator {
  transform: scaleX(1);
}
.tab-content {
  transition:
    opacity 0.45s,
    transform 0.45s;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

/* Case Studies - Sticky Cards */
.sticky-card-wrapper {
  position: sticky;
}
.sticky-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1.5rem;
  transition: transform 0.3s;
}
.sticky-card.dark {
  background: hsl(var(--primary));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sticky-card.light {
  background: white;
  border: 1px solid hsl(var(--border));
}
.sticky-card-inner {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 420px;
}
@media (min-width: 640px) {
  .sticky-card-inner {
    padding: 2.5rem;
    flex-direction: row;
    gap: 2.5rem;
    min-height: 460px;
  }
}
@media (min-width: 1024px) {
  .sticky-card-inner {
    padding: 3.5rem;
    min-height: 500px;
  }
}
.card-big-num {
  display: none;
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 1;
  font-weight: 700;
  user-select: none;
}
@media (min-width: 640px) {
  .card-big-num {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
}
@media (min-width: 1024px) {
  .card-big-num {
    font-size: 200px;
  }
}

/* Testimonial Carousel */
.quote-carousel {
  position: relative;
  min-height: 260px;
}
@media (min-width: 640px) {
  .quote-carousel {
    min-height: 220px;
  }
}
.quote-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.quote-item.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.dot-indicators {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.dot {
  height: 6px;
  border-radius: 9999px;
  transition: all 0.5s;
  cursor: pointer;
  border: none;
  background: hsl(var(--border));
}
.dot.active {
  width: 24px;
  background: hsl(var(--primary));
}
.dot:not(.active) {
  width: 6px;
}
.dot:not(.active):hover {
  background: hsl(var(--muted-foreground) / 0.4);
}

/* Reality Check Grid */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .reality-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.reality-card {
  padding: 1.5rem 2rem;
  border-top: 1px solid hsl(var(--border));
  transition: transform 0.25s;
}
.reality-card:hover {
  transform: scale(1.03);
}
@media (min-width: 640px) {
  .reality-card:nth-child(odd) {
    border-right: 1px solid hsl(var(--border));
  }
}
.reality-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: hsl(var(--primary) / 0.15);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.reality-card:hover .reality-num {
  color: hsl(var(--primary) / 0.3);
}

/* Process Section — Desktop Horizontal Rail */
.process-rail {
  position: relative;
  display: none;
}
@media (min-width: 1024px) {
  .process-rail {
    display: block;
  }
}
.process-rail-line {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 2px;
  background: hsl(var(--border));
}
.process-rail-progress {
  position: absolute;
  top: 28px;
  left: 0;
  height: 2px;
  width: 100%;
  background: hsl(var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-rail-progress.animated {
  transform: scaleX(1);
}
.process-steps-row {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 18%;
  cursor: default;
}
.process-node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid hsl(var(--border));
  background: hsl(var(--background));
  transition: all 0.5s;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  position: relative;
  z-index: 2;
}
.process-step.active .process-node {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 30px hsl(var(--primary) / 0.35);
  transform: scale(1.2);
}
.process-step:hover .process-node {
  box-shadow:
    0 0 40px hsl(var(--primary) / 0.3),
    0 0 80px hsl(var(--primary) / 0.1);
}
.process-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid hsl(var(--primary));
  animation: processPulse 1s ease-out infinite;
  display: none;
}
.process-step.active .process-pulse {
  display: block;
}
@keyframes processPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.process-step-content {
  margin-top: 1.5rem;
  text-align: center;
}
.process-step-title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  transition: all 0.3s;
}
.process-step-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  transition: all 0.5s;
}
.process-step.active .process-step-title {
  transform: translateY(-4px) scale(1.05);
}
.process-step.active .process-step-desc {
  opacity: 1;
}
.process-step.dimmed .process-step-title {
  color: hsl(var(--foreground) / 0.3);
}
.process-step.dimmed .process-step-desc {
  color: hsl(var(--muted-foreground) / 0.3);
  opacity: 0.3;
}
.process-chevron {
  position: absolute;
  top: 28px;
  right: -6px;
  z-index: 0;
  color: hsl(var(--border));
  transform: translateX(4px);
}

/* Process Section — Mobile Vertical Rail */
.process-mobile {
  position: relative;
  display: block;
}
@media (min-width: 1024px) {
  .process-mobile {
    display: none;
  }
}
.process-mobile-line {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsl(var(--border));
}
.process-mobile-progress {
  position: absolute;
  left: 27px;
  top: 0;
  width: 2px;
  height: 100%;
  background: hsl(var(--primary));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}
.process-mobile-progress.animated {
  transform: scaleY(1);
}
.process-mobile-step {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
}
.process-mobile-step:first-child {
  padding-top: 0;
}
.process-mobile-step:last-child {
  padding-bottom: 0;
}
.process-mobile-node-wrap {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.process-mobile-step .process-node {
  color: hsl(var(--primary));
}
.process-mobile-step.active .process-node {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 0 30px hsl(var(--primary) / 0.35);
}
.process-mobile-step.active .process-pulse {
  display: block;
}
.process-mobile-arrow {
  position: absolute;
  left: 22px;
  bottom: -4px;
  z-index: 3;
  color: hsl(var(--muted-foreground) / 0.4);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid hsl(var(--border));
}
.faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-q {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: hsl(var(--foreground));
  line-height: 1.5;
  transition: color 0.3s;
}
.faq-btn:hover .faq-q {
  color: hsl(var(--primary));
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
  margin-top: 2px;
}
.faq-icon svg {
  width: 12px;
  height: 12px;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: hsl(var(--primary));
}
.faq-item.open .faq-icon svg {
  color: hsl(var(--primary));
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.35s;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
}
.faq-answer-inner {
  padding-bottom: 1.5rem;
}
.faq-answer p {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  max-width: 32rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #072b90;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 4fr 2fr 2fr 3fr;
    gap: 2rem;
  }
}

/* Blog Card */
.blog-card {
  padding: 2rem 0;
  border-bottom: 1px solid hsl(var(--border));
  cursor: pointer;
  transition: all 0.3s;
}
.blog-card:hover h3 {
  color: hsl(var(--primary));
}

/* Contact Form Dialog */
.dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.dialog-overlay.open {
  display: flex;
}
.dialog-content {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s;
}
.dialog-close:hover {
  color: hsl(var(--foreground));
}
.dialog-body {
  padding: 1.5rem 2rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 0.375rem;
}
.form-label .req {
  color: hsl(var(--destructive));
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  transition: border-color 0.3s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: hsl(var(--primary));
}
.form-textarea {
  resize: none;
  min-height: 80px;
}
.form-submit {
  width: 100%;
  padding: 0.75rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 0.5rem;
}
.form-submit:hover {
  background: hsl(222 91% 24%);
}
.form-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: hsl(var(--muted-foreground) / 0.5);
  text-align: center;
  margin-top: 0.75rem;
}
.form-error {
  font-family: var(--font-body);
  font-size: 12px;
  color: hsl(var(--destructive));
  margin-top: 0.25rem;
}
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 200;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-size: 14px;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.3s;
}
.toast.show {
  transform: translateX(0);
}

/* Scroll animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service accordion */
.svc-accordion .svc-item {
  border-bottom: 1px solid hsl(var(--border));
}
.svc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 640px) {
  .svc-btn {
    gap: 1.5rem;
    padding: 1.75rem 0;
  }
}
.svc-num {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground) / 0.4);
  flex-shrink: 0;
  width: 24px;
}
.svc-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.2;
  flex: 1;
  transition: color 0.3s;
  color: hsl(var(--muted-foreground));
}
.svc-item.open .svc-title {
  color: hsl(var(--foreground));
}
.svc-btn:hover .svc-title {
  color: hsl(var(--foreground));
}
.svc-icon-wrap {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}
.svc-item.open .svc-icon-wrap {
  transform: rotate(45deg);
  border-color: hsl(var(--primary));
}
.svc-icon-wrap svg {
  width: 12px;
  height: 12px;
  color: hsl(var(--muted-foreground));
}
.svc-item.open .svc-icon-wrap svg {
  color: hsl(var(--primary));
}
.svc-content {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s;
  opacity: 0;
}
.svc-item.open .svc-content {
  max-height: 600px;
  opacity: 1;
}
.svc-bullets {
  padding: 0 0 1.75rem;
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 32rem;
}
@media (min-width: 640px) {
  .svc-bullets {
    padding-left: 3rem;
  }
}
.svc-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}
.svc-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 7px;
}
.svc-bullet span {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}
@media (min-width: 640px) {
  .svc-bullet span {
    font-size: 15px;
  }
}

/* Trap accordion (About page) */
.trap-item {
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.5s;
  margin-bottom: 0.75rem;
}
.trap-item.open {
  border-color: hsl(var(--primary) / 0.2);
  background: hsl(var(--card));
  box-shadow: var(--shadow-elevated);
}
.trap-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.trap-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  transition: color 0.3s;
  color: hsl(var(--muted-foreground) / 0.3);
}
.trap-item.open .trap-num {
  color: hsl(var(--primary));
}
.trap-title {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.2;
  flex: 1;
  transition: color 0.3s;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 640px) {
  .trap-title {
    font-size: 20px;
  }
}
.trap-item.open .trap-title {
  color: hsl(var(--foreground));
}
.trap-chevron {
  flex-shrink: 0;
  color: hsl(var(--muted-foreground));
  transition: transform 0.3s;
}
.trap-item.open .trap-chevron {
  transform: rotate(180deg);
}
.trap-content {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s;
  opacity: 0;
}
.trap-item.open .trap-content {
  max-height: 300px;
  opacity: 1;
}
.trap-content-inner {
  padding: 0 1.5rem 1.5rem;
  padding-left: calc(1.5rem + clamp(2rem, 4vw, 3rem) + 1.25rem);
}
.trap-content-inner p {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
  max-width: 32rem;
}
@media (min-width: 640px) {
  .trap-content-inner p {
    font-size: 15px;
  }
}

/* Blog article styles */
.article-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: hsl(var(--foreground) / 0.85);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  line-height: 1.2;
  color: hsl(var(--foreground));
  margin-bottom: 1.5rem;
  margin-top: 3.5rem;
}
.article-body blockquote {
  margin: 3rem 0;
  border-left: 3px solid hsl(var(--primary) / 0.3);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
@media (min-width: 640px) {
  .article-body blockquote {
    padding-left: 2rem;
  }
}
.article-body blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  line-height: 1.55;
  color: hsl(var(--foreground) / 0.9);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.article-body blockquote cite {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  font-style: normal;
  font-weight: 500;
}
.article-body .highlight-card {
  margin-bottom: 2rem;
  background: hsl(var(--card));
  border-radius: 0.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid hsl(var(--border));
}
.article-body .highlight-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) {
  .article-body .highlight-card h3 {
    font-size: 20px;
  }
}
.article-body .highlight-card p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: hsl(var(--foreground) / 0.8);
  margin-bottom: 0;
}
.article-body strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.results-box {
  background: hsl(var(--primary));
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  margin: 2rem 0;
}
.results-box .results-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: hsl(var(--primary-foreground) / 0.6);
  margin-bottom: 1.5rem;
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.results-grid .val {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: hsl(var(--primary-foreground));
  margin-bottom: 0.25rem;
}
.results-grid .lbl {
  font-family: var(--font-body);
  font-size: 14px;
  color: hsl(var(--primary-foreground) / 0.7);
  line-height: 1.5;
}

/* Category filter */
.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cat-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.cat-btn.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.cat-btn:not(.active) {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.cat-btn:not(.active):hover {
  background: hsl(var(--secondary) / 0.7);
}

/* Separator */
.separator {
  height: 1px;
  width: 100%;
  background: hsl(var(--border));
}

/* Pain point grid */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Fit/Not fit grid */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .fit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Testimonial (service pages) */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Case study hero */
.cs-hero {
  background: hsl(var(--primary));
  padding-top: 7rem;
  padding-bottom: 4rem;
}
@media (min-width: 640px) {
  .cs-hero {
    padding-top: 9rem;
    padding-bottom: 6rem;
  }
}

/* Utility */
.hidden-md {
  display: none;
}
@media (min-width: 768px) {
  .hidden-md {
    display: block;
  }
}
.text-center {
  text-align: center;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-lg {
  max-width: 32rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}
.pt-8 {
  padding-top: 2rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-5 > * + * {
  margin-top: 1.25rem;
}
.grayscale {
  filter: grayscale(100%);
}
.rounded-full {
  border-radius: 9999px;
}
.inline-flex {
  display: inline-flex;
  align-items: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
