:root {
    --bg-color: #050505;
    --text-color: #f5f5f7;
    --subtext-color: #86868b;
    --accent-color: #d2c4b5;
    /* Beige from screenshot */
    --accent-blue: #64d2ff;
    /* Blue from screenshot */
    --container-width: 800px;
    --spacing-unit: 1.5rem;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: #000;
    padding: 8px 16px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}

.skip-link:focus {
    transform: translateY(0);
}

.download-section {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.app-store-badge {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border-radius: 13px;
    /* Approximate App Store badge radius */
}

.app-store-badge:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    /* iOS shape approximation */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.subtitle {
    color: var(--subtext-color);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.content {
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
}

.content p {
    margin-bottom: 1rem;
}

.content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
    color: #cccccc;
}

footer {
    text-align: center;
    padding: 2rem;
    color: var(--subtext-color);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

footer a {
    color: var(--subtext-color);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s;
}

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

/* Falling balls canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Utilities */
.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #000;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(210, 196, 181, 0.3);
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }
}

/* FAQ Styles */
.faq-section {
    text-align: left;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-section h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    border-radius: 12px;
}

.faq-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 1rem;
    padding-right: 1rem;
    border-color: transparent;
}

details {
    padding: 1.25rem 0;
}

summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding-right: 2rem;
    color: var(--text-color);
    transition: color 0.2s;
}

summary::-webkit-details-marker {
    display: none;
}

summary:hover {
    color: var(--accent-color);
}

summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--subtext-color);
    transition: transform 0.3s ease, color 0.2s;
}

details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--accent-color);
}

details p,
details ul {
    color: var(--subtext-color);
    margin-top: 1rem;
    line-height: 1.6;
    font-size: 1rem;
    animation: fadeIn 0.3s ease;
}

details ul {
    padding-left: 1.25rem;
}

details li {
    margin-bottom: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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