/* ── HOME PAGE STYLES ── */

/* ── NAV ── */
.ln {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 56px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; padding: 0 40px; gap: 8px;
}
.ln-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0; margin-right: 8px;
}
.ln-logo-pill {
  height: 30px; background: #0D0F14; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 11px;
}
.ln-space { flex: 1; }
.ln-portal {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 13px; border-radius: 7px;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .12s, color .12s;
  color: #374151; background: transparent;
  white-space: nowrap;
}
.ln-portal:hover { background: #F3F4F6; color: #0D0F14; }
.ln-portal svg { opacity: .55; }
.ln-divider { width: 1px; height: 18px; background: #E5E7EB; flex-shrink: 0; margin: 0 4px; }
.ln-cta {
  padding: 8px 18px; border-radius: 8px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  background: #1E46E6; color: #fff;
  transition: background .12s, transform .1s, box-shadow .15s;
}
.ln-cta:hover { background: #1535B8; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(30,70,230,0.3); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  /* background-image set via inline style (uses Rails asset_path helper) */
  background-size: cover; background-position: center top;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.12) 40%,
    rgba(0,0,0,0.72) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%; padding: 0 60px 72px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero-text { max-width: 580px; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 18px;
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900; line-height: 1.0; letter-spacing: -1.5px;
  color: #fff; margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.72);
  line-height: 1.65; max-width: 420px; margin-bottom: 36px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 32px; border-radius: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  text-decoration: none; background: #fff; color: #0D0F14;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  transition: background .12s, transform .12s, box-shadow .15s;
}
.hero-cta:hover { background: #F5F7FA; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
.hero-cta svg { transition: transform .15s; }
.hero-cta:hover svg { transform: translateX(3px); }

.hero-spec-pills {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  flex-shrink: 0;
}
.spec-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  padding: 8px 16px 8px 12px;
  color: #fff;
}
.spec-pill-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.spec-pill-label { font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.spec-pill-sub { font-size: 11px; color: rgba(255,255,255,0.6); margin-top: 1px; }

/* ── TICKER ── */
.ticker-wrap {
  background: #0D0F14;
  overflow: hidden; padding: 13px 0;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 32s linear infinite;
  width: max-content;
}
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item {
  display: flex; align-items: center; gap: 8px;
  padding: 0 36px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.45); white-space: nowrap; letter-spacing: 0.3px;
}
.ticker-item strong { color: rgba(255,255,255,0.9); font-weight: 700; }
.ticker-dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,0.2); }

/* ── PRODUCT SHOWCASE ── */
.showcase {
  background: #F5F7FA;
  padding: 80px 40px;
}
.showcase-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto;
}
.showcase-overline {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2.5px; text-transform: uppercase; color: #1E46E6;
  margin-bottom: 10px;
}
.showcase-h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800; letter-spacing: -0.8px; color: #0D0F14; line-height: 1.1;
}
.showcase-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: #1E46E6; text-decoration: none;
  padding-bottom: 2px; border-bottom: 1.5px solid transparent;
  transition: border-color .15s;
  flex-shrink: 0;
}
.showcase-link:hover { border-color: #1E46E6; }

/* Hero card + side grid */
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  max-width: 1200px; margin: 0 auto 16px;
}
.sc-hero-card {
  grid-column: 1; grid-row: 1 / 3;
  border-radius: 20px; overflow: hidden;
  background: #0D0F14;
  position: relative; min-height: 480px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.sc-hero-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.18); }
.sc-hero-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.sc-hero-card:hover img { transform: scale(1.04); }
.sc-hero-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%);
  z-index: 1;
}
.sc-card-body {
  position: relative; z-index: 2;
  padding: 28px 28px 24px;
}
.sc-card-tag {
  display: inline-block;
  background: #1E46E6; color: #fff;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 5px; margin-bottom: 10px;
}
.sc-card-tag--new { background: #16A34A; }
.sc-card-name {
  font-family: var(--font-display); font-size: 24px; font-weight: 800;
  color: #fff; letter-spacing: -0.5px; margin-bottom: 6px;
}
.sc-card-sub {
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-bottom: 18px;
}
.sc-card-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  padding: 9px 18px; border-radius: 8px;
  transition: background .15s;
}
.sc-card-btn:hover { background: rgba(255,255,255,0.28); }

/* Small side cards */
.sc-side-card {
  border-radius: 16px; overflow: hidden;
  background: #fff;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; min-height: 230px;
  transition: transform .2s, box-shadow .2s;
  border: 1px solid rgba(0,0,0,0.06);
}
.sc-side-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.sc-side-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.sc-side-card:hover img { transform: scale(1.05); }
.sc-side-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  z-index: 1;
}
.sc-side-card .sc-card-body { padding: 18px 20px 16px; }
.sc-side-card .sc-card-name { font-size: 17px; margin-bottom: 0; }
.sc-side-card .sc-card-sub { font-size: 12px; margin-bottom: 12px; }
.sc-side-card .sc-card-btn { font-size: 12px; padding: 7px 14px; }

/* Bottom row */
.showcase-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; max-width: 1200px; margin: 0 auto;
}
.sc-bottom-card {
  border-radius: 16px; overflow: hidden; background: #fff;
  position: relative; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .2s, box-shadow .2s;
}
.sc-bottom-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.sc-bottom-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.sc-bottom-card:hover img { transform: scale(1.05); }
.sc-bottom-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  z-index: 1;
}
.sc-bottom-card .sc-card-body { padding: 16px 18px 14px; }
.sc-bottom-card .sc-card-name { font-size: 15px; margin-bottom: 2px; }
.sc-bottom-card .sc-card-sub { font-size: 11px; margin-bottom: 10px; }
.sc-bottom-card .sc-card-btn { font-size: 11px; padding: 6px 12px; }

/* ── FEATURES ── */
.features {
  background: #fff;
  padding: 80px 40px;
}
.section-center { text-align: center; margin-bottom: 52px; }
.section-overline {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: #1E46E6;
  margin-bottom: 12px;
}
.section-h2 {
  font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800; letter-spacing: -0.8px; color: #0D0F14; line-height: 1.1;
}
.section-h2 span { color: #9CA3AF; }

.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 960px; margin: 0 auto;
}
.feat-card {
  background: #F9FAFB; border-radius: 16px;
  padding: 26px 22px;
  border: 1px solid #F3F4F6;
  transition: box-shadow .15s, transform .15s, background .15s;
}
.feat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-3px); background: #fff; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #0D0F14; margin-bottom: 7px; }
.feat-desc  { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── CTA BAND ── */
.cta-band {
  background: #0D0F14; padding: 80px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(30,70,230,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band h2 {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: clamp(26px, 4vw, 42px);
  font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 14px;
}
.cta-band p {
  position: relative; z-index: 1;
  font-size: 16px; color: rgba(255,255,255,0.45); margin-bottom: 32px; max-width: 400px;
}
.cta-band-btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 32px; border-radius: 10px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  text-decoration: none; background: #fff; color: #0D0F14;
  transition: background .12s, transform .12s, box-shadow .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.cta-band-btn:hover { background: #F5F7FA; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.cta-band-btn svg { transition: transform .15s; }
.cta-band-btn:hover svg { transform: translateX(3px); }

/* ── FOOTER ── */
.footer {
  background: #F5F7FA; border-top: 1px solid #E5E7EB;
  padding: 28px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo-pill { height: 26px; background: #0D0F14; border-radius: 6px; display: inline-flex; align-items: center; padding: 0 10px; }
.footer-copy { font-size: 12px; color: #9CA3AF; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-content { padding: 0 24px 52px; flex-direction: column; align-items: flex-start; }
  .hero-spec-pills { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .showcase-layout { grid-template-columns: 1fr; }
  .sc-hero-card { grid-column: 1; grid-row: auto; min-height: 340px; }
  .showcase-bottom { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .showcase { padding: 60px 20px; }
  .features { padding: 60px 20px; }
  .cta-band { padding: 60px 20px; }
  .footer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
}
@media (max-width: 760px) {
  .ln { padding: 0 16px; }
  .ln-portal { padding: 6px 9px; }
  .ln-portal-label { display: none; }
  .ln-portal svg { opacity: .75; }
  .ln-divider { display: none; }
  .showcase-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .showcase-bottom { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-spec-pills { flex-direction: column; align-items: flex-start; gap: 8px; }
  .spec-pill { width: 100%; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .showcase-bottom { grid-template-columns: repeat(3, 1fr); }
}
