
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #E8182A;
  --dark: #0F0F0F;
  --card-dark: #181818;
  --card-border: #2A2A2A;
  --mid: #555;
  --light: #999;
  --bg: #F5F5F3;
  --white: #FFFFFF;
  --tag-bg: #EFEFED;
  --tag-border: #E0E0DC;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 24px rgba(0,0,0,0.07);
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

img { display: block; max-width: 100%; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }


.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.14s; }
.stagger > *:nth-child(3) { transition-delay: 0.23s; }
.stagger > *:nth-child(4) { transition-delay: 0.32s; }
.stagger > *:nth-child(5) { transition-delay: 0.41s; }
.stagger > *:nth-child(6) { transition-delay: 0.50s; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }

.tag-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mid);
  background: var(--tag-bg); border: 1px solid var(--tag-border);
  padding: 6px 14px 6px 10px; border-radius: 100px;
  margin-bottom: 20px;
}
.tag-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; }

.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-heading .red { color: var(--red); }

.section-sub {
  font-size: 16px; line-height: 1.7; color: var(--light);
  max-width: 520px; margin: 0 auto;
}

.text-center { text-align: center; }

.hero-section {
  padding: 80px 0 64px;
  text-align: center;
}

.flow-wrap {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid #E4E4E0;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.flow-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(232,24,42,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 48px;
  position: relative;
}

/* Each step node */
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}

.flow-icon {
  width: 58px; height: 58px;
  background: var(--white);
  border: 1.5px solid #E0E0DC;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
}
.flow-icon:hover {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(232,24,42,0.08);
  transform: translateY(-3px);
}
.flow-icon svg { width: 24px; height: 24px; }
.flow-icon.accent {
  background: var(--dark);
  border-color: var(--dark);
}
.flow-icon.accent svg path,
.flow-icon.accent svg rect,
.flow-icon.accent svg circle { stroke: #fff; }

.node-badge {
  position: absolute;
  top: -8px; right: -8px;
  width: 18px; height: 18px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.node-badge svg { width: 10px; height: 10px; }

.flow-label {
  font-size: 11.5px; font-weight: 500; color: var(--mid);
  text-align: center; max-width: 80px; line-height: 1.3;
}
.flow-label strong { display: block; font-weight: 600; color: var(--dark); font-size: 12px; }

/* Arrow connector */
.flow-arrow {
  width: 40px; height: 2px;
  background: linear-gradient(90deg, #DDD 0%, #CCC 100%);
  flex-shrink: 0;
  position: relative;
  align-self: flex-start;
  margin-top: 29px; /* align with icon center */
}
.flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  width: 0; height: 0;
  border-left: 7px solid #CCC;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* Branching arrows for the two-path section */
.flow-branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}
.flow-branch::before {
  content: '';
  position: absolute;
  left: 0; top: 28px;
  width: 1.5px;
  height: calc(100% - 28px);
  background: #DDD;
}
.branch-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.branch-tick {
  width: 32px; height: 2px;
  background: #DDD;
  flex-shrink: 0;
}
.branch-tick::after {
  content: '';
  display: block;
  margin-left: auto;
  width: 0; height: 0;
  border-left: 6px solid #CCC;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}


@keyframes drawLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.flow-arrow, .branch-tick { transform-origin: left; }
.flow-diagram.animate .flow-arrow,
.flow-diagram.animate .branch-tick {
  animation: drawLine 0.4s ease forwards;
}

.video-section { padding: 80px 0; }

.video-box {
  background: #E8E8E4;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/8;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition);
  margin-top: 40px;
  max-height: 460px;
  margin: 0 auto;
  margin-top: 30px;
}
.video-box:hover { transform: scale(1.01); }
.video-box::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,24,42,0.06) 0%, transparent 60%);
}
.video-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  letter-spacing: -2px;
  color: rgba(0,0,0,0.13);
  user-select: none;
}
.play-btn {
  position: absolute;
  width: 72px; height: 72px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.video-box:hover .play-btn { transform: scale(1.1); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.play-btn svg { margin-left: 4px; }

.demo-cta {
  text-align: center;
  margin-top: 20px;
  font-size: 14.5px; color: var(--light);
}
.demo-cta a {
  color: var(--red); font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}
.demo-cta a:hover { border-color: var(--red); }

.features-section { padding: 80px 0 96px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.feat-card {
  /* background: var(--card-dark); */
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(232,24,42,0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.feat-card:hover {
  border-color: rgba(232,24,42,0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.feat-card:hover::before { opacity: 1; }

.feat-card-icon {
  width: 44px; height: 44px;
  /* background: #242424; */
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.feat-card:hover .feat-card-icon {
  background: rgba(232,24,42,0.15);
  border-color: rgba(232,24,42,0.35);
}
.feat-card-icon svg { width: 20px; height: 20px; }

.feat-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 700;
  /* color: var(--white); */
  margin-bottom: 10px;
  line-height: 1.25;
}
.feat-card p {
  font-size: 13.5px; line-height: 1.65;
  color: #888;
}
.fq-item.fq-hidden {
  display: none;
}

.fq-more-wrap {
  text-align: center;
  padding-top: 28px;
}

.fq-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--black);
  background: transparent;
  border: 1.5px solid #d0d0d8;
  border-radius: var(--r-pill);
  padding: 10px 28px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.fq-more-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.fq-more-btn svg {
  transition: transform .3s;
}

.fq-more-btn.open svg {
  transform: rotate(180deg);
}


@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { padding: 0 24px; }
}

@media (max-width: 720px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .flow-wrap { padding: 32px 20px; }
  .flow-diagram { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  

}

@media (max-width: 480px) {
  /* .section-heading { letter-spacing: -0.8px; } */
  .video-box { aspect-ratio: 4/3; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}
.tag-dot { animation: pulse 2s ease-in-out infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-section .tag-pill { animation: fadeUp 0.5s ease 0.1s both; }
.hero-section .section-heading { animation: fadeUp 0.6s ease 0.2s both; }
.hero-section .section-sub { animation: fadeUp 0.6s ease 0.32s both; }
.hero-section .flow-wrap { animation: fadeUp 0.7s ease 0.45s both; }


.site-footer {
  background-color: #121212; 
  color: #a0a0a0;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 30px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr); 
  gap: 40px;
  padding-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.brand-logo-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}


.footer-logo-img {
    /* max-width: 180px; */
    height: auto;
    object-fit: contain;
    display: block;
    margin-left: -94px !important;
}

.footer-brand .brand-tagline {
  font-size: 13.5px;
  line-height: 1.6;
  color: #8c8c8c;
  margin-bottom: 24px;
  max-width: 240px;
  width: 100%;
}


.social-links {
  display: flex;
  gap: 18px;
  margin-top: auto;
}

.social-links a {
  color: #666666;
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: #F41F3B;
  transform: translateY(-2px);
}

.footer-links-col h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-col ul li {
  margin-bottom: 14px;
}

.footer-links-col ul li a {
  color: #8c8c8c;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-links-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom .legal-links a {
  color: #666666;
  text-decoration: none;
  margin-left: 24px;
  transition: color 0.2s ease;
}

.footer-bottom .legal-links a:hover {
  color: #ffffff;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
  }
  .footer-brand {
    grid-column: span 2;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 60px 20px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-brand {
    grid-column: span 1;
    /* align-items: center; 
    text-align: center; */
  }
  .footer-links-col h3 {
    margin-bottom: 16px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    align-items: center; 
    gap: 20px;
  }
  .footer-bottom .legal-links a {
    margin-left: 12px;
    margin-right: 12px;
  }
}
