﻿/* ============ Airtable-inspired palette ============ */
:root {
  --blue: #18bfff;
  --blue-deep: #0b6fa6;
  --blue-tint: #eff9ff;
  --yellow: #feb237;
  --yellow-tint: #fff8e8;
  --coral: #ff7362;
  --coral-tint: #fff2f0;
  --purple: #a78bfa;
  --purple-tint: #f6f3ff;
  --green: #4cc9a0;
  --green-tint: #eefaf5;
  --orange: #fd8c4c;
  --orange-tint: #fff4ed;

  --ink: #16191d;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e9eaec;
  --surface: #ffffff;
  --surface-alt: #fafafa;
}

/* ============ Reset & Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul {
  list-style: none;
}

/* ============ Layout ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.container.narrow {
  max-width: 780px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo-period {
  font-size: 24px;
  color: var(--coral);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--blue-deep);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.7rem 1.3rem;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--blue-deep);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(11, 111, 166, 0.3);
}

.btn-primary:hover {
  background-color: #095a88;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(11, 111, 166, 0.3);
}

.btn-ghost {
  background-color: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.95rem 1.85rem;
  border-radius: 11px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-tint) 55%, #ffffff 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}

.hero-blob-blue {
  width: 380px;
  height: 380px;
  background: var(--blue);
  top: -110px;
  right: -90px;
}

.hero-blob-purple {
  width: 300px;
  height: 300px;
  background: var(--purple);
  bottom: -140px;
  left: -110px;
  opacity: 0.38;
}

.hero-container {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.45rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.25rem;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-blue {
  background: var(--blue);
}

.dot-green {
  background: var(--green);
}

.dot-purple {
  background: var(--purple);
}

/* --- Hero visual mock --- */
.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.mock-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(22, 25, 29, 0.12);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--line);
}

.mock-bar-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.mock-bar-title {
  margin-left: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.mock-table {
  padding: 0.5rem 0;
}

.mock-thead {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.mock-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid #f2f3f5;
}

.mock-row:last-child {
  border-bottom: none;
}

.mock-name {
  height: 9px;
  border-radius: 4px;
  background: #e8eaed;
}

.mock-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--line);
  justify-self: start;
}

.mock-pill {
  justify-self: start;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.pill-green {
  background: var(--green-tint);
  color: #1f8f6b;
}

.pill-yellow {
  background: var(--yellow-tint);
  color: #b3790a;
}

.pill-purple {
  background: var(--purple-tint);
  color: #6d4fd6;
}

.mock-float {
  position: absolute;
  bottom: -22px;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  box-shadow: 0 14px 34px rgba(22, 25, 29, 0.14);
}

.mock-float-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-tint);
  color: #1f8f6b;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-float-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.mock-float-text strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.mock-float-text span {
  font-size: 0.74rem;
  color: var(--muted);
}

/* ============ Trusted by ============ */
.trusted-by {
  padding: 3rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.trusted-by-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.9rem;
}

.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: scroll 32s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

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

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  opacity: 0.55;
  filter: grayscale(1);
  transition: all 0.25s ease;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}

.logo-img--tall {
  height: 40px;
}

.logo-placeholder {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  white-space: nowrap;
}

.logo-placeholder::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 0.55rem;
  vertical-align: middle;
}

/* ============ Problem & Solution ============ */
.problem-solution {
  padding: 5.5rem 0;
  background: var(--surface);
}

.split-section {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .split-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.split-card {
  position: relative;
  padding: 2.5rem 2.25rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.split-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}

.split-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 25, 29, 0.09);
}

.split-card-coral {
  background: var(--coral-tint);
}

.split-card-coral::before {
  background: var(--coral);
}

.split-card-green {
  background: var(--green-tint);
}

.split-card-green::before {
  background: var(--green);
}

.split-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.split-card-coral .split-badge {
  background: rgba(255, 115, 98, 0.18);
  color: #c9422f;
}

.split-card-green .split-badge {
  background: rgba(76, 201, 160, 0.22);
  color: #1c7d5e;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.section-text {
  font-size: 1.02rem;
  color: var(--body);
  margin-bottom: 1.75rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.97rem;
  color: var(--ink);
  opacity: 0.88;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
}

.split-card-coral .checklist li::before {
  background-color: rgba(255, 115, 98, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9422f' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.split-card-green .checklist li::before {
  background-color: rgba(76, 201, 160, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c7d5e' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ============ Services ============ */
.services {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--surface-alt) 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.section-title-center {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.section-subtitle-center {
  font-size: 1.05rem;
  text-align: center;
  color: var(--muted);
  margin: 0 auto 3rem;
  max-width: 560px;
}

.cards-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2.5rem 2.25rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(22, 25, 29, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card-blue::before {
  background: var(--blue);
}

.card-purple::before {
  background: var(--purple);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1.4rem;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.icon-blue {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.icon-purple {
  background: var(--purple-tint);
  color: #6d4fd6;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.card-text {
  font-size: 1rem;
  color: var(--body);
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.85;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.card-blue .card-list li::before {
  background: var(--blue);
}

.card-purple .card-list li::before {
  background: var(--purple);
}

/* ============ Process ============ */
.process {
  padding: 5.5rem 0;
  background: var(--surface);
}

.process-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.process-step {
  position: relative;
  padding: 2rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(22, 25, 29, 0.09);
}

.step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.step-blue .step-number {
  background: var(--blue);
  color: #04344f;
}

.step-purple .step-number {
  background: var(--purple);
  color: #2c1a63;
}

.step-orange .step-number {
  background: var(--orange);
  color: #5c2408;
}

.step-green .step-number {
  background: var(--green);
  color: #06382a;
}

.step-blue {
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--surface) 55%);
}

.step-purple {
  background: linear-gradient(180deg, var(--purple-tint) 0%, var(--surface) 55%);
}

.step-orange {
  background: linear-gradient(180deg, var(--orange-tint) 0%, var(--surface) 55%);
}

.step-green {
  background: linear-gradient(180deg, var(--green-tint) 0%, var(--surface) 55%);
}

.step-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 0.93rem;
  color: var(--body);
}

/* ============ FAQ ============ */
.faq {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, var(--surface-alt) 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
}

.accordion {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item.active {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(24, 191, 255, 0.14);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.accordion-trigger:hover {
  background-color: var(--blue-tint);
}

.accordion-title {
  flex: 1;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--blue-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-item.active .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.accordion-content p {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.96rem;
  color: var(--body);
}

/* ============ Final CTA ============ */
.final-cta {
  padding: 5.5rem 0;
  background: var(--surface);
}

.cta-box {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #18bfff 0%, #6d8bfa 45%, #a78bfa 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(24, 143, 255, 0.28);
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.28;
}

.cta-shape-blue {
  width: 260px;
  height: 260px;
  background: #ffffff;
  top: -110px;
  left: -70px;
}

.cta-shape-purple {
  width: 200px;
  height: 200px;
  background: #4cc9a0;
  bottom: -90px;
  right: -50px;
}

.cta-shape-yellow {
  width: 130px;
  height: 130px;
  background: #feb237;
  top: 40px;
  right: 18%;
}

.cta-title {
  position: relative;
  font-size: 2.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

@media (min-width: 640px) {
  .cta-title {
    font-size: 2.45rem;
  }
}

.cta-text {
  position: relative;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 2rem;
  max-width: 560px;
}

/* ============ Footer ============ */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-location {
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-copyright {
  font-size: 0.88rem;
  color: var(--muted);
}

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

  html {
    scroll-behavior: auto;
  }
}