/* === OEM Ticker === */
.oem-bar {
  position: relative;
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
  overflow: hidden;
  margin-top: 68px;
}
.oem-bar::before,
.oem-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.oem-bar::before { left: 0; background: linear-gradient(to right, var(--off-white), transparent); }
.oem-bar::after  { right: 0; background: linear-gradient(to left, var(--off-white), transparent); }
.oem-row {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 4px 0;
}
.oem-row-1 { animation: marquee-left 40s linear infinite; }
.oem-row-2 { animation: marquee-right 35s linear infinite; margin: 2px 0; position: relative; z-index: 1; }
.oem-row-3 { animation: marquee-left 45s linear infinite; }
.oem-row-2 .brand-name { font-size: 14px; color: var(--gray-500); }
.brand-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
}
.brand-name:hover { color: var(--forest); }
.brand-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-100); flex-shrink: 0; }
@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* === Hero === */
.hero {
  min-height: calc(100vh - 68px - 70px);
  background: var(--forest-deep);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-content { position: relative; max-width: 820px; animation: fadeUp 0.8s ease both 0.1s; }
h1 { font-family: var(--sans); font-size: clamp(42px, 6vw, 76px); font-weight: 400; line-height: 1.06; color: white; letter-spacing: -2px; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.55); max-width: 580px; margin: 0 auto 40px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-social-proof { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.4); font-size: 13px; font-weight: 500; }
.proof-divider { color: rgba(255,255,255,0.15); }

/* === Device Strip === */
.device-strip { background: var(--forest); padding: 18px 48px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.device-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; }
.device-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.2); }

/* === Directory Section === */
.directory { background: var(--off-white); }
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.directory-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.directory-card:hover {
  box-shadow: 0 12px 40px rgba(10,30,18,0.08);
  transform: translateY(-3px);
}
.directory-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--mint));
  border-radius: 16px 16px 0 0;
}
.directory-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--forest-deep);
  letter-spacing: -0.2px;
}
.directory-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.55;
}
.directory-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(10,110,63,0.08);
  border: 1px solid rgba(10,110,63,0.15);
  display: grid;
  place-items: center;
}
.directory-arrow {
  color: var(--forest);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
/* Dark variant for Early Access card */
.directory-card--cta {
  background: var(--forest-deep);
  border-color: transparent;
}
.directory-card--cta::before {
  background: linear-gradient(90deg, var(--mint), var(--mint-light));
}
.directory-card--cta h3 { color: white; }
.directory-card--cta p { color: rgba(255,255,255,0.55); }
.directory-card--cta .directory-icon {
  background: rgba(46,204,122,0.15);
  border-color: rgba(46,204,122,0.25);
}
.directory-card--cta .directory-arrow { color: var(--mint); }


/* === Responsive (home-only) === */
@media (max-width: 900px) {
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .directory-grid { grid-template-columns: 1fr; }
  .oem-bar { padding: 10px 0; }
  .device-strip { padding: 16px 20px; gap: 20px; }
}
