/* ============================================================================
   GUARDIAN — public landing site (Static SSR).
   Hand-authored CSS in the Zeal.Maui.Web.Public spirit, themed for Destiny 2:
   deep-space near-black, "Light" gold + Arc cyan accents, animated cosmos.
   ========================================================================== */

/*#region FONTS / ICONS*/
@font-face {
    font-family: "FA Solid";
    font-style: normal; font-weight: 900;
    src: url("/css/fonts/fa-solid-900.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "FA Brands";
    font-style: normal; font-weight: 400;
    src: url("/css/fonts/fa-brands-400.woff2") format("woff2");
    font-display: swap;
}
.fi  { font-family: "FA Solid";  font-weight: 900; font-style: normal; line-height: 1; display: inline-block; }
.fib { font-family: "FA Brands"; font-weight: 400; font-style: normal; line-height: 1; display: inline-block; }

.fi-shield::before    { content: "\f3ed"; }  /* shield-halved   */
.fi-wand::before      { content: "\e2ca"; }  /* wand-magic-sparkles */
.fi-database::before  { content: "\f1c0"; }  /* database        */
.fi-boxes::before     { content: "\f468"; }  /* boxes-stacked   */
.fi-bolt::before      { content: "\f0e7"; }  /* bolt            */
.fi-arrow::before     { content: "\f061"; }  /* arrow-right     */
.fi-check::before     { content: "\f058"; }  /* circle-check    */
.fi-gem::before       { content: "\f3a5"; }  /* gem             */
.fi-crosshairs::before{ content: "\f05b"; }  /* crosshairs      */
.fi-layer::before     { content: "\f5fd"; }  /* layer-group     */
.fi-sparkle::before   { content: "\e5d6"; }  /* sparkles        */
.fi-plug::before      { content: "\f1e6"; }  /* plug            */
.fi-home::before      { content: "\f015"; }  /* house           */
.fi-bars::before      { content: "\f0c9"; }  /* bars            */
.fib-apple::before    { content: "\f179"; }
.fib-google::before   { content: "\f3ab"; }  /* google-play     */
.fib-windows::before  { content: "\f17a"; }
.fib-android::before  { content: "\f17b"; }
/*#endregion*/

/*#region BASE / THEME*/
:root {
    --bg:        #070a12;
    --bg-2:      #0b1020;
    --panel:     #111827;
    --panel-2:   #161f31;
    --gold:      #f5d061;
    --gold-soft: #ffe7a0;
    --gold-deep: #e0a92e;
    --cyan:      #6fe9ff;
    --void:      #9a7bff;
    --text:      #e9eef8;
    --muted:     #93a0ba;
    --line:      rgba(255,255,255,.09);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg); color: var(--text);
    -webkit-font-smoothing: antialiased; line-height: 1.55;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: "Orbitron", "Inter", sans-serif; margin: 0; letter-spacing: .02em; }
.accent-gold { color: var(--gold); }
.accent-cyan { color: var(--cyan); }
/*#endregion*/

/*#region COSMIC BACKDROP (fixed starfield + drifting nebula)*/
.cosmos { position: fixed; inset: 0; z-index: -2; background:
    radial-gradient(1200px 700px at 75% -10%, rgba(154,123,255,.18), transparent 60%),
    radial-gradient(1000px 600px at 10% 110%, rgba(111,233,255,.12), transparent 55%),
    linear-gradient(180deg, #070a12 0%, #090d1a 50%, #070a12 100%); }
.cosmos::before, .cosmos::after {
    content: ""; position: absolute; inset: -50%; background-repeat: repeat;
    background-image:
        radial-gradient(1.4px 1.4px at 20px 30px, rgba(255,255,255,.7), transparent),
        radial-gradient(1.1px 1.1px at 120px 80px, rgba(255,255,255,.55), transparent),
        radial-gradient(1.6px 1.6px at 200px 160px, rgba(255,255,255,.65), transparent),
        radial-gradient(1px 1px at 90px 200px, rgba(255,255,255,.45), transparent);
    background-size: 260px 260px; animation: drift 140s linear infinite; opacity: .5; }
.cosmos::after { background-size: 380px 380px; animation-duration: 220s; opacity: .3; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(260px); } }
@media (prefers-reduced-motion: reduce) { .cosmos::before, .cosmos::after { animation: none; } }
/*#endregion*/

/*#region NAVBAR (sticky top)*/
.gnav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 1rem;
    padding: .85rem clamp(1rem, 4vw, 3rem); backdrop-filter: blur(10px);
    background: rgba(7,10,18,.72); border-bottom: 1px solid var(--line); }
.gnav .brand { display: flex; align-items: center; gap: .6rem; font-family: "Orbitron"; font-weight: 900;
    font-size: 1.15rem; letter-spacing: .14em; color: #fff; }
.gnav .brand svg { width: 30px; height: 30px; filter: drop-shadow(0 0 6px rgba(245,208,97,.5)); }
.gnav .brand b { background: linear-gradient(90deg, var(--gold-soft), var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.gnav .links { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.gnav .links a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.gnav .links a:hover { color: var(--gold); }
@media (max-width: 760px) { .gnav .links a:not(.gbtn) { display: none; } }
/*#endregion*/

/*#region BUTTONS*/
.gbtn { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; cursor: pointer;
    border: 1px solid transparent; border-radius: 10px; padding: .8rem 1.5rem; font-weight: 700;
    font-size: 1rem; transition: transform .15s ease, box-shadow .2s ease, background .2s; }
.gbtn:hover { transform: translateY(-2px); }
.gbtn-gold { color: #1a1300; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
    box-shadow: 0 8px 26px rgba(245,208,97,.28); }
.gbtn-gold:hover { box-shadow: 0 12px 34px rgba(245,208,97,.42); }
.gbtn-ghost { color: var(--text); background: rgba(255,255,255,.05); border-color: var(--line); }
.gbtn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.gbtn-sm { padding: .55rem 1.05rem; font-size: .9rem; border-radius: 9px; }
/*#endregion*/

/*#region LAYOUT PRIMITIVES*/
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.eyebrow { font-family: "Orbitron"; font-size: .72rem; font-weight: 700; letter-spacing: .35em;
    text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.section h2 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); line-height: 1.12; margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); max-width: 46ch; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
/*#endregion*/

/*#region HERO*/
.hero { position: relative; text-align: center; padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero .ring { width: clamp(120px, 22vw, 190px); height: clamp(120px, 22vw, 190px); margin: 0 auto 2rem;
    filter: drop-shadow(0 0 30px rgba(245,208,97,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .hero .ring { animation: none; } }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.2rem); font-weight: 900; line-height: 1; letter-spacing: .04em;
    background: linear-gradient(180deg, #ffffff 0%, var(--gold-soft) 60%, var(--gold-deep) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { margin: 1.4rem auto 0; max-width: 40ch; font-size: clamp(1.05rem, 2.6vw, 1.4rem);
    color: var(--text); font-weight: 500; }
.hero .sub { margin: .7rem auto 0; max-width: 52ch; color: var(--muted); }
.hero .cta { margin-top: 2.4rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .trust { margin-top: 1.6rem; font-size: .82rem; color: var(--muted); letter-spacing: .03em; }
.hero .trust .fi, .hero .trust .fib { color: var(--cyan); margin-right: .35rem; }
/*#endregion*/

/*#region PILLAR CARDS (three apps in one)*/
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }
.pcard { background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line); border-radius: 18px; padding: 2rem 1.7rem; position: relative;
    overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-6px); border-color: rgba(245,208,97,.4); }
.pcard::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan)); opacity: .8; }
.pcard .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.5rem; color: #1a1300; margin-bottom: 1.1rem;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); }
.pcard.cyan .ic { background: linear-gradient(135deg, #c8f6ff, #38bcd6); color: #042029; }
.pcard.void .ic { background: linear-gradient(135deg, #d6c8ff, #7e5cf0); color: #16093a; }
.pcard h3 { font-size: 1.2rem; margin-bottom: .55rem; color: #fff; }
.pcard p { color: var(--muted); font-size: .96rem; margin: 0; }
/*#endregion*/

/*#region FEATURE ROWS*/
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.feature.reverse { direction: rtl; } .feature.reverse > * { direction: ltr; }
@media (max-width: 880px) { .feature, .feature.reverse { grid-template-columns: 1fr; direction: ltr; } }
.feature ul { list-style: none; padding: 0; margin: 1.3rem 0 0; }
.feature li { position: relative; padding-left: 1.9rem; margin: .7rem 0; color: var(--text); font-size: 1.02rem; }
.feature li::before { content: "\f058"; font-family: "FA Solid"; font-weight: 900; position: absolute;
    left: 0; top: .15em; color: var(--gold); }
.feature li b { color: #fff; }
.art { border: 1px solid var(--line); border-radius: 20px; background:
    radial-gradient(120% 120% at 30% 0%, rgba(154,123,255,.12), transparent 55%), var(--panel);
    padding: 1.4rem; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.art svg { width: 100%; height: auto; display: block; }
/*#endregion*/

/*#region STORES / AVAILABILITY*/
.stores { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.store { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.3rem; border-radius: 12px;
    background: var(--panel); border: 1px solid var(--line); min-width: 190px; transition: border-color .2s, transform .15s; }
.store:hover { border-color: rgba(245,208,97,.45); transform: translateY(-3px); }
.store .gly { font-size: 1.7rem; color: var(--gold); width: 30px; text-align: center; }
.store .t { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store .t small { color: var(--muted); font-size: .72rem; }
.store .t span { font-weight: 700; }
/*#endregion*/

/*#region CTA BAND*/
.cta-band { text-align: center; border-radius: 24px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
    background: radial-gradient(120% 140% at 50% 0%, rgba(245,208,97,.16), transparent 60%), var(--panel-2);
    border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin-bottom: .7rem; }
.cta-band p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.8rem; }
/*#endregion*/

/*#region FOOTER*/
.gfoot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; color: var(--muted); font-size: .85rem; }
.gfoot .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.gfoot .brand { font-family: "Orbitron"; font-weight: 700; letter-spacing: .12em; color: var(--text); }
.gfoot .disclaimer { margin-top: 1.3rem; font-size: .76rem; line-height: 1.6; color: #6f7c93; max-width: 80ch; }
.gfoot a:hover { color: var(--gold); }
/*#endregion*/

/*#region 404 / ERROR*/
.zt-404 { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: .5rem; padding: 3rem 1.5rem; }
.zt-404-code { font-family: "Orbitron"; font-weight: 900; font-size: clamp(64px, 16vw, 120px); line-height: 1;
    color: var(--gold); text-shadow: 0 6px 40px rgba(245,208,97,.35); }
.zt-404-title { font-size: clamp(20px, 6vw, 32px); color: #fff; }
.zt-404-msg { color: var(--muted); max-width: 44ch; margin: .4rem 0 1.4rem; }
/*#endregion*/
