/* PremierOS marketing site — shared styles */

:root {
  --navy: #0b1f3b;
  --navy-800: #122a4e;
  --navy-700: #17335f;
  --blue: #1976f7;
  --blue-600: #1567db;
  --light-blue: #4fc3f7;
  --gray: #6b7280;
  --gray-200: #e5e9f0;
  --gray-100: #eef2f8;
  --light: #f4f7fb;
  --white: #ffffff;
  --ink: #101828;
  --success: #17a673;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 31, 59, 0.06), 0 1px 3px rgba(11, 31, 59, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 31, 59, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 59, 0.18);

  --container: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 16px; color: var(--gray); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--light-blue) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(25, 118, 247, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(25, 118, 247, 0.4); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 34px; width: auto; }
.logo-text {
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.logo-text .logo-os { color: var(--blue); }
.logo-text.on-dark { color: var(--white); }
.logo-text.on-dark .logo-os { color: var(--light-blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.active { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-actions .btn { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  padding: 76px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--light-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { font-size: 1.14rem; max-width: 520px; margin-bottom: 30px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-sports {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-sport {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}

.hero-sport .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue);
}

/* ---------- Dashboard mockup (built in CSS, not a lifted screenshot) ---------- */

.mock-wrap { position: relative; }

.mock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transform: rotate(-1.2deg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy);
}
.mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.mock-bar img { height: 18px; margin-left: 6px; }
.mock-bar .logo-text { font-size: 0.82rem; margin-left: 4px; }

.mock-body { display: grid; grid-template-columns: 150px 1fr; }

.mock-nav {
  background: var(--gray-100);
  padding: 16px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gray);
}
.mock-nav div {
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
}
.mock-nav div.active { background: var(--blue); color: var(--white); }

.mock-main { padding: 18px 20px 22px; }
.mock-main h4 { font-size: 1rem; margin-bottom: 14px; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.mock-stat {
  background: var(--light);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-stat .num { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.mock-stat .lbl { font-size: 0.7rem; color: var(--gray); font-weight: 600; }

.mock-rows { font-size: 0.76rem; }
.mock-row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed var(--gray-200);
  color: var(--navy);
  font-weight: 600;
}
.mock-row span:last-child { color: var(--gray); font-weight: 500; }

.mock-float {
  position: absolute;
  bottom: -26px;
  right: -18px;
  width: 160px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 14px;
  transform: rotate(2deg);
}
.mock-float .lbl { font-size: 0.68rem; color: var(--gray); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-float .num { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 2px 0 8px; }
.mock-float .bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.mock-float .bars i { flex: 1; background: linear-gradient(180deg, var(--light-blue), var(--blue)); border-radius: 3px; display: block; }

/* ---------- Sections generic ---------- */

.section { padding: 92px 0; }
.section-light { background: var(--light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.7); }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; }

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.sport-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--light-blue));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}
.card .icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 12px; font-size: 0.95rem; }
.card .learn { font-weight: 700; font-size: 0.88rem; color: var(--blue); }

/* Sport / solution tiles */
.sport-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-700), var(--navy));
}
.sport-tile span.tag {
  position: absolute;
  top: 16px; left: 20px;
  font-size: 1.6rem;
}
.sport-tile .sport-name {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.sport-tile p {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Checklist */
.checklist { list-style: none; margin: 0 0 28px; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
  padding: 9px 0;
  border-bottom: 1px solid var(--gray-200);
}
.checklist li:last-child { border-bottom: none; }
.checklist .check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-band .num {
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--light-blue), var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-band .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--blue-600) 130%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 0; max-width: 460px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
/* The "Most Popular" card is highlighted by default. Hovering a different
   card in the grid moves the highlight to that one instead — :hover bubbles
   to the grid container, so "grid hovered but not this card" reliably
   detects "some sibling is being hovered." */
.pricing-grid:not(:hover) .price-card.popular,
.price-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--light-blue));
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.pricing-grid:not(:hover) .price-card.popular .badge,
.price-card.popular:hover .badge {
  opacity: 1;
}
.price-card .plan-name { font-weight: 800; color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.price-card .plan-desc { font-size: 0.88rem; margin-bottom: 18px; }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.price-card .price span { font-size: 1rem; font-weight: 600; color: var(--gray); }
.price-card .price-note { font-size: 0.8rem; color: var(--gray); margin-bottom: 22px; }
.price-card .checklist { flex: 1; margin-bottom: 26px; }
.price-card .checklist li { border-bottom: none; padding: 7px 0; font-size: 0.92rem; }

.pricing-faq { max-width: 760px; margin: 80px auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 22px 0; }
.faq-item h4 { margin-bottom: 8px; font-size: 1.02rem; }
.faq-item p { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  padding: 40px;
}

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

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(25, 118, 247, 0.12);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-note { font-size: 0.82rem; color: var(--gray); margin-top: 14px; text-align: center; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--light-blue));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 118, 247, 0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand img { height: 32px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 0.92rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--light-blue); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: linear-gradient(180deg, var(--light), var(--white));
  padding: 64px 0 70px;
  text-align: center;
}
.page-hero .section-head { margin-bottom: 0; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mock-wrap { max-width: 460px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-grid:not(:hover) .price-card.popular,
  .price-card:hover { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 48px 28px; }
  .cta-banner p { margin: 0 auto 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-panel { padding: 26px; }
}

@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 52px 0 60px; }
  .cta-banner h2 { font-size: 1.6rem; }
}

/* Mobile nav panel */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 76px;
  left: 0; right: 0;
  background: var(--white);
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.nav-links.open li { width: 100%; }
.nav-links.open a { display: block; padding: 13px 0; border-bottom: 1px solid var(--gray-100); }
