/* ============================================
   DEEP — Digital Engineering & Enterprise Platforms
   Premium enterprise design system + interactivity
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --off-white: #fafbfc;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --accent: #1e293b;
  --accent-blue: #1e3a5f;
  --accent-light: #334155;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  --max-width: 1200px;
  --nav-height: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hide-mobile {
  display: inline;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

.cursor__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-out),
    height 0.4s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease;
}

/* Cursor states */
.cursor--link .cursor__ring {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.8);
}

.cursor--button .cursor__ring {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

.cursor--card .cursor__ring {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.5);
}

.cursor--hidden {
  opacity: 0;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.nav--scrolled {
  border-bottom-color: var(--gray-200);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  transition: opacity 0.2s;
}

.nav__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__links {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gray-800);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--gray-900);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gray-800);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--nav-height) var(--space-lg) var(--space-xl);
  overflow: hidden;
}

/* Three.js canvas container */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 1.5s ease;
  pointer-events: none;
}

.hero__canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-lg);
  opacity: 0;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.8);
  }
}

.hero__title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  opacity: 0;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: var(--space-lg);
  opacity: 0;
}

.hero__description {
  font-size: 1rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0;
}

.hero__cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.hero__scroll span {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gray-800);
  animation: scroll-line 2.5s ease-in-out infinite;
}

@keyframes scroll-line {
  0% {
    top: -100%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 100%;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: 8px;
  border: none;
  cursor: none;
  /* Custom cursor takes over */
  transition: transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    background 0.3s ease,
    border-color 0.3s ease;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn--ghost:hover {
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ---------- Sections (shared) ---------- */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  will-change: transform, opacity;
  transform-origin: center top;
}

/* Cinematic section — starts slightly blurred and scaled */
.section--cinematic {
  opacity: 0;
  filter: blur(0px);
  transform: scale(0.985);
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header--center {
  text-align: center;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(12px);
}

.section__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
  opacity: 0;
  transform: translateY(18px);
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-top: var(--space-md);
  max-width: 560px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(14px);
}

.section__header--center .section__desc {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- About ---------- */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__text {
  opacity: 0;
  transform: translateY(20px);
}

.about__text p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ---------- Founders Carousel ---------- */
.founders {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
}

.founders__track {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.founder-card {
  display: none;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  animation: founderFadeIn 0.55s var(--ease-out) both;
}

.founder-card.is-active {
  display: block;
}

@keyframes founderFadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Photo fills the full card */
.founder-card__image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.founder-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.founder-card:hover .founder-card__image {
  transform: scale(1.04);
}

.founder-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 3;
}

/* Info overlaid on top of the image — sits at the bottom */
.founder-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-lg);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Subtle gradient behind text for readability */
.founder-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 15, 30, 0.72) 0%,
      rgba(10, 15, 30, 0.2) 50%,
      transparent 100%);
  z-index: 1;
  border-radius: 20px;
  pointer-events: none;
}

.founder-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.founder-card__role {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.founder-card__quote {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-style: italic;
  border-left: 2px solid rgba(255, 255, 255, 0.35);
  padding-left: 12px;
  margin: 0;
}

/* Dots */
.founders__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-md);
}

.founders__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  padding: 0;
}

.founders__dot.is-active {
  background: var(--gray-900);
  width: 24px;
  border-radius: 999px;
}


.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.stat {
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  background: var(--white);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
  cursor: default;
}

.stat:hover {
  border-color: var(--gray-200);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.07);
  transform: translateY(-4px);
}

.stat__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.stat__number {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Services Section (New) ---------- */
.services {
  background: var(--gray-50);
  padding-bottom: 0;
}

.services-sub__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.btn--sm {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

/* ── Customer Journey ── */
.services-journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg) var(--space-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  text-align: center;
  padding: 0 var(--space-sm);
}

.journey-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.journey-step:hover .journey-step__num {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.journey-step__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  max-width: 110px;
  line-height: 1.3;
}

.journey-step__line {
  flex: 0 0 40px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 1px;
}

/* ── Pricing Comparison Table ── */
.pkg-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  opacity: 0;
  transform: translateY(24px);
}

.pkg-table-wrap::-webkit-scrollbar {
  height: 6px;
}

.pkg-table-wrap::-webkit-scrollbar-track {
  background: var(--gray-50);
}

.pkg-table-wrap::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 3px;
}

.pkg-table-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
}

.pkg-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pkg-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.pkg-table th,
.pkg-table td {
  padding: 14px 20px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.875rem;
}

.pkg-table__feature-head,
.pkg-table__feature {
  text-align: left;
  font-weight: 600;
  color: var(--gray-700);
  width: 220px;
  min-width: 180px;
  padding-left: 28px;
  background: var(--white);
  position: sticky;
  left: 0;
  z-index: 1;
}

.pkg-table__feature-head {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  padding-top: 20px;
  padding-bottom: 20px;
}

.pkg-table__feature {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 2px solid var(--gray-100);
}

.pkg-table__feature--price {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.875rem;
}

/* Package columns */
.pkg-table__col {
  border-bottom: 2px solid var(--gray-100);
  transition: background 0.3s ease;
}

.pkg-table__col--silver {
  /* Subtle silver background */
}

.pkg-table__col--gold {
  background: rgba(30, 58, 95, 0.02);
}

.pkg-table__col--platinum {
  /* Subtle platinum background */
}

/* Table header tier display */
.pkg-table thead .pkg-table__col {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  padding-top: 20px;
  padding-bottom: 20px;
  position: relative;
}

.pkg-table thead .pkg-table__col--gold {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.06) 0%, rgba(30, 58, 95, 0.02) 100%);
}

.pkg-table__tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.pkg-table__tier-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.pkg-table__tier-name {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

/* Table cell value styles */
.pkg-table__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(30, 58, 95, 0.08);
  color: var(--gray-800);
  font-size: 0.75rem;
  font-weight: 700;
}

.pkg-table__dash {
  color: var(--gray-300);
  font-size: 1rem;
}

.pkg-table__optional {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(30, 58, 95, 0.06);
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.pkg-table__text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pkg-table__text--highlight {
  font-weight: 700;
  color: var(--accent-blue);
}

/* Price row */
.pkg-table__row--price {
  background: var(--gray-50);
  border-top: 2px solid var(--gray-100);
}

.pkg-table__row--price .pkg-table__col {
  border-bottom: none;
  padding-top: 20px;
  padding-bottom: 20px;
}

.pkg-table__row--price .pkg-table__feature {
  background: var(--gray-50);
}

.pkg-table__price {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* Table footer (CTA buttons) */
.pkg-table tfoot td {
  padding-top: 20px;
  padding-bottom: 24px;
  border-bottom: none;
  background: var(--white);
}

.pkg-table tfoot .pkg-table__feature {
  background: var(--white);
  border-bottom: none;
}

.pkg-table tfoot .pkg-table__col {
  border-bottom: none;
}

/* Row hover */
.pkg-table tbody tr:hover .pkg-table__col {
  background: rgba(30, 58, 95, 0.015);
}

.pkg-table tbody tr:hover .pkg-table__col--gold {
  background: rgba(30, 58, 95, 0.04);
}

.pkg-table tbody tr:hover .pkg-table__feature {
  color: var(--gray-900);
}

/* Badge */
.badge--popular {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gray-900);
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ── Paid Add-ons ── */
.services-addons {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
}

.addon-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: var(--space-lg);
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-out);
  cursor: default;
}

.addon-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  transform: translateY(-4px);
}

.addon-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.addon-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.addon-card__price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.addons-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: var(--space-lg);
  font-style: italic;
}

.addons-cta {
  text-align: center;
  margin-top: var(--space-md);
}

/* ── 1 Month Free Support ── */
.free-support {
  padding: var(--space-2xl) 0;
  background: var(--gray-50);
}

.free-support__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
}

.free-support__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gray-200), var(--accent-blue), var(--gray-200));
  opacity: 0.6;
}

.free-support__header {
  margin-bottom: var(--space-lg);
}

.free-support__subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-top: var(--space-xs);
  line-height: 1.6;
}

.free-support__timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: var(--space-md) 0;
  flex-wrap: wrap;
}

.free-support__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: var(--space-sm);
  flex: 0 0 auto;
}

.free-support__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  transition: all 0.3s var(--ease-out);
}

.free-support__step:hover .free-support__step-icon {
  background: var(--gray-100);
  border-color: var(--gray-300);
  transform: scale(1.08);
}

.free-support__step--highlight .free-support__step-icon {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.2);
}

.free-support__step--highlight:hover .free-support__step-icon {
  background: var(--gray-700);
  border-color: var(--gray-700);
}

.free-support__step-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
  max-width: 100px;
  line-height: 1.3;
  text-align: center;
}

.free-support__step--highlight .free-support__step-text {
  color: var(--gray-900);
}

.free-support__connector {
  color: var(--gray-300);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.free-support__note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Ongoing Support Plans ── */
.support-plans {
  padding: var(--space-3xl) 0;
  background: var(--white);
}

.support-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.support-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color 0.3s ease, box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-out);
}

.support-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
  transform: translateY(-4px);
}

.support-card--gold {
  background: var(--white);
  border-color: var(--gray-200);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.support-card--gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gray-900);
}

.support-card__header {
  text-align: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-100);
}

.support-card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.support-card__tier {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.support-card__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: var(--space-sm);
}

.support-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.support-card .badge--popular {
  position: absolute;
  top: 16px;
  right: 16px;
}

.support-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.support-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  line-height: 1.4;
}

.support-card__features svg {
  flex-shrink: 0;
  color: var(--gray-800);
}

.support-card__cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* ── Our Projects ── */
.services-projects {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: box-shadow 0.5s var(--ease-smooth), border-color 0.4s ease, transform 0.4s var(--ease-out);
}

.project-card:hover {
  border-color: var(--gray-200);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px) scale(1);
}

.project-card__index {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.project-card__icon {
  color: var(--gray-800);
  margin-bottom: var(--space-md);
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.project-card__text {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-300);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.project-card__link:hover {
  color: var(--gray-900);
  border-color: var(--gray-800);
}


/* ---------- Experience / Approach ---------- */
.experience {
  overflow: hidden;
}

.experience__track {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  position: relative;
}

.pillar {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: var(--space-lg);
  opacity: 0;
  transform: translateX(-20px);
  will-change: transform, opacity;
}

.pillar__line {
  width: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.pillar__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gray-800);
  border-radius: 2px;
  transition: height 1.4s var(--ease-smooth);
}

.pillar.is-active .pillar__line::after {
  height: 100%;
}

.pillar__number {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gray-300);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.pillar__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
}

.pillar__text {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 540px;
}

/* Parallax shapes */
.experience__parallax {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.parallax-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gray-100);
}

.shape--1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -100px;
  opacity: 0.5;
}

.shape--2 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  opacity: 0.3;
}

.shape--3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 25%;
  opacity: 0.4;
  border-radius: 4px;
  transform: rotate(45deg);
}

.shape--4 {
  width: 200px;
  height: 200px;
  bottom: 5%;
  right: -60px;
  opacity: 0.3;
}


/* Section content stays above backgrounds */
.section .container {
  position: relative;
  z-index: 1;
}


/* ---------- Marquee ---------- */
.marquee-section {
  padding: var(--space-xl) 0;
  overflow: hidden;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.marquee__track {
  display: flex;
  gap: var(--space-lg);
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 40s linear infinite;
}

.marquee__item {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-200);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.marquee__sep {
  font-size: 0.75rem;
  color: var(--gray-200);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Contact ---------- */
.contact {
  background: var(--gray-50);
}

.contact__actions {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  position: relative;
  z-index: 10;
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-100);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.footer__links {
  display: flex;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--gray-800);
}

.footer__copy p {
  font-size: 0.75rem;
  color: var(--gray-300);
}

/* ============================================
   PREFERS REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor {
    display: none;
  }

  .hero__canvas {
    display: none;
  }

  .section--cinematic {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .section__label,
  .section__title,
  .section__desc,
  .about__text,
  .about__stats,
  .founders,
  .pillar,
  .contact__actions,
  .hero__label,
  .hero__title,
  .hero__subtitle,
  .hero__description,
  .hero__cta,
  .hero__scroll,
  .services-journey,
  .pkg-table-wrap,
  .addons-grid,
  .free-support__card,
  .support-card,
  .project-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about__layout {
    grid-template-columns: 1fr;
  }

  /* Keep the card at a sensible height on tablets */
  .founder-card {
    height: 380px;
  }

  /* Services responsive — tablet */
  .support-plans__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .addons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-step__line {
    flex: 0 0 24px;
  }

  .journey-step__text {
    font-size: 0.6875rem;
    max-width: 90px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 6rem;
  }

  .hide-mobile {
    display: none;
  }

  .cursor {
    display: none;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.is-open span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .nav__toggle.is-open span:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
  }

  .nav__logo span {
    display: none;
  }

  .nav__logo {
    margin-left: 12px;
  }

  .nav__logo-img {
    width: 44px;
    height: 44px;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 2.5rem);
    justify-content: flex-start;
  }

  .hero__container {
    margin-top: 0;
  }

  .hero__title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  /* Allow Three.js canvas on mobile — rendered at low-power, low pixel ratio */
  .hero__canvas {
    display: block;
  }

  /* Disable Three.js on mobile */

  /* Services responsive — mobile */
  .pkg-table-scroll-hint {
    display: flex;
  }

  .services-journey {
    flex-wrap: wrap;
    gap: 4px;
    padding: var(--space-md);
  }

  .journey-step__line {
    flex: 0 0 16px;
  }

  .journey-step {
    padding: 4px 6px;
  }

  .journey-step__text {
    font-size: 0.625rem;
    max-width: 70px;
  }

  .journey-step__num {
    width: 28px;
    height: 28px;
    font-size: 0.6875rem;
  }

  .addons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .support-plans__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .free-support__timeline {
    flex-direction: column;
    gap: 4px;
  }

  .free-support__connector {
    transform: rotate(90deg);
  }

  .free-support__step {
    flex-direction: row;
    gap: 12px;
    max-width: 220px;
  }

  .free-support__step-text {
    text-align: left;
    max-width: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .project-card {
    padding: var(--space-lg);
    cursor: pointer;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    justify-content: center;
  }

  /* Restore cursor for touch */
  .btn,
  .addon-card,
  .support-card {
    cursor: pointer;
  }

  /* ---- Founder cards: keep desktop overlay style on mobile ---- */
  .founder-card {
    height: 400px;
    display: none;
    border-radius: 16px;
    overflow: hidden;
    animation: founderFadeIn 0.55s var(--ease-out) both;
  }

  .founder-card.is-active {
    display: block;
  }

  /* Image fills the whole card (same as desktop) */
  .founder-card__image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  /* Gradient scrim — lighter so photo is clearly visible */
  .founder-card::after {
    background: linear-gradient(to top,
        rgba(5, 10, 20, 0.20) 0%,
        rgba(5, 10, 20, 0.10) 45%,
        transparent 75%);
  }

  /* Text sits directly on picture — no background at all */
  .founder-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: none !important;
    padding: var(--space-md);
    gap: 8px;
  }

  .founder-card__quote {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Make parallax shapes visible on mobile (Approach section) */
  .experience__parallax {
    display: block;
    z-index: 0;
  }

  .parallax-shape {
    opacity: 0.15 !important;
  }

  /* Contact email button — wrap & shrink text */
  .contact__actions {
    padding: 0 var(--space-sm);
  }

  .contact__actions .btn--lg {
    font-size: 0.78rem;
    padding: 14px 20px;
    word-break: break-all;
    white-space: normal;
    text-align: center;
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --space-lg: 1.25rem;
    --space-xl: 2rem;
    --space-2xl: 3.5rem;
    --space-3xl: 5rem;
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .stat__number {
    font-size: 2rem;
  }

  /* Even smaller screens — keep image filling the full card */
  .founder-card__image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .founder-card__name {
    font-size: 1.05rem;
  }

  .founder-card__role {
    font-size: 0.7rem;
  }

  /* Approach section shapes — scale down on very small screens */
  .shape--1 {
    width: 180px;
    height: 180px;
    right: -60px;
  }

  .shape--4 {
    width: 120px;
    height: 120px;
    right: -30px;
  }

  /* Services — small mobile */
  .addons-grid {
    grid-template-columns: 1fr;
  }

  .addon-card {
    padding: var(--space-md);
  }

  .support-card {
    padding: var(--space-lg);
  }

  .services-journey {
    padding: var(--space-sm);
  }

  .journey-step__line {
    flex: 0 0 10px;
  }

  .pkg-table__price {
    font-size: 0.875rem;
  }

  .free-support__card {
    padding: var(--space-lg) var(--space-md);
  }

  .btn--sm {
    padding: 10px 16px;
    font-size: 0.75rem;
    max-width: none;
    width: auto;
  }
}