:root {
  --bg-cream: #f3eee6;
  --bg-lavender: #ebe4f0;
  --bg-blush: #f0e8ea;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-muted: #5c5c5c;
  --ink-soft: #8a8a8a;
  --accent-purple: #6b5b95;
  --accent-violet: #7c6aa8;
  --accent-teal: #2d6a6a;
  --accent-amber: #c47a3a;
  --accent-gold: #c9a227;
  --brand-magenta: #8b2f7a;
  --brand-orange: #e07a2f;
  --nav-active: #6b5b95;
  --radius-card: 28px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 50px rgba(40, 30, 60, 0.08);
  --shadow-card-hover: 0 28px 70px rgba(40, 30, 60, 0.14);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Helvetica Neue", sans-serif;
  --max-width: 1180px;
  --header-height: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-cream);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Ambient animated canvas */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(235, 220, 245, 0.9), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(240, 228, 220, 0.85), transparent 50%),
    radial-gradient(ellipse 60% 45% at 50% 80%, rgba(228, 232, 245, 0.7), transparent 55%),
    linear-gradient(165deg, #f6f1ea 0%, #ebe4f0 42%, #f0ebe6 100%);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(107, 91, 149, 0.07) 0%, transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(224, 122, 47, 0.06) 0%, transparent 40%);
  animation: drift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.05); }
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(243, 238, 230, 0.72);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.1s forwards;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.4vw, 1rem);
  letter-spacing: 0.01em;
  line-height: 1.25;
  max-width: min(42vw, 320px);
}

.brand-product {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.25s forwards;
}

.nav a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--nav-active);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--nav-active);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Main */
.main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.5rem;
}

.hero-intro {
  text-align: center;
  margin-bottom: 2.75rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.35s forwards;
}

.hero-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.hero-mark {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 2.4rem 1.15rem;
  margin-bottom: 0.35rem;
  isolation: isolate;
}

.hero-mark-glow {
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(201, 162, 39, 0.28), transparent 58%),
    radial-gradient(circle at 40% 60%, rgba(139, 47, 122, 0.18), transparent 55%),
    radial-gradient(circle at 65% 55%, rgba(224, 122, 47, 0.16), transparent 50%);
  filter: blur(18px);
  z-index: 0;
  animation: glow-breathe 4.5s ease-in-out infinite;
  opacity: 0;
  animation-name: glow-in, glow-breathe;
  animation-duration: 0.9s, 4.5s;
  animation-delay: 0.15s, 1s;
  animation-fill-mode: forwards, none;
  animation-timing-function: ease, ease-in-out;
  animation-iteration-count: 1, infinite;
}

@keyframes glow-in {
  to { opacity: 1; }
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

.hero-product {
  display: inline-block;
  background: linear-gradient(105deg, #1a1a1a 0%, #1a1a1a 38%, #8b2f7a 48%, #c9a227 54%, #e07a2f 60%, #1a1a1a 70%, #1a1a1a 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: title-shimmer 3.8s ease-in-out 0.8s infinite;
  opacity: 0;
  transform: translateY(10px);
  animation-name: title-rise, title-shimmer;
  animation-duration: 0.75s, 3.8s;
  animation-delay: 0.2s, 1.1s;
  animation-fill-mode: forwards, none;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
}

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

@keyframes title-shimmer {
  0%, 100% { background-position: 100% 50%; }
  45%, 55% { background-position: 0% 50%; }
}

.hero-version {
  position: relative;
  z-index: 1;
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 91, 149, 0.22);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-purple);
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  animation: badge-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.hero-version strong {
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}

@keyframes badge-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-mark-frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-mark-frame .c {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #c9a227;
  border-style: solid;
  opacity: 0;
  animation: corner-in 0.55s ease forwards;
}

.hero-mark-frame .c-tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  animation-delay: 0.55s;
}

.hero-mark-frame .c-tr {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
  animation-delay: 0.65s;
}

.hero-mark-frame .c-bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
  animation-delay: 0.75s;
}

.hero-mark-frame .c-br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
  animation-delay: 0.85s;
}

@keyframes corner-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-sub {
  margin-top: 1.1rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 34rem;
  margin-inline: auto;
}

/* App cards */
.app-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: stretch;
}

@media (min-width: 1100px) {
  .app-stack {
    grid-template-columns: repeat(4, 1fr);
  }
}

.app-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.app-card:nth-child(1).is-visible { transition-delay: 0.05s; }
.app-card:nth-child(2).is-visible { transition-delay: 0.1s; }
.app-card:nth-child(3).is-visible { transition-delay: 0.15s; }
.app-card:nth-child(4).is-visible { transition-delay: 0.2s; }
.app-card:nth-child(5).is-visible { transition-delay: 0.25s; }
.app-card:nth-child(6).is-visible { transition-delay: 0.3s; }
.app-card:nth-child(8).is-visible { transition-delay: 0.4s; }
.app-card:nth-child(9).is-visible { transition-delay: 0.45s; }
.app-card:nth-child(10).is-visible { transition-delay: 0.5s; }

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.app-card.is-visible:hover {
  transform: translateY(-6px);
}

.app-visual {
  position: relative;
  height: clamp(160px, 18vw, 200px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-visual--erp {
  background: linear-gradient(145deg, #e8dff0 0%, #f2ebe4 55%, #e9e4f2 100%);
}

.app-visual--oms {
  background: linear-gradient(145deg, #efe6dc 0%, #f3ebe3 50%, #ebe4ef 100%);
}

.app-visual--vms {
  background: linear-gradient(145deg, #e6ebe8 0%, #ebe6f0 50%, #f0e9e4 100%);
}

.app-visual--hrms {
  background: linear-gradient(145deg, #e4e8f6 0%, #efe8f4 50%, #f2ebe6 100%);
}

.app-visual--asset {
  background: linear-gradient(145deg, #e6eef4 0%, #f0ebe3 50%, #efe6f0 100%);
}

.app-visual--visitor {
  background: linear-gradient(145deg, #e4f0ec 0%, #efe8e4 50%, #ebe6f2 100%);
}

.app-visual--hostel {
  background: linear-gradient(145deg, #efe4f0 0%, #f3ebe4 50%, #ebe6f0 100%);
}

.app-visual--buy {
  background: linear-gradient(145deg, #e3ecfb 0%, #f3ebe4 50%, #ffe8d4 100%);
}

.app-visual--tally {
  background: linear-gradient(145deg, #ebe6e2 0%, #f0ebe8 50%, #efe6f0 100%);
}

.app-visual--insurance {
  background: linear-gradient(145deg, #e4ecfb 0%, #f0ebe6 50%, #ebe6f2 100%);
}

.app-illustration {
  width: min(88%, 280px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.06));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-card:hover .app-illustration {
  transform: scale(1.03) translateY(-4px);
}

.app-illustration .float-a {
  animation: float-y 5s ease-in-out infinite;
}

.app-illustration .float-b {
  animation: float-y 6.5s ease-in-out 0.6s infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.app-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.app-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.app-tag--erp { color: var(--accent-violet); }
.app-tag--oms { color: var(--accent-amber); }
.app-tag--vms { color: var(--accent-teal); }

.app-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  text-align: center;
}

.app-title-text {
  position: relative;
  display: inline-block;
  padding: 0.08em 0.2em 0.14em;
  background: linear-gradient(
    105deg,
    #1a1a1a 0%,
    #1a1a1a 36%,
    #8b2f7a 46%,
    #c9a227 52%,
    #e07a2f 58%,
    #1a1a1a 68%,
    #1a1a1a 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.app-card.is-visible .app-title-text {
  animation: app-title-shimmer 4.2s ease-in-out 0.35s infinite;
}

.app-card.is-visible .app-title-text::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 130%;
  transform: translate(-50%, -50%) scale(0.7);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.22), rgba(139, 47, 122, 0.1) 45%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
  opacity: 0;
  animation: app-title-glow 0.7s ease 0.2s forwards, app-title-pulse 3.6s ease-in-out 1s infinite;
}

.app-card.is-visible .app-title-text::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0.02em;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #c9a227, #8b2f7a, #e07a2f, transparent);
  transform: scaleX(0);
  transform-origin: center;
  animation: app-title-line 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.app-card:nth-child(2).is-visible .app-title-text {
  animation-delay: 0.5s;
}

.app-card:nth-child(2).is-visible .app-title-text::before {
  animation-delay: 0.35s, 1.15s;
}

.app-card:nth-child(2).is-visible .app-title-text::after {
  animation-delay: 0.5s;
}

.app-card:nth-child(3).is-visible .app-title-text {
  animation-delay: 0.65s;
}

.app-card:nth-child(3).is-visible .app-title-text::before {
  animation-delay: 0.5s, 1.3s;
}

.app-card:nth-child(3).is-visible .app-title-text::after {
  animation-delay: 0.65s;
}

@keyframes app-title-shimmer {
  0%, 100% { background-position: 100% 50%; }
  45%, 55% { background-position: 0% 50%; }
}

@keyframes app-title-glow {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes app-title-pulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes app-title-line {
  to { transform: scaleX(1); }
}

.app-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 0.55rem;
  text-align: center;
}

.app-desc {
  color: var(--ink-muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.app-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0;
  flex: 1;
}

.app-features li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-muted);
}

.app-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.app-features strong {
  font-weight: 500;
  color: var(--ink);
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 140px;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  margin-bottom: 0.95rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  transform: translateY(14px);
  border: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease;
}

.btn-login--erp {
  background: linear-gradient(135deg, #8b2f7a 0%, #6b5b95 55%, #4a3d78 100%);
  box-shadow: 0 10px 24px rgba(107, 91, 149, 0.35);
}

.btn-login--oms {
  background: linear-gradient(135deg, #e07a2f 0%, #c47a3a 50%, #a65d22 100%);
  box-shadow: 0 10px 24px rgba(196, 122, 58, 0.35);
}

.btn-login--vms {
  background: linear-gradient(135deg, #2d6a6a 0%, #3d8585 50%, #1f5555 100%);
  box-shadow: 0 10px 24px rgba(45, 106, 106, 0.35);
}

.btn-login--hrms {
  background: linear-gradient(135deg, #5b6bc8 0%, #4a58a8 55%, #3a4588 100%);
  box-shadow: 0 10px 24px rgba(91, 107, 200, 0.35);
}

.btn-login--asset {
  background: linear-gradient(135deg, #4f6f8f 0%, #3f5a75 55%, #2f455c 100%);
  box-shadow: 0 10px 24px rgba(79, 111, 143, 0.35);
}

.btn-login--visitor {
  background: linear-gradient(135deg, #3d7a6a 0%, #2f6154 55%, #234a40 100%);
  box-shadow: 0 10px 24px rgba(61, 122, 106, 0.35);
}

.btn-login--hostel {
  background: linear-gradient(135deg, #8b2f7a 0%, #a65d22 55%, #6b5b95 100%);
  box-shadow: 0 10px 24px rgba(139, 47, 122, 0.35);
}

.btn-login--buy {
  background: linear-gradient(135deg, #2874f0 0%, #fb641b 55%, #ff9f00 100%);
  box-shadow: 0 10px 24px rgba(40, 116, 240, 0.35);
}

.btn-login--tally {
  background: linear-gradient(135deg, #1a1a1a 0%, #4a3d78 50%, #c9a227 100%);
  box-shadow: 0 10px 24px rgba(26, 26, 26, 0.35);
}

.btn-login--insurance {
  background: linear-gradient(135deg, #2f6fed 0%, #1f4fb8 55%, #163a8a 100%);
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.35);
}

.app-card.is-visible .btn-login {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.app-card:nth-child(2).is-visible .btn-login {
  animation-delay: 0.55s;
}

.app-card:nth-child(3).is-visible .btn-login {
  animation-delay: 0.65s;
}

.app-card.is-visible .btn-login--erp {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards, btn-glow-erp 2.8s ease-in-out 1.2s infinite;
}

.app-card.is-visible .btn-login--oms {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards, btn-glow-oms 2.8s ease-in-out 1.3s infinite;
}

.app-card.is-visible .btn-login--vms {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards, btn-glow-vms 2.8s ease-in-out 1.4s infinite;
}

.app-card.is-visible .btn-login--hrms {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards, btn-glow-hrms 2.8s ease-in-out 1.5s infinite;
}

.app-card.is-visible .btn-login--asset {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards, btn-glow-asset 2.8s ease-in-out 1.55s infinite;
}

.app-card.is-visible .btn-login--visitor {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards, btn-glow-visitor 2.8s ease-in-out 1.6s infinite;
}

.app-card.is-visible .btn-login--hostel {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards, btn-glow-hostel 2.8s ease-in-out 1.65s infinite;
}

.app-card.is-visible .btn-login--buy {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards, btn-glow-buy 2.8s ease-in-out 1.7s infinite;
}

.app-card.is-visible .btn-login--tally {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards, btn-glow-tally 2.8s ease-in-out 1.75s infinite;
}

.app-card.is-visible .btn-login--insurance {
  animation: login-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.9s forwards, btn-glow-insurance 2.8s ease-in-out 1.8s infinite;
}

.btn-login::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.35) 45%, transparent 75%);
  transform: translateX(-130%);
  z-index: 1;
  pointer-events: none;
}

.app-card.is-visible .btn-login::before {
  animation: btn-shine 3.2s ease-in-out 1.4s infinite;
}

.btn-login::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  opacity: 0.55;
  filter: blur(10px);
  background: inherit;
  transition: opacity 0.3s ease;
}

.btn-login:hover {
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.06);
}

.btn-login--erp:hover {
  box-shadow: 0 16px 36px rgba(107, 91, 149, 0.45), 0 0 0 4px rgba(139, 47, 122, 0.14);
}

.btn-login--oms:hover {
  box-shadow: 0 16px 36px rgba(196, 122, 58, 0.45), 0 0 0 4px rgba(224, 122, 47, 0.14);
}

.btn-login--vms:hover {
  box-shadow: 0 16px 36px rgba(45, 106, 106, 0.45), 0 0 0 4px rgba(45, 106, 106, 0.14);
}

.btn-login--hrms:hover {
  box-shadow: 0 16px 36px rgba(91, 107, 200, 0.45), 0 0 0 4px rgba(91, 107, 200, 0.14);
}

.btn-login--asset:hover {
  box-shadow: 0 16px 36px rgba(79, 111, 143, 0.45), 0 0 0 4px rgba(79, 111, 143, 0.14);
}

.btn-login--visitor:hover {
  box-shadow: 0 16px 36px rgba(61, 122, 106, 0.45), 0 0 0 4px rgba(61, 122, 106, 0.14);
}

.btn-login--hostel:hover {
  box-shadow: 0 16px 36px rgba(139, 47, 122, 0.45), 0 0 0 4px rgba(166, 93, 34, 0.14);
}

.btn-login--buy:hover {
  box-shadow: 0 16px 36px rgba(40, 116, 240, 0.45), 0 0 0 4px rgba(251, 100, 27, 0.16);
}

.btn-login--tally:hover {
  box-shadow: 0 16px 36px rgba(26, 26, 26, 0.45), 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.btn-login--insurance:hover {
  box-shadow: 0 16px 36px rgba(47, 111, 237, 0.45), 0 0 0 4px rgba(47, 111, 237, 0.16);
}

.btn-login:hover::after {
  opacity: 0.85;
}

.btn-login:active {
  transform: translateY(0) scale(0.98);
}

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

@keyframes btn-shine {
  0%, 60%, 100% { transform: translateX(-130%); }
  75% { transform: translateX(130%); }
}

@keyframes btn-glow-erp {
  0%, 100% { box-shadow: 0 10px 24px rgba(107, 91, 149, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(139, 47, 122, 0.5); }
}

@keyframes btn-glow-oms {
  0%, 100% { box-shadow: 0 10px 24px rgba(196, 122, 58, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(224, 122, 47, 0.5); }
}

@keyframes btn-glow-vms {
  0%, 100% { box-shadow: 0 10px 24px rgba(45, 106, 106, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(45, 106, 106, 0.5); }
}

@keyframes btn-glow-hrms {
  0%, 100% { box-shadow: 0 10px 24px rgba(91, 107, 200, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(91, 107, 200, 0.5); }
}

@keyframes btn-glow-asset {
  0%, 100% { box-shadow: 0 10px 24px rgba(79, 111, 143, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(79, 111, 143, 0.5); }
}

@keyframes btn-glow-visitor {
  0%, 100% { box-shadow: 0 10px 24px rgba(61, 122, 106, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(61, 122, 106, 0.5); }
}

@keyframes btn-glow-hostel {
  0%, 100% { box-shadow: 0 10px 24px rgba(139, 47, 122, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(166, 93, 34, 0.5); }
}

@keyframes btn-glow-buy {
  0%, 100% { box-shadow: 0 10px 24px rgba(40, 116, 240, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(251, 100, 27, 0.5); }
}

@keyframes btn-glow-tally {
  0%, 100% { box-shadow: 0 10px 24px rgba(26, 26, 26, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(201, 162, 39, 0.45); }
}

@keyframes btn-glow-insurance {
  0%, 100% { box-shadow: 0 10px 24px rgba(47, 111, 237, 0.35); }
  50% { box-shadow: 0 14px 32px rgba(47, 111, 237, 0.5); }
}

/* Footer */
/* Contact band */
.contact-band {
  position: relative;
  padding: 2.75rem 1.5rem 3rem;
  margin-top: 0.5rem;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(139, 47, 122, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 70% at 80% 40%, rgba(201, 162, 39, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(235, 228, 240, 0.55), rgba(243, 238, 230, 0.35));
  z-index: 0;
}

.contact-band-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.contact-kicker {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(12px);
}

.contact-band.is-visible .contact-kicker {
  animation: contact-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1.25rem;
  min-width: min(100%, 260px);
  text-align: left;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px rgba(40, 30, 60, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(22px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.contact-band.is-visible .contact-pill:nth-child(1) {
  animation: contact-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.contact-band.is-visible .contact-pill:nth-child(2) {
  animation: contact-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.contact-band.is-visible .contact-pill:nth-child(3) {
  animation: contact-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.contact-pill:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(40, 30, 60, 0.14);
  border-color: rgba(201, 162, 39, 0.35);
}

.contact-pill--static:hover {
  transform: translateY(-2px);
}

.contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  background: linear-gradient(145deg, rgba(139, 47, 122, 0.1), rgba(201, 162, 39, 0.14));
  box-shadow: inset 0 0 0 1px rgba(107, 91, 149, 0.12);
  animation: icon-pulse 2.8s ease-in-out infinite;
}

.contact-pill:nth-child(2) .contact-icon {
  animation-delay: 0.4s;
  color: #1f7a4d;
  background: linear-gradient(145deg, rgba(37, 211, 102, 0.12), rgba(201, 162, 39, 0.1));
}

.contact-pill:nth-child(3) .contact-icon {
  animation-delay: 0.8s;
  color: var(--accent-amber);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

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

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.7));
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 3.5rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-company {
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-product {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
}

.footer-address {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 300;
  line-height: 1.65;
}

.footer-heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--ink);
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-list a,
.footer-list span {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: var(--accent-purple);
}

.footer-meta dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.footer-meta dd {
  font-size: 0.9rem;
  color: var(--ink-muted);
  font-weight: 400;
  margin-bottom: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.footer-contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-contact-inline a:hover {
  color: var(--accent-purple);
}

/* Product login shell pages */
.shell-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
}

.shell-panel {
  width: min(100%, 440px);
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  text-align: center;
  opacity: 0;
  animation: fade-up 0.8s ease 0.15s forwards;
}

.shell-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.shell-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.shell-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.shell-desc {
  color: var(--ink-muted);
  font-weight: 300;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
}

.shell-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.shell-form label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.shell-form input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #faf8f5;
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shell-form input:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(107, 91, 149, 0.15);
}

.shell-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-primary {
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.btn-ghost {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: border-color 0.2s ease, color 0.2s ease;
}

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

.shell-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .app-stack {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 480px;
    margin-inline: auto;
  }

  .app-visual {
    height: clamp(180px, 40vw, 220px);
  }

  .app-illustration {
    width: min(82%, 320px);
  }

  .app-title {
    font-size: clamp(2.4rem, 8vw, 3rem);
  }

  .app-desc {
    font-size: 0.95rem;
  }
}

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

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 1.25rem;
    left: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    animation: none;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav a::after {
    display: none;
  }

  .app-body {
    padding: 1.35rem 1.35rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .app-card {
    opacity: 1;
    transform: none;
  }

  .hero-highlight-path {
    stroke-dashoffset: 0;
  }

  .hero-product::after {
    transform: scaleX(1);
  }

  .hero-mark-glow,
  .hero-product,
  .hero-version,
  .hero-mark-frame .c {
    opacity: 1;
    transform: none;
    animation: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    background: none;
  }

  .app-title-text {
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
    background: none;
    animation: none;
  }

  .app-title-text::before,
  .app-title-text::after {
    animation: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  .app-title-text::after {
    transform: scaleX(1);
  }

  .btn-login {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .btn-login::before {
    animation: none;
  }

  .contact-kicker,
  .contact-pill {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .contact-icon {
    animation: none;
  }
}
