:root {
    /* Nordic Mist Palette */
    --bg-color: #F5F5F7;
    /* Mist White */
    --surface-color: #FFFFFF;
    /* Pure White */
    --text-color: #4A4A4A;
    /* Soft Charcoal */
    --subtext-color: #8E8E93;
    /* Stone Gray */
    --accent-color: #8EB8C7;
    /* Soft Teal */
    --status-quiet: #A8D5BA;
    /* Sage Green */
    --status-noisy: #E8C4A0;
    /* Warm Sand */

    --container-width: 800px;
    --border-radius: 12px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    margin-top: 0;
    color: var(--text-color);
}

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

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--status-quiet);
}

/* Layout */
.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;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

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

/* Content Cards */
.content {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Showcase Image */
.showcase-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 2rem auto;
    filter: drop-shadow(var(--shadow-soft));
}

/* Download Section */
.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;
}

.app-store-badge:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

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

.faq-section h3 {
    margin-top: 2.5rem;
}

.faq-section h2+h3 {
    margin-top: 0;
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
    padding-left: 1rem;
    padding-right: 1rem;
}

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;
    font-size: 1rem;
    animation: fadeIn 0.3s ease;
}

/* Visualizer Motif */
.visualizer-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, var(--status-quiet) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: breathe 8s infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

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

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--subtext-color);
    font-size: 0.9rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    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);
}

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

    h1 {
        font-size: 2rem;
    }

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