/* ===== InnTrack marketing site ===== */

:root {
  --accent-50: #e7f6fe;
  --accent-100: #c7ebfd;
  --accent-300: #7dd3fc;
  --accent-400: #38bdf8;
  --accent-500: #0ea5e9;
  --accent-600: #0284c7;
  --accent-700: #0369a1;

  --bg: #0b0f16;
  --bg-2: #0e1420;
  --panel: #111826;
  --panel-2: #141d2c;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --ink: #f3f6fb;
  --ink-muted: #aab4c5;
  --ink-subtle: #78849a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 8px 26px -8px rgba(14, 165, 233, 0.5);

  --radius-sm: 10px;
  --radius-card: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

p, li, .price-card ul li, .checklist li, .stat-tile span {
  font-weight: 500;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* Background — darker deep indigo settling into near-black, fixed so it spans the whole scroll */
body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(14, 165, 233, 0.1), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(14, 165, 233, 0.07), transparent 40%),
    linear-gradient(180deg, #050a2e 0%, #050a2e 60%, #010208 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%, 100% 100%, 100% 100%;
}

/* Gradient text — for headline emphasis */
.gradient-text {
  background: linear-gradient(120deg, var(--ink) 0%, var(--accent-300) 45%, var(--accent-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Eyebrow / kicker ===== */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 14px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 22, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 22%;
}

.brand-word {
  color: var(--ink);
}

.brand-word span {
  color: var(--accent-400);
}

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

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-400), var(--accent-600));
  color: #04121c;
  box-shadow: var(--glow);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

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

.btn--ghost:hover {
  border-color: var(--accent-400);
  color: var(--accent-300);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.btn--block {
  width: 100%;
}

/* ===== Hero ===== */
.hero {
  padding: 96px 0 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  align-items: center;
}

.hero__copy {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-400);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-subtle);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-400);
}

.hero__shot {
  margin-top: 20px;
}

.shot-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 8px;
}

.shot-frame img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  cursor: zoom-in;
  transition: transform 0.2s ease;
}

.shot-frame img:hover {
  transform: scale(1.015);
}

/* ===== Lightbox — click a screenshot to enlarge ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(2, 5, 15, 0.85);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  cursor: zoom-out;
  transform: scale(0.94);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-overlay.is-open img {
  transform: scale(1);
}

.lightbox-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay__close:hover {
  border-color: var(--accent-400);
  color: var(--accent-300);
}

@media (prefers-reduced-motion: reduce) {
  .shot-frame img,
  .lightbox-overlay,
  .lightbox-overlay img {
    transition: none !important;
  }
}

/* ===== Section headers ===== */
.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin: 0;
}

section + section {
  border-top: 1px solid var(--line);
}

.section-pad {
  padding: 88px 0;
}

/* ===== Features grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ===== Deep-dive (alternating) ===== */
.deep-dive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.deep-dive__copy .eyebrow {
  margin-bottom: 12px;
}

.deep-dive h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.deep-dive p.lead {
  color: var(--ink-muted);
  font-size: 1rem;
  margin: 0 0 22px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "✓";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.15);
  color: var(--accent-400);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===== Stats strip ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.stat-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
}

.stat-tile strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--accent-400);
  margin-bottom: 4px;
}

.stat-tile span {
  font-size: 0.8rem;
  color: var(--ink-subtle);
}

/* ===== Property types ===== */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.property-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
}

.property-card .tag {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}

.property-card h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.property-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--featured {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 1px var(--accent-500), var(--shadow-lg);
  background: var(--panel-2);
}

.price-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-500);
  color: #04121c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.price-card .price-sub {
  color: var(--ink-subtle);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.price-card .price small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-subtle);
}

.price-card .rooms {
  font-size: 0.85rem;
  color: var(--accent-400);
  font-weight: 700;
  margin-bottom: 24px;
}

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.price-card ul li {
  font-size: 0.88rem;
  color: var(--ink-muted);
  display: flex;
  gap: 9px;
}

.price-card ul li::before {
  content: "✓";
  color: var(--accent-400);
  font-weight: 800;
}

.negotiate {
  margin-top: 40px;
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.negotiate h4 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.negotiate p {
  color: var(--ink-muted);
  margin: 0 0 20px;
  font-size: 0.95rem;
}

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 90px 0;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.cta-band p {
  color: var(--ink-muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 22%;
}

.footer__brand .brand-word {
  color: var(--ink);
}

.footer__brand .brand-word span {
  color: var(--accent-400);
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.footer__links a:hover {
  color: var(--ink);
}

.footer__meta {
  font-size: 0.78rem;
  color: var(--ink-subtle);
}

/* ===== Placeholder image blocks (swap-out markers) ===== */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.045) 10px,
    rgba(255, 255, 255, 0.045) 20px
  );
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-subtle);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}

/* ===== Responsive ===== */
@media (min-width: 780px) {
  .hero__grid {
    text-align: left;
  }
  .hero__copy {
    margin: 0;
  }
  .hero p.lead {
    margin: 0 0 32px;
  }
  .hero__actions,
  .hero__trust {
    justify-content: flex-start;
  }

  .deep-dive {
    grid-template-columns: 1fr 1fr;
  }
  .deep-dive.reverse .deep-dive__copy {
    order: 2;
  }
  .deep-dive.reverse .deep-dive__media {
    order: 1;
  }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a {
    font-size: 1.1rem;
  }
  .nav__toggle {
    display: block;
  }
  .nav__cta .btn--ghost {
    display: none;
  }

  /* backdrop-filter on .nav creates a containing block that traps
     position:fixed children, breaking the mobile menu's viewport
     positioning — drop the blur here and use a solid background instead. */
  .nav {
    backdrop-filter: none;
    background: var(--bg);
  }
  .nav__links {
    z-index: 60;
    background: var(--bg);
  }
}

/* ===== Motion ===== */

/* Hero entrance — plays immediately on load, staggered by child order */
.hero__copy > * ,
.hero__shot {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero p.lead { animation-delay: 0.25s; }
.hero__actions { animation-delay: 0.35s; }
.hero__trust { animation-delay: 0.45s; }
.hero__shot { animation-delay: 0.55s; }

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

/* Nav fades/drops in on load */
.nav {
  animation: navIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal — toggled by IntersectionObserver in script.js */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Declared after .reveal.is-visible so the hover lift isn't
   cancelled out by the equal-specificity reveal transform once
   a card has finished animating in. */
.feature-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* Subtle continuous float on the hero product shot */
.hero__shot .shot-frame {
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.1s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Number/stat pop when its tile reveals */
.stat-tile.reveal.is-visible strong {
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--reveal-delay, 0s) + 0.15s);
}
@keyframes pop {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Icon nudge on feature card hover */
.feature-card:hover .feature-card__icon {
  transform: translateY(-3px) scale(1.06);
}
.feature-card__icon {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Pricing featured card lift + glow pulse */
.price-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.price-card--featured:hover {
  transform: translateY(-6px);
}
.price-card__badge {
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
}

/* Property card hover lift */
.property-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.property-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

/* .reveal-scale/.reveal-left/.reveal-right also set a 0.7s transition on
   transform/opacity for the entrance animation. Same specificity (one class)
   as the hover rules above means whichever is later in the file wins the
   `transition` property entirely — so once revealed, hover would inherit the
   slow entrance timing. These two-class overrides restore the snappy hover
   speed regardless of source order. */
.feature-card.border-glow-card,
.price-card.border-glow-card,
.property-card.border-glow-card {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Underline sweep on nav links */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--accent-400);
  transition: width 0.2s ease;
}
.nav__links a:hover::after {
  width: 100%;
}

/* ===== Brand wordmark ===== */
.brand-word {
  font-weight: 800;
}

/* ===== Features grid — symmetrical 4-up ===== */
.features-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 3D tilt wrapper (screenshots) ===== */
.tilt-card {
  perspective: 1200px;
}
.tilt-card .shot-frame {
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== Contact form ===== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}
.contact-form__status {
  min-height: 1.2em;
  font-size: 0.85rem;
  text-align: center;
  color: var(--accent-400);
}
.contact-form__status.is-error {
  color: #f87171;
}
.contact-form__fallback {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-subtle);
}
.contact-form__fallback a {
  color: var(--accent-400);
  text-decoration: underline;
}

/* ===== Scroll-reveal direction variants ===== */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ===== Border glow — ported from components/reference/BorderGlow ===== */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 55;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --glow-padding: 24px;
  --cone-spread: 25;
  --glow-color: hsl(199deg 89% 70% / 100%);
  --glow-color-60: hsl(199deg 89% 70% / 60%);
  --glow-color-50: hsl(199deg 89% 70% / 50%);
  --glow-color-40: hsl(199deg 89% 70% / 40%);
  --glow-color-30: hsl(199deg 89% 70% / 30%);
  --glow-color-20: hsl(199deg 89% 70% / 20%);
  --glow-color-10: hsl(199deg 89% 70% / 10%);

  position: relative;
  isolation: isolate;
}

.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: calc(var(--glow-padding) * -1);
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.25s ease-out;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}

.border-glow-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px 0 var(--glow-color-60),
    inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 3px 0 var(--glow-color-50),
    0 0 8px 0 var(--glow-color-40),
    0 0 18px 0 var(--glow-color-30),
    0 0 32px 2px var(--glow-color-20);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
  .border-glow-card > .edge-light {
    display: none;
  }
  .tilt-card .shot-frame {
    transform: none !important;
  }
}
