/* ============================================================
   PROMETHEO — Attio-inspired Design System
   Monochromatic, typography-driven, premium
   Accent: #C9A96E (gold)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  color: #1C1D1F;
  background: #FFFFFF;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.15;
  color: #1C1D1F;
}

/* --- Scroll Animations --- */
.animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.05s; }
.animate-delay-2 { transition-delay: 0.10s; }
.animate-delay-3 { transition-delay: 0.15s; }
.animate-delay-4 { transition-delay: 0.20s; }
.animate-delay-5 { transition-delay: 0.25s; }
.animate-delay-6 { transition-delay: 0.30s; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  padding: 12px 24px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn--primary {
  background: #1C1D1F;
  color: #FFFFFF;
}
.btn--primary:hover {
  background: #333;
}

.btn--ghost {
  background: transparent;
  color: #1C1D1F;
  border: 1px solid #EDEDED;
}
.btn--ghost:hover {
  background: #F8F8F8;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EDEDED;
  transition: background 0.15s ease;
}

.nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 28px;
  width: auto;
}

.nav__logo-symbol {
  color: #C9A96E;
  font-size: 14px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: #1C1D1F;
}

.nav__cta {
  background: #1C1D1F !important;
  color: #FFFFFF !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  font-size: 14px !important;
  font-weight: 500;
  transition: background 0.15s ease !important;
}

.nav__cta:hover {
  background: #333 !important;
}

/* ===== HERO ===== */
.hero {
  padding: 180px 0 140px;
  text-align: center;
  background: #FFFFFF;
}

.hero__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #C9A96E;
  margin-bottom: 32px;
}

.hero__title {
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: #1C1D1F;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero__title--accent {
  color: #C9A96E;
}

.hero__desc {
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  max-width: 560px;
  margin: 24px auto 40px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SECTION SHARED ===== */
.section {
  padding: 120px 0;
}

.section--gray {
  background: #F8F8F8;
}

.section--dark {
  background: #1C1D1F;
}

.section__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 16px;
  text-align: center;
}

.section__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #1C1D1F;
}

.section__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #6B7280;
  max-width: 580px;
  margin: 0 auto 64px;
  text-align: center;
  font-weight: 400;
}

/* Dark section overrides */
.section--dark .section__tag {
  color: #C9A96E;
}
.section--dark .section__title {
  color: #FFFFFF;
}
.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== SHOWCASE ===== */
.showcase__grid--top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.showcase__grid--bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.showcase-card {
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.showcase-card__img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #F8F8F8;
  border-bottom: 1px solid #EDEDED;
}

.showcase-card__placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #F8F8F8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #C9A96E;
  opacity: 0.4;
  border-bottom: 1px solid #EDEDED;
}

.showcase-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-card__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #1C1D1F;
}

.showcase-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #6B7280;
  margin-bottom: 16px;
  flex: 1;
}

.showcase-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.showcase-card__badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F8F8F8;
  color: #6B7280;
  border: 1px solid #EDEDED;
}

.showcase-card__badge--tool {
  background: rgba(201, 169, 110, 0.08);
  color: #C9A96E;
  font-weight: 600;
  border-color: rgba(201, 169, 110, 0.2);
}

/* ===== CAPABILITIES ===== */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cap-card {
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.cap-card__icon {
  font-size: 28px;
  margin-bottom: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F8F8;
  border-radius: 12px;
  border: 1px solid #EDEDED;
}

.cap-card__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #1C1D1F;
}

.cap-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: #6B7280;
}

/* ===== BENCHMARK ===== */
.benchmark__wrapper {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.benchmark__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.benchmark__table thead {
  background: rgba(255, 255, 255, 0.05);
}

.benchmark__table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark__table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.benchmark__table tbody tr:last-child td {
  border-bottom: none;
}

.benchmark__table tbody tr {
  transition: background 0.15s ease;
}

.benchmark__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.benchmark__table td strong {
  color: #FFFFFF;
  font-weight: 600;
}

.benchmark__check {
  color: #34C759;
  font-weight: 700;
}

.benchmark__verdict {
  color: #C9A96E;
  font-weight: 600;
  font-size: 13px;
}

/* ===== PROCESS / TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #EDEDED;
}

.timeline__step {
  position: relative;
  padding-bottom: 48px;
}

.timeline__step:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: -48px;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #EDEDED;
  z-index: 1;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.timeline__step:hover .timeline__dot {
  border-color: #C9A96E;
  background: rgba(201, 169, 110, 0.08);
}

.timeline__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 4px;
}

.timeline__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #1C1D1F;
}

.timeline__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #6B7280;
}

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  text-align: center;
  background: #F8F8F8;
}

.cta__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  color: #1C1D1F;
}

.cta__subtitle {
  font-size: 18px;
  color: #6B7280;
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta__contact {
  margin-top: 24px;
  font-size: 14px;
  color: #6B7280;
}

.cta__contact a {
  color: #1C1D1F;
  border-bottom: 1px solid #EDEDED;
  transition: border-color 0.15s ease;
}

.cta__contact a:hover {
  border-color: #1C1D1F;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid #EDEDED;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1C1D1F;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__brand-symbol {
  color: #C9A96E;
  font-size: 12px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: #1C1D1F;
}

.footer__copy {
  font-size: 14px;
  color: #6B7280;
  width: 100%;
}

.footer__xpandia {
  color: #C9A96E;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

.footer__xpandia:hover {
  opacity: 0.7;
}

.footer__copy-placeholder {
  /* keeps specificity */
  text-align: center;
  margin-top: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 140px 0 100px;
  }

  .section {
    padding: 80px 0;
  }

  .cta {
    padding: 80px 0;
  }

  .showcase__grid--top,
  .showcase__grid--bottom,
  .capabilities__grid {
    grid-template-columns: 1fr;
  }

  .showcase__grid--bottom {
    max-width: 100%;
  }

  .nav__links {
    display: none;
  }

  .timeline {
    padding-left: 36px;
  }

  .timeline__dot {
    left: -36px;
  }

  .benchmark__table {
    font-size: 13px;
  }

  .benchmark__table th,
  .benchmark__table td {
    padding: 12px 16px;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }

  .section__subtitle {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 40px;
  }

  .section__title {
    font-size: 28px;
  }

  .cta__title {
    font-size: 28px;
  }

  .benchmark__wrapper {
    border-radius: 8px;
  }

  .benchmark__table th:nth-child(3),
  .benchmark__table td:nth-child(3) {
    display: none;
  }

  .hero__desc {
    font-size: 16px;
  }
}
