/* ============================================
   InResi — Brand Website Styles
   Colors: #0E65CC (Blue), #181232 (Dark Blue), 
           #FCDE51 (Yellow), #B4D6FF (Light Blue),
           #FF8777 (Coral), #183720 (Forest Green)
   Fonts: Big Sans (display) → fallback Inter
          Area Normal (body) → fallback system sans
   ============================================ */

/* ---- Local Fonts ---- */

@font-face {
  font-family: 'Big Sans';
  src: url('fonts/web/BigSans-Black.woff2') format('woff2'),
       url('fonts/web/BigSans-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Big Sans';
  src: url('fonts/web/BigSans-Regular.woff2') format('woff2'),
       url('fonts/web/BigSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal';
  src: url('fonts/web/AreaNormal-Regular.woff2') format('woff2'),
       url('fonts/web/AreaNormal-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal';
  src: url('fonts/web/AreaNormal-Extrabold.woff2') format('woff2'),
       url('fonts/web/AreaNormal-Extrabold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Area Normal';
  src: url('fonts/web/AreaNormal-BoldItalic.woff2') format('woff2'),
       url('fonts/web/AreaNormal-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #0E65CC;
  --dark-blue: #181232;
  --white: #FFFFFF;
  --yellow: #FCDE51;
  --light-blue: #B4D6FF;
  --coral: #FF8777;
  --forest-green: #183720;
  --off-white: #F7F8FC;
  --gray-100: #f0f2f8;
  --gray-200: #e2e5ef;
  --gray-500: #6b7280;

  --font-display: 'Big Sans', system-ui, sans-serif;
  --font-body: 'Area Normal', system-ui, -apple-system, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--dark-blue);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---- Typography ---- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Big Sans', system-ui, sans-serif;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  font-family: 'Area Normal', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-500);
  letter-spacing: -0.01em;
}

.label {
  font-family: 'Big Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---- Layout ---- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Big Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #0b55ad;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(14, 101, 204, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--dark-blue);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ---- Navigation ---- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s var(--ease-out-expo);
  background: rgba(255, 255, 255, 0);
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(24, 18, 50, 0.06);
  padding: 0.8rem 0;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo svg {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Big Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--dark-blue);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links .btn {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

/* ---- Hero ---- */

.hero {
  height: 100vh;
  position: relative;
}

.hero-scrub-full {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

/* Left column — text */
.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 5rem 2rem 4rem 4rem;
  position: relative;
  z-index: 2;
  background: transparent;
}

.hero-text-col .label {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--yellow);
}

.hero-text-col h1 {
  line-height: 0.95;
  color: var(--dark-blue);
  margin-bottom: 2rem;
}

.hero-text-col h1 span {
  color: var(--blue);
}

.hero-body p {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 2rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
  color: var(--dark-blue);
  border-color: var(--gray-200);
}

.hero-buttons .btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Page-load animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero-text-col .label {
  animation: heroFadeUp 0.6s var(--ease-out-expo) 0.3s both;
}

.hero-text-col h1 {
  animation: heroFadeUp 0.7s var(--ease-out-expo) 0.8s both;
}

/* Scroll-driven text step-in (body + buttons only) */
.hero-text-col .hero-body {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
}

.hero-text-col .hero-body.hero-step-in {
  opacity: 1;
  transform: translateY(0);
}


/* Right column — canvas */
.hero-canvas-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 1rem;
  animation: heroFadeIn 2s var(--ease-out-expo) 1.4s both;
}

.hero-canvas-col canvas {
  display: block;
  width: 80%;
  height: 85%;
  margin-right: 15%;
  clip-path: polygon(50% 0%, 100% 33.9%, 100% 100%, 0% 100%, 0% 33.9%);
}

.hero-visual .mockup-stack {
  position: relative;
  height: 580px;
}

.hero-visual .mockup-stack img {
  position: absolute;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(24, 18, 50, 0.15);
  transition: transform 0.6s var(--ease-out-expo);
}

/* mockup-1: landscape welcome — large, top-left */
.hero-visual .mockup-stack img:nth-child(1) {
  width: 72%;
  top: 0;
  left: 0;
  z-index: 3;
}

/* mockup-2: portrait search results — tall, right side, no crop */
.hero-visual .mockup-stack img:nth-child(2) {
  width: 30%;
  top: 30px;
  right: -2%;
  z-index: 4;
}

/* mockup-3: landscape virtual tour — bottom, slight left offset */
.hero-visual .mockup-stack img:nth-child(3) {
  width: 62%;
  bottom: 0;
  left: 12%;
  z-index: 2;
}

.hero-visual .mockup-stack:hover img:nth-child(1) {
  transform: translate(-6px, -6px);
}
.hero-visual .mockup-stack:hover img:nth-child(2) {
  transform: translate(6px, -4px);
}
.hero-visual .mockup-stack:hover img:nth-child(3) {
  transform: translate(4px, 6px);
}

.hero-accent {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 101, 204, 0.08), transparent 70%);
  top: -100px;
  right: -200px;
  pointer-events: none;
}

/* ---- Problem Section ---- */

.problem {
  background: var(--dark-blue);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 101, 204, 0.15), transparent 70%);
  bottom: -200px;
  left: -100px;
  pointer-events: none;
}

.problem .label {
  color: var(--coral);
}

.problem h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.problem > .container > p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 700px;
  margin-bottom: 4rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease-out-expo);
}

.problem-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.problem-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.problem-card:nth-child(1) .icon svg { stroke: #FF8777; }
.problem-card:nth-child(2) .icon svg { stroke: #FCDE51; }
.problem-card:nth-child(3) .icon svg { stroke: #B4D6FF; }

.problem-card:nth-child(1) .icon { background: rgba(255, 135, 119, 0.15); }
.problem-card:nth-child(2) .icon { background: rgba(252, 222, 81, 0.15); }
.problem-card:nth-child(3) .icon { background: rgba(180, 214, 255, 0.15); }

.problem-card h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.problem-card p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

/* ---- Solution Section ---- */

.solution {
  background: var(--off-white);
}

.solution .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.solution h2 {
  margin-bottom: 1rem;
}

.solution > .container > p {
  max-width: 660px;
  margin-bottom: 4rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.solution-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.solution-card:hover::before { opacity: 1; }
.solution-card:nth-child(1)::before { background: var(--blue); }
.solution-card:nth-child(2)::before { background: var(--coral); }
.solution-card:nth-child(3)::before { background: var(--yellow); }
.solution-card:nth-child(4)::before { background: var(--forest-green); }
.solution-card:nth-child(5)::before { background: var(--light-blue); }
.solution-card:nth-child(6)::before { background: var(--blue); }

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(24, 18, 50, 0.08);
  border-color: transparent;
}

.solution-card .step {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 1rem;
}

.solution-card h4 {
  margin-bottom: 0.75rem;
}

.solution-card p {
  font-size: 0.95rem;
}

/* ---- Product Section ---- */

.product {
  background: var(--light-blue);
}

.product .section-header .label {
  color: var(--blue);
}

.product .section-header h2 {
  color: var(--dark-blue);
}

.product .section-header p {
  color: var(--dark-blue);
}

.product .section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.product .section-header .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.product .section-header h2 {
  margin-bottom: 1rem;
}

.product .section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.product-showcase {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.product-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-item:nth-child(even) {
  direction: rtl;
}

.product-item:nth-child(even) > * {
  direction: ltr;
}

.product-item-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(24, 18, 50, 0.12);
  transition: transform 0.6s var(--ease-out-expo);
}

.product-item-image:hover {
  transform: scale(1.02);
}

.product-item-image img {
  width: 100%;
  display: block;
}

.dog-scrub-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
}

.dog-scrub-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- FULLSCREEN EMBED ---- */
.product-embed-wrap:-webkit-full-screen,
.product-embed-wrap:-moz-full-screen,
.product-embed-wrap:-ms-fullscreen,
.product-embed-wrap:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

.product-embed-wrap:-webkit-full-screen iframe,
.product-embed-wrap:-moz-full-screen iframe,
.product-embed-wrap:-ms-fullscreen iframe,
.product-embed-wrap:fullscreen iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
  position: absolute !important;
  top: 0; left: 0;
}

/* ---- DEMO GATE ---- */
#demoGate {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 50, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  z-index: 10;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#demoGate.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-gate-inner {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.demo-gate-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.demo-gate-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.demo-gate-sub {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

#demoGateForm {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-gate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

#demoGateForm input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: #f9fafb;
}

#demoGateForm input:focus {
  border-color: var(--blue);
  background: #fff;
}

#demoGateForm select,
#demoGateForm textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  background: #f9fafb;
  appearance: none;
  -webkit-appearance: none;
}

#demoGateForm select:focus,
#demoGateForm textarea:focus {
  border-color: var(--blue);
  background: #fff;
}

#demoGateForm textarea {
  resize: none;
}

#demoGateForm button {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.25rem;
}

#demoGateForm button:hover {
  background: #0a52a8;
  transform: translateY(-1px);
}

#demoGateForm button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.product-item-content h3 {
  margin-bottom: 1rem;
}

.product-item-content p {
  margin-bottom: 1.5rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-tag {
  background: var(--white);
  color: var(--dark-blue);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

/* ---- Stats Section ---- */

.stats {
  background: var(--coral);
  color: var(--dark-blue);
  text-align: center;
  padding: 6rem 0;
}

.stats .label {
  color: var(--dark-blue);
  margin-bottom: 1rem;
  display: inline-block;
}

.stats h2 {
  color: var(--dark-blue);
  margin-bottom: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--dark-blue);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  color: rgba(24, 18, 50, 0.7);
  font-size: 0.95rem;
}

/* ---- Audiences Section ---- */

.audiences {
  background: var(--off-white);
}

.audiences .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.audiences .section-header .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.audiences .section-header h2 {
  margin-bottom: 1rem;
}

.audiences .section-header p {
  max-width: 600px;
  margin: 0 auto;
}

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

.audience-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out-expo);
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(24, 18, 50, 0.08);
}

.audience-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.audience-card h3 {
  margin-bottom: 0.75rem;
}

.audience-card p {
  margin-bottom: 1.5rem;
}

.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.audience-card ul li {
  font-size: 0.95rem;
  color: var(--gray-500);
  padding-left: 1.5rem;
  position: relative;
}

.audience-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ---- Roadmap ---- */

.roadmap {
  background: var(--white);
}

.roadmap .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.roadmap .section-header .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.roadmap .section-header h2 {
  margin-bottom: 1rem;
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  height: 3px;
  background: var(--gray-200);
  z-index: 0;
}

.roadmap-item {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.roadmap-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  margin: 30px auto 1.5rem;
  position: relative;
}

.roadmap-dot::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--light-blue);
}

.roadmap-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.roadmap-item .revenue {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.roadmap-item p {
  font-size: 0.85rem;
}

/* ---- Onboarding Section ---- */

.onboarding {
  background: var(--white);
}

.onboarding .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.onboarding .section-header .label {
  margin-bottom: 1rem;
  display: inline-block;
}

.onboarding .section-header h2 {
  margin-bottom: 1rem;
}

.onboarding .section-header p {
  max-width: 560px;
  margin: 0 auto;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.onboarding-step {
  background: var(--off-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out-expo);
}

.onboarding-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(24, 18, 50, 0.08);
  border-color: transparent;
}

.onboarding-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.onboarding-step h4 {
  margin-bottom: 0.75rem;
}

.onboarding-step p {
  font-size: 0.95rem;
}

.onboarding-bottom {
  max-width: 960px;
  margin: 0 auto;
}

.onboarding-highlight {
  background: var(--dark-blue);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.highlight-item {
  flex: 1;
}

.highlight-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.highlight-item span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.5;
}

.highlight-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

/* ---- Contact Section ---- */

.contact {
  background: var(--dark-blue);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 101, 204, 0.15), transparent 60%);
  top: -300px;
  left: -200px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .label {
  color: var(--yellow);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 440px;
}

/* Form Card */

.contact-form-wrapper {
  position: relative;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-blue);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  background: var(--off-white);
  color: var(--dark-blue);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 101, 204, 0.1);
  background: var(--white);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  font-size: 1.05rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem !important;
  color: var(--gray-500) !important;
  margin-top: 1rem;
}

/* Success State */

.form-success {
  background: var(--white);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  color: var(--dark-blue);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--gray-500);
  font-size: 0.95rem;
  max-width: 360px;
  margin: 0 auto;
}

/* ---- Footer ---- */

footer {
  background: var(--dark-blue);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer .footer-logo svg {
  height: 26px;
}

footer .footer-logo svg .st0 {
  fill: var(--white);
}

footer p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
}

footer .footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer .footer-links a:hover {
  color: var(--white);
}

/* ---- Animations ---- */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }
.fade-up-delay-6 { transition-delay: 0.6s; }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .hero-scrub-full {
    grid-template-columns: 1fr;
  }

  .hero-text-col {
    padding: 2rem 2rem 3rem;
    justify-content: center;
  }

  .hero-body p {
    max-width: 560px;
  }

  .hero-text-col .hero-body {
    opacity: 1;
    transform: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-scrub-full {
    position: relative;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .hero-canvas-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 75vw;
    min-height: 280px;
    padding-top: 0.25rem;
    margin-top: 2rem;
    order: -1;
  }

  .hero-canvas-col canvas {
    width: 80% !important;
    height: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-item {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-item:nth-child(even) {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .audiences-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .onboarding-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding-highlight {
    flex-direction: column;
    gap: 1.5rem;
  }

  .highlight-divider {
    width: 100%;
    height: 1px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info > p {
    max-width: 100%;
  }

  .roadmap-timeline::before {
    display: none;
  }
}

@media (max-width: 640px) {
  section {
    padding: 5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .onboarding-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  footer .container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  footer .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
