:root {
    --bg: #0b0d12;
    --fg: #e7eaee;
    --muted: #aab2bd;
    --card: #121620;
    --accent: #7c5cff;
    --accent-2: #39d0ff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f8fafc;
        --fg: #0b1020;
        --muted: #5b6675;
        --card: #ffffff;
        --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100dvh;
}

body {
    margin: 0;
    background:
        radial-gradient(
            1200px 600px at 70% -10%,
            rgba(124, 92, 255, 0.25),
            transparent 60%
        ),
        radial-gradient(
            900px 500px at 10% 110%,
            rgba(57, 208, 255, 0.2),
            transparent 60%
        ),
        var(--bg);
    color: var(--fg);
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Inter,
        Roboto,
        "Helvetica Neue",
        Arial,
        "Noto Sans",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: grid;
    place-items: center;
    padding: 32px;
}

.wrap {
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.card {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        ),
        var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 36px 28px;
    backdrop-filter: blur(6px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.logo img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(124, 92, 255, 0.35);
}

.brand {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h1 {
    margin: 10px 0 8px;
    font-size: clamp(28px, 4.5vw, 40px);
    line-height: 1.1;
}

p.lead {
    margin: 0 auto 18px;
    color: var(--muted);
    font-size: clamp(14px, 2.3vw, 16px);
    max-width: 52ch;
}

.tags {
    margin: 14px 0 26px;
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--fg);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.03);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(124,92,255,0.4);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 92, 255, 0.48);
}

.cta:active {
    transform: translateY(0);
}

.cta.pulse {
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.75;
    }
}

/* Store buttons */
.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 auto;
    max-width: 400px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--fg);
    text-decoration: none;
    font-weight: 500;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
    position: relative;
}

.store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    opacity: 0.7;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    text-align: left;
}

.store-label {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.store-name {
    font-size: 15px;
    font-weight: 600;
    margin-top: 2px;
}

.coming-soon-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 500px) {
    .store-buttons {
        flex-direction: row;
        max-width: 100%;
    }

    .store-btn {
        flex: 1;
    }
}

.soon {
    display: block;
    margin-top: 14px;
    color: var(--muted);
    font-style: italic;
    font-size: 14px;
}

footer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 12px;
}

footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

footer a:hover {
    color: var(--accent);
}

/* Privacy Policy Page Styles */
.policy-page {
    height: auto;
    min-height: 100dvh;
    padding: 24px;
    background-attachment: fixed;
}

.policy-wrap {
    max-width: 800px;
}

.policy-header {
    margin-bottom: 24px;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.logo-link .logo {
    margin-bottom: 0;
}

.logo-link .logo img {
    width: 40px;
    height: 40px;
}

.logo-link .brand {
    font-size: 18px;
}

.policy-card {
    text-align: left;
    padding: 40px 32px;
}

.policy-card h1 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 8px;
    text-align: center;
}

.policy-card .last-updated,
.policy-card .applies-to {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.policy-card .applies-to {
    margin-bottom: 32px;
}

.policy-card h2 {
    font-size: clamp(18px, 3vw, 22px);
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--fg);
}

.policy-card h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--fg);
}

.policy-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.policy-card ul {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 24px;
}

.policy-card li {
    margin-bottom: 8px;
}

.policy-card strong {
    color: var(--fg);
}

.policy-card a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

.policy-card a:hover {
    color: var(--accent-2);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cta.pulse {
        animation: none;
    }
    .cta,
    .cta:hover {
        transition: none;
    }
}
