:root {
    --accent: #FF2E94;
    --accent-2: #6E00FF;
    --accent-3: #00E5FF;
    --button: #BC31E5;
    --border: #6E00FF;
    --bg: #070C1B;
    --ink: #F6F4FF;
    --muted: rgba(246, 244, 255, 0.68);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", "SF Pro Text", "SF Pro Display", "SF Compact Text", "SF Compact Display", "Helvetica Neue", Arial, sans-serif;
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    min-height: 100dvh;
}

h1 {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    font-size: 3rem;
    margin-bottom: 0.2em;
}

body,
h1,
h2,
p,
ul {
    font-family: 'Montserrat', sans-serif;
}

html {
    background: var(--bg);
}

#tile-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding: 3.5em 2.5em 2em;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3em;
}

.content {
    max-width: 580px;
    flex: 1;
}

.content.glass {
    padding: 2em;
}

.eyebrow {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "SF Compact Text", "SF Compact Display", "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: var(--accent-3);
    margin-bottom: 1.2em;
}

.logo-image {
    width: 220px;
    max-width: 100%;
    height: auto;
    margin: 0 0 1rem;
    display: block;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 0 0.7em;
    color: var(--ink);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 1.5em;
}

.key-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8em;
    display: grid;
    gap: 0.7em;
}

.key-features li {
    font-size: 1rem;
    font-weight: 400;
    padding-left: 1.6em;
    position: relative;
    color: var(--ink);
}

.key-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 0.65em;
    height: 0.65em;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 12px rgba(255, 46, 148, 0.5);
}

.download-button img {
    width: 190px;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 10px 25px rgba(188, 49, 229, 0.35));
}

.download-button a:hover img {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 16px 28px rgba(255, 46, 148, 0.45));
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass {
    position: relative;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    mix-blend-mode: plus-lighter;
    pointer-events: none;
}

.glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    opacity: 0.7;
    pointer-events: none;
}

.frame {
    padding: 1.2em;
}

.image-container img {
    width: 100%;
    max-width: 420px;
    height: auto;
    border-radius: 16px;
    display: block;
}

footer {
    width: 100%;
    text-align: center;
    padding: 1em 1em 1.5em;
    color: var(--muted);
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.footer-glass {
    width: min(900px, calc(100% - 2rem));
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.5rem 1.1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.terms-container {
    max-width: 820px;
    margin: 2.5em auto;
    padding: 2em;
    position: relative;
    z-index: 1;
    max-height: calc(100vh - 5rem);
    overflow-y: auto;
}

.terms-container.glass::before,
.terms-container.glass::after {
    display: none;
}

.terms-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
}

@media (max-width: 900px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding: 3em 1.5em 2em;
    }

    .key-features li {
        text-align: left;
    }

    .image-container {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .logo-image {
        width: 170px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 1rem;
    }
}
