/* Upshyft marketing site — aligned with company/admin portal theme */
:root {
  --orange: #f58220;
  --orange-hover: #e07418;
  --orange-soft: #fff3e8;
  --ink: #1d2939;
  --ink-strong: #101828;
  --muted: #667085;
  --border: #e4e7ec;
  --surface: #ffffff;
  --page: #f7f8fa;
  --mint: #eef6f1;
  --footer: #1a1f2e;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(16, 24, 40, 0.08);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--orange-hover);
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ----- Nav ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06);
}

.site-header.is-over-hero {
  background: transparent;
  backdrop-filter: none;
}

.site-header.is-over-hero.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo img {
  height: 32px;
  width: auto;
}

.nav-logo .logo-on-dark {
  display: none;
}

.site-header.is-over-hero:not(.is-scrolled) .nav-logo .logo-on-light {
  display: none;
}

.site-header.is-over-hero:not(.is-scrolled) .nav-logo .logo-on-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.site-header.is-over-hero:not(.is-scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.is-over-hero:not(.is-scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-header.is-over-hero:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

.site-header.is-over-hero:not(.is-scrolled) .nav-toggle span {
  background: #fff;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: #d0d5dd;
  color: var(--ink-strong);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 24, 0.35) 0%, rgba(10, 14, 24, 0.2) 35%, rgba(10, 14, 24, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.hero-brand {
  margin: 0 0 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-brand img {
  height: clamp(48px, 8vw, 72px);
  width: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.hero-lead {
  margin: 0 0 32px;
  max-width: 42ch;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* ----- Sections ----- */
.section {
  padding: 88px 0;
}

.section-mint {
  background: var(--mint);
}

.section-soft {
  background: var(--orange-soft);
}

.section-head {
  max-width: 560px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Audience split */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.audience-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}

.audience-panel figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dfe3ea;
}

.audience-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.audience-copy p {
  margin: 0 0 16px;
  color: var(--muted);
}

.audience-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-copy li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--ink);
  font-size: 15px;
}

.audience-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Features */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}

.feature {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-soft);
  display: grid;
  place-items: center;
}

.feature-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* CTA band */
.cta-band {
  padding: 72px 0;
  background:
    linear-gradient(135deg, rgba(245, 130, 32, 0.92), rgba(232, 111, 24, 0.88)),
    url("../assets/hero.png") center / cover;
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cta-band p {
  margin: 0 auto 28px;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.92);
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--orange);
  border-color: #fff;
}

.cta-band .btn-primary:hover {
  background: var(--orange-soft);
  color: var(--orange-hover);
}

/* ----- Inner pages ----- */
.page-hero {
  padding: 128px 0 48px;
  background: var(--mint);
  border-bottom: 1px solid #dce8e1;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}

.page-hero p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  padding: 56px 0 88px;
}

.prose-inner {
  max-width: 720px;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 15px;
}

.prose ul {
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 6px;
}

.updated {
  margin-bottom: 28px;
  font-size: 13px;
  color: #98a2b3;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  padding: 56px 0 96px;
  align-items: start;
}

.contact-info h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}

.contact-info > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.contact-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-meta li {
  display: grid;
  gap: 4px;
}

.contact-meta strong {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #98a2b3;
}

.contact-meta span,
.contact-meta a {
  color: var(--ink);
  font-weight: 500;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
  height: 48px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a2b3;
}

.form-note {
  margin: 0 0 18px;
  font-size: 13px;
  color: #98a2b3;
}

.form-success {
  display: none;
  text-align: center;
  padding: 28px 12px;
}

.form-success.is-visible {
  display: block;
}

.form-success.is-visible ~ .contact-form {
  display: none;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--mint);
  color: #008236;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
}

.form-success h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--ink-strong);
}

.form-success p {
  margin: 0;
  color: var(--muted);
}

/* ----- Footer ----- */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .audience-grid,
  .steps,
  .feature-list,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    color: var(--ink) !important;
    padding: 12px 8px;
  }

  .nav-links .btn {
    margin-top: 8px;
    width: 100%;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    max-width: none;
  }

  .contact-form-wrap {
    padding: 24px;
  }
}
