/* Teketaka landing (T-707, redesign T-714). Static, no build step, no JS framework.
   Brand tokens mirror packages/design-foundations (DL-44). Night-match theme: navy + floodlit green. */
:root {
  --navy: #0B1626; --navy-1: #0F1B2D; --navy-2: #14263D; --navy-3: #1B3352;
  --green: #15803D; --brand: #16A34A; --lime: #4ADE80; --lime-soft: #86EFAC;
  --fg: #F1F5F9; --muted: #A9B8CA; --line: rgba(255,255,255,.10);
  --r: 22px; --ease: cubic-bezier(.2,.8,.2,1);
  --font: "Cairo", system-ui, sans-serif;
}
html[lang="en"] { --font: "Plus Jakarta Sans", system-ui, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; background: var(--navy); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--lime); }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--lime); color: var(--navy); font-weight: 800; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.scrolled, .legal-page .top { background: rgba(11,22,38,.86); backdrop-filter: blur(14px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s; }
.nav a:hover { color: #fff; }
.lang { font-weight: 700; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 16px; border: 0; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 10px 30px rgba(22,163,74,.35); }
.btn-green:hover { background: #127235; box-shadow: 0 14px 36px rgba(22,163,74,.45); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-white { background: #fff; color: var(--navy-1); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 14px; color: #fff; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: -73px; padding-top: 73px; isolation: isolate; }
.hero::before { /* floodlights */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(74,222,128,.28), transparent 60%),
    radial-gradient(ellipse 50% 45% at 92% 8%, rgba(74,222,128,.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(22,163,74,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-1), var(--navy));
}
.hero::after { /* faint pitch lines in the background */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.beam { position: absolute; top: -20%; width: 34vw; height: 120%; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 70%); filter: blur(30px); transform-origin: top center; animation: sway 9s ease-in-out infinite alternate; }
.beam.b1 { inset-inline-start: 2%; transform: rotate(-18deg); }
.beam.b2 { inset-inline-end: 0; transform: rotate(16deg); animation-delay: -4s; }
@keyframes sway { to { opacity: .5; translate: 2vw 0; } }

.hero .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 72px 110px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.3); color: var(--lime-soft); font-weight: 700; font-size: 14px; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero h1 { margin-top: 22px; font-size: clamp(42px, 6.4vw, 84px); font-weight: 900; letter-spacing: -.02em; color: #fff; }
html[lang="ar"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
html[lang="en"] .hero h1 { font-size: clamp(40px, 5.4vw, 74px); }
.hero h1 .hl { position: relative; display: inline-block; white-space: nowrap; color: var(--lime); }
.hero h1 .hl svg { position: absolute; inset-inline: 0; bottom: -.18em; width: 100%; height: .35em; overflow: visible; }
.hero h1 .hl path { fill: none; stroke: var(--lime); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin-top: 26px; max-width: 36ch; font-size: 20px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); color: var(--muted); font-size: 12px; line-height: 1.25; }
.store svg { width: 24px; height: 24px; color: #fff; }
.store b { display: block; font-size: 16px; color: #fff; }

/* the tactics board */
.stage { position: relative; perspective: 1400px; }
.board { position: relative; border-radius: 28px; padding: 14px; background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 80px rgba(22,163,74,.25); transform: rotateX(14deg) rotateY(-8deg) rotateZ(2deg); transition: transform .8s var(--ease); }
html[dir="rtl"] .board { transform: rotateX(14deg) rotateY(8deg) rotateZ(-2deg); }
.stage:hover .board { transform: rotateX(4deg) rotateY(0) rotateZ(0); }
.board svg.pitch { display: block; width: 100%; height: auto; border-radius: 18px; }
.board-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.board-bar .tag { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.board-bar .tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.pause { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.pause svg { width: 14px; height: 14px; }
.pause .i-play, .paused .pause .i-pause { display: none; }
.paused .pause .i-play { display: inline; }
.player { animation: breathe 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.player:nth-of-type(2n) { animation-delay: -1.2s; }
@keyframes breathe { 50% { transform: scale(1.12); } }
.rival { animation: drift 5s ease-in-out infinite alternate; }
.rival:nth-of-type(2n) { animation-duration: 6.5s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translate(10px, -8px); } }
.paused .player, .paused .rival, .paused .beam { animation-play-state: paused; }

/* floating booking card */
.ticket { position: absolute; inset-inline-end: -28px; bottom: -84px; width: 270px; padding: 16px; border-radius: 20px; background: rgba(15,27,45,.92); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.ticket-head { display: flex; align-items: center; gap: 10px; }
.ticket-head .thumb { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #0B5E2B); display: grid; place-items: center; }
.ticket-head .thumb svg { width: 22px; height: 22px; color: #fff; }
.ticket-head b { display: block; font-size: 15px; line-height: 1.3; }
.ticket-head small { color: var(--muted); font-size: 12px; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.slots span { text-align: center; padding: 7px 0; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.16); font-weight: 700; font-size: 13px; color: var(--fg); }
.slots span.pick { animation: pick 6s infinite; }
@keyframes pick { 0%, 30% { background: transparent; border-color: rgba(255,255,255,.16); } 36%, 100% { background: var(--green); border-color: var(--lime); color: #fff; } }
.confirm { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(74,222,128,.14); color: var(--lime-soft); font-size: 13px; font-weight: 800; opacity: 0; animation: confirm 6s infinite; }
.confirm svg { width: 18px; height: 18px; flex: none; }
@keyframes confirm { 0%, 45% { opacity: 0; transform: translateY(6px); } 52%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.paused .ticket, .paused .slots span.pick, .paused .confirm { animation-play-state: paused; }

/* ---------- value strip ---------- */
.strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-block: 26px; }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; }
.strip-item .ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(74,222,128,.12); color: var(--lime); }
.strip-item .ic svg { width: 24px; height: 24px; }
.strip-item b { display: block; font-size: 16px; color: #fff; line-height: 1.35; }
.strip-item span { color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- sections ---------- */
section.block { padding-block: 110px; position: relative; }
.head { max-width: 680px; margin-bottom: 56px; }
.head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.head h2 { margin-top: 14px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 900; color: #fff; letter-spacing: -.015em; }
html[lang="ar"] .head h2 { letter-spacing: 0; line-height: 1.3; }
.head p { margin-top: 16px; color: var(--muted); font-size: 19px; }

/* how it works */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps .pass { position: absolute; z-index: 1; inset-inline: 12%; top: 36px; width: 76%; height: 60px; overflow: visible; pointer-events: none; }
html[dir="rtl"] .steps .pass { transform: scaleX(-1); }
.steps .pass .line { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 8 10; opacity: .6; }
.steps .pass .m { fill: none; stroke: #fff; stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .steps .pass .m { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.js .steps.in .pass .m { stroke-dashoffset: 0; }
.step { position: relative; padding: 30px; border-radius: var(--r); background: linear-gradient(180deg, var(--navy-2), var(--navy-1)); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(74,222,128,.4); }
.step .num { position: relative; z-index: 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy-1); border: 2px solid var(--lime); color: var(--lime); font-weight: 900; font-size: 26px; box-shadow: 0 0 0 8px var(--navy-1), 0 0 30px rgba(74,222,128,.35); }
.step h3 { margin-top: 24px; font-size: 24px; font-weight: 800; color: #fff; }
.step p { margin-top: 10px; color: var(--muted); }

/* sports */
.sports { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.sport { position: relative; overflow: hidden; padding: 26px 22px 24px; border-radius: var(--r); background: var(--navy-2); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.sport::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; background: radial-gradient(closest-side, rgba(74,222,128,.25), transparent); opacity: 0; transition: opacity .35s; }
.sport:hover { transform: translateY(-8px); border-color: rgba(74,222,128,.45); background: var(--navy-3); }
.sport:hover::after { opacity: 1; }
.sport .ball { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(74,222,128,.12); color: var(--lime); transition: transform .6s var(--ease); }
.sport .ball svg { width: 34px; height: 34px; }
.sport:hover .ball { transform: rotate(-20deg) scale(1.08); }
.sport h3 { margin-top: 20px; font-size: 21px; font-weight: 800; color: #fff; }
.sport p { margin-top: 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* owners */
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px; border-radius: 36px; background: radial-gradient(circle at 100% 0%, rgba(74,222,128,.18), transparent 50%), linear-gradient(160deg, var(--navy-2), var(--navy-1)); border: 1px solid var(--line); }
.owners .head { margin: 0; }
.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--fg); }
.ticks li svg { flex: none; width: 26px; height: 26px; margin-top: 2px; padding: 5px; border-radius: 8px; background: rgba(74,222,128,.16); color: var(--lime); }
.owners .cta { margin-top: 32px; }
.sched { padding: 22px; border-radius: 24px; background: var(--navy); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.sched-head { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 800; }
.sched-head small { color: var(--muted); font-weight: 600; }
.grid-days { display: grid; grid-template-columns: 54px repeat(4, 1fr); gap: 6px; margin-top: 16px; font-size: 12px; }
.grid-days .h { color: var(--muted); font-weight: 700; text-align: center; padding-bottom: 4px; }
.grid-days .t { color: var(--muted); font-weight: 700; display: flex; align-items: center; }
.cell { height: 34px; border-radius: 9px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.cell.b { background: linear-gradient(135deg, var(--brand), var(--green)); border-color: transparent; transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.sched.in .cell.b { transform: none; opacity: 1; }
.sched-foot { display: flex; gap: 16px; margin-top: 16px; color: var(--muted); font-size: 13px; }
.sched-foot b { color: var(--lime); font-size: 22px; display: block; line-height: 1.2; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
details { border-radius: 18px; background: var(--navy-2); border: 1px solid var(--line); transition: border-color .25s; }
details[open] { border-color: rgba(74,222,128,.4); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 18px; color: #fff; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(74,222,128,.14); color: var(--lime); font-size: 22px; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); }

/* final call */
.final { position: relative; overflow: hidden; border-radius: 36px; padding: 80px 40px; text-align: center; background: linear-gradient(135deg, #15803D, #0E6430); isolation: isolate; }
.final svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .22; }
.final h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 900; color: #fff; }
.final p { margin: 16px auto 0; max-width: 46ch; color: #E8F7EE; font-size: 19px; }
.final .cta { justify-content: center; }
.final .btn-ghost { border-color: rgba(255,255,255,.5); }

/* footer */
footer { margin-top: 110px; border-top: 1px solid var(--line); padding-block: 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
footer a:hover { color: #fff; }

/* scroll reveal (only when JS runs and motion is allowed) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* legal pages (privacy / terms) */
.legal { padding-block: 56px 40px; }
.legal article { max-width: 800px; padding: 44px; border-radius: var(--r); background: #fff; color: #0F1B2D; }
.legal h1 { font-size: 34px; font-weight: 800; }
.legal h2 { margin-top: 28px; font-size: 21px; font-weight: 800; }
.legal p, .legal li { color: #2C3A35; }
.legal p { margin-top: 10px; }
.legal a { color: #15803D; }
.legal ul { padding-inline-start: 22px; }
.draft { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: #FFF4E0; color: #6B4100; font-weight: 600; font-size: 15px; }
.updated { margin-top: 6px; color: #465650; font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .sports { grid-template-columns: repeat(3, 1fr); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .wrap, .owners { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 40px 72px; gap: 48px; }
  .board, html[dir="rtl"] .board { transform: none; }
  .ticket { position: relative; inset: auto; width: auto; max-width: 320px; margin: -28px auto 0; animation: none; }
  .steps { grid-template-columns: 1fr; }
  .steps .pass { display: none; }
  .nav a:not(.btn):not(.lang) { display: none; }
  .nav { gap: 14px; }
  .owners { padding: 32px 22px; border-radius: 28px; }
  section.block { padding-block: 80px; }
  .final { padding: 56px 22px; border-radius: 28px; }
  .legal article { padding: 24px; }
}
@media (max-width: 560px) {
  .sports { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap { grid-template-columns: 1fr; }
  .logo span { display: none; }
  .nav .btn { padding: 0 14px; }
  .hero .lead { font-size: 18px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero h1 .hl path { stroke-dashoffset: 0; }
  .confirm { opacity: 1; }
  .slots span.pick { background: var(--green); border-color: var(--lime); color: #fff; }
  .cell.b { transform: none; opacity: 1; }
}
