* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Same token system as the Discovery Events Resale web app -- brand
       orange stays as-is (already shipped on the App Store/Play Store and
       in the mobile app), everything else follows the Shazam/Apple-inspired
       spacing, radius and typography system. */
    --primary: #FF6B35;
    --primary-dark: #E85F2E;
    --primary-tint: rgba(255, 107, 53, 0.14);

    --background: #000000;
    --surface: #1C1C1E;
    --surface-secondary: #2C2C2E;

    --text-primary: #FFFFFF;
    --text-secondary: #98989D;

    --border: rgba(255, 255, 255, 0.10);

    --success: #34C759;
    --warning: #FF9F0A;
    --error: #FF453A;

    --radius-small: 12px;
    --radius-medium: 18px;
    --radius-large: 24px;
    --radius-pill: 999px;

    --ease: 180ms ease;
}

@media (prefers-color-scheme: light) {
    :root {
        --background: #FFFFFF;
        --surface: #F5F5F7;
        --surface-secondary: #EBEBF0;
        --text-primary: #111111;
        --text-secondary: #6E6E73;
        --border: rgba(0, 0, 0, 0.08);
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); }

/* ---------- Navigation (shared across all pages) ---------- */
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: transparent;
}
.nav-inner { max-width: 1800px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 16px 40px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-primary); text-decoration: none; }
.nav-logo img { width: 28px; height: 28px; border-radius: 8px; display: block; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; transition: color var(--ease); }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-search {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: none;
    background: transparent; color: var(--text-secondary); cursor: pointer;
    transition: background-color var(--ease), color var(--ease);
}
.nav-search:hover { background: var(--surface); color: var(--text-primary); }
.nav-cta {
    background: var(--primary); color: #fff; padding: 11px 24px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap; transition: background-color var(--ease);
}
.nav-cta:hover { background: var(--primary-dark); }

/* Brief pulse when smart Get The App lands on AppGallery (pending) */
@keyframes badge-highlight-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
    40% { box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.45); }
}
.badge-highlight {
    animation: badge-highlight-pulse 0.7s ease 3;
}
.nav-hamburger {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; border: none;
    background: transparent; color: var(--text-primary); cursor: pointer;
    transition: background-color var(--ease);
}
.nav-hamburger:hover { background: var(--surface); }
.nav-mobile-menu {
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-medium); overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
    padding: 16px 20px; color: var(--text-secondary); text-decoration: none;
    font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border);
    transition: color var(--ease), background-color var(--ease);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--text-primary); background: var(--surface-secondary); }
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-search { display: none; }
    .nav-inner { padding: 14px 16px; }
    .nav-logo { font-size: 16px; }
    .nav-cta { padding: 10px 18px; font-size: 13px; }
    .nav-hamburger { display: flex; }
}

/* ---------- Footer (shared) ---------- */
.footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; }
.footer a { color: var(--primary); text-decoration: none; }
.footer-links { margin-bottom: 16px; }
.footer-links a { margin: 0 16px; }
.footer-credit { font-size: 12px; opacity: 0.6; margin-top: 4px; }

/* ---------- Generic page/content shell (support, privacy, etc.) ---------- */
.page { max-width: 800px; margin: 0 auto; padding: 56px 24px 100px; }
.page-eyebrow { color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.page h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.page .subtitle { color: var(--text-secondary); font-size: 17px; line-height: 1.6; margin-bottom: 40px; }
.page h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 40px 0 16px; scroll-margin-top: 90px; }
.page p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 14px; }
.page p strong { color: var(--text-primary); font-weight: 600; }
.page ul { padding-left: 22px; margin-bottom: 14px; }
.page li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 8px; }
.page li strong { color: var(--text-primary); font-weight: 600; }

/* ---------- Generic card + button (support, privacy, etc.) ---------- */
.card {
    background: var(--surface); border-radius: var(--radius-large); padding: 24px;
    margin-bottom: 16px; transition: transform var(--ease), box-shadow var(--ease);
}
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: var(--radius-pill);
    font-size: 15px; font-weight: 600; text-decoration: none;
    transition: transform var(--ease), background-color var(--ease);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* ---------- FAQ (shared) ---------- */
.faq-item { background: var(--surface); border-radius: var(--radius-medium); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-size: 16px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chevron { color: var(--text-secondary); flex-shrink: 0; transition: transform var(--ease); }
.faq-item[open] summary .chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 18px; margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-secondary); }

/* ---------- Call-to-action buttons and homepage sections ---------- */
.btn-outline { border: 1px solid var(--border); color: var(--text-primary); background: transparent; }
.btn-outline:hover { background: var(--surface); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero-or { color: var(--text-secondary); font-size: 14px; margin-bottom: 14px !important; }
.section-wrap { max-width: 1800px; margin: 0 auto; padding: 40px 40px 20px; position: relative; z-index: 1; }
.section-title { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; max-width: 760px; }
.section-lead { font-size: 17px; color: var(--text-secondary); line-height: 1.6; max-width: 720px; margin: 0 0 32px; }
.feature-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--primary); text-decoration: none; }
.feature-link:hover { text-decoration: underline; }
.cta-band { max-width: 1100px; margin: 0 auto 80px; padding: 48px 32px; text-align: center; background: linear-gradient(135deg, var(--primary-tint), transparent), var(--surface); border-radius: var(--radius-large); position: relative; z-index: 1; }
.cta-band h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-band p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; margin-bottom: 22px; }
.faq-wrap { max-width: 800px; margin: 0 auto; padding: 20px 24px 80px; position: relative; z-index: 1; }
.faq-wrap h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; }
@media (max-width: 640px) {
    .section-wrap { padding: 32px 20px 16px; }
    .section-title { font-size: 30px; }
}
