/* ==========================================================
   Great Trans Inc — landing page
   ========================================================== */

:root {
  --bg: #05070b;
  --bg-2: #0a0e15;
  --surface: #0e131c;
  --surface-2: #131a26;
  --line: #1c2534;
  --line-2: #273245;
  --text: #e9eef6;
  --muted: #95a1b3;
  --blue: #1e7bff;
  --blue-2: #3d9bff;
  --blue-glow: rgba(30, 123, 255, .45);
  --radius: 14px;
  --header-h: 72px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: .005em;
}
h2 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 700; text-transform: uppercase; font-style: italic; }
h3 { font-size: 22px; font-weight: 700; }

.blue { color: var(--blue-2); }
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #dfe5ee 45%, #8c96a6 70%, #e8edf4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--blue-2);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--blue); box-shadow: 0 0 10px var(--blue-glow); }

.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-sub { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
@media (max-width: 700px) { .section { padding: 80px 0; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.fill { fill: currentColor; stroke: none; width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #3d9bff, #1466e6);
  box-shadow: 0 8px 28px -8px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(30,123,255,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary svg { transition: transform .2s ease; }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(30,123,255,.08); }
.btn-light { color: #06101f; background: linear-gradient(180deg, #ffffff, #cfd7e3); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255,255,255,.35); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue-2); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5, 7, 11, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { width: 200px; height: auto; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  text-decoration: none; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: 6px 0; transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; fill: var(--blue-2); }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) { .header-phone { display: none; } }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: rgba(5, 7, 11, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .nav a::after { display: none; }
  .brand img { width: 168px; }
}
@media (max-width: 420px) {
  .header-cta .btn-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100vh, 940px); min-height: min(100svh, 940px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 130px;
  background:
    radial-gradient(900px 500px at 78% 42%, rgba(30, 123, 255, .16), transparent 70%),
    radial-gradient(700px 400px at 10% 90%, rgba(30, 123, 255, .08), transparent 70%),
    #000;
}
.hero-network {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.3) 40%, #000 70%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.3) 40%, #000 70%);
}
.dash { stroke-dasharray: 120 1400; animation: travel 7s linear infinite; }
.d2 { animation-duration: 9s; animation-delay: -3s; }
.d3 { animation-duration: 11s; animation-delay: -6s; }
@keyframes travel { from { stroke-dashoffset: 1520; } to { stroke-dashoffset: 0; } }

.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 32px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; color: #c8d2e0;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

.hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 800; font-style: italic; text-transform: uppercase;
  line-height: .98; letter-spacing: -.005em;
}
.hero h1 span { display: block; }
.hero h1 .blue { text-shadow: 0 0 40px rgba(30,123,255,.35); }
.lead { color: var(--muted); font-size: 19px; max-width: 540px; margin: 24px 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-logo { position: relative; }
.hero-logo::before {
  content: ""; position: absolute; inset: 12% 8%;
  background: radial-gradient(closest-side, rgba(30,123,255,.28), transparent);
  filter: blur(20px);
}
.hero-logo img {
  position: relative; width: 112%; max-width: none; margin-left: -4%;
  mix-blend-mode: screen; /* drops the logo's black background into the page */
  /* fade edges of the black logo background into the page */
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  animation: rise 1s cubic-bezier(.2,.7,.2,1) both .1s;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02));
  perspective: 300px; overflow: hidden;
}
.road::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.road-lines {
  position: absolute; left: -10%; right: -10%; bottom: 28px; height: 4px;
  background: repeating-linear-gradient(90deg, rgba(233,238,246,.5) 0 60px, transparent 60px 130px);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  animation: drive 1.4s linear infinite;
}
@keyframes drive { from { transform: translateX(0); } to { transform: translateX(-130px); } }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 110px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-logo img { width: 100%; margin-left: 0; }
  .lead { font-size: 18px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 28px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-label { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.trust-value { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 22px 16px; }
  .trust-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .trust-value { font-size: 20px; }
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 26px 32px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  opacity: 0; transition: opacity .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(30,123,255,.15); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 60px; height: 60px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(61,155,255,.25), rgba(30,123,255,.06));
  border: 1px solid rgba(61,155,255,.25);
}
.card-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--blue-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 1020px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Why / process ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 20px; }
.checks li { display: flex; gap: 14px; }
.checks svg {
  flex: none; width: 26px; height: 26px; padding: 4px; margin-top: 1px;
  border-radius: 50%; background: rgba(30,123,255,.15);
  fill: none; stroke: var(--blue-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 41px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--line-2) 0 10px, transparent 10px 18px);
}
.step {
  position: relative; display: flex; gap: 22px; align-items: flex-start;
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(14, 19, 28, .85);
}
.step-num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  background: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px var(--blue-glow);
}
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Drivers band ---------- */
.drivers {
  position: relative; overflow: hidden;
  background:
    linear-gradient(110deg, #0b3d91 0%, #1466e6 55%, #3d9bff 100%);
}
.drivers::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 46px);
}
.drivers-inner {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-block: 64px;
}
.drivers .kicker { color: #fff; }
.drivers .kicker::before { background: #fff; box-shadow: none; }
.drivers p { margin: 12px 0 0; max-width: 620px; color: rgba(255,255,255,.85); }
.drivers .btn { flex: none; }
@media (max-width: 760px) {
  .drivers-inner { flex-direction: column; align-items: flex-start; padding-block: 56px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
.ci-icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(30,123,255,.12);
}
.ci-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-2); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ci-icon svg.fill { fill: var(--blue-2); stroke: none; }
.ci-label { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-list a, .contact-list address { font-style: normal; font-size: 18px; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--blue-2); }
.ci-sub { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.ci-line { display: block; overflow-wrap: anywhere; }
.ci-role { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.ci-label + .ci-role { margin-top: 0; }

.form {
  padding: 36px; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(30,123,255,.06);
}
.form-title { font-size: 28px; font-style: italic; text-transform: uppercase; margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; color: #c4cedb; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font: inherit; font-size: 16px; color: var(--text);
  background: #070a10; border: 1px solid var(--line-2); border-radius: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395a1b3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #566174; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,123,255,.2);
}
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form button[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form-status.ok { color: #34d399; }
.form-status.err { color: #f87171; }
.lane-hidden { display: none; }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 560px) {
  .form { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: #000; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand img { width: 170px; }
.footer-brand p { margin: 8px 0 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-meta { display: flex; gap: 8px 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--text); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

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