
:root {
  --primary: #6fdadc;
  --accent: #ff9800;
  --dark: #1f2933;
  --muted: #6b7280;
  --light: #f9fafb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

header {
  padding: 56px 24px;
  text-align: center;
  background: var(--primary);
}

.logo {
  /* width: 120px; */
  height: 160px;
  border-radius: 24px;
  /* box-shadow: 0 12px 30px rgba(0,0,0,.15); */
  margin-bottom: 24px;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

header h2 {
  color: 
}

h3 {
  margin-top: 32px;
  font-size: 1.8rem;
}

p, li {
  color: var(--dark);
}

ul {
  padding-left: 20px;
}

.subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 32px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(255,152,0,.35);
}

section {
  padding: 72px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature {
  background: var(--light);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
}

/* App preview section */
.preview {
  background: linear-gradient(180deg, #ffffff, #f2fbfb);
  border-radius: 32px;
  padding: 64px 32px;
}

.preview h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 16px;
}

.preview p {
  text-align: center;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 48px;
}

.screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: start;
}

.screen {
  text-align: center;
}

.screen img {
  width: 100%;
  max-width: 320px;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.screen h4 {
  margin: 20px 0 8px;
}

.screen span {
  color: var(--muted);
  font-size: .95rem;
}

.audience {
  background: linear-gradient(135deg, var(--primary), #3cb9b2);
  color: #fff;
  border-radius: 32px;
  padding: 64px 32px;
}

.audience h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 40px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}


.status-box{
background:var(--light);
border-radius:20px;
padding:36px;
box-shadow:0 8px 24px rgba(0,0,0,.08);
}

.status-icon{
font-size:48px;
margin-bottom:16px;
}

.success{color:var(--success);}
.error{color:var(--error);}
.info{color:var(--accent);}

.status-title{
font-size:1.6rem;
margin-bottom:12px;
}

.status-text{
color:var(--muted);
}

footer {
  padding: 32px 24px;
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  background: var(--primary);
}
.footer-nav {
margin-bottom: 8px;
}

.footer-nav a {
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
}

.footer-nav a:hover {
text-decoration: underline;
}

.footer-nav span {
margin: 0 8px;
color: var(--muted);
}

.footer-copy {
font-size: 0.85rem;
color: var(--muted);
}





/*
  * Page-specific layout only.
  *
  * The main Questeria visual system comes from:
  *   /style.css
  *   /fancy.css
  *
  * Nothing here replaces those styles.
  */

.download-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.download-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 90px;
    position: relative;
    overflow: hidden;
}

/*
  * Atmospheric quest path.
  * Kept deliberately subtle so fancy.css remains dominant.
  */

.quest-path {
    position: absolute;
    width: min(720px, 90vw);
    height: 720px;
    border: 1px dashed rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    transform: rotate(-22deg);
    pointer-events: none;
}

.quest-path::before,
.quest-path::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 20px currentColor;
}

.quest-path::before {
    color: #8b6cff;
    left: 13%;
    top: 18%;
}

.quest-path::after {
    color: #55d6ff;
    right: 12%;
    bottom: 16%;
}

.download-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    text-align: center;
}

.download-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 25px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.download-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b6cff;
    box-shadow: 0 0 14px #8b6cff;
}

.download-title {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: .95;
    letter-spacing: -.055em;
}

.download-title .highlight {
    display: block;
}

.download-subtitle {
    max-width: 610px;
    margin: 28px auto 42px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.65;
    opacity: .78;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 720px;
    margin: 0 auto;
}

.download-option {
    position: relative;
    padding: 30px;
    text-align: left;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.11);
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
    overflow: hidden;
}

.download-option::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #8b6cff;
    opacity: .09;
    filter: blur(65px);
    right: -80px;
    top: -80px;
    pointer-events: none;
}

.download-option:hover {
    transform: translateY(-5px);
    border-color: rgba(139,108,255,.38);
    background: rgba(255,255,255,.065);
}

.download-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.download-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(255,255,255,.08);
    font-size: 25px;
}

.download-option h2 {
    margin: 0;
    font-size: 1.2rem;
}

.download-option p {
    margin: 4px 0 0;
    font-size: .82rem;
    opacity: .62;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.download-button:hover {
    transform: translateY(-2px);
}

.download-button.primary {
    background: linear-gradient(
        135deg,
        #8b6cff,
        #6950dc
    );
    color: white;
    box-shadow:
        0 10px 35px rgba(108,80,220,.25);
}

.download-button.primary:hover {
    box-shadow:
        0 14px 42px rgba(108,80,220,.38);
}

.download-note {
    margin-top: 30px;
    font-size: .82rem;
    opacity: .52;
}

/*
  * QR section
  */

.download-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: fit-content;
    max-width: 100%;
    margin: 34px auto 0;
    padding: 16px 22px 16px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    text-align: left;
}

.download-qr img {
    width: 82px;
    height: 82px;
    padding: 6px;
    background: white;
    border-radius: 10px;
}

.download-qr strong {
    display: block;
    margin-bottom: 5px;
}

.download-qr span {
    display: block;
    max-width: 300px;
    font-size: .8rem;
    line-height: 1.5;
    opacity: .58;
}

/*
  * Closing adventure message
  */

.download-adventure {
    margin-top: 60px;
}

.download-adventure-line {
    width: 42px;
    height: 2px;
    margin: 0 auto 20px;
    background: linear-gradient(
        90deg,
        #8b6cff,
        #55d6ff
    );
    box-shadow: 0 0 15px rgba(139,108,255,.4);
}

.download-adventure p {
    margin: 0;
    font-size: 1rem;
    opacity: .62;
}

@media (max-width: 700px) {

    .download-main {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .download-options {
        grid-template-columns: 1fr;
    }

    .download-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .download-subtitle {
        margin-bottom: 32px;
    }

    .download-option {
        padding: 24px;
    }

    .download-qr {
        width: 100%;
        text-align: center;
        flex-direction: column;
        padding: 20px;
    }

    .download-qr span {
        max-width: 280px;
    }

    .quest-path {
        width: 500px;
        height: 500px;
    }
}