/* ============================================================
   omniwin.css — OmniWin product page
   Imports: tokens.css + base.css must be loaded first
   ============================================================ */

/* ── Page hero ─────────────────────────────────────────────────── */
.page-hero {
  min-height: 52vh;
  background: linear-gradient(145deg, var(--brand-blue-deeper) 0%, var(--brand-blue-dark) 60%, #003d70 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 72px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 620px;
}

/* ── Section eyebrow ─────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

/* ── Why OmniWin ──────────────────────────────────────────────── */
.why-section { background: var(--bg2); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-text h2  { color: var(--text); margin-bottom: 20px; }
.why-text > p { color: var(--text2); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 32px; }
.feature-bullets { display: flex; flex-direction: column; gap: 14px; }
.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.5;
}
.feature-bullet-dot {
  width: 20px; height: 20px;
  background: var(--brand-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-bullet-dot svg { color: #fff; }
.why-visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,69,129,0.14);
  background: linear-gradient(135deg, var(--brand-blue-deeper), var(--brand-blue-dark));
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.why-visual-icon {
  width: 52%; height: auto;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.5));
}
.why-visual-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--brand-blue-deeper), var(--brand-blue-dark));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  position: relative;
  overflow: hidden;
}
.why-visual-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.why-visual-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
  position: relative; z-index: 1;
}

/* ── Editions ─────────────────────────────────────────────────── */
.editions-section { background: var(--bg); }
.editions-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 56px; }
.editions-header h2 { margin-bottom: 12px; }
.editions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.edition-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration-base), transform var(--duration-base), border-color var(--duration-base);
  position: relative;
}
.edition-card:hover { box-shadow: 0 10px 36px rgba(0,69,129,0.1); transform: translateY(-3px); }
.edition-card.featured {
  border-color: var(--brand-blue);
  background: linear-gradient(to bottom, rgba(0,69,129,0.04), var(--bg2));
}
.edition-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-blue); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 20px;
  white-space: nowrap;
}
.edition-name {
  font-size: 0.8125rem; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-blue); margin-bottom: 8px;
}
.edition-card h3 { font-size: 1.5rem; color: var(--text); margin-bottom: 10px; }
.edition-desc { font-size: 0.9375rem; color: var(--text2); margin-bottom: 28px; line-height: 1.6; }
.edition-features { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.edition-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text2);
}
.edition-feature svg { flex-shrink: 0; margin-top: 2px; color: var(--brand-blue); }
.edition-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.edition-card .btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* ── Options ──────────────────────────────────────────────────── */
.options-section { background: var(--bg2); }
.options-header { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: 48px; }
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
}
.option-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: box-shadow var(--duration-base);
}
.option-card:hover { box-shadow: 0 8px 28px rgba(0,69,129,0.1); }
.option-name {
  font-size: 0.8rem; font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-blue); margin-bottom: 8px;
}
.option-card h3 { color: var(--text); margin-bottom: 10px; }
.option-card p  { color: var(--text2); font-size: 0.9375rem; line-height: 1.6; }

/* ── Downloads teaser ─────────────────────────────────────────── */
.downloads-teaser {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  padding-block: 64px;
  text-align: center;
}
.downloads-teaser h2 { color: #fff; margin-bottom: 12px; }
.downloads-teaser p  { color: rgba(255,255,255,0.65); font-size: 1.0625rem; margin-bottom: 28px; }
.downloads-teaser .btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-white);
  outline-offset: var(--focus-ring-offset);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { display: none; }
  .editions-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .options-grid  { grid-template-columns: 1fr; max-width: 480px; }
}
