/*
 * OTSI PMS — Home Page Styles v5
 * Class prefix: oh- (otsi-home)
 * Namespace root: .otsi-home-wrap
 * Design tokens: Navy #071427 | Gold #dda82e | Teal #1e6b5e | Pale #f4f7fc | Border #d9e2ee | Dark text #111b33 | Grey text #65738a
 */

/* ── Reset & base ─────────────────────────────────────────────────────── */
.otsi-home-wrap *,
.otsi-home-wrap *::before,
.otsi-home-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.otsi-home-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #111b33;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.otsi-home-wrap a { color: inherit; text-decoration: none; }

/* ── Layout container ─────────────────────────────────────────────────── */
.oh-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Section backgrounds ──────────────────────────────────────────────── */
.oh-bg-white { background: #ffffff; }
.oh-bg-pale  { background: #f4f7fc; }

/* ── Shared typographic atoms ─────────────────────────────────────────── */
.oh-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #dda82e;
  margin-bottom: 10px;
}

.oh-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #dda82e;
  color: #071427;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 6px;
  transition: background .18s, transform .12s;
  white-space: nowrap;
}
.oh-btn-gold:hover { background: #c9961e; transform: translateY(-1px); }

/* ── SECTION 1: HERO ──────────────────────────────────────────────────── */
.oh-hero {
  background: #071427;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(29,65,112,.45) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(29,65,112,.3) 0%, transparent 55%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 0 0 60px;
}

/* constellation dot pattern */
.oh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px, 72px 72px;
  background-position: 0 0, 18px 18px;
  pointer-events: none;
}

.oh-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Topbar */
.oh-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 52px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.oh-topbar-loc {
  display: flex;
  align-items: center;
  gap: 5px;
}
.oh-topbar-sep { color: rgba(255,255,255,.3); }

.oh-topbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.oh-topbar-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.oh-topbar-contact a:hover { color: #dda82e; }

/* Hero two-column grid */
.oh-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.oh-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}

.oh-hero-title {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
}

.oh-hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.oh-hero-rule {
  border: none;
  border-top: 2px solid #dda82e;
  width: 64px;
  margin: 0;
}

/* Purpose card */
.oh-purpose {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 28px 28px 30px;
  margin-top: 6px;
  backdrop-filter: blur(6px);
}

.oh-purpose-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #dda82e;
  margin-bottom: 14px;
}

.oh-purpose-text {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

/* ── SECTION 2: KPI STRIP ─────────────────────────────────────────────── */
.oh-kpis { padding: 52px 0; }

.oh-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.oh-kpi-card {
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  padding: 22px 22px 18px;
  box-shadow: 0 1px 4px rgba(7,20,39,.05);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oh-kpi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f4f7fc;
  border-radius: 8px;
  color: #dda82e;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.oh-kpi-label {
  font-size: 12px;
  color: #65738a;
  font-weight: 500;
}

.oh-kpi-value {
  font-size: 32px;
  font-weight: 900;
  color: #111b33;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 2px 0 0;
}

.oh-kpi-trend {
  font-size: 11px;
  font-weight: 600;
  color: #1e6b5e;
  white-space: nowrap;
  margin: 2px 0 4px;
}

.oh-kpi-chart {
  height: 44px;
  margin: 6px 0 4px;
  overflow: hidden;
}

.oh-kpi-foot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #65738a;
  padding-top: 8px;
  border-top: 1px solid #f0f3f8;
}

/* ── SECTION 3: FEATURED PLAYERS ──────────────────────────────────────── */
.oh-players { padding: 60px 0; }

.oh-section-hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.oh-section-hdr h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  color: #111b33;
  margin: 6px 0 8px;
  line-height: 1.15;
}
.oh-section-hdr p {
  font-size: 14px;
  color: #65738a;
}
.oh-section-hdr > a {
  color: #dda82e;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .15s;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(221,168,46,.3);
}
.oh-section-hdr > a:hover { color: #c9961e; border-color: #c9961e; }

.oh-players-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 300px;
  gap: 20px;
  align-items: start;
}

/* Individual player card */
.oh-player-card {
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(7,20,39,.06);
  display: flex;
  flex-direction: column;
}

.oh-player-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.oh-player-photo-ph {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fc;
  color: #b0bcc8;
}

.oh-player-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.oh-player-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }

.oh-player-pos {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: #071427;
  color: #fff;
  padding: 3px 9px;
  border-radius: 4px;
}

.oh-badge-avail {
  font-size: 10px;
  font-weight: 700;
  background: rgba(30,107,94,.1);
  color: #1e6b5e;
  padding: 3px 9px;
  border-radius: 4px;
}

.oh-badge-verif {
  font-size: 10px;
  font-weight: 700;
  background: rgba(221,168,46,.12);
  color: #9a6e00;
  padding: 3px 9px;
  border-radius: 4px;
}

.oh-player-name {
  font-size: 16px;
  font-weight: 800;
  color: #111b33;
  line-height: 1.2;
}

.oh-player-sub {
  font-size: 12px;
  color: #65738a;
}

.oh-player-stats { display: flex; flex-direction: column; gap: 7px; margin: 4px 0; }

.oh-player-stat-row {
  display: grid;
  grid-template-columns: 80px 1fr 28px;
  align-items: center;
  gap: 8px;
}

.oh-pstat-lbl { font-size: 11px; color: #65738a; font-weight: 500; }

.oh-pstat-bar {
  height: 5px;
  background: #edf0f5;
  border-radius: 3px;
  overflow: hidden;
}

.oh-pstat-fill {
  height: 100%;
  background: #1e6b5e;
  border-radius: 3px;
  transition: width .5s ease;
}

.oh-pstat-val {
  font-size: 11px;
  font-weight: 700;
  color: #111b33;
  text-align: right;
}

.oh-player-mv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  border-top: 1px solid #f0f3f8;
  margin-top: auto;
}

.oh-mv-lbl { font-size: 11px; color: #65738a; }
.oh-mv-val { font-size: 13px; font-weight: 800; color: #dda82e; }

/* Players — navy CTA card */
.oh-players-cta {
  background: #071427;
  border-radius: 14px;
  padding: 28px 24px 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 340px;
}

.oh-cta-icon {
  width: 44px;
  height: 44px;
  background: rgba(221,168,46,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dda82e;
  margin-bottom: 14px;
}

.oh-players-cta h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.oh-players-cta p {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}

.oh-cta-count {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 10px;
}

/* ── SECTION 4: SERVICES ──────────────────────────────────────────────── */
.oh-services { padding: 60px 0; }

.oh-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.oh-svc-card {
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 12px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 1px 4px rgba(7,20,39,.05);
  transition: box-shadow .2s, transform .15s;
  color: inherit;
}
.oh-svc-card:hover {
  box-shadow: 0 6px 24px rgba(7,20,39,.1);
  transform: translateY(-3px);
}

.oh-svc-icon {
  width: 46px;
  height: 46px;
  background: #f4f7fc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dda82e;
  flex-shrink: 0;
}

.oh-svc-rule {
  width: 36px;
  height: 2px;
  background: #dda82e;
  border-radius: 1px;
}

.oh-svc-title {
  font-size: 16px;
  font-weight: 800;
  color: #111b33;
  line-height: 1.25;
}

.oh-svc-desc {
  font-size: 13px;
  color: #65738a;
  line-height: 1.65;
  flex: 1;
}

.oh-svc-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #f0f3f8;
  margin-top: auto;
}

.oh-svc-stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #65738a;
}
.oh-svc-stat strong { color: #111b33; }

/* ── SECTION 5: FEED + NETWORK ────────────────────────────────────────── */
.oh-feed { padding: 60px 0; }

.oh-feed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

.oh-feed-h2 {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 800;
  color: #111b33;
  margin-bottom: 22px;
  line-height: 1.2;
}

.oh-feed-list { display: flex; flex-direction: column; gap: 14px; }

.oh-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #d9e2ee;
  border-radius: 10px;
  padding: 16px;
  transition: box-shadow .18s;
  color: inherit;
}
.oh-feed-item:hover { box-shadow: 0 4px 16px rgba(7,20,39,.08); }

.oh-feed-ico {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.oh-feed-ico.is-opp   { background: rgba(221,168,46,.12); color: #dda82e; }
.oh-feed-ico.is-news  { background: rgba(30,107,94,.1);   color: #1e6b5e; }
.oh-feed-ico.is-trial { background: rgba(7,20,39,.07);    color: #071427; }

.oh-feed-logo {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid #d9e2ee;
  flex-shrink: 0;
  background: #fff;
}

.oh-feed-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.oh-feed-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.oh-feed-tag.is-opp   { background: rgba(221,168,46,.12); color: #9a6e00; }
.oh-feed-tag.is-news  { background: rgba(30,107,94,.1);   color: #1e6b5e; }
.oh-feed-tag.is-trial { background: rgba(7,20,39,.08);    color: #071427; }

.oh-feed-title   { font-size: 14px; font-weight: 700; color: #111b33; line-height: 1.3; }
.oh-feed-meta    { font-size: 12px; color: #1e6b5e; font-weight: 600; }
.oh-feed-excerpt { font-size: 12px; color: #65738a; line-height: 1.55; }
.oh-feed-date    { font-size: 11px; color: #a0aab8; margin-top: 2px; }

.oh-feed-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  align-self: center;
}

.oh-feed-arrow {
  color: #b0bcc8;
  align-self: center;
  flex-shrink: 0;
  transition: color .15s;
}
.oh-feed-item:hover .oh-feed-arrow { color: #dda82e; }

/* Network sticky card */
.oh-network {
  background: #071427;
  border-radius: 14px;
  padding: 30px 26px;
  color: #fff;
  position: sticky;
  top: 100px;
}

.oh-net-h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
}

.oh-net-sub {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.oh-net-bullets { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.oh-net-bullet {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
}

.oh-net-bullet-ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(221,168,46,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dda82e;
  flex-shrink: 0;
  margin-top: 1px;
}

.oh-btn-network {
  display: block;
  text-align: center;
  background: #dda82e;
  color: #071427;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 7px;
  transition: background .18s;
}
.oh-btn-network:hover { background: #c9961e; }

.oh-net-signin {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  text-align: center;
  margin-top: 14px;
}
.oh-net-signin a {
  color: rgba(255,255,255,.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.oh-net-signin a:hover { color: #dda82e; }

/* ── SECTION 6: HOW IT WORKS ──────────────────────────────────────────── */
.oh-hiw { padding: 64px 0; }

.oh-hiw-h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  color: #111b33;
  margin-bottom: 44px;
  line-height: 1.15;
  margin-top: 6px;
}

.oh-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.oh-step-sep {
  display: flex;
  align-items: flex-start;
  padding-top: 38px;
  color: #c8d4e0;
}

.oh-step {
  padding: 0 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oh-step-num {
  font-size: 13px;
  font-weight: 900;
  color: #dda82e;
  letter-spacing: .06em;
}

.oh-step-ico {
  width: 48px;
  height: 48px;
  background: #f4f7fc;
  border: 2px solid #d9e2ee;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #071427;
}

.oh-step-title {
  font-size: 15px;
  font-weight: 800;
  color: #111b33;
  margin-top: 4px;
}

.oh-step-desc {
  font-size: 13px;
  color: #65738a;
  line-height: 1.65;
}

.oh-step-count {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #dda82e;
  background: rgba(221,168,46,.1);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-top: 4px;
}

/* ── SECTION 7: CTA ───────────────────────────────────────────────────── */
.oh-cta {
  background: #071427;
  background-image:
    radial-gradient(ellipse at 5% 50%, rgba(29,65,112,.5) 0%, transparent 60%),
    radial-gradient(ellipse at 95% 50%, rgba(29,65,112,.3) 0%, transparent 55%);
  padding: 72px 0;
  color: #fff;
}

.oh-cta-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.oh-cta-h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}

.oh-cta-lead {
  font-size: 15px;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  margin-bottom: 30px;
}

.oh-cta-box { display: flex; flex-direction: column; gap: 10px; max-width: 480px; }

.oh-select-wrap { position: relative; }
.oh-select-wrap::after {
  content: '\25BE';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aab8;
  pointer-events: none;
  font-size: 13px;
}
.oh-select-wrap select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  padding: 12px 40px 12px 16px;
  border-radius: 7px;
  cursor: pointer;
  transition: border-color .15s;
}
.oh-select-wrap select:hover  { border-color: rgba(221,168,46,.5); }
.oh-select-wrap select:focus  { outline: none; border-color: #dda82e; }
.oh-select-wrap select option { background: #071427; color: #fff; }

.oh-cta-globe {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
}
.oh-cta-globe svg { max-width: 100%; height: auto; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .oh-kpi-grid        { grid-template-columns: repeat(2, 1fr); }
  .oh-players-grid    { grid-template-columns: 1fr 1fr; }
  .oh-players-cta     { display: none; }
  .oh-steps           { grid-template-columns: 1fr 1fr; gap: 28px; }
  .oh-step-sep        { display: none; }
}

@media (max-width: 820px) {
  .oh-container       { padding: 0 20px; }
  .oh-hero-grid       { grid-template-columns: 1fr; gap: 32px; }
  .oh-purpose         { display: none; }
  .oh-kpi-grid        { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .oh-svc-grid        { grid-template-columns: 1fr; }
  .oh-feed-layout     { grid-template-columns: 1fr; }
  .oh-network         { position: static; }
  .oh-cta-grid        { grid-template-columns: 1fr; }
  .oh-cta-globe       { display: none; }
  .oh-hero            { padding-bottom: 40px; }
  .oh-players-grid    { grid-template-columns: 1fr; }
  .oh-section-hdr     { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .oh-kpi-grid        { grid-template-columns: 1fr; }
  .oh-steps           { grid-template-columns: 1fr 1fr; }
  .oh-topbar-contact  { display: none; }
}
