/* ── Shipvizion Landing Page Styles ──────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --navy:         #0f172a;
  --navy-mid:     #1e293b;
  --navy-light:   #334155;
  --primary:      #2563eb;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37,99,235,.15);
  --accent:       #38bdf8;
  --text:         #0f172a;
  --text-muted:   #64748b;
  --text-light:   #94a3b8;
  --bg:           #f8fafc;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 20px 40px rgba(0,0,0,.1);
  --font:         'Inter', system-ui, sans-serif;
  --max-w:        1160px;
}

html, body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }

/* ── Nav ────────────────────────────────────────────────────────────────────── */
.lnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15,23,42,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lnav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.lnav-logo { display: flex; align-items: center; gap: 6px; }
.lnav-logo img:first-child { height: 32px; width: auto; }
.lnav-logo img:last-child { height: 22px; width: auto; }
.lnav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.lnav-links a {
  color: #cbd5e1;
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.lnav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.lnav-links a.active { color: #fff; }
.lnav-actions { margin-left: auto; display: flex; align-items: center; gap: .75rem; }
.btn-ghost {
  color: #cbd5e1 !important;
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.15);
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { color: #fff !important; border-color: rgba(255,255,255,.35); }
.btn-primary-sm {
  background: var(--primary);
  color: #fff !important;
  font-size: .875rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 6px;
  transition: background .15s, transform .1s;
}
.btn-primary-sm:hover { background: var(--primary-dark); transform: translateY(-1px); }

.lnav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.lnav-toggle span { display: block; width: 22px; height: 2px; background: #cbd5e1; border-radius: 2px; transition: .2s; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 12px rgba(37,99,235,.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,.45); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-outline:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-1px); color: #fff; }

/* ── Sections ────────────────────────────────────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }
.container { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-glow);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 7rem 1.5rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(56,189,248,.12);
  border: 1px solid rgba(56,189,248,.25);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.hero-stat-val { font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-stat-val span { color: var(--accent); }
.hero-stat-label { font-size: .8rem; color: #64748b; margin-top: .2rem; }
.hero-card-title { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #475569; margin-bottom: 1rem; }
.hero-shipment {
  background: rgba(37,99,235,.1);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-shipment-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex-shrink: 0; }
.hero-shipment-name { font-size: .875rem; color: #e2e8f0; font-weight: 500; }
.hero-shipment-status { font-size: .75rem; color: #64748b; margin-top: 2px; }

/* ── Logos / Trust ───────────────────────────────────────────────────────────── */
.trust-bar { padding: 2.5rem 1.5rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.trust-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); font-weight: 600; margin-bottom: 1.5rem; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.trust-logo { font-size: 1.1rem; font-weight: 700; color: #cbd5e1; opacity: .7; letter-spacing: -.01em; }

/* ── Feature Cards ───────────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--primary-glow);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.feature-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── How it works ────────────────────────────────────────────────────────────── */
.how-section { background: var(--navy); }
.how-section .section-title { color: #fff; }
.how-section .section-sub { color: #94a3b8; }
.how-section .section-label { background: rgba(56,189,248,.12); color: var(--accent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + 1rem); right: calc(16.66% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.4), rgba(37,99,235,.4), transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 8px rgba(37,99,235,.15);
  position: relative; z-index: 1;
}
.step-title { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.step-desc { font-size: .9rem; color: #94a3b8; line-height: 1.6; }

/* ── CTA Banner ──────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-section .section-title { color: #fff; }
.cta-section p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 540px; margin: 1rem auto 2rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.5); }

/* ── Page Hero (inner pages) ─────────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 4.5rem 1.5rem;
  text-align: center;
}
.page-hero .section-title { color: #fff; }
.page-hero .section-sub { color: #94a3b8; margin: .75rem auto 0; }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.form-input, .form-textarea, .form-select {
  width: 100%;
  font-family: var(--font);
  font-size: .95rem;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: .85rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 2.5rem auto 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  background: var(--surface);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  font-family: var(--font);
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  padding: 1.1rem 1.4rem;
  background: none; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  transition: background .15s;
}
.faq-question:hover { background: var(--bg); }
.faq-icon { font-size: 1.2rem; color: var(--primary); transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .2s;
  font-size: .95rem; color: var(--text-muted); line-height: 1.7;
  padding: 0 1.4rem;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.4rem 1.25rem; }

/* ── About ───────────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.value-list { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.value-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: var(--text-muted); }
.value-check { color: var(--primary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 80px; height: 80px;
  background: var(--primary-glow);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.team-name { font-weight: 700; font-size: .95rem; }
.team-role { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }

/* ── Pricing Coming Soon ─────────────────────────────────────────────────────── */
.coming-soon {
  text-align: center;
  padding: 6rem 1.5rem;
}
.coming-soon-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.coming-soon h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.coming-soon p { font-size: 1.1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto 2rem; }
.notify-form { display: flex; gap: .75rem; max-width: 440px; margin: 0 auto; }
.notify-form input {
  flex: 1;
  font-family: var(--font);
  font-size: .95rem;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .15s;
}
.notify-form input:focus { border-color: var(--primary); }
.notify-form button {
  background: var(--primary);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  padding: .75rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.notify-form button:hover { background: var(--primary-dark); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.lfooter { background: var(--navy); padding: 4rem 1.5rem 0; }
.lfooter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.lfooter-brand p { font-size: .9rem; color: #64748b; margin-top: .75rem; max-width: 260px; line-height: 1.6; }
.lfooter-heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #475569; margin-bottom: 1rem; }
.lfooter-col { display: flex; flex-direction: column; gap: .6rem; }
.lfooter-col a { font-size: .9rem; color: #64748b; transition: color .15s; }
.lfooter-col a:hover { color: #e2e8f0; }
.lfooter-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  font-size: .85rem;
  color: #475569;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-placeholder { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .lfooter-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .lnav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.08); gap: .25rem; }
  .lnav-links.open { display: flex; }
  .lnav-actions { flex-direction: column; align-items: stretch; margin-left: 0; margin-top: .75rem; }
  .lnav-toggle { display: flex; }
  .lnav { position: relative; }
  .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .notify-form { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .lfooter-inner { grid-template-columns: 1fr; }
}
