:root {
    --bg-gradient-start: rgba(68,30,111,1.00);
    --bg-gradient-end: rgba(91,57,178,1.00);
    --text-color: #ffffff;
    --text-muted: rgba(255,255,255,0.55);
    --card-bg: rgba(255,255,255,0.06);
    --card-bg-hover: rgba(255,255,255,0.10);
    --card-border: rgba(255,255,255,0.07);
    --accent: #c9a0ff;

    --page-width: 1100px;
    --radius: 18px;
    --radius-sm: 14px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 50%, var(--bg-gradient-start) 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- Nav ---- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.nav-brand {
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.nav-brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 24px;
    font-size: 0.9rem;
    opacity: 0.65;
    transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 1; }

/* ---- Hero ---- */
.hero {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 64px 0 72px;
}

.hero-text { text-align: left; }

.hero-text h1 {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 20px;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-text p {
    font-size: 17px;
    line-height: 1.65;
    opacity: 0.7;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-icon-wrap { flex-shrink: 0; }

.hero-icon {
    width: 200px;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}

.app-badge {
    display: inline-block;
    transition: transform 0.2s ease;
}
.app-badge:hover { transform: scale(1.04); }
.app-badge img { display: block; height: 48px; }

/* ---- Bento Grid ---- */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
    padding-bottom: 80px;
}

.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: left;
    transition: background 0.2s ease;
}

.bento-card:hover {
    background: var(--card-bg-hover);
}

.bento-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.bento-card h2 {
    font-size: 20px;
    font-weight: 650;
    line-height: 1.25;
    margin-bottom: 10px;
}

.bento-card p {
    font-size: 14.5px;
    line-height: 1.6;
    opacity: 0.65;
}

/* --- Card placement --- */

/* Discover: big hero card — 2 cols wide, 2 rows tall */
.bento-discover {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-discover h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.bento-discover p {
    font-size: 15.5px;
    max-width: 420px;
}

.bento-discover p + p {
    margin-top: 12px;
}

/* Track: top right, full width of remaining 2 cols */
.bento-track {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
}

/* Stats & Playback: side by side under Track */
.bento-stats {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.bento-playback {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

/* Streaming: wide card, 2 cols */
.bento-streaming {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

/* Badges: 2 cols on right */
.bento-badges {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
}

/* Small cards — bottom row, 1 col each */
.bento-sm {
    border-radius: var(--radius-sm);
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bento-sm strong {
    font-size: 14px;
    font-weight: 600;
}

.bento-sm span {
    font-size: 13px;
    opacity: 0.55;
    line-height: 1.45;
}

.bento-sixdeg   { grid-column: 1 / 2; grid-row: 4 / 5; }
.bento-search   { grid-column: 2 / 3; grid-row: 4 / 5; }
.bento-warnings { grid-column: 3 / 4; grid-row: 4 / 5; }
.bento-sync     { grid-column: 4 / 5; grid-row: 4 / 5; }

/* ---- Content Pages (Privacy, Terms, Contact) ---- */
.content {
    max-width: 720px;
    text-align: left;
    padding: 40px 0 80px;
}

.content h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 36px;
}

.content h2 {
    font-size: 20px;
    font-weight: 650;
    margin-top: 32px;
    margin-bottom: 12px;
}

.content p {
    font-size: 15.5px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 14px;
}

.content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
}

.content ul li {
    font-size: 15.5px;
    line-height: 1.7;
    opacity: 0.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.content a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.15s;
}

.content a:hover {
    text-decoration: underline;
}

.contact-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* ---- Footer ---- */
footer {
    text-align: center;
    padding: 36px 20px;
    background: rgba(0,0,0,0.2);
    font-size: 0.85rem;
}

footer a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.5;
    transition: opacity 0.15s;
}

footer a:hover { opacity: 1; }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    .bento-discover   { grid-column: 1 / 3; grid-row: auto; }
    .bento-track      { grid-column: 1 / 3; grid-row: auto; }
    .bento-stats      { grid-column: 1 / 2; grid-row: auto; }
    .bento-playback   { grid-column: 2 / 3; grid-row: auto; }
    .bento-streaming  { grid-column: 1 / 2; grid-row: auto; }
    .bento-badges     { grid-column: 2 / 3; grid-row: auto; }
    .bento-sixdeg     { grid-column: 1 / 2; grid-row: auto; }
    .bento-search     { grid-column: 2 / 3; grid-row: auto; }
    .bento-warnings   { grid-column: 1 / 2; grid-row: auto; }
    .bento-sync       { grid-column: 2 / 3; grid-row: auto; }

    .bento-discover {
        padding: 30px;
    }

    .bento-discover h2 {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    .page { padding: 0 16px; }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
        padding: 40px 0 48px;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-text h1 { font-size: 34px; }
    .hero-text p { max-width: none; }

    .hero-icon-wrap { order: 1; text-align: center; }
    .hero-icon { width: 130px; border-radius: 28px; }

    .bento {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bento-discover,
    .bento-track,
    .bento-stats,
    .bento-playback,
    .bento-streaming,
    .bento-badges,
    .bento-sixdeg,
    .bento-search,
    .bento-warnings,
    .bento-sync {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .bento-discover h2 { font-size: 22px; }

    .nav-links { display: none; }
}