/* SigePass — Institutional landing */

:root {
  --sp-teal: #0d9488;
  --sp-teal-dark: #0f766e;
  --sp-teal-light: #14b8a6;
  --sp-blue: #0369a1;
  --sp-blue-dark: #075985;
  --sp-blue-light: #0284c7;
  --sp-surface: #f0fdfa;
  --sp-surface-alt: #ecfeff;
  --sp-text: #0f172a;
  --sp-muted: #64748b;
  --sp-border: #cbd5e1;
  --sp-radius: 16px;
  --sp-radius-sm: 10px;
  --sp-shadow: 0 24px 48px rgba(13, 148, 136, 0.12), 0 8px 16px rgba(15, 23, 42, 0.06);
  --sp-shadow-sm: 0 4px 16px rgba(13, 148, 136, 0.1);
  --sp-gradient: linear-gradient(135deg, var(--sp-teal) 0%, var(--sp-blue) 100%);
  --sp-gradient-soft: linear-gradient(160deg, #f0fdfa 0%, #ecfeff 40%, #f8fafc 100%);
  --navbar-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sp-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.text-gradient {
  background: var(--sp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Navbar ── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.6);
  transition: box-shadow 0.2s ease;
}

.navbar--scrolled {
  box-shadow: var(--sp-shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--sp-text);
}

.brand__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand__text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__accent {
  color: var(--sp-teal);
}

.brand__text--footer {
  font-size: 1.125rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sp-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--sp-teal-dark);
}

.nav__cta {
  padding: 0.5rem 1.125rem;
  background: var(--sp-gradient);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.nav__cta:hover {
  opacity: 0.92;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sp-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--sp-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--sp-teal-dark);
  border: 1.5px solid var(--sp-border);
}

.btn--ghost:hover {
  border-color: var(--sp-teal);
  background: var(--sp-surface);
}

.btn--full {
  width: 100%;
}

/* ── Hero ── */

.hero {
  position: relative;
  padding: calc(var(--navbar-height) + 4rem) 0 5rem;
  overflow: hidden;
  background: var(--sp-gradient-soft);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(3, 105, 161, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-teal-dark);
  background: rgba(13, 148, 136, 0.1);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--sp-muted);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--sp-text);
}

.hero__stats span {
  font-size: 0.8125rem;
  color: var(--sp-muted);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
}

.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(13, 148, 136, 0.2);
  pointer-events: none;
}

.hero__orbit--1 {
  width: 320px;
  height: 320px;
  animation: spin 40s linear infinite;
}

.hero__orbit--2 {
  width: 420px;
  height: 420px;
  animation: spin 60s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.ticket-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  background: #fff;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.5);
}

.ticket-card__header {
  padding: 1.25rem 1.5rem;
  background: var(--sp-gradient);
  color: #fff;
}

.ticket-card__badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.375rem;
}

.ticket-card__route {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
}

.ticket-card__body {
  padding: 1.25rem 1.5rem;
}

.ticket-card__row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px dashed var(--sp-border);
}

.ticket-card__row:last-child {
  border-bottom: none;
}

.ticket-card__row span {
  color: var(--sp-muted);
}

.ticket-card__row--price strong {
  font-size: 1.25rem;
  color: var(--sp-teal-dark);
}

.ticket-card__footer {
  padding: 1rem 1.5rem;
  background: var(--sp-surface);
  text-align: center;
}

.ticket-card__barcode {
  height: 32px;
  margin-bottom: 0.5rem;
  background: repeating-linear-gradient(
    90deg,
    var(--sp-text) 0 2px,
    transparent 2px 5px,
    var(--sp-text) 5px 6px,
    transparent 6px 10px
  );
  opacity: 0.7;
}

.ticket-card__footer span {
  font-size: 0.75rem;
  color: var(--sp-muted);
}

/* ── Sections ── */

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--sp-surface-alt);
}

.section--dark {
  background: linear-gradient(160deg, #0f172a 0%, #134e4a 50%, #0c4a6e 100%);
  color: #fff;
}

.section--contact {
  background: var(--sp-surface);
}

.section__header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section__header--center {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__header--light h2,
.section__header--light p {
  color: #fff;
}

.section__tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-teal);
}

.section__tag--light {
  color: var(--sp-teal-light);
}

.section__header h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__header p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 1.0625rem;
}

.section--dark .section__header p {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Cards ── */

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 2rem;
  background: #fff;
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section--alt .card {
  background: #fff;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-sm);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--sp-radius-sm);
  color: var(--sp-teal-dark);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--sp-muted);
}

/* ── Steps ── */

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--sp-border);
}

.step:last-child {
  border-bottom: none;
}

.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  background: var(--sp-gradient);
  border-radius: 12px;
}

.step__content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.step__content p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.9375rem;
}

/* ── Split / Features ── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.875rem 0 0.875rem 1.75rem;
  border-bottom: 1px solid var(--sp-border);
  font-size: 0.9375rem;
  color: var(--sp-muted);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--sp-teal);
  border-radius: 50%;
}

.feature-list strong {
  display: block;
  color: var(--sp-text);
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.dashboard-mock {
  background: #fff;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
  border: 1px solid var(--sp-border);
  overflow: hidden;
}

.dashboard-mock__bar {
  display: flex;
  gap: 6px;
  padding: 0.875rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--sp-border);
}

.dashboard-mock__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sp-border);
}

.dashboard-mock__bar span:first-child { background: #f87171; }
.dashboard-mock__bar span:nth-child(2) { background: #fbbf24; }
.dashboard-mock__bar span:nth-child(3) { background: #34d399; }

.dashboard-mock__grid {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dashboard-mock__metric {
  padding: 1rem;
  background: var(--sp-surface);
  border-radius: var(--sp-radius-sm);
}

.dashboard-mock__metric span {
  display: block;
  font-size: 0.75rem;
  color: var(--sp-muted);
  margin-bottom: 0.25rem;
}

.dashboard-mock__metric strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sp-teal-dark);
}

.dashboard-mock__metric em {
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  color: var(--sp-teal);
  margin-top: 0.25rem;
}

.dashboard-mock__chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--sp-radius-sm);
}

.dashboard-mock__chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--sp-gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
}

/* ── Benefits ── */

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit {
  text-align: center;
  padding: 2rem 1.5rem;
}

.benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: var(--sp-teal-light);
}

.benefit__icon svg {
  width: 28px;
  height: 28px;
}

.benefit h3 {
  margin: 0 0 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.benefit p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* ── Contact ── */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact__info p {
  margin: 0 0 1.5rem;
  color: var(--sp-muted);
  font-size: 1.0625rem;
}

.contact__email {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--sp-teal-dark);
  text-decoration: none;
}

.contact__email svg {
  width: 22px;
  height: 22px;
}

.contact__email:hover {
  color: var(--sp-blue);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: #fff;
  border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow-sm);
  border: 1px solid var(--sp-border);
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.contact__form label span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--sp-text);
}

.contact__form input,
.contact__form textarea {
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1.5px solid var(--sp-border);
  border-radius: var(--sp-radius-sm);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--sp-teal);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.contact__form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Footer ── */

.footer {
  padding: 3rem 0;
  background: var(--sp-text);
  color: rgba(255, 255, 255, 0.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer__brand p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  max-width: 280px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--sp-teal-light);
}

.footer__copy {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero__grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cards--3,
  .benefits {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
    min-height: 300px;
  }

  .split__visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: #fff;
    border-bottom: 1px solid var(--sp-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.875rem 1rem;
    border-radius: var(--sp-radius-sm);
  }

  .nav a:hover {
    background: var(--sp-surface);
  }

  .nav__cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-toggle--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero__stats {
    gap: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}
