/* WiseTech Software — static marketing site */

:root {
  --bg: #fefefe;
  --teal: #16bca2;
  --teal-dark: #0f9a84;
  --navy: #011939;
  --navy-soft: #0a2748;
  --ink: #011939;
  --muted: #55627a;
  --line: #e6e9f0;
  --card: #ffffff;
  --blue: #2563eb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(1, 25, 57, .06), 0 12px 32px rgba(1, 25, 57, .08);
  --maxw: 1120px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(22, 188, 162, .35); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--teal); }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 254, 254, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.brand img { height: 52px; width: auto; display: block; }
.header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy-soft);
}
.nav a:hover { color: var(--teal-dark); }
.nav-cta { margin-left: 6px; }

/* Language selector */
.lang { display: flex; }
.lang select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23011939' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 34px 8px 15px;
  cursor: pointer;
  transition: border-color .15s ease;
}
.lang select:hover { border-color: var(--teal); }
.lang select:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: .2s;
}

/* Hero */
.hero {
  position: relative;
  padding: 110px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 85% 0%, rgba(22, 188, 162, .16), transparent 60%),
    radial-gradient(50% 50% at 5% 100%, rgba(37, 99, 235, .10), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: 1.2rem; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stats div { min-width: 120px; }
.hero-stats b {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}
.hero-stats span { font-size: .9rem; color: var(--muted); }

/* Generic grid */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.section-head { max-width: 62ch; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 0; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(1, 25, 57, .12); }
.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(22, 188, 162, .12);
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.card p { color: var(--muted); margin: 0; }

/* Products section (light WiseTech surface holding the dark Vodeora card) */
.products {
  background: #f6f8fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Vodeora showcase — the product's own palette (black + orange), kept inside
   one card so the rest of the page stays on the WiseTech navy/teal system. */
.showcase {
  --vo: #f2660b;
  --vo-ink: #0a0a0b;
  --vo-smoke: #1a1a1d;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 52px 56px;
  border-radius: 28px;
  color: #f4f4f5;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(242, 102, 11, .30), transparent 62%),
    var(--vo-ink);
  box-shadow:
    0 40px 90px -30px rgba(1, 25, 57, .55),
    inset 0 0 0 1px rgba(255, 255, 255, .07);
  overflow: hidden;
}
.showcase-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 90%);
  pointer-events: none;
}
.showcase-glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 102, 11, .55), transparent);
  filter: blur(40px);
  pointer-events: none;
}
.showcase-info { position: relative; }
.showcase-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.showcase-brand img { width: 36px; height: 36px; }
.showcase-name {
  font-weight: 700;
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: -.01em;
}
.showcase-badge {
  margin-left: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--vo);
  background: rgba(242, 102, 11, .14);
  border: 1px solid rgba(242, 102, 11, .38);
}
.showcase h3 {
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.showcase-info > p { color: #b4b4bb; margin-bottom: 18px; }
.showcase .tag-row { margin: 0 0 22px; }
.tag-row--dark .tag {
  color: #e4e4e7;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .09);
}
.showcase .feature-list { margin-bottom: 22px; }
.showcase .feature-list li { color: #d4d4d8; }
.showcase .feature-list li::before {
  background: var(--vo);
  box-shadow: inset 0 0 0 3px rgba(10, 10, 11, .9);
}
.showcase-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 20px;
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.showcase-stats b {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--vo);
}
.showcase-stats span { font-size: .82rem; color: #a1a1aa; }
.btn--vodeora {
  background: var(--vo);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(242, 102, 11, .75);
}
.btn--vodeora:hover { background: #ff7a1f; }

/* Device stage: TV turned in 3-D, phone floating in front, card above. */
.showcase-stage {
  position: relative;
  perspective: 1400px;
  padding: 52px 0 44px 44px;
}
.stage-tv {
  border-radius: 14px;
  padding: 6px;
  background: var(--vo-smoke);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 45px 90px -25px rgba(0, 0, 0, .95);
  transform: rotateY(-10deg) rotateX(3deg);
  transform-origin: 60% 50%;
}
.stage-tv img,
.stage-phone img { width: 100%; height: auto; }
.stage-tv img { border-radius: 9px; }
.stage-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 29%;
  padding: 5px;
  border-radius: 22px;
  background: var(--vo-smoke);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .95);
  animation: vo-float 6s ease-in-out infinite;
}
.stage-phone img { border-radius: 18px; }
.stage-card {
  position: absolute;
  right: 0;
  top: 0;
  width: 52%;
  max-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(26, 26, 29, .92);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, .95);
  backdrop-filter: blur(8px);
  animation: vo-float 8s ease-in-out 1s infinite;
}
.stage-card img {
  flex: none;
  width: 68px;
  height: 42px;
  object-fit: cover;
  object-position: right;
  border-radius: 6px;
}
.stage-card div { flex: 1; min-width: 0; }
.stage-card small {
  display: block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vo);
}
.stage-card b {
  display: block;
  font-size: .85rem;
  color: #fff;
  line-height: 1.3;
}
.stage-card i {
  position: relative;
  display: block;
  height: 3px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.stage-card i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 62%;
  border-radius: 99px;
  background: var(--vo);
}
.showcase-note {
  position: relative;
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 16px;
  font-size: .8rem;
  color: #8a8a93;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
@keyframes vo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.tag {
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(1, 25, 57, .05);
  color: var(--navy-soft);
}
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; }
.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--muted);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 5px;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.9);
}

/* Roadmap / coming soon */
.roadmap { background: var(--navy); color: #eaf1fb; }
.roadmap .eyebrow { color: var(--teal); }
.roadmap h2 { color: #fff; }
.roadmap .lead { color: rgba(234, 241, 251, .7); }
.roadmap-grid { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.rm-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,.03);
}
.rm-card .pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(22, 188, 162, .18);
  color: var(--teal);
  margin-bottom: 16px;
}
.rm-card h3 { color: #fff; }
.rm-card p { color: rgba(234, 241, 251, .68); margin: 0; }

/* Approach */
.steps { counter-reset: step; grid-template-columns: repeat(4, 1fr); }
.step { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 1rem;
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Contact */
.contact {
  background: linear-gradient(160deg, #06305a, var(--navy));
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.75); max-width: 52ch; margin: 0 auto 28px; }
.contact-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--teal);
  border-bottom: 2px solid transparent;
}
.contact-mail:hover { border-color: var(--teal); }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 54px 0 30px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  display: inline-flex;
  background: #fefefe;
  padding: 14px 18px;
  border-radius: 14px;
}
.footer-logo img { height: 56px; width: auto; display: block; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: .92rem; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 22px;
  font-size: .85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-langs a:hover { color: var(--teal); }
.footer-langs a[aria-current="page"] { color: #fff; }

/* Language suggestion (js/lang.js) */
.lang-suggest {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(1, 25, 57, .28);
  font-size: .92rem;
}
.lang-suggest span { flex: 1; }
.lang-suggest .btn { padding: 9px 16px; font-size: .88rem; box-shadow: none; white-space: nowrap; }
.lang-suggest-close {
  background: none;
  border: 0;
  color: inherit;
  opacity: .7;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 8px;
  cursor: pointer;
}
.lang-suggest-close:hover { opacity: 1; }
@media (max-width: 480px) {
  .lang-suggest { flex-wrap: wrap; padding: 14px 12px 12px 18px; }
  .lang-suggest span { flex-basis: calc(100% - 48px); }
  .lang-suggest-close { order: 2; }
  .lang-suggest .btn { order: 3; flex: 1; text-align: center; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid--3, .roadmap-grid, .steps { grid-template-columns: 1fr 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 28px; padding: 34px 26px; }
  .showcase-stage { padding: 44px 0 20px 26px; }
  .contact { padding: 44px 26px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .site-header .container { position: relative; }
  .site-header .container { height: 76px; }
  .brand img { height: 42px; }
  .header-right { gap: 14px; }
  .lang select { padding: 7px 30px 7px 12px; font-size: .85rem; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 22px 24px 28px;
  }
  .section { padding: 68px 0; }
  .grid--3, .grid--2, .roadmap-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stage-phone, .stage-card { animation: none; }
  html { scroll-behavior: auto; }
}
