/* industry-logistics.html — page-specific styles */

/* ══════════════════════════════════════════════
     LOGISTICS PAGE  (prefix: lg-)
  ══════════════════════════════════════════════ */

/* ── Hero (dark) ── */
.lg-hero {
  background: var(--dark);
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.lg-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%;
  background: radial-gradient(ellipse at 85% 35%, rgba(60,234,199,0.09) 0%, transparent 62%);
  pointer-events: none;
}
.lg-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(0,26,21,0.55));
  pointer-events: none;
}
.lg-hero > .container {
  padding-top: calc(var(--nav-h, 80px) + 2.5rem);
  padding-bottom: 3rem;
  width: 100%;
  position: relative; z-index: 1;
}
.lg-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 5rem;
  align-items: center;
}
.lg-hero .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.lg-hero h1 {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--cream);
  margin: 0.85rem 0 0;
}
.lg-hero-sub {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(246,246,242,0.62);
  margin: 1.25rem 0 0;
  max-width: 52ch;
}

/* Illustration wrapper */
.lg-ill-wrap {
  position: relative;
  filter: drop-shadow(0 0 60px rgba(60,234,199,0.1)) drop-shadow(0 32px 64px rgba(0,0,0,0.4));
}
.lg-ill-svg { display: block; width: 100%; height: auto; }

/* ── SVG Animations ── */
@keyframes lgPanelIn {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lgCardIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lgRowIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes lgProgFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes lgSummaryIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lgFlowDash {
  0%   { stroke-dashoffset: 40; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes lgFlowPulse {
  0%, 100% { opacity: 0.15; }
  50%      { opacity: 0.7; }
}
@keyframes lgGlow {
  0%, 100% { opacity: 0.07; }
  50%      { opacity: 0.2; }
}
@keyframes lgBlink {
  0%, 90%, 100% { opacity: 0.55; }
  95%           { opacity: 1; }
}
@keyframes lgLiveBlink {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 0.35; }
}

.lg-anim-panel { animation: lgPanelIn 0.6s var(--ease-spring) 0.4s both; }
.lg-anim-c1    { animation: lgCardIn 0.45s var(--ease-spring) 1.0s both; }
.lg-anim-c2    { animation: lgCardIn 0.45s var(--ease-spring) 1.25s both; }
.lg-anim-c3    { animation: lgCardIn 0.45s var(--ease-spring) 1.5s both; }

/* Shipment rows staggered fade */
.lg-row-1 { animation: lgRowIn 0.35s ease-out 0.8s both; }
.lg-row-2 { animation: lgRowIn 0.35s ease-out 0.95s both; }
.lg-row-3 { animation: lgRowIn 0.35s ease-out 1.1s both; }
.lg-row-4 { animation: lgRowIn 0.35s ease-out 1.25s both; }
.lg-row-5 { animation: lgRowIn 0.35s ease-out 1.4s both; }

/* Progress bars fill after row enters — transform-origin left */
.lg-prog-1, .lg-prog-2, .lg-prog-3, .lg-prog-4 {
  transform-origin: 26px center;
}
.lg-prog-1 { animation: lgProgFill 0.9s var(--ease-out) 1.1s both; }
.lg-prog-2 { animation: lgProgFill 0.9s var(--ease-out) 1.25s both; }
.lg-prog-3 { animation: lgProgFill 0.9s var(--ease-out) 1.4s both; }
.lg-prog-4 { animation: lgProgFill 0.9s var(--ease-out) 1.55s both; }

/* Summary block */
.lg-summary { animation: lgSummaryIn 0.5s ease-out 1.9s both; }

/* Live dot + IoT dot blink */
.lg-live-dot { animation: lgLiveBlink 1.6s ease-in-out 2.2s infinite; }
.lg-iot-blink { animation: lgBlink 3s ease-in-out 2.4s infinite; }

/* Connector flows (cargo & data) */
.lg-flow-1 { animation: lgFlowDash 2.5s linear 2.2s infinite; }
.lg-flow-2 { animation: lgFlowDash 2.5s linear 2.7s infinite; }
.lg-flow-3 { animation: lgFlowDash 2.5s linear 3.2s infinite; }
.lg-pulse-1 { animation: lgFlowPulse 2.5s ease-in-out 2.2s infinite; }
.lg-pulse-2 { animation: lgFlowPulse 2.5s ease-in-out 2.7s infinite; }
.lg-pulse-3 { animation: lgFlowPulse 2.5s ease-in-out 3.2s infinite; }
.lg-glow    { animation: lgGlow 3.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .lg-anim-panel, .lg-anim-c1, .lg-anim-c2, .lg-anim-c3,
  .lg-row-1, .lg-row-2, .lg-row-3, .lg-row-4, .lg-row-5,
  .lg-prog-1, .lg-prog-2, .lg-prog-3, .lg-prog-4,
  .lg-summary, .lg-flow-1, .lg-flow-2, .lg-flow-3,
  .lg-pulse-1, .lg-pulse-2, .lg-pulse-3,
  .lg-glow, .lg-live-dot, .lg-iot-blink {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Shared heading + body */
.lg-sec-header { max-width: 720px; margin-bottom: 3rem; }
.lg-section-h2,
.lg-visibility h2,
.lg-optimize h2,
.lg-proof h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-top: 0.75rem;
}
.lg-section-p,
.lg-visibility .lg-sec-header p,
.lg-optimize .lg-sec-header p {
  font-size: 1.05rem;
  line-height: 1.875;
  color: var(--ink-60);
  margin-top: 1rem;
}

/* ── Visibility (cream-soft) ── */
.lg-visibility {
  background: var(--cream-soft);
  padding: 6.5rem 0;
}
.lg-visibility .section-label {
  background: rgba(24,15,6,0.055);
  color: var(--ink-60);
  border-color: rgba(24,15,6,0.1);
}

.lg-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.lg-feature-card {
  background: var(--cream);
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid rgba(24,15,6,0.07);
  border-left: 3px solid var(--teal);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.lg-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,26,21,0.09);
}
.lg-feature-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(0,133,125,0.06), transparent 70%);
  pointer-events: none;
}
.lg-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--teal);
  border-radius: 10px;
  margin-bottom: 1.1rem;
  color: #fff;
}
.lg-feature-icon svg { width: 20px; height: 20px; }
.lg-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.lg-feature-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--ink-60);
  margin: 0;
}

/* ── Optimization (dark) ── */
.lg-optimize {
  background: var(--dark);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.lg-optimize::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
}
.lg-optimize::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 40%; height: 60%;
  background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.05), transparent 65%);
  pointer-events: none;
}
.lg-optimize .lg-sec-header { position: relative; z-index: 1; }
.lg-optimize .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
}
.lg-optimize h2 {
  color: var(--cream);
}
.lg-optimize .lg-sec-header p {
  color: rgba(246,246,242,0.58);
}

.lg-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative; z-index: 1;
}
.lg-build-card {
  background: var(--dark-card);
  border-radius: 14px;
  padding: 2rem;
  border-left: 3px solid var(--teal);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.lg-build-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.3);
}
.lg-build-card::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(60,234,199,0.06), transparent 70%);
  pointer-events: none;
}
.lg-build-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  min-width: 44px;
  background: rgba(60,234,199,0.1);
  border: 1px solid rgba(60,234,199,0.2);
  border-radius: 8px;
  margin-bottom: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal-bright);
}
.lg-build-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 0.7rem;
}
.lg-build-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(246,246,242,0.55);
  margin: 0;
}

/* ── Process (cream) ── */
.lg-process {
  background: var(--cream);
  padding: 6.5rem 0;
}
.lg-process .section-label {
  background: rgba(24,15,6,0.055);
  color: var(--ink-60);
  border-color: rgba(24,15,6,0.1);
}

.lg-numbered-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(24,15,6,0.07);
  align-items: start;
  transition: background 0.25s, padding-left 0.25s;
  border-radius: 4px;
}
.lg-numbered-row:first-of-type { border-top: 1px solid rgba(24,15,6,0.07); }
.lg-numbered-row:hover { background: rgba(0,133,125,0.03); padding-left: 0.5rem; }
.lg-row-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0,133,125,0.25);
  line-height: 1;
  padding-top: 0.1rem;
}
.lg-row-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.lg-row-content p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink-60);
  margin: 0;
}

/* ── Scale challenges (dark) ── */
.lg-scale-sec {
  background: var(--dark);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.lg-scale-sec::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
}
.lg-scale-sec::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse at 15% 80%, rgba(60,234,199,0.06), transparent 65%);
  pointer-events: none;
}
.lg-scale-inner {
  max-width: 780px;
  position: relative; z-index: 1;
}
.lg-scale-inner .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
  display: inline-block;
}
.lg-scale-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--cream);
  margin-top: 0.75rem;
}
.lg-scale-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(246,246,242,0.6);
  margin-top: 1.25rem;
  max-width: 62ch;
}

/* ── Proof (cream-soft) ── */
.lg-proof {
  background: var(--cream-soft);
  padding: 6.5rem 0;
}
.lg-proof .section-label {
  background: rgba(24,15,6,0.055);
  color: var(--ink-60);
  border-color: rgba(24,15,6,0.1);
}

.lg-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(24,15,6,0.08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
}
.lg-proof-stat {
  padding: 3rem 2.5rem;
  background: var(--cream);
  border-right: 1px solid rgba(24,15,6,0.08);
  text-align: left;
}
.lg-proof-stat:last-child { border-right: none; }
.lg-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.lg-stat-number span { color: var(--teal); }
.lg-stat-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-family: var(--font-mono);
  margin-top: 0.85rem;
}

/* ── Close (dark) ── */
.lg-close {
  background: var(--dark);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.lg-close::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(60,234,199,0.15), transparent);
}
.lg-close::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 45%; height: 70%;
  background: radial-gradient(ellipse at 85% 80%, rgba(60,234,199,0.06), transparent 65%);
  pointer-events: none;
}
.lg-close-inner {
  position: relative; z-index: 1;
  max-width: 800px;
}
.lg-close-inner .section-label {
  background: rgba(60,234,199,0.1);
  color: var(--teal-bright);
  border-color: rgba(60,234,199,0.2);
  display: inline-block;
}
.lg-close-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--cream);
  margin-top: 0.75rem;
}
.lg-close-inner p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(246,246,242,0.6);
  margin-top: 1.25rem;
  max-width: 62ch;
}
.lg-close-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .lg-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .lg-hero > .container { padding-top: calc(var(--nav-h, 80px) + 1.5rem); }
  .lg-feature-grid,
  .lg-build-grid { grid-template-columns: 1fr; }
  .lg-proof-grid { grid-template-columns: 1fr; }
  .lg-proof-stat { border-right: none; border-bottom: 1px solid rgba(24,15,6,0.08); }
  .lg-proof-stat:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .lg-numbered-row { grid-template-columns: 44px 1fr; gap: 1.25rem; }
  .lg-row-num { font-size: 1.5rem; }
  .lg-visibility,
  .lg-optimize,
  .lg-process,
  .lg-proof { padding: 4.5rem 0; }
  .lg-scale-sec,
  .lg-close { padding: 5rem 0; }
}
