/* ==========================================================================
   Filmatik AI — Coming Soon
   Self-contained stylesheet. No frameworks. No build step.
   ========================================================================== */

@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: hsl(240 30% 7%);
  --bg-fallback: linear-gradient(140deg, #050510 0%, #0c0c1c 40%, #1a0e2c 100%);

  --primary: hsl(218 100% 60%);
  --secondary: hsl(271 100% 50%);
  --accent-pink: #ff657a;

  --text: hsl(0 0% 98%);
  --muted: hsla(0 0% 98% / 0.62);
  --muted-soft: hsla(0 0% 98% / 0.42);

  --glass-bg: hsla(0 0% 100% / 0.04);
  --glass-bg-hover: hsla(0 0% 100% / 0.07);
  --glass-border: hsla(0 0% 100% / 0.09);
  --glass-border-hover: hsla(0 0% 100% / 0.18);

  --radius-card: 20px;
  --radius-pill: 999px;

  --font-display: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  background-image: var(--bg-fallback);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Vanta full-viewport background --------------------------------------- */
#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: auto;
  background: var(--bg-fallback);
}

/* Dim the live Vanta canvas so the animation reads as ambient depth, not
   a foreground element. Single dial — tweak this opacity to taste. */
#vanta-bg canvas {
  opacity: 0.30;
}

/* Soft vignette so text always reads cleanly over Vanta */
#vanta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 0%, hsla(240 30% 5% / 0.45) 55%, hsla(240 30% 5% / 0.78) 100%),
    linear-gradient(180deg, hsla(240 30% 5% / 0.5) 0%, transparent 30%, transparent 65%, hsla(240 30% 5% / 0.7) 100%);
  pointer-events: none;
}

/* Page layout ---------------------------------------------------------- */
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 80px);
  max-width: 1280px;
  margin: 0 auto;
}

/* Top bar -------------------------------------------------------------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.brand__logo {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px hsla(218 100% 60% / 0.35));
}

.brand__wordmark {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__accent {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 6px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px hsla(218 100% 60% / 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.1);  }
}

/* Hero ----------------------------------------------------------------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(40px, 8vh, 100px) 0 clamp(40px, 6vh, 80px);
  gap: clamp(20px, 3vh, 32px);
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero__title--gradient {
  background: linear-gradient(110deg, hsl(218 100% 70%) 0%, hsl(255 100% 70%) 45%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero__subtitle {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

/* Pillar cards --------------------------------------------------------- */
.pillars {
  list-style: none;
  margin: clamp(24px, 4vh, 48px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  text-align: left;
}

.pillar {
  position: relative;
  padding: 28px 26px 28px;
  border-radius: var(--radius-card);
  background: hsla(0 0% 100% / 0.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  overflow: hidden;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 280ms ease,
              background 280ms ease,
              box-shadow 280ms ease;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 0% 0%, hsla(218 100% 60% / 0.18) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}

.pillar:hover,
.pillar:focus-within {
  transform: translateY(-4px);
  background: hsla(0 0% 100% / 0.11);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 48px hsla(218 100% 60% / 0.18),
              0 0 0 1px hsla(218 100% 60% / 0.12);
}

.pillar:hover::before,
.pillar:focus-within::before {
  opacity: 1;
}

/* desktop: arrow connectors between pillars */
@media (min-width: 768px) {
  .pillar + .pillar::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -14px;
    width: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsla(0 0% 100% / 0.35));
    transform: translateY(-50%);
    pointer-events: none;
  }
}

.pillar__step {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: hsl(218 100% 75%);
  background: hsla(218 100% 60% / 0.12);
  border: 1px solid hsla(218 100% 60% / 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.pillar__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pillar__copy {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.pillar__icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 22px;
  height: 22px;
  color: hsla(0 0% 100% / 0.35);
  transition: color 280ms ease;
}

.pillar:hover .pillar__icon {
  color: hsl(218 100% 75%);
}

/* Collaboration band --------------------------------------------------- */
.collab {
  position: relative;
  margin-top: clamp(20px, 3vh, 32px);
  width: 100%;
  max-width: 1080px;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-card);
  background: hsla(0 0% 100% / 0.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 28px);
  text-align: left;
  overflow: hidden;
}

.collab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, hsla(271 100% 50% / 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.collab__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.collab__heading {
  display: flex;
  flex-direction: column;
}

.collab__tag {
  align-self: flex-start;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(218 100% 75%);
  background: hsla(218 100% 60% / 0.12);
  border: 1px solid hsla(218 100% 60% / 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.collab__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.collab__features {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.collab__feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: hsla(0 0% 100% / 0.035);
  border: 1px solid hsla(0 0% 100% / 0.07);
}

.collab__feature-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: hsl(218 100% 75%);
}

.collab__feature-label {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
}

.collab__feature-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.collab__avatars {
  position: relative;
  display: flex;
  align-items: center;
}

.collab__avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid hsla(240 30% 7% / 0.85);
  box-shadow: 0 4px 14px hsla(240 30% 5% / 0.45);
  margin-left: -10px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center;
  background: hsla(0 0% 100% / 0.04);
}

.collab__avatar:first-child {
  margin-left: 0;
}

.collab__avatar--more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsla(0 0% 100% / 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 720px) {
  .collab__features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .collab {
    gap: 20px;
  }

  .collab__header {
    flex-direction: column;
    gap: 18px;
  }

  .collab__avatars {
    justify-content: flex-start;
  }
}

/* Powered by strip ----------------------------------------------------- */
.powered {
  margin-top: clamp(28px, 5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 32px;
  width: 100%;
  max-width: 720px;
}

.powered__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.powered__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 36px;
}

.powered__item {
  display: inline-flex;
  align-items: center;
  height: 22px;
}

.powered__item img {
  height: 100%;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1) brightness(1.1);
  transition: opacity 220ms ease, filter 220ms ease;
}

.powered__item img:hover {
  opacity: 0.95;
  filter: grayscale(0) brightness(1.05);
}

/* Footer --------------------------------------------------------------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  font-size: 12px;
  color: var(--muted-soft);
}

.footer__sep {
  opacity: 0.5;
}

/* Reveal animation ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 720ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive ---------------------------------------------------------- */
@media (max-width: 768px) {
  .page {
    padding: 20px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .brand__wordmark {
    font-size: 16px;
    letter-spacing: 0.14em;
  }

  .status-pill {
    font-size: 11px;
    padding: 6px 12px;
  }

  .powered {
    gap: 16px 24px;
  }

  .powered__list {
    gap: 18px 26px;
  }

  .powered__item img {
    max-width: 90px;
  }
}

@media (max-width: 420px) {
  .topbar {
    flex-direction: column;
    gap: 14px;
  }

  .pillar {
    padding: 22px 20px;
  }
}

/* Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  #vanta-bg {
    background:
      radial-gradient(ellipse at 30% 20%, hsla(218 100% 60% / 0.18), transparent 55%),
      radial-gradient(ellipse at 70% 80%, hsla(271 100% 50% / 0.18), transparent 55%),
      var(--bg-fallback);
  }
}
