:root {
  --bg: #050816;
  --bg-soft: #0b1225;
  --panel: rgba(17, 25, 40, 0.78);
  --panel-solid: #111928;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(56, 189, 248, 0.3);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --blue: #2563eb;
  --cyan: #38bdf8;
  --purple: #7c3aed;
  --success: #22c55e;
  --font-display: "Plus Jakarta Sans", "Manrope", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 6%, rgba(37, 99, 235, 0.24), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(124, 58, 237, 0.18), transparent 30%),
    radial-gradient(circle at 52% 96%, rgba(56, 189, 248, 0.12), transparent 34%),
    linear-gradient(135deg, #050816 0%, #081122 52%, #030712 100%);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 68%);
  opacity: .36;
}
.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: .66;
  animation: floatOrb 11s ease-in-out infinite alternate;
}
.orb-one { width: 300px; height: 300px; left: -90px; top: 130px; background: rgba(37,99,235,.22); }
.orb-two { width: 340px; height: 340px; right: -130px; top: 80px; background: rgba(124,58,237,.18); animation-delay: -3s; }
.orb-three { width: 230px; height: 230px; left: 44%; bottom: -90px; background: rgba(56,189,248,.13); animation-delay: -5s; }
.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(56,189,248,.82);
  box-shadow: 0 0 18px rgba(56,189,248,.85);
  animation: drift 9s linear infinite;
}
.p1 { top: 20%; left: 14%; animation-delay: -2s; }
.p2 { top: 30%; left: 78%; animation-delay: -4s; }
.p3 { top: 67%; left: 20%; animation-delay: -1s; }
.p4 { top: 76%; left: 72%; animation-delay: -6s; }
.p5 { top: 48%; left: 52%; animation-delay: -8s; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 22, .78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(37,99,235,.22);
}
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
}
.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 540;
  line-height: 1.1;
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 50px rgba(0,0,0,.24);
}
.nav-pill a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 780;
  transition: .2s ease;
}
.nav-pill a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-pill a.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 14px 34px rgba(37,99,235,.34);
}
.login-btn {
  justify-self: end;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  transition: .2s ease;
}
.login-btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 44px;
  align-items: center;
  padding: 68px 0 54px;
}
.hero-copy { min-width: 0; animation: slideUp .65s ease both; }
.hero-logo-wrap {
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  padding: 1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(56,189,248,.86), rgba(124,58,237,.45), rgba(255,255,255,.14));
  box-shadow: 0 24px 70px rgba(56,189,248,.16);
}
.hero-logo { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 23px; }
.badge, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(56,189,248,.22);
  border-radius: 999px;
  background: rgba(15,23,42,.72);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 830;
}
.badge svg, .eyebrow svg { color: var(--cyan); }
h1 {
  max-width: 740px;
  margin: 22px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 92px);
  line-height: .94;
  font-weight: 950;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #dbeafe 58%, #7dd3fc 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 590px;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 530;
  line-height: 1.55;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(56,189,248,.8);
}
.hero-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 16px;
  background: rgba(17,25,40,.72);
  box-shadow: 0 34px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
  animation: slideUp .65s ease .1s both;
}
.panel-topline { display: flex; gap: 8px; margin-bottom: 14px; }
.panel-topline span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.panel-topline span:nth-child(1) { background: var(--cyan); }
.panel-topline span:nth-child(2) { background: var(--purple); }
.ai-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(5,8,22,.06), rgba(5,8,22,.9)),
    url("pintar-exim-logistics-hero.png") center / cover no-repeat;
}
.ai-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: auto;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(5,8,22,.72);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 850;
}
.ai-card h2 {
  max-width: 340px;
  margin: 40px 0 8px;
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.ai-card p { max-width: 350px; margin: 0; color: #cbd5e1; line-height: 1.5; }
.flow-lines { display: grid; gap: 8px; margin-top: 20px; }
.flow-lines span {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(56,189,248,.9), rgba(124,58,237,.34), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}
.flow-lines span:nth-child(2) { width: 76%; animation-delay: -.7s; }
.flow-lines span:nth-child(3) { width: 55%; animation-delay: -1.4s; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.metric-strip div {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5,8,22,.42);
}
.metric-strip strong { display: block; font-size: 22px; font-weight: 920; }
.metric-strip span { display: block; color: var(--muted); font-size: 12px; font-weight: 720; }

.form-card {
  margin: 0 0 72px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
  box-shadow: 0 36px 100px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 15px 0 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  font-weight: 940;
  letter-spacing: -0.02em;
}
.section-head p { margin: 0; color: var(--muted); line-height: 1.65; font-weight: 500; }
.alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(248,113,113,.32);
  border-radius: 16px;
  background: rgba(127,29,29,.24);
  color: #fecaca;
  font-weight: 800;
}
form { display: grid; gap: 18px; }
.form-section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15,23,42,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.form-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}
.form-title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 880;
  letter-spacing: -0.01em;
}
.code-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37,99,235,.16);
  border: 1px solid rgba(37,99,235,.24);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.upload-box {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 28px 20px;
  border: 1.5px dashed rgba(56,189,248,.42);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,.12), transparent 50%), rgba(5,8,22,.44);
  box-shadow: inset 0 0 34px rgba(56,189,248,.06);
  cursor: pointer;
  text-align: center;
  transition: .22s ease;
}
.upload-box:hover, .upload-box.is-dragover {
  transform: translateY(-2px);
  border-color: rgba(56,189,248,.76);
  box-shadow: inset 0 0 42px rgba(56,189,248,.1), 0 22px 58px rgba(56,189,248,.11);
}
.upload-box.has-file {
  border-style: solid;
  border-color: rgba(34,197,94,.48);
  box-shadow: inset 0 0 34px rgba(34,197,94,.08);
}
.upload-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 18px 42px rgba(37,99,235,.34);
}
.upload-icon svg { width: 26px; height: 26px; }
.upload-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 910;
  letter-spacing: -0.015em;
}
.upload-copy em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-style: normal;
  font-size: 15px;
  font-weight: 650;
}
.upload-meta {
  max-width: 560px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.upload-box.has-file .upload-meta { color: #bbf7d0; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.grid.aju-grid { grid-template-columns: minmax(240px, 360px); }
.grid.header-grid {
  grid-template-columns: 132px minmax(240px, 1fr) minmax(240px, 1fr);
  gap: 18px 16px;
}
.grid.header-grid .field:nth-child(4) { grid-column: 1 / 2; }
.grid.header-grid .field:nth-child(5) { grid-column: 2 / 4; }
.grid.two { grid-template-columns: minmax(240px, .78fr) minmax(320px, 1.22fr); }
.grid.entity-grid { grid-template-columns: minmax(220px, .95fr) 112px minmax(320px, 1.35fr); }
.field { display: grid; gap: 8px; min-width: 0; }
.field span { color: var(--muted-strong); font-size: 13px; font-weight: 770; line-height: 1.25; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 15px;
  background: rgba(2,6,23,.56);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input::placeholder, textarea::placeholder { color: rgba(148,163,184,.66); }
input { height: 50px; padding: 0 15px; }
textarea { min-height: 106px; max-height: 190px; resize: vertical; padding: 13px 15px; line-height: 1.45; }
input:focus, textarea:focus {
  border-color: rgba(56,189,248,.64);
  background: rgba(2,6,23,.72);
  box-shadow: 0 0 0 4px rgba(56,189,248,.1), inset 0 1px 0 rgba(255,255,255,.05);
}
.country-code input { text-align: center; text-transform: uppercase; padding: 0 10px; }
.help { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.actions { display: flex; justify-content: flex-end; padding-top: 4px; }
.submit-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan) 54%, var(--purple));
  color: #fff;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(37,99,235,.34), 0 0 42px rgba(56,189,248,.14);
  transition: .2s ease;
}
.submit-btn svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 64px rgba(37,99,235,.42), 0 0 54px rgba(56,189,248,.2); }
.submit-btn:disabled { opacity: .72; cursor: wait; transform: none; }
.button-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255,255,255,.75);
  animation: pulse 1.1s ease-in-out infinite;
}
.processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(2,6,23,.76);
  backdrop-filter: blur(18px);
}
.processing-overlay.is-active { display: flex; }
.processing-card {
  width: min(520px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15,23,42,.88);
  box-shadow: 0 36px 100px rgba(0,0,0,.42), 0 0 80px rgba(56,189,248,.14);
  text-align: center;
}
.spinner {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: var(--cyan);
  box-shadow: 0 0 36px rgba(56,189,248,.26);
  animation: spin .85s linear infinite;
}
.processing-card h2 { margin: 0; font-family: var(--font-display); font-size: 25px; letter-spacing: -0.02em; }
.processing-card p { margin: 10px 0 22px; color: var(--muted); }
.status-steps { display: grid; gap: 9px; text-align: left; }
.status-steps span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 760;
}
.status-steps span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(56,189,248,.86);
  animation: pulse 1.5s ease-in-out infinite;
}
.status-steps span:nth-child(2)::before { animation-delay: .16s; }
.status-steps span:nth-child(3)::before { animation-delay: .32s; }
.status-steps span:nth-child(4)::before { animation-delay: .48s; }
.status-steps span:nth-child(5)::before { animation-delay: .64s; }

@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatOrb { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(22px,-16px,0) scale(1.06); } }
@keyframes drift { from { transform: translate3d(0,18px,0); opacity: .14; } 50% { opacity: .82; } to { transform: translate3d(18px,-40px,0); opacity: .1; } }
@keyframes shimmer { 0%,100% { opacity: .5; transform: scaleX(.9); transform-origin: left; } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(.82); opacity: .5; } 50% { transform: scale(1.18); opacity: 1; } }

@media (max-width: 980px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-pill { order: 3; grid-column: 1 / -1; justify-self: center; margin-bottom: 12px; }
  .hero, .section-head, .grid, .grid.two, .grid.entity-grid { grid-template-columns: 1fr; }
  .grid.header-grid { grid-template-columns: 1fr; }
  .grid.header-grid .field:nth-child(4),
  .grid.header-grid .field:nth-child(5) { grid-column: auto; }
  .hero { gap: 30px; padding: 44px 0 44px; }
  .hero-panel { max-width: 620px; }
  .country-code input { max-width: 124px; }
}

@media (max-width: 640px) {
  .nav-inner, .shell { width: min(100% - 28px, 1180px); }
  .nav-inner { gap: 12px; }
  .brand-icon { width: 40px; height: 40px; }
  .brand-title { font-size: 15px; }
  .brand-subtitle { font-size: 12px; }
  .login-btn { min-height: 40px; padding: 0 13px; font-size: 13px; }
  .nav-pill { width: 100%; justify-content: center; }
  .nav-pill a { flex: 1; justify-content: center; padding: 0 10px; }
  .hero { padding-top: 36px; }
  h1 { font-size: clamp(46px, 17vw, 66px); }
  .hero-logo-wrap { width: 68px; height: 68px; border-radius: 22px; }
  .hero-logo { border-radius: 21px; }
  .hero-points { gap: 12px; }
  .hero-panel { padding: 14px; border-radius: 24px; }
  .ai-card { min-height: 230px; padding: 20px; border-radius: 20px; }
  .ai-card h2 { font-size: 25px; }
  .metric-strip { grid-template-columns: 1fr; }
  .form-card { padding: 16px; border-radius: 24px; margin-bottom: 48px; }
  .form-section { padding: 16px; border-radius: 18px; }
  .form-title { align-items: flex-start; flex-direction: column; }
  .upload-box { min-height: 180px; padding: 24px 16px; border-radius: 22px; }
  .upload-copy strong { font-size: 21px; }
  .actions { justify-content: stretch; }
  .submit-btn { width: 100%; padding: 0 18px; }
}
