/* IMExDesk homepage — pure CSS (no libs)
   Standardized Design System tokens & Usability Polish */

:root {
  /* Brand colors */
  --navy: #0F4C81;
  --navy-deep: #0a3559;
  --navy-ink: #072743;
  --orange: #FF6B35;
  --orange-hot: #ff5722;
  --green: #00C896;
  --green-soft: #e6faf4;
  --sky: #38bdf8;
  --sky-dark: #0284c7;
  --warning: #fbbf24;
  --danger: #ef4444;

  /* Neutrals */
  --bg: #F8FAFC;
  --surface: #ffffff;
  --text: #1E293B;
  --muted: #64748B;
  --text-dim: #94A3B8;
  --line: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography scale */
  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1rem;     /* 16px */
  --fs-md: 1.125rem;   /* 18px */
  --fs-lg: 1.25rem;    /* 20px */
  --fs-xl: 1.5rem;     /* 24px */
  --fs-2xl: 2rem;      /* 32px */
  --fs-3xl: 2.5rem;    /* 40px */

  /* Radius scale */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow: 0 10px 30px rgba(15, 76, 129, 0.08);
  --shadow-lift: 0 18px 40px rgba(15, 76, 129, 0.16);

  /* Fonts */
  --font: "Source Sans 3", "Noto Sans Bengali", system-ui, sans-serif;
  --display: Outfit, "Noto Sans Bengali", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-left.visible, .reveal-right.visible { transform: none; }
.stagger > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger > .reveal:nth-child(2) { transition-delay: .12s; }
.stagger > .reveal:nth-child(3) { transition-delay: .19s; }
.stagger > .reveal:nth-child(4) { transition-delay: .26s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; border-radius: var(--radius-full); border: 0; cursor: pointer;
  font-weight: 700; font-size: var(--fs-sm); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  color: #fff; box-shadow: 0 10px 24px rgba(255,107,53,.35);
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
}

/* Navbar */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(248,250,252,.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(15,76,129,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; width: min(1140px, calc(100% - 2.5rem)); margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: .65rem; font-family: var(--display); font-weight: 800; font-size: var(--fs-md); color: #fff; }
.nav.scrolled .brand { color: var(--navy); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: none; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,.9); font-weight: 600; font-size: var(--fs-sm); transition: color .2s ease; }
.nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover, .nav.scrolled .nav-links a:hover { color: var(--orange); }
.nav-cta { display: none; gap: .75rem; align-items: center; }
.menu-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-sm); background: transparent; color: #fff;
  cursor: pointer;
}
.nav.scrolled .menu-btn { color: var(--navy); border-color: var(--line); }
.mobile-menu {
  display: none; background: #fff; border-top: 1px solid var(--line);
  padding: .75rem 1rem 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .75rem .85rem; border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: var(--fs-sm);
}
.mobile-menu a:hover { background: #f1f5f9; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; align-items: center;
  padding: 7.5rem 0 5rem;
  background: #071f33;
  color: #fff;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-poster,
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-poster { z-index: 0; transition: opacity .5s ease; }
.hero-video {
  z-index: 1;
  opacity: 0;
  transition: opacity .6s ease;
  transform: translateZ(0);
  will-change: opacity;
}
.hero-video.is-ready { opacity: 1; }
.hero-media.is-playing .hero-poster { opacity: 0; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,31,51,.78) 0%, rgba(15,76,129,.45) 45%, rgba(7,31,51,.55) 100%),
    linear-gradient(to top, rgba(7,31,51,.85), transparent 42%);
}
#particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1; opacity: .45;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }

/* Photo backgrounds */
.section-bg {
  position: relative;
  isolation: isolate;
  background-color: #0b1c2e;
}
.section-bg::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .62;
  filter: saturate(1.05) contrast(1.05);
}
.section-bg::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 46, 0.48) 0%,
    rgba(15, 76, 129, 0.38) 45%,
    rgba(11, 28, 46, 0.55) 100%
  );
}
.section-bg-mid::before { background-image: url("../media/port/mid.jpeg"); }
.section-bg-star::before {
  background-image: url("../media/port/star-bg.jpg");
  opacity: .72;
}
.section-bg-star::after {
  background: linear-gradient(
    180deg,
    rgba(6, 24, 48, 0.55) 0%,
    rgba(10, 40, 72, 0.42) 45%,
    rgba(6, 24, 48, 0.62) 100%
  );
}
.section-bg-bottom::before {
  background-image: url("../media/port/bottom-background.jpg");
  opacity: .55;
}
.section-bg-bottom::after {
  background: linear-gradient(180deg, rgba(7,31,51,.65), rgba(7,31,51,.78));
}

/* Tall bands */
.band-mid {
  margin-top: -3rem;
  padding: 3.5rem 0 4.5rem;
  min-height: min(92svh, 980px);
  display: flex;
  align-items: center;
}
.band-mid .stats-grid { margin-bottom: 2.75rem; }

.band-star {
  padding: 3.5rem 0 4.5rem;
  min-height: min(110svh, 1200px);
}
.band-star-block { margin-top: 3.5rem; }
.band-star .demo-copy h3 { color: #e8f1ff; margin: 0 0 .6rem; font-family: var(--display); font-size: var(--fs-xl); }
.band-star .demo-copy > p { color: rgba(226, 232, 240, 0.9); font-size: var(--fs-base); }
.band-star .demo-copy .eyebrow { color: var(--sky); }

/* Vessel band */
.band-dark {
  background: linear-gradient(180deg, #061828 0%, #0a3559 42%, #071f33 100%);
  padding: 4rem 0 4.5rem;
  min-height: min(78svh, 820px);
}
.band-dark .section-head .eyebrow { color: var(--sky); }
.band-dark .section-head h2 { color: #e8f1ff; }
.band-dark .section-head p { color: rgba(226, 232, 240, 0.9); font-size: var(--fs-base); }

.section-bg .section-head h2,
.section-bg .section-head .eyebrow { color: #e8f1ff; }
.section-bg .section-head p { color: rgba(226,232,240,.9); font-size: var(--fs-base); }
.section-bg .feature-card,
.section-bg .stat-card,
.section-bg .step,
.section-bg .t-card,
.section-bg .bill-card,
.section-bg .compare div {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
}
.section-bg#how .step p,
.section-bg#testimonials .t-card cite,
.band-star .step p,
.band-star .t-card cite { color: var(--muted); font-size: var(--fs-sm); }

@media (max-width: 767px) {
  .hero-video { opacity: 1; }
  #particles { opacity: .18; }
  .section-bg::before { opacity: .42; }
  .section-bg::after {
    background: linear-gradient(180deg, rgba(11,28,46,.62), rgba(11,28,46,.72));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none !important; }
}

.badge-live {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .9rem; border-radius: var(--radius-full);
  background: rgba(0,200,150,.15); border: 1px solid rgba(0,200,150,.35);
  color: #9af0d6; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em;
}
.badge-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(0,200,150,.6);
  animation: pulseRing 1.8s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0,200,150,.55); }
  70% { box-shadow: 0 0 0 12px rgba(0,200,150,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,200,150,0); }
}
.hero h1 {
  margin: 1.1rem auto .8rem; max-width: 18ch;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.18; letter-spacing: -.02em;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff, #ffd0bf 40%, #9af0d6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 0 auto 1.5rem; max-width: 42rem; color: rgba(255,255,255,.9); font-size: var(--fs-base); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.trust-row {
  margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center;
  color: rgba(255,255,255,.85); font-size: var(--fs-sm); font-weight: 600;
}
.trust-row span {
  padding: .4rem .85rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.float-stats {
  margin: 2.2rem auto 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 540px;
}
.float-card {
  padding: 1rem 1.1rem; border-radius: var(--radius-md);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); text-align: left;
  animation: floatY 5s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: .6s; }
.float-card:nth-child(3) { animation-delay: 1.1s; }
.float-card:nth-child(4) { animation-delay: 1.6s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-card strong { display: block; font-size: var(--fs-lg); font-family: var(--display); }
.float-card span { font-size: var(--fs-xs); opacity: .85; }
.scroll-indicator {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.45); border-radius: var(--radius-md);
}
.scroll-indicator::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 4px; background: #fff;
  animation: mouseBounce 1.4s infinite;
}
@keyframes mouseBounce {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@media (min-width: 700px) {
  .float-stats { grid-template-columns: repeat(4, minmax(0,1fr)); max-width: 900px; }
}

/* Sections */
section { padding: 3.5rem 0; }
.section-head { text-align: center; margin-bottom: 2rem; }
.eyebrow {
  display: inline-block; margin-bottom: .55rem;
  color: var(--navy); font-weight: 800; font-size: var(--fs-xs);
  letter-spacing: .08em; text-transform: uppercase;
}
.section-head h2 {
  margin: 0 0 .55rem; font-family: var(--display); font-size: clamp(1.7rem, 3.2vw, 2.3rem);
}
.section-head p { margin: 0 auto; max-width: 40rem; color: var(--muted); font-size: var(--fs-base); }

/* Stats */
.stats-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0,1fr));
}
.stat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.35rem; box-shadow: var(--shadow); text-align: center;
}
.stat-card .num {
  font-family: var(--display); font-size: var(--fs-2xl); font-weight: 800; color: var(--navy);
}
.stat-card .label { color: var(--muted); font-size: var(--fs-sm); font-weight: 600; margin-top: .2rem; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* Features */
.features-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
.feature-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  transition: width .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.feature-card:hover::before { width: 100%; }
.feature-icon {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  display: grid; place-items: center; margin-bottom: 1rem;
  background: #e8f1f8; color: var(--navy); font-size: var(--fs-xl);
  transition: transform .3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(6deg); }
.feature-card h3 { margin: 0 0 .5rem; font-family: var(--display); font-size: var(--fs-lg); }
.feature-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.coming {
  display: inline-block; margin-top: .85rem;
  padding: .3rem .75rem; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: 800;
  background: #fff4e5; color: #b45309;
}
@media (min-width: 700px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1000px) {
  .features-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* ==========================================================================
   Vessel Dashboard Box — Usability Polish (Fixes Audit 2, 3, 5, 18)
   ========================================================================== */
.vessel-box {
  background: rgba(4, 22, 40, 0.65);
  color: #e8eef5;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}
.vessel-box-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.vessel-box-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-md);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--sky);
}
.vessel-live-pill {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--green);
  background: rgba(0,200,150,.12);
  border: 1px solid rgba(0,200,150,.3);
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
}

.vessel-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .vessel-search-grid { grid-template-columns: 1fr 1fr; }
}

/* Cleaner, single-tier search cards (Fix 3: Removes heavy double borders) */
.vessel-search-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}
.vessel-search-card h4 {
  margin: 0 0 .75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sky);
}
.vessel-input-row {
  display: flex;
  gap: .65rem;
  align-items: stretch;
}
.vessel-input-row input {
  flex: 1;
  min-width: 0;
  height: 44px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: .6rem .95rem;
  font-size: var(--fs-base);
  font-weight: 500;
}
.vessel-input-row input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 2px rgba(56,189,248,.2);
}
.vessel-input-row input::placeholder { color: rgba(226,232,240,.45); }
.vessel-input-row button.btn-search {
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.vessel-input-row button.btn-search:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .vessel-input-row { flex-direction: column; }
  .vessel-input-row button.btn-search { width: 100%; }
}

/* Unified Vessel Tools Bar (Fix 18: Exact alignment & equal height) */
.vessel-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.vessel-tool-group {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.vessel-tool-group select {
  height: 40px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 .75rem;
  font-size: var(--fs-sm);
  outline: none;
  cursor: pointer;
}
.vessel-tool-group select:focus { border-color: var(--sky); }

.vessel-tool-search {
  flex: 1;
  max-width: 380px;
}
.vessel-tool-search input {
  width: 100%;
  height: 40px;
  background: rgba(0,0,0,.35);
  border: 1px solid var(--border-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 .85rem;
  font-size: var(--fs-sm);
  outline: none;
}
.vessel-tool-search input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 2px rgba(56,189,248,.2);
}

.container-result {
  margin: .85rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(56,189,248,.28);
  background: rgba(14,165,233,.12);
  color: #e0f2fe;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.container-result strong { color: #fff; }
.container-result a {
  color: #7dd3fc;
  text-decoration: underline;
  margin-right: .75rem;
  display: inline-block;
  margin-top: .35rem;
}
.container-result[hidden] { display: none !important; }

/* Table styling with comfortable padding (Fix 2, 13, 14) */
.vessel-table-wrap {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background: rgba(0,0,0,.2);
  margin-bottom: 1.25rem;
}
.vessel-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: var(--fs-sm);
}
.vessel-table th {
  text-align: left;
  padding: .85rem .8rem;
  background: rgba(14,165,233,.15);
  color: #bae6fd;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: var(--fs-xs);
  font-weight: 700;
  position: sticky;
  top: 0;
}
.vessel-table td {
  padding: .85rem .8rem;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #e2e8f0;
  font-size: var(--fs-sm);
}
.vessel-table tr:hover td { background: rgba(59,130,246,.08); }
.phase {
  display: inline-block;
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid rgba(255,255,255,.15);
}
.phase-WORKING { background: rgba(34,197,94,.15); color: #4ade80; }
.phase-INBOUND, .phase-EXPECTED { background: rgba(59,130,246,.15); color: #60a5fa; }
.phase-DUE, .phase-DEPARTED { background: rgba(251,191,36,.15); color: #fbbf24; }

/* Dedicated Pagination Bar at Bottom (Fix 5) */
.vessel-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .5rem .25rem 0;
}
.vessel-meta-text {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  font-weight: 500;
}
.vessel-pagination-controls {
  display: flex;
  gap: .65rem;
}
.btn-pagination {
  min-height: 40px;
  padding: .5rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.btn-pagination:not(:disabled):hover {
  background: rgba(14,165,233,.25);
  border-color: var(--sky);
}
.btn-pagination:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* Demo */
.demo-grid {
  display: grid; gap: 1.5rem; align-items: center;
}
.demo-copy h3 { font-family: var(--display); margin: 0 0 .6rem; }
.demo-copy p { color: var(--muted); }
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-top: 1.25rem;
}
.compare div {
  padding: 1rem; border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff; font-size: var(--fs-sm);
}
.compare .before { color: #b91c1c; }
.compare .after { color: #047857; }
.bill-card {
  position: relative;
  background: rgba(255,255,255,.8); border: 1px solid rgba(15,76,129,.12);
  border-radius: var(--radius-lg); padding: 1.5rem; backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}
.verified {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: 800;
  color: #047857; background: var(--green-soft); border: 1px solid rgba(0,200,150,.35);
  position: relative;
}
.verified::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit;
  border: 2px solid rgba(0,200,150,.35); animation: pulseRing 2s infinite;
}
.bill-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
  opacity: 0; transform: translateY(10px);
}
.bill-card.visible .bill-row {
  animation: rowIn .45s ease forwards;
}
.bill-card.visible .bill-row:nth-child(2) { animation-delay: .08s; }
.bill-card.visible .bill-row:nth-child(3) { animation-delay: .16s; }
.bill-card.visible .bill-row:nth-child(4) { animation-delay: .24s; }
.bill-card.visible .bill-row:nth-child(5) { animation-delay: .32s; }
.bill-card.visible .bill-row:nth-child(6) { animation-delay: .4s; }
@keyframes rowIn {
  to { opacity: 1; transform: none; }
}
@media (min-width: 900px) {
  .demo-grid { grid-template-columns: 1.05fr .95fr; }
}

/* How */
.steps {
  display: grid; gap: 1.25rem; position: relative;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem; box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 46px; height: 46px; margin: 0 auto .85rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: var(--fs-md); color: #fff;
  background: linear-gradient(135deg, var(--navy), #1d6fb5);
  transition: transform .25s ease;
}
.step:hover .step-num { transform: scale(1.08) rotate(-6deg); }
.step h3 { font-size: var(--fs-md); margin: 0 0 .4rem; font-family: var(--display); }
.step p { font-size: var(--fs-sm); margin: 0; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before {
    content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--orange), var(--green));
    opacity: .35; z-index: 0;
  }
  .step { position: relative; z-index: 1; }
}

/* Testimonials */
.t-grid { display: grid; gap: 1.25rem; }
.t-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: .6rem; font-size: var(--fs-sm); }
.t-card p { margin: 0 0 .8rem; color: var(--text); font-size: var(--fs-sm); line-height: 1.6; }
.t-card cite { color: var(--muted); font-style: normal; font-size: var(--fs-sm); font-weight: 600; }
@media (min-width: 800px) {
  .t-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Team + Support Panel — Usability Polish (Fixes Audit 9, 16, 17, 19)
   ========================================================================== */
.team-slide {
  padding: 4.5rem 0 5rem;
  min-height: min(72svh, 760px);
}
.team-panel {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  backdrop-filter: blur(14px);
  color: #e8eef5;
  align-items: stretch;
}
.team-founder, .team-side {
  display: flex; gap: 1rem; align-items: center;
}
.team-founder { margin-bottom: 1.15rem; }
.team-founder img, .team-side img {
  border-radius: var(--radius-md); object-fit: cover; border: 1px solid rgba(255,255,255,.18);
}
.team-founder img { width: 84px; height: 84px; }
.team-side { margin-top: 1rem; }
.team-side img { width: 48px; height: 48px; }
.team-col .role {
  margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.role-ceo { color: var(--sky); }
.role-admin { color: #4ade80; }
.role-advisor { color: var(--warning); }
.team-col .name { margin: .2rem 0 0; font-weight: 700; font-size: var(--fs-md); color: #fff; font-family: var(--display); }
.team-links { display: flex; gap: .5rem; margin-top: .6rem; }
.team-links a {
  width: 32px; height: 32px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #93c5fd; font-size: var(--fs-xs); font-weight: 800;
  transition: background .2s ease;
}
.team-links a:hover { background: rgba(56,189,248,.25); }

.team-support { text-align: center; }
.team-support h2 {
  margin: 0; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff;
}
.team-support > p { margin: .4rem 0 1.25rem; color: var(--text-dim); font-size: var(--fs-sm); }
.team-support form {
  display: grid; gap: .75rem; text-align: left; max-width: 420px; margin: 0 auto;
}
.team-support input {
  width: 100%; height: 44px; padding: 0 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark); background: rgba(0,0,0,.35); color: #fff; outline: none;
  font-size: var(--fs-sm);
}
.team-support input:focus { border-color: var(--sky); box-shadow: 0 0 0 2px rgba(56,189,248,.2); }

/* Primary High-Contrast Send Button (Fix 9) */
.btn-send-support {
  width: 100%;
  height: 46px;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: var(--fs-base);
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-hot));
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-send-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.45);
  filter: brightness(1.05);
}
.btn-send-support:active {
  transform: translateY(0);
}
#support-status { margin: .25rem 0 0; text-align: center; font-size: var(--fs-sm); color: #93c5fd; min-height: 1.2em; }

/* 100% Secure Grouping (Fix 19) */
.team-secure {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
}
.secure-badge {
  width: 60px; height: 60px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.35);
  box-shadow: 0 0 24px rgba(56,189,248,.25);
}
.secure-title { margin: 0; font-size: var(--fs-lg); font-weight: 800; color: #fff; }
.secure-sub { margin: 0; color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.4; }
.team-logo { margin: .65rem auto 0; max-width: 130px; height: auto; }

@media (min-width: 960px) {
  .team-panel {
    grid-template-columns: 1.1fr 1.25fr .9fr;
    gap: 1.75rem;
    padding: 2.2rem 1.8rem;
  }
  .team-col { border-right: 1px solid rgba(255,255,255,.08); padding-right: 1.5rem; }
  .team-support { border-right: 1px solid rgba(255,255,255,.08); padding: 0 1.5rem; }
}

/* Footer */
.footer {
  background: #071f33; color: rgba(255,255,255,.82); padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid; gap: 1.75rem;
  grid-template-columns: 1fr;
}
.footer h4 { margin: 0 0 .75rem; color: #fff; font-family: var(--display); font-size: var(--fs-md); }
.footer p { font-size: var(--fs-sm); line-height: 1.6; }
.footer a { display: block; margin: .4rem 0; color: rgba(255,255,255,.7); font-size: var(--fs-sm); transition: color .2s ease; }
.footer a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  font-size: var(--fs-sm); color: rgba(255,255,255,.55);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* WhatsApp */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: 1.6rem;
  box-shadow: 0 10px 25px rgba(37,211,102,.4);
  animation: pulseRing 2s infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
