:root {
  --ink: #050505;
  --ink-2: #0a0a0a;
  --ink-3: #111;
  --paper: #f3f3f1;
  --mute: #8a8a8a;
  --line: rgba(255, 255, 255, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.055;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
}

/* ========== TOPBAR ========== */
.site-actions {
  position: fixed;
  top: 1rem;
  right: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.55rem 0.45rem 0.75rem;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-actions__brand img {
  display: block;
  width: clamp(78px, 9vw, 100px);
  height: auto;
}

.site-actions__link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.7);
  white-space: nowrap;
}

.site-actions__link:hover { color: #fff; }

.site-actions__cta {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: 0.2s ease;
}

.site-actions__cta:hover {
  background: #fff;
  color: #050505;
}

/* ========== SAAS HERO ========== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 5.5rem clamp(1.25rem, 4vw, 2.5rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(800px 400px at 80% 20%, rgba(255, 255, 255, 0.03), transparent 50%),
    #050505;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  text-align: center;
  margin-bottom: 3rem;
}

.hero__mark {
  width: min(52vw, 220px);
  margin: 0 auto 1.35rem;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.hero__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.45);
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 550;
  font-size: clamp(1.55rem, 3.6vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero__lead {
  margin: 1.25rem auto 0;
  max-width: 40rem;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(243, 243, 241, 0.68);
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero__meta {
  margin: 1.15rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(243, 243, 241, 0.38);
  opacity: 0;
  animation: rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--solid {
  background: #fff;
  color: #050505;
}

.btn--solid:hover { background: #e8e8e6; }

.btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* ========== PRODUCT UI (hero visual) ========== */
.hero__product {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 0 0;
  opacity: 0;
  transform: translateY(48px);
  animation: productIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

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

.product {
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow:
    0 -40px 120px rgba(255, 255, 255, 0.04),
    0 40px 100px rgba(0, 0, 0, 0.65);
  transform: perspective(1600px) rotateX(8deg) scale(1.02);
  transform-origin: center bottom;
}

.product__chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #080808;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.product__dots {
  display: flex;
  gap: 0.35rem;
}

.product__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.product__url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.product__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}

.product__bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  font-size: 0.78rem;
  color: rgba(243, 243, 241, 0.45);
}

.product__bar nav .on {
  color: #fff;
  position: relative;
}

.product__bar nav .on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.85rem;
  height: 2px;
  background: #fff;
}

.product__bar button {
  appearance: none;
  border: 0;
  background: #fff;
  color: #050505;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  cursor: default;
  white-space: nowrap;
}

.product__body {
  padding: 1.15rem;
  background:
    linear-gradient(180deg, #101010 0%, #0b0b0b 100%);
}

.product__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.product__stats article {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 0.95rem;
}

.product__stats small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.42);
}

.product__stats strong {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  color: #fff;
}

.product__stats em {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.72rem;
  color: rgba(243, 243, 241, 0.45);
}

.product__stats .bar {
  margin-top: 0.65rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.product__stats .bar i {
  display: block;
  height: 100%;
  background: #fff;
}

.product__main {
  display: grid;
  grid-template-columns: 1.55fr 0.9fr;
  gap: 0.75rem;
  min-height: 280px;
}

.product__table,
.product__side {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.product__table header,
.product__side h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 500;
}

.product__table header h3,
.product__side h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  border: 0;
  padding: 0;
}

.product__table header span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #050505;
  background: #fff;
  padding: 0.25rem 0.45rem;
}

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

.product__table li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product__table li:last-child { border-bottom: 0; }

.product__table b {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
}

.product__table small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(243, 243, 241, 0.42);
}

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(243, 243, 241, 0.8);
}

.tag--wait {
  border-style: dashed;
  color: rgba(243, 243, 241, 0.55);
}

.tag--vip {
  background: #fff;
  color: #050505;
  border-color: #fff;
}

.product__table em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.65rem;
}

.product__table em.off {
  opacity: 0.35;
}

.product__side {
  padding-bottom: 0.85rem;
}

.product__side h3 {
  display: block;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0.85rem;
}

.rooms > div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.75rem 0.4rem;
  text-align: center;
}

.rooms b {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1rem;
}

.rooms span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 243, 241, 0.45);
}

.rooms .busy {
  background: #fff;
  color: #050505;
  border-color: #fff;
}

.rooms .busy span { color: rgba(5, 5, 5, 0.55); }

.rooms .clean {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.04);
}

.rooms .maint b {
  text-decoration: line-through;
  color: rgba(243, 243, 241, 0.35);
}

/* ========== FEATURES ========== */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 4rem);
  opacity: 0;
  transform: translateY(28px);
  transition: 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.section.is-in {
  opacity: 1;
  transform: translateY(0);
}

.section--ink {
  background: #070707;
  border-top: 1px solid var(--line);
}

.section__inner { max-width: 68rem; width: 100%; }

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}

.section__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.section__text {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(243, 243, 241, 0.65);
}

.feature-rail {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-rail li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: 0.65s ease;
}

.section.is-in .feature-rail li {
  opacity: 1;
  transform: none;
}

.section.is-in .feature-rail li:nth-child(1) { transition-delay: 0.05s; }
.section.is-in .feature-rail li:nth-child(2) { transition-delay: 0.12s; }
.section.is-in .feature-rail li:nth-child(3) { transition-delay: 0.19s; }
.section.is-in .feature-rail li:nth-child(4) { transition-delay: 0.26s; }
.section.is-in .feature-rail li:nth-child(5) { transition-delay: 0.33s; }
.section.is-in .feature-rail li:nth-child(6) { transition-delay: 0.4s; }

.feature-rail__mark {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.3);
}

.feature-rail h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.feature-rail p {
  margin: 0.35rem 0 0;
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(243, 243, 241, 0.55);
}

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

@media (min-width: 1024px) {
  .feature-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding: 3rem 1.25rem 3.5rem;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer img {
  width: clamp(88px, 14vw, 120px);
  height: auto;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(243, 243, 241, 0.5);
}

@media (max-width: 900px) {
  .product {
    transform: none;
    border-radius: 10px 10px 0 0;
  }

  .product__stats {
    grid-template-columns: 1fr 1fr;
  }

  .product__main {
    grid-template-columns: 1fr;
  }

  .product__bar nav span:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-actions { gap: 0.65rem; padding-left: 0.55rem; }
  .site-actions__brand img { width: 72px; }

  .hero { padding-top: 5.5rem; }

  .hero__mark { width: min(48vw, 180px); }

  .product__table li {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .rooms { grid-template-columns: repeat(2, 1fr); }
}
