/* Book A Play — website. Colours are the app's own (src/theme.ts). */
:root {
    --forest: #1F4D3A;
    --forest-dark: #173B2C;
    --lime: #C5D86D;
    --lime-border: #A8C043;
    --cream: #F6F9E3;
    --background: #F1F5F2;
    --surface: #FFFFFF;
    --text: #1F2E27;
    --text-secondary: #3D4A44;
    --text-muted: #5F6B65;
    --border: #DDE4DF;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(31, 77, 58, 0.10);
    --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--forest); }
p { margin: 0; }

/* Only the chosen language shows; site.js sets data-lang on <html>. */
html[data-lang="ar"] [lang="en"],
html[data-lang="en"] [lang="ar"] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
    position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
    background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime-border); outline-offset: 3px; border-radius: 6px; }

/* ------------------------------------------------------------ buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0 24px; border-radius: 14px;
    background: var(--lime); color: var(--forest);
    font-weight: 700; text-decoration: none;
    box-shadow: 0 4px 14px rgba(168, 192, 67, 0.35);
    transition: transform 180ms ease, background-color 180ms ease;
}
.btn:hover { background: #BBD05A; transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn-light { background: var(--surface); box-shadow: none; }
.btn-light:hover { background: var(--cream); }

/* ------------------------------------------------------------ header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; color: var(--forest); }
.brand img { width: 52px; height: auto; }
.main-nav { display: flex; gap: 24px; margin-inline-start: auto; }
.main-nav a { color: var(--text-secondary); text-decoration: none; font-weight: 500; padding: 10px 0; }
.main-nav a:hover { color: var(--forest); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
    min-height: 42px; padding: 0 14px; border-radius: 12px;
    border: 1px solid var(--border); background: var(--surface);
    font: inherit; font-size: 15px; font-weight: 700; color: var(--forest); cursor: pointer;
}
.lang-toggle:hover { background: var(--cream); }

/* ------------------------------------------------------------ hero */
.hero { padding: 56px 0 72px; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, var(--background) 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-block; background: var(--surface); border: 1px solid var(--lime-border); color: var(--forest); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -0.5px; }
.lead { margin-top: 18px; font-size: 19px; color: var(--text-secondary); max-width: 34em; }

.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.store-badges-center { justify-content: center; }
.store-badges a, .store-badges span.badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badges img { height: 52px; width: auto; }
/* Google's badge image carries its own transparent margin; this lines it up with Apple's. */
.store-badges img.google { height: 76px; margin: -12px; }
.badges-note { margin-top: 12px; font-size: 15px; color: var(--text-muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
    position: relative; z-index: 2;
    width: min(300px, 80%);
    border-radius: 42px; padding: 12px;
    background: #10261d;
    box-shadow: 0 30px 60px rgba(31, 77, 58, 0.25);
}
.phone img { border-radius: 32px; width: 100%; }
.blob { position: absolute; border-radius: 50%; z-index: 1; }
.blob-1 { width: 320px; height: 320px; background: var(--lime); opacity: 0.45; top: 8%; inset-inline-start: 2%; }
.blob-2 { width: 180px; height: 180px; background: var(--forest); opacity: 0.12; bottom: 4%; inset-inline-end: 6%; }

/* ------------------------------------------------------------ value strip */
.strip { background: var(--forest); color: #fff; }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.strip-item { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.strip-item svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ sections */
.section { padding: 80px 0; }
.section-tinted { background: var(--cream); }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 44px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; text-align: center; border: 1px solid var(--border); }
.step-number { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--lime); color: var(--forest); font-weight: 800; font-size: 22px; margin-bottom: 14px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--text-secondary); }

.venues-card {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    background: var(--forest); color: #fff; border-radius: 26px; padding: 44px;
}
.venues-card h2 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 10px; }
.venues-card p { color: #DDE8E1; max-width: 40em; }
.venues-card .btn { flex: none; }

.download { padding-top: 40px; }
.download-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.download-icon { border-radius: 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.download h2 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; }
.download p { margin-top: 8px; color: var(--text-secondary); }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--forest); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: var(--forest); text-decoration: underline; }
.copyright { color: var(--text-muted); font-size: 15px; }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 960px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; }
    .header-actions { margin-inline-start: auto; }
}
@media (max-width: 760px) {
    .hero { padding: 36px 0 48px; }
    .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .lead { margin-inline: auto; }
    .store-badges { justify-content: center; }
    .phone { width: min(250px, 70%); }
    .strip-inner { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .steps { grid-template-columns: 1fr; }
    .venues-card { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
@media (max-width: 520px) {
    .features { grid-template-columns: 1fr; }
    .brand span { display: none; }
    .btn-small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .btn:hover { transition: none; transform: none; }
}

/* ============================================================ venues page (joinus/) */
.venues-hero { grid-template-columns: 1.15fr 0.85fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline { border: 1px solid var(--lime-border); }
.hero-stats { display: grid; gap: 14px; }
.stat-card {
    display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 18px 20px; box-shadow: var(--shadow);
}
.stat-card svg { grid-row: span 2; width: 34px; height: 34px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stat-card strong { color: var(--forest); font-size: 18px; }
.stat-card > span { color: var(--text-secondary); font-size: 15px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.pillar-dark { background: var(--forest); border-color: var(--forest); color: #DDE8E1; }
.pillar-dark h3 { color: #fff; }
.pillar-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; margin-bottom: 18px; }
.pillar-dark .pillar-icon { background: rgba(197, 216, 109, 0.18); }
.pillar-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar-dark .pillar-icon svg { stroke: var(--lime); }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { margin-bottom: 18px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before {
    content: ""; position: absolute; inset-inline-start: 0; top: 4px;
    width: 20px; height: 20px; border-radius: 50%; background: var(--lime);
    -webkit-mask: none;
}
.ticks li::after {
    content: ""; position: absolute; inset-inline-start: 7px; top: 8px;
    width: 5px; height: 9px; border: solid var(--forest); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.protect { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; background: var(--cream); border-radius: 26px; padding: 40px; }
.protect h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 12px; }
.protect p { color: var(--text-secondary); }

.faq-container { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--forest); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--lime-border); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 18px; color: var(--text-secondary); }

.contact-line { margin-top: 12px; }
.contact-line a { color: var(--lime); font-weight: 700; }

@media (max-width: 960px) {
    .pillars { grid-template-columns: 1fr; }
    .protect { grid-template-columns: 1fr; padding: 30px 24px; }
}
@media (max-width: 760px) {
    .venues-hero { grid-template-columns: 1fr; }
    .hero-actions { justify-content: center; }
    .stat-card { text-align: start; }
    .pillar { padding: 24px; }
}
