/* =====================================================================================
   zameenix.com - the public website.
   Sits on top of style.css (the same file High-Rise uses), so colours, buttons, cards,
   badges and dark mode are exactly the apps'. Only layout for a public site lives here.
   ===================================================================================== */

body.site { font-size: 1rem; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
body.site::before { display: none; }
.site-main { flex: 1 0 auto; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--lime); color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .navbar { padding: 12px 0; }
.site-header .zx-logo-full { height: 36px; }
.site-header .nav-link { color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 12px !important; border-radius: 9px; transition: background .15s ease, color .15s ease; }
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { color: var(--text); background: var(--surface-2); }
.site-header .nav-link.active { color: var(--lime-hover); background: var(--accent-soft); }
[data-theme="dark"] .site-header .nav-link.active { color: color-mix(in srgb, var(--lime) 55%, white); }
.site-header .navbar-toggler { border: 1px solid var(--line); color: var(--text); padding: 6px 10px; font-size: 1.3rem; line-height: 1; }
.site-header .navbar-toggler:focus { box-shadow: var(--ring); }
.site-header .dropdown-item { border-radius: 8px; color: var(--text); font-size: .88rem; padding: 9px 12px; display: flex; gap: 10px; align-items: center; }
.site-header .dropdown-item:hover { background: var(--accent-soft); color: var(--lime-hover); }
.site-header .dropdown-item small { color: var(--muted); display: block; font-size: .74rem; }
.site-actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 991px) {
  .site-header .navbar-collapse { padding: 12px 0 6px; }
  .site-actions { flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 8px; }
}

/* ---------- purple hero (same look as the apps' sign-in panel) ---------- */
.site-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: 80px 0 132px;
  background: linear-gradient(155deg, var(--charcoal-2) 0%, var(--charcoal) 48%, color-mix(in srgb, var(--charcoal) 72%, var(--lime)) 100%); }
.site-hero .login-bg { z-index: -1; }
.site-hero .login-waves { height: 38%; }
.site-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.site-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; margin: 0 0 18px; max-width: 620px;
  color: #fff; background: linear-gradient(100deg, #fff 30%, var(--sidebar-text) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.site-hero .lead { color: var(--sidebar-text); font-size: 1.08rem; line-height: 1.7; max-width: 540px; margin: 0; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: 6px 13px; font-size: .74rem; font-weight: 600; margin-bottom: 20px; }
.hero-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sidebar-text); box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.site-hero .hero-actions { margin-top: 30px; }
.site-hero .login-features { margin-top: 34px; max-width: 560px; grid-template-columns: 1fr 1fr; }
.site-hero .login-features li { font-size: .86rem; }
.site-hero.is-compact { padding: 64px 0 112px; }
.site-hero.is-compact h1 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 760px; }
.site-hero.is-compact .lead { max-width: 640px; }
.btn-on-dark { background: #fff; border: 1px solid #fff; color: var(--charcoal-2); box-shadow: 0 10px 24px rgba(20,8,40,.25); }
.btn-on-dark:hover, .btn-on-dark:focus-visible { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--charcoal-2); transform: translateY(-1px); }
.btn-ghost-light { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.32); color: #fff; }
.btn-ghost-light:hover, .btn-ghost-light:focus-visible { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; transform: translateY(-1px); }
.btn-lg-site { font-size: .95rem; padding: 12px 22px; }
.site-hero a:focus-visible, .site-footer a:focus-visible, .final-cta a:focus-visible { outline-color: rgba(255,255,255,.7); }

/* ---------- the plot map in the hero: the one picture of the product ---------- */
.plot-frame { position: relative; background: var(--surface); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; box-shadow: 0 34px 80px rgba(20,8,40,.42); overflow: visible; transform: rotate(1.2deg); color: var(--text); }
.plot-frame .browser-top { border-radius: 16px 16px 0 0; }
[data-theme="dark"] .browser-address { background: var(--surface); }
.browser-address { font-size: .62rem; width: auto; min-width: 170px; }
.plot-map { background: var(--bg); padding: 18px; border-radius: 0 0 16px 16px; display: grid; gap: 10px; }
.plot-block-title { display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 700; color: var(--text); }
.plot-block-title span { color: var(--muted); font-weight: 600; }
.plot-row { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.plot { aspect-ratio: 1 / 1.2; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); font-size: .5rem; display: grid; place-items: center; color: var(--muted); font-weight: 700;
  animation: plotIn .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 0) * 14ms + 200ms); }
.plot.is-sold { background: var(--lime); border-color: var(--lime); color: #fff; }
.plot.is-booked { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 45%, transparent); color: var(--info); }
.plot.is-reserved { background: var(--warning-soft); border-color: color-mix(in srgb, var(--warning) 45%, transparent); color: var(--warning); }
.plot.is-picked { outline: 2px solid var(--charcoal); outline-offset: 1px; }
[data-theme="dark"] .plot.is-picked { outline-color: #fff; }
.plot-road { height: 16px; border-radius: 3px; background: var(--surface-2); position: relative; }
.plot-road::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 22px); }
.plot-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .66rem; color: var(--muted); padding-top: 4px; }
.plot-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; border: 1px solid var(--line); background: var(--surface); }
.plot-legend .k-sold { background: var(--lime); border-color: var(--lime); }
.plot-legend .k-booked { background: var(--info-soft); border-color: var(--info); }
.plot-legend .k-reserved { background: var(--warning-soft); border-color: var(--warning); }
.plot-pop { position: absolute; right: -22px; bottom: 54px; width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(20,8,40,.28); padding: 14px 15px; transform: rotate(-1.2deg);
  animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) both; animation-delay: 1.1s; }
.plot-pop strong { display: block; font-size: .92rem; letter-spacing: -.02em; }
.plot-pop .meta { color: var(--muted); font-size: .74rem; margin: 2px 0 10px; }
.plot-pop .bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; margin-top: 10px; }
.plot-pop .bar span { display: block; height: 100%; width: 19%; background: var(--lime); border-radius: 99px; }
.plot-pop .small { color: var(--muted); font-size: .7rem; margin-top: 6px; }
@keyframes plotIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; margin: 12px 0 12px; color: var(--text); }
.section-head p { color: var(--muted); font-size: 1.03rem; margin: 0; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }

/* product cards sit half on the hero's waves */
.products-band { margin-top: -84px; position: relative; z-index: 2; }
.product-card { padding: 32px; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.product-card .stat-icon { width: 54px; height: 54px; flex-basis: 54px; font-size: 1.45rem; border-radius: 15px; }
.product-card h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.035em; margin: 20px 0 2px; }
.product-card .tagline { color: var(--lime-hover); font-weight: 600; font-size: .92rem; }
[data-theme="dark"] .product-card .tagline, [data-theme="dark"] .plan-card .audience { color: color-mix(in srgb, var(--lime) 55%, white); }
.product-card > p { color: var(--muted); margin: 14px 0 20px; }
.product-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.tick-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list li i { color: var(--lime); margin-top: 2px; flex: 0 0 auto; }
[data-theme="dark"] .tick-list li i { color: color-mix(in srgb, var(--lime) 55%, white); }

/* features (cards come from style.css) */
.site .feature-card { padding: 26px; height: 100%; }
.site .feature-card h3 { font-size: 1.02rem; font-weight: 700; margin: 16px 0 6px; letter-spacing: -.02em; }
.site .feature-card p { font-size: .9rem; line-height: 1.6; }
.site .feature-card .stat-icon i { color: inherit; font-size: 1.15rem; }
.site .feature-card:hover .stat-icon i { transform: rotate(-7deg) scale(1.1); }
.feature-group + .feature-group { margin-top: 56px; }
.feature-group-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.feature-group-title h2 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.feature-group-title span { color: var(--muted); font-size: .85rem; }
.filter-chips { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.feature-group[hidden], .feature-cell[hidden] { display: none !important; }

/* steps: a real sequence, so they are numbered */
.site .steps { grid-template-columns: repeat(3, 1fr); gap: 34px 28px; counter-reset: step; }
.site .step { border-top: 2px solid var(--line); padding-top: 18px; position: relative; }
.site .step::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 2px; background: var(--lime); }
.site .step b { font-size: .8rem; letter-spacing: .04em; }
.site .step h3 { font-size: 1.05rem; font-weight: 700; margin: 10px 0 6px; letter-spacing: -.02em; }
.site .step p { font-size: .9rem; margin: 0; }

/* testimonials */
.quote-card { padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text); }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 2.6rem; line-height: .8; color: var(--lime); font-weight: 700; }
.quote-card figcaption { margin-top: auto; font-size: .86rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--text); display: block; font-size: .92rem; }

/* closing call to action (shape from style.css .final-cta) */
.site .final-cta { margin: 0 auto; max-width: none; padding: 54px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  background: linear-gradient(135deg, var(--charcoal-2), var(--charcoal) 60%, color-mix(in srgb, var(--charcoal) 70%, var(--lime))); }
.site .final-cta h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; color: #fff; margin: 0 0 12px; max-width: 560px; line-height: 1.15; }
.site .final-cta p { margin: 0; font-size: 1rem; line-height: 1.7; }
.final-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: relative; z-index: 1; }
.final-cta-actions .btn { min-width: 230px; text-align: left; }

/* pricing */
.plan-card { padding: 32px 28px; height: 100%; display: flex; flex-direction: column; position: relative; overflow: visible; }
.plan-card.is-highlighted { border: 2px solid var(--lime); box-shadow: var(--shadow); }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--lime); color: #fff; font-size: .74rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.plan-card h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 4px; }
.plan-card .audience { color: var(--lime-hover); font-size: .9rem; font-weight: 600; min-height: 2.9em; }
.plan-price { font-size: 1.55rem; font-weight: 700; letter-spacing: -.035em; margin: 18px 0 20px; color: var(--text); }
.plan-price.is-quote { font-size: 1.05rem; color: var(--muted); font-weight: 600; letter-spacing: -.01em; }
.plan-card .tick-list { margin-bottom: 28px; }
.plan-card .btn { margin-top: auto; }

/* faq */
.faq .accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 10px; overflow: hidden; color: var(--text); }
.faq .accordion-button { background: var(--surface); color: var(--text); font-weight: 600; font-size: 1rem; padding: 18px 20px; box-shadow: none; border-radius: 0 !important; }
.faq .accordion-button:not(.collapsed) { background: var(--accent-soft); color: var(--lime-hover); }
.faq .accordion-button:focus-visible { box-shadow: var(--ring); }
.faq .accordion-body { color: var(--muted); padding: 4px 20px 20px; background: var(--accent-soft); }
[data-theme="dark"] .faq .accordion-button::after { filter: invert(1) brightness(1.6); }
[data-theme="dark"] .faq .accordion-button:not(.collapsed) { color: #fff; }

/* contact */
.form-card { padding: 34px; border-radius: 20px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; margin: 0 0 6px; }
.form-card > p { color: var(--muted); margin-bottom: 24px; }
.site .form-control, .site .form-select { font-size: .95rem; padding: 11px 13px; }
.site .form-label { font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.site .form-label .opt { color: var(--muted); font-weight: 500; }
.site .is-invalid { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .8rem; margin-top: 5px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .stat-icon { width: 42px; height: 42px; flex-basis: 42px; }
.contact-list strong { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { color: var(--text); font-weight: 600; word-break: break-word; }
.contact-list a:hover { color: var(--lime-hover); }

/* plain pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.03rem; line-height: 1.8; margin: 0 0 18px; }
.page-updated { color: var(--muted); font-size: .85rem; margin-top: 30px; }

.thanks-card { max-width: 620px; margin: 0 auto; padding: 44px 38px; text-align: center; }
.thanks-card .stat-icon { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 18px; margin: 0 auto 20px; }
.thanks-card h2 { font-size: 1.6rem; font-weight: 700; letter-spacing: -.035em; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal-2); color: var(--sidebar-text); padding: 64px 0 28px; font-size: .92rem; }
[data-theme="dark"] .site-footer { background: #0D0A13; border-top: 1px solid var(--line); }
.site-footer .zx-logo-full { height: 36px; }
.site-footer p { color: var(--sidebar-text); max-width: 340px; margin: 18px 0 0; line-height: 1.7; }
.site-footer h3 { color: #fff; font-size: .9rem; font-weight: 700; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--sidebar-text); transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
.footer-social a:hover { background: rgba(255,255,255,.16); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--sidebar-muted); }

/* ---------- small screens ---------- */
@media (max-width: 1100px) {
  .plot-pop { right: 8px; }
}
@media (max-width: 991px) {
  .site-hero { padding: 56px 0 120px; }
  .site-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .plot-frame { max-width: 600px; }
  .site .steps { grid-template-columns: repeat(2, 1fr); }
  .site .final-cta { grid-template-columns: 1fr; padding: 40px 32px; }
  .section { padding: 68px 0; }
}
@media (max-width: 650px) {
  .wrap { padding: 0 18px; }
  .site-hero .login-features { grid-template-columns: 1fr; }
  .plot-frame { transform: none; }
  .plot-pop { position: static; width: auto; margin: 0 14px 14px; transform: none; }
  .plot-row { gap: 3px; }
  .plot { font-size: 0; }
  .site .steps { grid-template-columns: 1fr; }
  .site .final-cta { border-radius: 16px; padding: 32px 22px; }
  .final-cta-actions .btn { min-width: 0; width: 100%; }
  .product-card, .form-card { padding: 24px; }
  .thanks-card { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .plot, .plot-pop { animation: none !important; }
}

/* Headings take the page's text colour (the hero and banner set their own). */
.site .section h2, .site .section h3, .site .products-band h2, .site .card h2, .site .card h3 { color: var(--text); }

/* ---------- pictures ---------- */
.hero-photo { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); box-shadow: 0 34px 80px rgba(20,8,40,.42); background: rgba(255,255,255,.08); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card.has-image { padding-top: 0; overflow: hidden; }
.product-image { display: block; margin: 0 -32px 24px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.03); }
.product-card.has-image .stat-icon { margin-top: -51px; position: relative; border: 3px solid var(--surface); background: var(--accent-soft); width: 60px; height: 60px; flex-basis: 60px; }
.highlight-card h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.highlight-list { grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin: 0; }
.page-photo { margin: 0 0 40px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); max-height: 460px; }
.page-photo img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; display: block; }

/* the header stays on one line on a laptop screen */
@media (min-width: 992px) {
  .site-header .wrap { flex-wrap: nowrap !important; gap: 16px; }
  .site-header .nav-link { white-space: nowrap; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .nav-link { padding: 8px 8px !important; font-size: .84rem; }
  .site-actions .btn-lime { display: none; }
}
@media (max-width: 650px) {
  .product-image { margin: 0 -24px 22px; }
  .highlight-list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .product-image img { transition: none; } }
