/* ===== Align.tech - Mobile-first responsive styles ===== */

/* Brand tokens */
:root {
  --white: #ffffff;
  --near-black: #020202;
  --slate-navy: #1e293b;
  --deep-blue: #022863;
  --bright-cyan: #06b6d4;
  --teal: #43b6ac;

  --container: 1120px;

  /* Type scale using clamp(min, vw, max) */
  --h1: clamp(28px, 5vw, 44px);
  --h2: clamp(20px, 3.2vw, 32px);
  --body: clamp(16px, 2.4vw, 18px);
  --small: 14px;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

/* Reset-ish */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Base */
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    Montserrat,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Ubuntu,
    "Helvetica Neue",
    sans-serif;
  color: #0f172a;
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Layout helpers */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px; /* tighter on mobile */
}
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* Top bar */
.topbar {
  border-bottom: 1px solid #f1f5f9;
  background: var(--white);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px; /* slimmer header */
}
@media (min-width: 768px) {
  .topbar .container {
    padding: 8px 16px;
  }
}

.logo-top {
  height: 14px;
  width: auto;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}
.logo-top:hover {
  transform: scale(1.05);
  opacity: 0.9;
}
@media (min-width: 768px) {
  .logo-top {
    height: 24px;
  }
}
@media (min-width: 1024px) {
  .logo-top {
    height: 28px;
  }
}

.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--deep-blue);
  text-decoration: none;
  padding: 6px 8px;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.08em;
  text-decoration-color: transparent;
}
.nav-link:hover {
  color: var(--bright-cyan);
  text-decoration: underline;
}

.contact {
  font-weight: 600;
  color: var(--deep-blue); /* branded blue instead of gray */
  text-decoration: none;
  padding: 6px 8px;
  transition: color 0.2s ease;
}
.contact:hover {
  color: var(--bright-cyan); /* cyan hover for interactive feel */
}

/* Hero */
.hero {
  color: #fff;
  background: var(--slate-navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 0 -10%;
  background:
    radial-gradient(
      1000px 400px at 10% 10%,
      rgba(6, 182, 212, 0.3),
      transparent 60%
    ),
    radial-gradient(
      800px 300px at 90% 20%,
      rgba(67, 182, 172, 0.25),
      transparent 60%
    );
  pointer-events: none;
  animation: heroGradient 15s ease infinite;
}

@keyframes heroGradient {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
.hero .container {
  position: relative;
  padding: 56px 16px 64px; /* more breathing room on mobile */
}
@media (min-width: 768px) {
  .hero .container {
    padding: 80px 24px 92px;
  } /* balanced on laptop/desktop */
}

/* Hero logo - centered with text */
.logo-hero {
  display: block;
  height: 100px;
  width: auto;
  margin: 8px auto 24px;
  object-fit: contain;
}
@media (min-width: 480px) {
  .logo-hero {
    height: 140px;
    margin: 10px auto 28px;
  }
}
@media (min-width: 768px) {
  .logo-hero {
    height: 180px;
    margin: 12px auto 34px;
  }
}
@media (min-width: 1200px) {
  .logo-hero {
    height: 220px;
    margin: 14px auto 40px;
  }
}

.hero h1 {
  font-size: var(--h1);
  line-height: 1.15;
  margin: 0 auto 10px;
  font-weight: 600;
  text-align: center;
  max-width: 900px;
}
.hero p {
  font-size: var(--body);
  line-height: 1.65;
  max-width: 780px;
  margin: 8px auto 0;
  color: #e2e8f0;
  text-align: center;
}

/* Support line */
.support-line {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: clamp(14px, 2vw, 15px);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* CTAs */
.cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  min-height: 44px; /* touch target */
}
.btn.primary {
  background: var(--bright-cyan);
  color: var(--deep-blue);
}
.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

/* How it works section */
.how-it-works {
  padding: 64px 0;
  background: var(--white);
}
@media (min-width: 768px) {
  .how-it-works {
    padding: 80px 0;
  }
}

.how-it-works h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 48px;
  font-weight: 700;
  text-align: center;
}

.how-it-works .steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

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

.how-it-works .step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.how-it-works .step:hover {
  border-color: var(--bright-cyan);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.18);
  transform: translateY(-6px);
}

.how-it-works .step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.how-it-works .step:nth-child(1) {
  animation-delay: 0.1s;
}
.how-it-works .step:nth-child(2) {
  animation-delay: 0.2s;
}
.how-it-works .step:nth-child(3) {
  animation-delay: 0.3s;
}

.how-it-works .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bright-cyan) 0%, var(--teal) 100%);
  color: white;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works .step h3 {
  color: var(--deep-blue);
  font-size: clamp(18px, 2.6vw, 20px);
  margin: 0 0 12px;
  font-weight: 600;
  line-height: 1.3;
}

.how-it-works .step p {
  color: #475569;
  margin: 0;
  font-size: var(--body);
  line-height: 1.6;
}

.how-it-works .step p code {
  background: rgba(6, 182, 212, 0.15);
  color: var(--deep-blue);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  font-size: 0.9em;
}

.how-tagline {
  text-align: center;
  margin-top: 40px;
  font-size: clamp(16px, 2.4vw, 18px);
  color: var(--slate-navy);
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Integrations section */
.integrations {
  padding: 48px 0;
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  overflow: visible;
}

@media (min-width: 768px) {
  .integrations {
    padding: 56px 0;
  }
}

.integrations-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 40px;
}

.integrations-slider-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  max-width: 100%;
  position: relative;
  padding-top: 20px;
  padding-bottom: 50px;
}

.integrations-slider-wrapper::before,
.integrations-slider-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.integrations-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fafafa 0%, transparent 100%);
}

.integrations-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fafafa 0%, transparent 100%);
}

.integrations-slider {
  display: flex;
  gap: 64px;
  animation: slide 25s linear infinite;
  will-change: transform;
}

.integrations-slider:hover {
  animation-play-state: paused;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .integrations-slider {
    animation: slide 20s linear infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .integrations-slider {
    animation: none;
  }

  .integration-logo::after,
  .integration-logo::before {
    transition: none;
  }
}

.integration-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  transition: opacity 0.3s ease;
  user-select: none;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
}

.integration-logo img {
  height: 100%;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.35;
  filter: grayscale(100%);
  transition: opacity 0.3s ease;
}

.integration-logo:hover img {
  opacity: 0.6;
}

/* Tooltip */
.integration-logo::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    bottom 0.2s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.integration-logo::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #1f2937;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.integration-logo:hover::after {
  opacity: 1;
  bottom: -42px;
}

.integration-logo:hover::before {
  opacity: 1;
}

@media (min-width: 768px) {
  .integration-logo {
    height: 48px;
  }

  .integration-logo img {
    max-width: 140px;
  }

  .integrations-slider {
    gap: 80px;
  }
}

/* Problem section */
.problem {
  padding: 64px 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}
@media (min-width: 768px) {
  .problem {
    padding: 80px 0;
  }
}

.problem h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 24px;
  font-weight: 700;
  text-align: center;
}

.problem p {
  color: #334155;
  font-size: var(--body);
  text-align: center;
  margin: 0 auto 16px;
  max-width: 760px;
  line-height: 1.7;
}

.problem .consequences {
  font-size: clamp(17px, 2.6vw, 19px);
  color: var(--slate-navy);
  font-weight: 600;
  margin: 24px auto;
  padding: 16px 24px;
  background: rgba(2, 40, 99, 0.05);
  border-left: 3px solid var(--deep-blue);
  border-radius: 0 8px 8px 0;
  max-width: 680px;
}

.problem .solution {
  font-size: clamp(18px, 2.8vw, 22px);
  color: var(--slate-navy);
  font-weight: 500;
  margin: 24px auto 0;
  line-height: 1.5;
}

.problem .solution strong {
  color: var(--deep-blue);
  font-weight: 700;
}

/* Features section */
.features {
  padding: 64px 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
@media (min-width: 768px) {
  .features {
    padding: 80px 0;
  }
}

.features h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 40px;
  font-weight: 700;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.feature {
  padding: 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bright-cyan), var(--teal));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(2, 40, 99, 0.12);
  border-color: var(--bright-cyan);
}

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

.feature h3 {
  color: var(--deep-blue);
  font-size: clamp(18px, 2.6vw, 20px);
  margin: 0 0 12px;
  font-weight: 700;
  transition: color 0.3s ease;
}

.feature:hover h3 {
  color: var(--bright-cyan);
}

.feature p {
  color: #475569;
  font-size: var(--body);
  margin: 0;
  line-height: 1.7;
}

/* Cards */
.cards {
  padding: 40px 0;
  background: var(--white);
}
@media (min-width: 768px) {
  .cards {
    padding: 64px 0;
  }
}

.grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile-first */
  gap: 16px;
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--bright-cyan);
}
.card h2 {
  color: var(--deep-blue);
  font-size: clamp(18px, 2.6vw, 20px);
  margin: 0 0 8px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.card:hover h2 {
  color: var(--bright-cyan);
}
.card p {
  color: #475569;
  margin: 0;
  font-size: var(--body);
}

/* Enterprise section */
.enterprise {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .enterprise {
    padding: 56px 0;
  }
}

.enterprise h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 16px;
  font-weight: 600;
  text-align: center;
}
.enterprise .intro {
  color: #475569;
  font-size: var(--body);
  text-align: center;
  margin: 0 auto 32px;
  max-width: 720px;
}
.enterprise .ent-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
  display: grid;
  gap: 12px;
}
.enterprise .ent-features li {
  color: #334155;
  font-size: var(--body);
  padding: 14px 18px 14px 44px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.enterprise .ent-features li:hover {
  transform: translateX(4px);
  border-color: var(--bright-cyan);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}
.enterprise .ent-features li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--bright-cyan);
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.enterprise .ent-features li:hover::before {
  transform: scale(1.2);
}
.enterprise .tagline {
  color: var(--deep-blue);
  font-size: var(--body);
  font-weight: 500;
  text-align: center;
  margin: 0;
}

/* Who uses / Problem section */
.who-uses {
  padding: 64px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
@media (min-width: 768px) {
  .who-uses {
    padding: 80px 0;
  }
}

.who-uses h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 40px;
  font-weight: 700;
  text-align: center;
}

.who-uses .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.who-uses .audience {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #e2e8f0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.who-uses .audience:hover {
  transform: translateY(-6px);
  border-color: var(--bright-cyan);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.15);
}

.who-uses .audience h3 {
  color: var(--deep-blue);
  font-size: clamp(17px, 2.4vw, 19px);
  font-weight: 700;
  margin: 0 0 12px;
}

.who-uses .audience p {
  color: #475569;
  font-size: var(--body);
  line-height: 1.65;
  margin: 0;
  font-style: italic;
}

.who-intro {
  text-align: center;
  color: #475569;
  font-size: var(--body);
  margin: 0 0 24px;
}

.who-criteria {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  max-width: 500px;
}

.who-criteria li {
  color: #334155;
  font-size: var(--body);
  padding: 14px 20px 14px 44px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  position: relative;
  border: 1px solid #e2e8f0;
  transition: all 0.25s ease;
}

.who-criteria li:hover {
  border-color: var(--bright-cyan);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.1);
}

.who-criteria li::before {
  content: "→";
  position: absolute;
  left: 16px;
  color: var(--bright-cyan);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.who-criteria li:hover::before {
  transform: translateX(3px);
}

.who-tagline {
  text-align: center;
  color: var(--bright-cyan);
  font-size: clamp(17px, 2.6vw, 19px);
  font-weight: 600;
  margin: 0;
}

/* Why now section */
.why-now {
  padding: 64px 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}
@media (min-width: 768px) {
  .why-now {
    padding: 80px 0;
  }
}

.why-now h2 {
  color: #fff;
  font-size: var(--h2);
  margin: 0 0 16px;
  font-weight: 600;
  text-align: center;
}

.why-subtitle {
  text-align: center;
  color: var(--bright-cyan);
  font-size: clamp(17px, 2.6vw, 19px);
  font-weight: 500;
  margin: 0 0 24px;
}

.why-now p {
  color: #e2e8f0;
  font-size: var(--body);
  text-align: center;
  margin: 0 auto 16px;
  max-width: 700px;
  line-height: 1.7;
}

.pullquote {
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 600;
  color: #fff;
  font-style: italic;
  margin: 40px auto 0;
  padding: 24px 32px;
  border-left: 4px solid var(--bright-cyan);
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.15) 0%,
    rgba(67, 182, 172, 0.1) 100%
  );
  max-width: 620px;
  text-align: center;
  border-radius: 0 12px 12px 0;
  position: relative;
}

.pullquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 60px;
  color: var(--bright-cyan);
  opacity: 0.3;
  font-style: normal;
  line-height: 1;
}

/* Whitepaper section */
.whitepaper-section {
  padding: 64px 0;
  background: var(--slate-navy);
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .whitepaper-section {
    padding: 80px 0;
  }
}

.whitepaper-section h2 {
  color: #fff;
  font-size: var(--h2);
  margin: 0 0 16px;
  font-weight: 600;
}
.whitepaper-section p {
  color: #e2e8f0;
  font-size: var(--body);
  margin: 0 0 24px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.whitepaper-link {
  display: inline-flex;
  align-items: center;
  color: var(--bright-cyan);
  font-size: var(--body);
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}
.whitepaper-link:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Founder section */
.founder {
  padding: 48px 0;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .founder {
    padding: 56px 0;
  }
}

.founder h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 20px;
  font-weight: 600;
  text-align: center;
}
.founder p {
  color: #475569;
  font-size: var(--body);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 840px;
  text-align: center;
}

.founder-link {
  color: #06b6d4;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  background: linear-gradient(to right, #06b6d4, #0891b2);
  background-size: 0% 2px;
  background-position: left bottom;
  background-repeat: no-repeat;
}

.founder-link:hover {
  color: #0891b2;
  background-size: 100% 2px;
}

.founder-link strong {
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.founder-link:hover strong {
  letter-spacing: 0.3px;
}

/* CTA Footer section */
.cta-footer {
  padding: 64px 0;
  background: var(--white);
  text-align: center;
}
@media (min-width: 768px) {
  .cta-footer {
    padding: 80px 0;
  }
}

.cta-footer h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 16px;
  font-weight: 600;
}
.cta-footer p {
  color: #475569;
  font-size: var(--body);
  margin: 0 0 32px;
}
.cta-footer .cta {
  justify-content: center;
}

/* Status section */
.status {
  padding: 64px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
@media (min-width: 768px) {
  .status {
    padding: 80px 0;
  }
}

.status h2 {
  color: var(--deep-blue);
  font-size: var(--h2);
  margin: 0 0 32px;
  font-weight: 700;
  text-align: center;
}

.status-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 580px;
  display: grid;
  gap: 12px;
}

.status-list li {
  color: #334155;
  font-size: var(--body);
  padding: 18px 24px 18px 52px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.status-list li:hover {
  border-color: var(--bright-cyan);
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.status-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bright-cyan);
  font-weight: 700;
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
}

/* Closing CTA section */
.closing-cta {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--deep-blue) 0%,
    var(--slate-navy) 100%
  );
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

@media (min-width: 768px) {
  .closing-cta {
    padding: 100px 0;
  }
}

.closing-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  font-weight: 700;
  position: relative;
}

.closing-cta p {
  color: #e2e8f0;
  font-size: clamp(16px, 2.4vw, 18px);
  margin: 0 auto 32px;
  max-width: 600px;
  line-height: 1.6;
}

.closing-cta .cta {
  justify-content: center;
}

/* Patent section */
.patent-section {
  padding: 24px 0;
  background: #fafafa;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}
@media (min-width: 768px) {
  .patent-section {
    padding: 32px 0;
  }
}

.patent-text {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}
@media (min-width: 768px) {
  .patent-text {
    font-size: 12px;
  }
}

/* Footer */
.footer {
  border-top: 1px solid #f1f5f9;
  background: #fff;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  gap: 12px;
  flex-wrap: wrap; /* prevents overflow on small screens */
}
@media (min-width: 768px) {
  .footer .container {
    padding: 20px 24px;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

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

.footer-content .copyright {
  font-size: 14px;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--deep-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--bright-cyan);
}

.footer-separator {
  color: #cbd5e1;
  font-size: 14px;
}

.footer .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
}
.footer .icon {
  height: 28px;
  width: 28px;
}

/* Utilities */
.hide-mobile {
  display: none;
}
@media (min-width: 768px) {
  .hide-mobile {
    display: initial;
  }
}

/* ===== Buttons: hover/focus/active states ===== */
.btn {
  transition:
    transform 0.08s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  will-change: transform;
}
.btn:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.25);
}

/* Primary (cyan) */
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 182, 212, 0.25);
  filter: brightness(1.05);
}
.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(6, 182, 212, 0.18);
  filter: brightness(0.98);
}

/* Ghost (white outline on navy) */
.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}
.btn.ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.btn.ghost:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.09);
}

/* Header contact link polish */
.contact {
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.08em;
  text-decoration-color: transparent;
}
.contact:hover {
  color: var(--bright-cyan);
  text-decoration: underline;
  text-decoration-color: var(--bright-cyan);
}
.contact:focus-visible {
  outline: 2px solid var(--bright-cyan);
  outline-offset: 2px;
}

/* Mobile polish */
/* Sticky CTA for mobile */
@media (max-width: 767px) {
  .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid #e2e8f0;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

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

  /* Add padding to body when sticky CTA is visible to prevent content overlap */
  body.sticky-cta-visible {
    padding-bottom: 80px;
  }

  /* Improve touch targets for mobile */
  .nav-link,
  .contact {
    padding: 12px 16px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Better spacing for sections on mobile */
  .category,
  .how-it-works,
  .enterprise,
  .who-uses,
  .whitepaper-section,
  .founder {
    padding: 48px 0;
  }

  /* Improve integration logo touch targets */
  .integration-logo {
    min-width: 64px;
    min-height: 64px;
  }

  /* Better spacing for step cards */
  .steps {
    gap: 32px;
  }
}

/* Improve touch interactions across all devices */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .integration-logo:hover::after {
    opacity: 0;
  }

  /* Show tooltips on tap instead */
  .integration-logo:active::after {
    opacity: 1;
  }

  /* Improve button touch feedback */
  .btn:active {
    transform: scale(0.97);
  }

  /* Better touch targets for all interactive elements */
  a,
  button,
  input[type="submit"] {
    min-height: 44px;
    padding: 12px 16px;
  }
}

/* Micro-interactions */
/* Enhanced logo hover effects */
.integration-logo {
  transition: transform 0.3s ease;
}

.integration-logo:hover {
  transform: translateY(-4px);
}

.integration-logo img {
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.integration-logo:hover img {
  opacity: 0.7;
  filter: grayscale(0%);
}

/* Button state micro-interactions */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s ease,
    height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Step number micro-interactions */
.step-number {
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  background-color: var(--teal);
}

/* Link hover micro-interactions */
a {
  position: relative;
  transition: color 0.2s ease;
}

.whitepaper-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bright-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.whitepaper-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Footer link micro-interactions */
.footer-link {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  transform: translateY(-2px);
}

/* Contact button pulse effect */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

.contact:focus {
  animation: pulse 1.5s infinite;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero::before {
    animation: none;
  }
  .btn {
    transition: none;
  }
  .btn:hover,
  .btn:active {
    transform: none;
  }
  .btn::before {
    display: none;
  }
  .integration-logo,
  .integration-logo img,
  .step-number,
  .step,
  .card,
  .enterprise .features li,
  .who-uses .audience,
  a,
  .whitepaper-link::after,
  .footer-link,
  .logo-top {
    transition: none;
    animation: none;
  }
  .integration-logo:hover,
  .step:hover,
  .step:hover .step-number,
  .card:hover,
  .enterprise .features li:hover,
  .who-uses .audience:hover,
  .footer-link:hover,
  .logo-top:hover {
    transform: none;
  }
  .contact:focus {
    animation: none;
  }
}
