/* Waypoint landing page - conventional CSS rewrite (no Tailwind) */

/* ===== Design tokens ===== */
:root {
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "DM Sans", var(--font-sans);

  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --container: 1280px;

  /* Light theme */
  /* Dark theme default */
  --bg: #0b1220;
  --bg-muted: rgba(15, 23, 42, .55);
  --text: #e5e7eb;
  --text-muted: #94a3b8;

  --border: rgba(148, 163, 184, .18);

  --primary: #0ea5e9;
  /* sky-500 */
  --primary-600: #0284c7;
  /* sky-600 */
  --primary-700: #0369a1;
  /* sky-700 */

  --secondary: #059669;
  /* emerald-600 */
  --secondary-light: rgba(5, 150, 105, 0.1);
  --secondary-700: #047857;

  --accent: #06b6d4;
  /* cyan-500 */
  --accent-light: rgba(6, 182, 212, 0.1);
  --accent-700: #0891b2;

  --panel: #0b1220;
  /* deep slate */
  --panel-2: #111827;
  --panel-border: rgba(148, 163, 184, .22);

  --shadow: 0 20px 60px rgba(2, 8, 23, .18);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-primary: 0 10px 15px -3px rgba(14, 165, 233, 0.2);
}

.theme-dark {
  --bg: #0b1220;
  --bg-muted: rgba(15, 23, 42, .55);
  --text: #e5e7eb;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, .18);
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.site-wrapper * {
  box-sizing: border-box;
}

.site-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-wrapper a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.site-wrapper a:hover {
  text-decoration: none;
}

/* ===== Utilities ===== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.text-accent {
  color: var(--accent);
}

/* ===== Layout helpers ===== */
.site-wrapper .container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-wrapper .section {
  padding: 72px 0;
}

@media (max-width: 767px) {
  .site-wrapper .section {
    padding: 44px 0;
  }

  .site-wrapper .container {
    width: calc(100% - 32px);
  }

  .site-wrapper h1 {
    font-size: 36px !important;
  }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

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

.logo img {
  height: 96px;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-muted);
}

.site-nav a {
  font-weight: 500;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Show nav on desktop */
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

/* ===== Buttons ===== */
.site-wrapper .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  /* matching h-12 px-6 */
  height: 48px;
  border-radius: 8px;
  /* rounded-lg */
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  transition: all .2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.25);
}

.btn--primary:hover {
  background: var(--primary-600);
  box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.4);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 1px solid var(--text-muted);
  backdrop-filter: blur(4px);
}

.btn--secondary:hover {
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(14, 165, 233, 0.1);
}

/* ===== Hero ===== */
.hero.section {
  padding-top: 28px;
  padding-bottom: 80px;
}

.hero__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .5;
  mix-blend-mode: luminosity;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__overlay--h {
  background: linear-gradient(90deg, var(--panel) 0%, rgba(11, 18, 32, 0.95) 50%, rgba(14, 165, 233, .2) 100%);
}

.hero__overlay--d {
  background: linear-gradient(135deg, transparent 0%, transparent 55%, rgba(14, 165, 233, .10) 100%);
}

.hero__content {
  position: relative;
  padding: 64px 48px 96px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #e5e7eb;
  z-index: 10;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--secondary-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero__pill-dot {
  position: relative;
  display: flex;
  height: 8px;
  width: 8px;
}

.hero__pill-dot span:first-child {
  position: absolute;
  display: inline-flex;
  height: 100%;
  width: 100%;
  border-radius: 9999px;
  background-color: var(--secondary);
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero__pill-dot span:last-child {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  height: 8px;
  width: 8px;
  background-color: var(--secondary);
}

.hero__pill-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__content h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero__content h1 span {
  background: linear-gradient(to right, var(--primary), var(--accent), #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__content p {
  margin: 0;
  font-family: var(--font-sans);
  color: #cbd5e1;
  /* slate-300 */
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
}

.hero__content strong {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.hero__content .btn--secondary {
  border-color: #475569;
}

.hero__content .btn--secondary:hover {
  border-color: rgba(14, 165, 233, .5);
  background: rgba(14, 165, 233, .1);
}

/* ===== Trusted By ===== */
.trusted-by {
  border-block: 1px solid var(--border);
  background: var(--bg);
  padding: 40px 0;
}

.trusted-by p {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin: 0 0 32px;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 64px;
  opacity: 0.7;
  transition: opacity 0.5s;
}

.trusted-logos:hover {
  opacity: 1;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
}

.theme-dark .logo-item {
  color: #cbd5e1;
}

/* ===== Cards / grids ===== */
.cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 1023px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.card--interactive:hover {
  border-color: rgba(14, 165, 233, 0.3);
}

.theme-dark .card {
  background: var(--surface-dark, #1e293b);
  border-color: var(--border);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .card__icon {
  color: white;
}

/* Specific card themes */
.card-theme-primary .card__icon {
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
}

.card-theme-primary:hover .card__icon {
  background: var(--primary);
}

.card-theme-secondary .card__icon {
  background: var(--secondary-light);
  color: var(--secondary);
}

.card-theme-secondary:hover .card__icon {
  background: var(--secondary);
}

.card-theme-accent .card__icon {
  background: var(--accent-light);
  color: var(--accent);
}

.card-theme-accent:hover .card__icon {
  background: var(--accent);
}

.card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.card:hover h3 {
  color: var(--primary);
  /* defaults to primary on hover */
}

.card-theme-secondary:hover h3 {
  color: var(--secondary);
}

.card-theme-accent:hover h3 {
  color: var(--accent);
}

.card p {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.card__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.card__link {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card:hover .card__link {
  color: var(--primary);
}

.card-theme-secondary:hover .card__link {
  color: var(--secondary);
}

.card-theme-accent:hover .card__link {
  color: var(--accent);
}


/* ===== Section headings ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}

.section-header__content {
  max-width: 600px;
  position: relative;
}

.top-decoration {
  position: absolute;
  top: -24px;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--primary);
  border-radius: 99px;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--text);
}

.section p.lead {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--primary);
}

.link-arrow:hover span {
  transform: translateX(4px);
  transition: transform 0.2s;
}


/* ===== Why Us ===== */
.why-us {
  background: var(--bg-muted);
  border-block: 1px solid var(--border);
  padding: 96px 0;
}

.why-container {
  display: flex;
  gap: 48px;
  align-items: center;
}

@media (max-width: 1023px) {
  .why-container {
    flex-direction: column;
  }
}

.video-box {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid var(--bg);
  aspect-ratio: 16/9;
}

.video-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 150, 105, 0.2);
  mix-blend-mode: overlay;
}

.why-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.why-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.why-item:hover {
  background: var(--bg);
}

.why-item .material-symbols-outlined {
  margin-top: 4px;
}

.why-item h4 {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.why-item p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Case Stories ===== */
.case-header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 600px;
  margin-inline: auto;
}

.divider {
  height: 4px;
  width: 80px;
  background: var(--primary);
  border-radius: 99px;
  margin: 24px auto;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--primary);
  margin-bottom: 16px;
}

.stars .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

.testimonial-card {
  background: var(--bg-muted);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 24px;
  display: block;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #cbd5e1;
}

.author-info h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.author-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Final CTA ===== */
.final-cta {
  padding: 48px 16px;
}

.cta-box {
  background: linear-gradient(135deg, var(--panel) 0%, #1e293b 100%);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  padding: 64px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid #334155;
  color: white;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: var(--primary);
  mix-blend-mode: overlay;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  mix-blend-mode: color-dodge;
}

.cta-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-content h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
}

.cta-content p {
  color: #bfdbfe;
  font-size: 18px;
  max-width: 600px;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 64px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 1023px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.brand-text span:first-child {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-text span:last-child {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h4 {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}