/* ==========================================================================
   Hello Nissi — pre-launch landing page
   Brand tokens pulled from the live app's own design system
   (Codebase/public_html/assets/css/style.css :root), extended for a
   premium single-page treatment.
   ========================================================================== */

:root {
  --navy: #263F55;
  --navy-light: #3B5670;
  --navy-deep: #16232F;
  --navy-soft: #E9EEF1;
  --teal: #03B2A6;
  --teal-light: #4DD6CB;
  --cream: #FBF8F3;
  --paper: #FFFFFF;
  --ink: #1B2430;
  --gray: #6B7280;
  --border: #E2E6E9;

  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1120px;
  --radius-card: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  margin: 0;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::after {
  content: '';
  flex: 0 0 52px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }
.eyebrow--on-dark { color: var(--teal-light); }
.eyebrow--lg { font-size: 16px; gap: 16px; }
.eyebrow--lg::after { flex-basis: 80px; height: 3px; }

/* --------------------------------------------------------------------
   Reveal-on-scroll (respects reduced motion)
   -------------------------------------------------------------------- */
/* Visible by default - JS only *arms* the hidden-then-reveal effect once it
   has confirmed it's actually running, so content is never at the mercy of
   JS loading/executing successfully (see assets/js/main.js). */
.reveal.reveal-armed {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal-armed.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------- */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 26px 0 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.topbar-logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.35);
}
.topbar-logo-chip img { height: 22px; width: auto; }
.topbar-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
.topbar-logo-text em { font-style: normal; color: var(--teal-light); }
.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.topbar-cta:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(3,178,166,0.24), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 0%, rgba(77,214,203,0.14), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #1d3247 100%);
  background-size: 130% 130%, 130% 130%, 100% 100%;
  padding: 132px 0 150px;
  color: #fff;
  animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { background-position: 0% 0%, 100% 0%, 0 0; }
  100% { background-position: 8% 6%, 92% 8%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .hero { animation: none; } }

/* Staggered entrance - the hero is always visible on load (never gated
   behind .reveal/JS), so this runs immediately rather than on scroll. */
.hero-badge, .hero h1, .hero-lead, .hero-actions, .hero-strip {
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-badge  { animation-delay: 0.05s; }
.hero h1     { animation-delay: 0.15s; }
.hero-lead   { animation-delay: 0.28s; }
.hero-actions{ animation-delay: 0.4s; }
.hero-strip  { animation-delay: 0.52s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero-lead, .hero-actions, .hero-strip { animation: none; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(3,178,166,0.14);
  border: 1px solid rgba(77,214,203,0.4);
  color: var(--teal-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  box-shadow: 0 0 0 0 rgba(77,214,203,0.6);
  animation: pulse 2.2s ease-out infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-badge .dot { animation: none; } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(77,214,203,0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(77,214,203,0); }
  100% { box-shadow: 0 0 0 0 rgba(77,214,203,0); }
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-lead {
  margin: 26px auto 0;
  max-width: 540px;
  color: rgba(255,255,255,0.82);
  font-size: 17.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--teal {
  background: var(--teal);
  color: #06231f;
  box-shadow: 0 14px 30px -12px rgba(3,178,166,0.65);
  animation: cta-glow 2.6s ease-in-out infinite;
}
.btn--teal:hover {
  background: var(--teal-light);
  box-shadow: 0 16px 34px -10px rgba(77,214,203,0.7);
  transform: translateY(-1px);
  animation-play-state: paused;
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 14px 30px -12px rgba(3,178,166,0.65); }
  50%      { box-shadow: 0 16px 40px -8px rgba(3,178,166,0.9); }
}
@media (prefers-reduced-motion: reduce) { .btn--teal { animation: none; } }

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

.hero-strip {
  position: relative;
  z-index: 2;
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  overflow: hidden;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  background: rgba(255,255,255,0.045);
  padding: 22px 18px;
  text-align: center;
  transition: background 0.25s ease;
}
.hero-stat:hover { background: rgba(255,255,255,0.09); }
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hero-stat .label {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------
   Section shells
   -------------------------------------------------------------------- */
/* Longhand on purpose - a shorthand `padding` here would silently wipe out
   .wrap's horizontal padding whenever both classes land on the same element
   (cascade order, not specificity, decides which shorthand wins otherwise). */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-head { max-width: 620px; margin: 0 0 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  margin-top: 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-deep);
}
.section-sub {
  margin-top: 14px;
  color: var(--gray);
  font-size: 16.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------
   How it works (ticket-stub styled steps)
   -------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-ticket {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px 24px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.step-ticket:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 36px -20px rgba(22,35,47,0.4);
  border-color: var(--teal-light);
}
.step-tickeft::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -1px;
  transform: translateX(-50%);
  width: 26px; height: 13px;
  background: var(--cream);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 13px 13px;
}
.step-ticket .step-no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--teal);
  letter-spacing: 0.06em;
}
.step-ticket h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
}
.step-ticket p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

/* --------------------------------------------------------------------
   Services (checklist, per the client's provided reference)
   -------------------------------------------------------------------- */
.services-panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 52px clamp(24px, 5vw, 64px);
  box-shadow: 0 30px 60px -35px rgba(22,35,47,0.25);
}
.services-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 44px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--navy-deep);
}
.service-check {
  flex: 0 0 19px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-check svg { width: 10px; height: 10px; }
.service-item:hover .service-check {
  transform: scale(1.2);
  box-shadow: 0 0 0 5px rgba(3,178,166,0.16);
}

/* --------------------------------------------------------------------
   Trust band
   -------------------------------------------------------------------- */
.trust {
  background: var(--navy-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.trust-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--paper);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.trust-item:hover .trust-icon {
  transform: translateY(-4px) rotate(-4deg);
  background: var(--teal);
  color: #fff;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 16.5px; font-weight: 700; }
.trust-item p { margin: 5px 0 0; font-size: 14px; color: var(--gray); line-height: 1.5; }

/* --------------------------------------------------------------------
   Contact — the actual CTA during pre-launch
   -------------------------------------------------------------------- */
.contact {
  background:
    radial-gradient(ellipse 800px 400px at 85% 0%, rgba(3,178,166,0.18), transparent 60%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: #fff;
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.contact-grid > * { min-width: 0; }
.contact h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; }
.contact p { color: rgba(255,255,255,0.78); margin-top: 14px; font-size: 16px; line-height: 1.65; max-width: 440px; }

.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 30px 28px;
  backdrop-filter: blur(6px);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  transition: padding-left 0.22s ease;
}
.contact-row:hover { padding-left: 5px; }
.contact-row + .contact-row { border-top: 1px solid rgba(255,255,255,0.12); }
.contact-row .ic {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--teal);
  color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row-body {
  /* flex items default to min-width:auto, which refuses to shrink below the
     content's intrinsic width - a long unbroken value (email, phone) would
     otherwise force this row wider than its card and get clipped by
     .contact's overflow:hidden. min-width:0 lets it actually shrink/wrap. */
  min-width: 0;
  flex: 1 1 auto;
}
.contact-row .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.contact-row .value {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
}
.contact-row .value.placeholder {
  color: var(--teal-light);
  border-bottom: 1.5px dashed rgba(77,214,203,0.6);
  padding-bottom: 2px;
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */
.footer {
  padding: 44px 0 36px;
  text-align: center;
}
.footer img { height: 26px; margin: 0 auto 14px; }
.footer p { margin: 0; font-size: 13.5px; color: var(--gray); }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 880px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }
  .hero-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .topbar-cta span { display: none; }
  .hero { padding: 110px 0 110px; }
  .services-panel { padding: 36px 20px; }
}
