/* ============================================================
   TIDAL — Light B2B Design System
   Font: DM Sans (Google Fonts)
   Brand: #096AAC (from logo)
   ============================================================ */

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

:root {
  --brand:        #096AAC;
  --brand-dark:   #075a8f;
  --brand-light:  #e6f1f8;
  --brand-dim:    rgba(9,106,172,0.10);
  --brand-glow:   rgba(9,106,172,0.18);

  --bg:           #ffffff;
  --bg-2:         #f7f9fc;
  --bg-hero:      #edf5fb;

  --text-1:       #0d1b2a;
  --text-2:       #475569;
  --text-3:       #94a3b8;

  --border:       #e2eaf4;
  --border-2:     #cbd5e1;

  --shadow-sm:    0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:    0 4px 16px rgba(15,23,42,0.08), 0 2px 6px rgba(15,23,42,0.04);
  --shadow-lg:    0 12px 40px rgba(15,23,42,0.12), 0 4px 12px rgba(15,23,42,0.06);
  --shadow-brand: 0 8px 32px rgba(9,106,172,0.28);

  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  --max-w: 1160px;
  --nav-h: 58px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ── UTILITIES ──────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-py { padding: 100px 0; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 100px;
  border: 1px solid rgba(9,106,172,0.20);
}

.badge .dot {
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.section-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.18;
  color: var(--text-1); margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.75; max-width: 540px;
}

/* ── HERO TRUST CHIPS ───────────────────────────────────── */
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.hero__chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-2);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out);
}
.hero__chip:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.hero__chip i { color: var(--brand); font-size: 0.72rem; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 100px;
  border: none; cursor: pointer;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.3s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(9,106,172,0.36);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-brand);
}

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:active { transform: translateY(0); }

/* ── NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 32px;
}

.nav__logo {
  display: flex; align-items: center; flex-shrink: 0;
}
.nav__logo img {
  height: 90px; width: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.nav__logo:hover img { opacity: 0.8; }

.nav__links {
  display: flex; align-items: center; gap: 6px;
  flex: 1; justify-content: center;
}
.nav__links a {
  padding: 7px 14px;
  font-size: 0.93rem; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s ease;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px; border-radius: 1px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease-out);
}
.nav__links a:hover {
  color: var(--brand);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.nav__burger {
  display: none;
  flex-direction: column; justify-content: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav__mobile {
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: #fff;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s var(--ease-out), opacity 0.25s ease, padding 0.35s var(--ease-out);
  padding-top: 0; padding-bottom: 0;
  display: flex;
}
.nav__mobile a {
  padding: 11px 16px;
  font-size: 1rem; font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__mobile a:hover { color: var(--brand); background: var(--bg-2); }
.nav__mobile .btn { margin-top: 10px; justify-content: center; }
.nav__mobile.open {
  max-height: 300px;
  opacity: 1;
  padding-top: 16px; padding-bottom: 24px;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, var(--bg-hero) 0%, #fff 55%, #eaf3fa 100%);
  padding: calc(var(--nav-h) + 72px) 0 40px;
  overflow: visible;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
}

.hero__badge { margin-bottom: 28px; }

.hero__h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 600; line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 24px;
}
.hero__h1 .accent { color: var(--brand); }

.hero__sub {
  font-size: 1.1rem; color: var(--text-2);
  line-height: 1.75; max-width: 480px;
  margin-bottom: 40px;
}

.hero__btns {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: 0.82rem; color: var(--text-3);
}
.hero__trust-avatars {
  display: flex;
}
.hero__trust-avatars span {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--brand-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700;
  color: var(--brand);
  margin-right: -8px;
}

/* ── HERO CARD ──────────────────────────────────────────── */
.hero__visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}

.pipeline-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  width: 100%; max-width: 420px;
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.pipeline-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.pipeline-title {
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-3);
}
.pipeline-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: #10b981;
}
.pipeline-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981;
  animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.pipeline-item {
  display: flex; align-items: center;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  gap: 14px;
  background: var(--bg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.pipeline-item:last-child { margin-bottom: 0; }
.pipeline-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-light);
}

.pipeline-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: var(--brand);
}

.pipeline-info { flex: 1; min-width: 0; }
.pipeline-name {
  font-size: 0.88rem; font-weight: 600; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pipeline-meta {
  font-size: 0.76rem; color: var(--text-3); margin-top: 2px;
}

.status-badge {
  font-size: 0.71rem; font-weight: 600;
  padding: 4px 10px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0;
}
.status-processing {
  background: rgba(245,158,11,0.10);
  color: #d97706;
  border: 1px solid rgba(245,158,11,0.20);
}
.status-quoted {
  background: rgba(16,185,129,0.10);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.20);
}
.status-sent {
  background: var(--brand-dim);
  color: var(--brand);
  border: 1px solid rgba(9,106,172,0.20);
}

.pipeline-footer {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.pipeline-footer-stat {
  text-align: center;
}
.pipeline-footer-val {
  font-size: 1.1rem; font-weight: 700; color: var(--text-1);
}
.pipeline-footer-label {
  font-size: 0.70rem; color: var(--text-3); margin-top: 1px;
}

/* Background decoration */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9,106,172,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9,106,172,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── HERO WAVE (fullscreen) ─────────────────────────────── */
.hero__wave {
  position: absolute;
  bottom: -140px; left: 0; right: 0;
  height: 50%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__wave svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 100%;
  display: block;
}

.wave--back {
  fill: rgba(9,106,172,0.15);
  animation: wave-drift-1 7s ease-in-out infinite;
}
.wave--mid {
  fill: rgba(9,106,172,0.08);
  animation: wave-drift-2 5s ease-in-out infinite;
}
.wave--front {
  fill: #ffffff;
  animation: wave-drift-3 9s ease-in-out infinite;
}

@keyframes wave-drift-1 {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-25%); }
}
@keyframes wave-drift-2 {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-20%); }
}
@keyframes wave-drift-3 {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-15%); }
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.how-it-works {
  background: var(--bg);
  padding: 100px 0;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}
.how-header .section-sub { margin: 0 auto; }

.steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Connecting line */
.steps-track::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(12.5% + 28px); right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-dim), var(--brand-light), var(--brand-dim));
  z-index: 0;
}

.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 20px;
  position: relative; z-index: 1;
}

.step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--brand-light);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.step:hover .step__num {
  transform: scale(1.06);
  box-shadow: 0 0 0 10px var(--brand-light), 0 8px 24px rgba(9,106,172,0.25);
}

.step__icon {
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
}

.step__title {
  font-size: 1rem; font-weight: 700;
  color: var(--text-1); margin-bottom: 8px;
}

.step__desc {
  font-size: 0.875rem; color: var(--text-2);
  line-height: 1.6;
}

/* ── RESULTS ────────────────────────────────────────────── */
.results {
  background: #0d1b2a;
  background-image: url('../images/shipping-port.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.results::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(13,27,42,0.85);
  pointer-events: none;
  z-index: 0;
}
.results > .container {
  position: relative;
  z-index: 1;
}

.results__header {
  text-align: center;
  margin-bottom: 64px;
}
.results__header .section-label { color: rgba(9,106,172,0.9); }
.results__header .section-title { color: #fff; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(9,106,172,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.stat-card__num {
  font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--brand); margin-bottom: 10px;
}

.stat-card__label {
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.testimonial {
  max-width: 680px; margin: 0 auto;
  text-align: center;
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 40px 36px 32px;
  backdrop-filter: blur(8px);
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  font-size: 5rem; line-height: 1;
  color: var(--brand);
  font-family: Georgia, serif;
  opacity: 0.5;
}

.testimonial__quote {
  font-size: 1.2rem; line-height: 1.75;
  color: #fff;
  font-weight: 500;
  margin-bottom: 24px;
  padding-top: 36px;
}

.testimonial__author {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.testimonial__author-top {
  display: flex; align-items: center; gap: 8px;
}
.testimonial__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testimonial__name {
  font-size: 0.9rem; font-weight: 700; color: #fff;
}
.testimonial__role {
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq {
  background: #fff;
  padding: 100px 0;
}

.faq__container { max-width: 720px; }

.faq__header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover { border-color: rgba(9,106,172,0.25); }
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(9,106,172,0.3);
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  font-size: 0.97rem; font-weight: 600; color: var(--text-1);
  cursor: pointer; list-style: none; gap: 14px;
  user-select: none;
  transition: color 0.2s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--brand); }

.faq-icon {
  color: var(--text-3); font-size: 0.8rem; flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), color 0.2s ease;
}
.faq-item[open] .faq-icon { color: var(--brand); }

.faq-a {
  padding: 0 22px 20px;
  font-size: 0.92rem; color: var(--text-2); line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── DEMO ───────────────────────────────────────────────── */
.demo {
  background: var(--bg-2);
  padding: 100px 0;
}

.demo__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.demo__left .section-sub { margin-bottom: 36px; }

.demo__promises {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 40px;
}
.demo__promise {
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform 0.25s var(--ease-out);
}
.demo__promise:hover { transform: translateX(4px); }

.demo__promise-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-light);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
  margin-top: 1px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-spring);
}
.demo__promise:hover .demo__promise-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
}
.demo__promise-text {
  font-size: 0.93rem; color: var(--text-2); line-height: 1.6;
}
.demo__promise-text strong {
  display: block; font-size: 0.95rem;
  color: var(--text-1); font-weight: 600; margin-bottom: 2px;
}

.demo__contacts {
  display: flex; flex-direction: column; gap: 10px;
}
.demo__contact {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; color: var(--text-2);
}
.demo__contact i { color: var(--brand); font-size: 0.9rem; width: 16px; text-align: center; }
.demo__contact a {
  color: var(--brand); font-weight: 500;
  transition: color 0.2s ease;
}
.demo__contact a:hover { text-decoration: underline; color: var(--brand-dark); }

/* ── DEMO FORM ──────────────────────────────────────────── */
.demo-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  transition: box-shadow 0.4s ease;
}
.demo-form-card:hover {
  box-shadow: 0 16px 56px rgba(15,23,42,0.14), 0 6px 16px rgba(15,23,42,0.06);
}

.form-title {
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-1); margin-bottom: 6px;
}
.form-sub {
  font-size: 0.86rem; color: var(--text-3);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.form-field label {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-1); letter-spacing: 0.01em;
}
.form-field input,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9,106,172,0.12);
  background: #fff;
}
.form-field input::placeholder { color: var(--text-3); }
.form-field select { appearance: none; cursor: pointer; }

.form-submit {
  width: 100%; padding: 15px;
  background: var(--brand); color: #fff;
  border: none; border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.25s var(--ease-spring), box-shadow 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-top: 8px;
  box-shadow: var(--shadow-brand);
}
.form-submit:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(9,106,172,0.38);
}
.form-submit:active { transform: translateY(0); }

.form-privacy {
  font-size: 0.76rem; color: var(--text-3);
  text-align: center; margin-top: 14px; line-height: 1.5;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column; align-items: center;
  text-align: center; padding: 32px 0;
  gap: 16px;
}
.form-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(16,185,129,0.12);
  border: 2px solid rgba(16,185,129,0.30);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #059669;
  animation: success-pop 0.5s var(--ease-spring);
}
@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.form-success h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--text-1);
}
.form-success p { font-size: 0.9rem; color: var(--text-2); }
.form-success.visible { display: flex; }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #0d1b2a;
  padding: 36px 0 28px;
}
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer__logo {
  display: flex; align-items: center;
}
.footer__logo img {
  height: 76px; width: auto; object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.footer__logo:hover img { opacity: 1; }
.footer__copy {
  font-size: 0.82rem; color: rgba(255,255,255,0.35);
}
.footer__copy a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.footer__copy a:hover {
  color: rgba(255,255,255,0.85);
}
.footer__links {
  display: flex; gap: 24px;
}
.footer__links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.40);
  transition: color 0.2s ease;
}
.footer__links a:hover { color: rgba(255,255,255,0.85); }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { justify-content: flex-start; }
  .pipeline-card { max-width: 480px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
  .steps-track::before { display: none; }
  .demo__grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .section-py { padding: 72px 0; }
  .how-it-works, .results, .demo, .faq { padding: 72px 0; }

  .hero { padding: calc(var(--nav-h) + 48px) 0 72px; }
  .hero__h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .hero__sub { font-size: 1rem; }

  .steps-track { grid-template-columns: 1fr; gap: 36px; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; padding: 0; }
  .step__num { margin-bottom: 0; flex-shrink: 0; }
  .step__body { flex: 1; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 24px 18px; }
  .stat-card__num { font-size: 2rem; }

  .form-row { grid-template-columns: 1fr; }
  .demo-form-card { padding: 28px 22px; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__links { flex-wrap: wrap; gap: 16px; }

  .hero__btns { flex-direction: column; align-items: stretch; }
  .hero__btns .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pipeline-card { padding: 18px; }
  .hero__chips { gap: 8px; }
  .hero__chip { font-size: 0.78rem; padding: 6px 11px; }
}

/* ── BURGER ANIMATION ───────────────────────────────────── */
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FORM ERROR ─────────────────────────────────────────── */
.form-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--r-sm);
  font-size: 0.84rem; color: #dc2626;
  line-height: 1.5;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}


/* ── SHIPPING BANNER ─────────────────────────────────────── */
.shipping-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background-image: url('../images/container-ship.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 2;
  margin-top: -1px;
}
.shipping-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,42,0.5) 0%,
    rgba(9,106,172,0.3) 100%
  );
  z-index: 1;
}
.shipping-banner__caption {
  text-align: center;
  padding: 16px 24px;
  background: var(--bg);
}
.shipping-banner__caption p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .shipping-banner { height: 180px; }
  .shipping-banner__text p { font-size: 0.9rem; }
}

/* ── DEMO IMAGE ──────────────────────────────────────────── */
.demo__image {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.demo__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.demo__image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .demo__image img { height: 180px; }
}
