:root {
    --bg-dark: #000000;
    --text-primary: #FFFFFF;
    --text-secondary: #98989d;
    /* Apple gray, slightly lighter for better contrast on black */
    --accent: #BF5AF2;
    /* iOS System Purple - Vibrant and readable */

    --glass-bg: rgba(28, 28, 30, 0.6);
    /* Slightly more opaque for better legibility */
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: blur(20px);

    --ease-apple: cubic-bezier(0.2, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
    min-height: 100vh;
}

/* Background Gradient - Purple glow */
.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, rgba(191, 90, 242, 0.15) 0%, transparent 60%);
    /* Increased opacity for dramatic effect */
    z-index: -2;
    pointer-events: none;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Typography */
h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin-bottom: 24px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

p {
    font-size: 21px;
    line-height: 1.4;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.text-accent {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(191, 90, 242, 0.4);
    /* Subtle glow for the accent text */
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
}

.app-icon {
    width: 118px;
    height: 118px;
    border-radius: 26px;
    /* Continuous curve match */
    margin-bottom: 40px;
    box-shadow: 0 0 50px rgba(191, 90, 242, 0.2);
    /* Purple glow behind icon */
    will-change: transform;
}

/* Use the official badge, styled cleanly */
.app-store-badge {
    display: inline-block;
    margin-top: 40px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-badge:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.app-store-badge img {
    height: 60px;
    /* Standard visible height */
    width: auto;
}

/* ZERO ADS Pill */
.pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(191, 90, 242, 0.1);
    /* Tinted slightly purple */
    border: 1px solid rgba(191, 90, 242, 0.3);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

/* Bento Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    transition: transform 0.4s var(--ease-apple);
}

.card:hover {
    transform: scale(1.01);
    border-color: rgba(191, 90, 242, 0.3);
    /* Purple tint on hover */
}

.card p {
    font-size: 17px;
    margin: 0;
    max-width: 100%;
}

.card-icon {
    margin-bottom: 20px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(191, 90, 242, 0.3));
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

/* Quote Section */
.quote-section {
    text-align: center;
    padding: 60px 0;
    margin-bottom: 40px;
}

.quote-section blockquote {
    font-size: 28px;
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.quote-section blockquote span {
    color: var(--accent);
}


/* Footer */
footer {
    text-align: center;
    padding: 40px 0 80px;
    border-top: 1px solid var(--glass-border);
    font-size: 13px;
    color: var(--text-secondary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 12px;
}

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

/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s var(--ease-apple) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    p {
        font-size: 19px;
    }

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

    .quote-section blockquote {
        font-size: 22px;
    }
}