/* Legend OTT Panel — design tokens: ice white & teal-cyan, matching the Legend OTT mark */
:root {
  --bg: #f5fbfd;
  --bg-2: #e6f4f8;
  --card: #ffffff;
  --line: #cfe8ee;
  --text: #0b1620;
  --muted: #58707e;
  --accent: #0e7490;
  --accent-2: #22d3ee;
  --accent-ink: #f0fbfd;
  --warm: #b45309;
  --good: #15803d;
  --radius: 16px;
  --maxw: 1160px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[x-cloak] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
section + section, .wrap + .wrap { margin-top: 56px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); opacity: .88; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-2); opacity: 1; }
.btn-ghost { border: 1px solid var(--line); background: var(--card); }
.btn-sm { padding: 8px 16px; font-size: .9rem; border-radius: 999px; }
.btn-block { width: 100%; padding: 14px 20px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; color: var(--text); }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--accent); flex-shrink: 0; }
.bar-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--card); }
.lang button { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.lang button.on { background: var(--accent); color: var(--accent-ink); font-weight: 800; }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; }
.kicker { display: inline-block; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.kicker.center { display: block; text-align: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; letter-spacing: -.03em; max-width: 22ch; margin-inline: auto; }
.hero .sub { color: var(--muted); max-width: 60ch; margin: 14px auto 24px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 16px; font-size: .88rem; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

.section-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -.02em; margin-bottom: 24px; }
.section-title.center { text-align: center; }

/* Provider logos */
.badges { display: flex; gap: 10px; margin-bottom: 4px; justify-content: center; }
.plogo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #000; }

/* Provider showcase */
.showcase { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.showcase-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.showcase-in h2 { font-size: 1.5rem; letter-spacing: -.01em; }
.showcase-in .pill { margin-top: 8px; }
.pill { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 700; color: var(--warm); background: var(--bg); }

/* Pricing tier cards */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 20px; }
.tier-card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s; }
.tier-card.active { border-color: var(--accent); }
.tier-card:hover { transform: translateY(-2px); }
.tier-label { color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.tier-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.tier-sub { color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.tier-alt { margin-bottom: 8px; }
.tier-card .pill { margin-bottom: 14px; }
.tier-card .btn { width: 100%; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two .panel { margin-bottom: 0; }
.panel h3 { font-size: 1.1rem; margin-bottom: 6px; }

.tbl { overflow-x: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 320px; }
th, td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); font-size: .92rem; white-space: nowrap; }
th { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
.offer { font-size: .7rem; font-weight: 800; color: var(--warm); border: 1px solid var(--warm); border-radius: 6px; padding: 1px 6px; margin-inline-start: 6px; }
.good { color: var(--good); }
.warm { color: var(--warm); }

/* 3-step band */
.steps { text-align: center; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: start; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 10px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }

/* Order summary */
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 10px; }
.summary-grid > div { display: flex; flex-direction: column; gap: 2px; }
.summary-grid b { font-size: 1.15rem; }

/* Order form */
.order { display: flex; flex-direction: column; }
.lbl { color: var(--muted); font-size: .82rem; margin: 16px 0 6px; }
.qty { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.qty button { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-weight: 700; font-size: .9rem; }
.qty button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
input, select, textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .7; }
.order .btn-block { margin-top: 20px; }
.warn { color: var(--warm); font-size: .9rem; margin-top: 10px; }
.preview { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 14px; font: inherit; font-size: .88rem; white-space: pre-wrap; word-break: break-word; }
.disclaimer { background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); border-radius: 12px; padding: 12px 16px; font-size: .9rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 700; text-align: start; }
.faq-chevron { font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.faq-chevron.open { transform: rotate(45deg); }
.faq-a { padding: 0 0 16px; max-width: 70ch; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: .9rem; margin-top: 56px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer b { color: var(--text); }

@media (max-width: 900px) {
  .tiers, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .two { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 32px; }
}
@media (max-width: 480px) {
  .bar-right .btn-primary.btn-sm { display: none; }
  .tiers, .step-grid, .summary-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
