:root {
    --bg-color: #000;
    --card-bg: #121212;
    --accent-pink: #c847d5;
    --text-main: #f5f5f0;
    --text-dim: #b0b0a0;
    --radius: 28px;
}

/* Brand wordmark — logo-matched blue → purple → pink → orange */
.shuffleit-wordmark {
    background: linear-gradient(
        90deg,
        #49a9ff 0%,
        #4f66f0 14%,
        #7a38e5 28%,
        #c234d4 42%,
        #ff3f8f 56%,
        #ff5f4d 70%,
        #ff8f2f 86%,
        #ffd23f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 20px 12px 20px;
    position: relative;
    z-index: 1;
}

.top-visualizer,
.bottom-visualizer {
    position: fixed;
    left: 0;
    width: 100vw;
    height: 30vh;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    z-index: -1;
}

.top-visualizer {
    top: 0;
    align-items: flex-start;
}

.bottom-visualizer {
    bottom: 0;
    align-items: flex-end;
}

.top-visualizer span,
.bottom-visualizer span {
    width: 2vw;
    height: 25vh;
    background: linear-gradient(
        to bottom,
        #49a9ff 0%,
        #4f66f0 14%,
        #7a38e5 28%,
        #c234d4 42%,
        #ff3f8f 56%,
        #ff5f4d 70%,
        #ff8f2f 86%,
        #ffd23f 100%
    );
    border-radius: 0 0 20px 20px;
    opacity: 0.1;
    transform-origin: top center;
    will-change: transform;
    animation-name: flowDown;
    animation-duration: var(--speed, 4s);
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-delay: var(--delay, 0s);
}

.bottom-visualizer span {
    border-radius: 20px 20px 0 0;
    transform-origin: bottom center;
}

.top-visualizer span:nth-child(1),
.top-visualizer span:nth-child(30),
.bottom-visualizer span:nth-child(1),
.bottom-visualizer span:nth-child(30) { --energy: 0.18; --speed: 5.6s; --delay: -0.6s; }
.top-visualizer span:nth-child(2),
.top-visualizer span:nth-child(29),
.bottom-visualizer span:nth-child(2),
.bottom-visualizer span:nth-child(29) { --energy: 0.23; --speed: 5.4s; --delay: -1.1s; }
.top-visualizer span:nth-child(3),
.top-visualizer span:nth-child(28),
.bottom-visualizer span:nth-child(3),
.bottom-visualizer span:nth-child(28) { --energy: 0.28; --speed: 5.2s; --delay: -0.8s; }
.top-visualizer span:nth-child(4),
.top-visualizer span:nth-child(27),
.bottom-visualizer span:nth-child(4),
.bottom-visualizer span:nth-child(27) { --energy: 0.33; --speed: 5s; --delay: -1.6s; }
.top-visualizer span:nth-child(5),
.top-visualizer span:nth-child(26),
.bottom-visualizer span:nth-child(5),
.bottom-visualizer span:nth-child(26) { --energy: 0.38; --speed: 4.8s; --delay: -1s; }
.top-visualizer span:nth-child(6),
.top-visualizer span:nth-child(25),
.bottom-visualizer span:nth-child(6),
.bottom-visualizer span:nth-child(25) { --energy: 0.44; --speed: 4.6s; --delay: -1.7s; }
.top-visualizer span:nth-child(7),
.top-visualizer span:nth-child(24),
.bottom-visualizer span:nth-child(7),
.bottom-visualizer span:nth-child(24) { --energy: 0.5; --speed: 4.4s; --delay: -1.2s; }
.top-visualizer span:nth-child(8),
.top-visualizer span:nth-child(23),
.bottom-visualizer span:nth-child(8),
.bottom-visualizer span:nth-child(23) { --energy: 0.58; --speed: 4.1s; --delay: -1.9s; }
.top-visualizer span:nth-child(9),
.top-visualizer span:nth-child(22),
.bottom-visualizer span:nth-child(9),
.bottom-visualizer span:nth-child(22) { --energy: 0.66; --speed: 3.8s; --delay: -1.4s; }
.top-visualizer span:nth-child(10),
.top-visualizer span:nth-child(21),
.bottom-visualizer span:nth-child(10),
.bottom-visualizer span:nth-child(21) { --energy: 0.74; --speed: 3.5s; --delay: -2.1s; }
.top-visualizer span:nth-child(11),
.top-visualizer span:nth-child(20),
.bottom-visualizer span:nth-child(11),
.bottom-visualizer span:nth-child(20) { --energy: 0.82; --speed: 3.2s; --delay: -1.5s; }
.top-visualizer span:nth-child(12),
.top-visualizer span:nth-child(19),
.bottom-visualizer span:nth-child(12),
.bottom-visualizer span:nth-child(19) { --energy: 0.9; --speed: 2.9s; --delay: -2.2s; }
.top-visualizer span:nth-child(13),
.top-visualizer span:nth-child(18),
.bottom-visualizer span:nth-child(13),
.bottom-visualizer span:nth-child(18) { --energy: 0.96; --speed: 2.7s; --delay: -1.8s; }
.top-visualizer span:nth-child(14),
.top-visualizer span:nth-child(17),
.bottom-visualizer span:nth-child(14),
.bottom-visualizer span:nth-child(17) { --energy: 0.99; --speed: 2.5s; --delay: -2.4s; }
.top-visualizer span:nth-child(15),
.top-visualizer span:nth-child(16),
.bottom-visualizer span:nth-child(15),
.bottom-visualizer span:nth-child(16) { --energy: 1; --speed: 2.4s; --delay: -2s; }

@keyframes flowDown {
    0%, 100% {
        transform: scaleY(calc(0.2 + (var(--energy, 0.3) * 0.15)));
    }
    50% {
        transform: scaleY(calc(0.2 + (var(--energy, 0.3) * 0.8)));
    }
}

@media (max-width: 480px) {
    .top-visualizer,
    .bottom-visualizer {
        justify-content: space-between;
        padding: 0 4vw;
        box-sizing: border-box;
    }

    .top-visualizer span,
    .bottom-visualizer span {
        width: 3.2vw;
    }

    .top-visualizer span:nth-child(even),
    .bottom-visualizer span:nth-child(even) {
        display: none;
    }

    /* Keep CTA readable without crowding narrow screens */
    .btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 20px;
        font-size: 1rem;
        box-sizing: border-box;
        text-align: center;
    }
}

header,
section {
    background: rgba(18, 18, 18, 0.46);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.hero { text-align: center; padding: 30px 20px; }
.logo { width: 160px; margin-bottom: 6px; filter: drop-shadow(0 10px 28px rgba(255, 64, 129, 0.18)); }

.about-with-image-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-with-image-text {
    text-align: left;
    max-width: 620px;
    margin: 0;
    align-self: start;
}

.about-with-image-text p:first-child {
    margin-top: 0;
}

.about-with-image-text p {
    line-height: 1.8;
}

.about-impact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.about-impact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.about-impact-list .icon {
    width: 18px;
    height: 18px;
    color: var(--accent-pink);
    flex: 0 0 auto;
}

.about-with-image-visual {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: flex-start;
}

.about-with-image-shot {
    width: calc(50% - 6px);
    max-width: 220px;
    height: auto;
    object-fit: contain;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.35);
}

h1 { font-size: 3.8rem; margin: 0; font-weight: 800; letter-spacing: -2px; }
h2 { color: var(--accent-pink); font-size: 2rem; margin-top: 0; margin-bottom: 25px; font-weight: 800; }
h3 { font-size: 1.4rem; margin-bottom: 12px; color: var(--text-main); font-weight: 700; }

.btn {
    display: inline-block;
    background: var(--accent-pink);
    color: white;
    padding: 20px 45px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 25px;
    box-shadow: 0 5px 20px rgba(255, 64, 129, 0.3);
    transition: 0.3s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(200, 71, 213, 0.55); }

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

/* Consistent interaction styling for clickable images sitewide */
.is-clickable-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.is-clickable-image:hover,
.is-clickable-image.screenshot:hover {
    box-shadow: 0 0 25px rgba(200, 71, 213, 0.4);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-pink);
}

.screenshot-container { text-align: center; }
.screenshot-container p { font-size: 0.9rem; color: var(--text-dim); margin-top: 15px; font-weight: 600; }

.accent-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 35px;
}
.accent-row .screenshot-container { max-width: 320px; }
.screenshot {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.screenshot:hover {
    border-color: var(--accent-pink);
    box-shadow: 0 0 25px rgba(200, 71, 213, 0.4);
    transform: translateY(-5px) scale(1.02);
}

.logo {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 18px rgba(200, 71, 213, 0.45));
    transform: translateY(-5px) scale(1.02);
}

/* Keep logo hover identical across pages, even when JS adds click class. */
.is-clickable-image.logo:hover {
    box-shadow: none;
    border-color: transparent;
    filter: drop-shadow(0 0 18px rgba(200, 71, 213, 0.45));
}

/* Lightbox */
.lightbox {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    pointer-events: none;
    transform: scale(0.98);
    transition: transform 180ms ease;
}

.lightbox.is-open img {
    transform: scale(1);
}

.lightbox .lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: var(--text-main);
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.2s;
}

.lightbox .lightbox-close:hover { background: rgba(255,255,255,0.25); }

@media (prefers-reduced-motion: reduce) {
    .screenshot, .logo, .lightbox, .lightbox img, .is-clickable-image {
        transition: none !important;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.how-grid .feature-card h3 {
    color: var(--accent-pink);
}

.library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 650px) {
    .how-grid,
    .library-grid,
    .studio-tools-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 35px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.library-grid .library-card {
    position: relative;
    overflow: hidden;
}

.library-grid .library-card:hover {
    border-width: 1px;
    border-style: solid;
    transform: translateY(-2px);
}

.library-grid .library-card--shuffle-intelligence:hover {
    border-color: #49a9ff;
}

.library-grid .library-card--throwback:hover {
    border-color: #7a38e5;
}

.library-grid .library-card--banish:hover {
    border-color: #ff3f8f;
}

.library-grid .library-card--personalization:hover {
    border-color: #ff8f2f;
}

.library-grid .feature-watermark {
    position: absolute;
    right: 18px;
    bottom: 12px;
    width: 80px;
    height: 80px;
    color: var(--accent-pink);
    opacity: 0.03;
    pointer-events: none;
}

.cycle-box {
    background: rgba(0,0,0,0.5);
    padding: 35px;
    border-radius: 24px;
    border-left: 5px solid var(--accent-pink);
    margin: 30px 0;
}

.feature-panel.cycle-with-screenshot {
    margin-top: 30px;
}

.feature-panel.cycle-with-screenshot .cycle-box {
    margin: 0;
    padding: 16px 22px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    justify-content: flex-start;
}

.feature-panel.cycle-with-screenshot .cycle-box h3 {
    color: var(--accent-pink);
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.25;
}

.feature-panel.cycle-with-screenshot .cycle-box .cycle-stat {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.feature-panel.cycle-with-screenshot .cycle-box .cycle-caption {
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 0;
}

.feature-panel.cycle-with-screenshot .progress-container {
    margin: 8px 0;
    height: 8px;
}

.progress-container {
    width: 100%;
    background: #1a1a1a;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-bar {
    width: 24.4%;
    background: var(--accent-pink);
    height: 100%;
    box-shadow: 0 0 15px rgba(255, 64, 129, 0.7);
}

.comparison-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
}

.compare-card {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.2s ease;
}

.compare-card.typical {
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.015);
    border-color: rgba(255, 255, 255, 0.05);
}

.compare-card.typical h3 {
    color: var(--text-dim);
    opacity: 0.6;
}

.compare-card.typical .fail {
    color: var(--accent-pink);
    opacity: 0.4;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--accent-pink);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.compare-card.typical .fail-icon {
    width: 15px;
    height: 15px;
    color: var(--accent-pink);
    opacity: 0.4;
    flex: 0 0 auto;
}

.compare-card.featured {
    position: relative;
    color: #fff;
    border: 2px solid transparent;
    border-radius: var(--radius);
    box-shadow: 0 0 20px rgba(181, 73, 255, 0.1);
    overflow: hidden;
}

.compare-card.featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        90deg,
        #49a9ff 0%,
        #4f66f0 14%,
        #7a38e5 28%,
        #c234d4 42%,
        #ff3f8f 56%,
        #ff5f4d 70%,
        #ff8f2f 86%,
        #ffd23f 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.compare-list {
    line-height: 2.2;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Inter', sans-serif;
}

.compare-note {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.compare-card.featured .pass {
    color: #fff;
    font-weight: 800;
}

.comparison-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.comparison-table th, .comparison-table td { padding: 15px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); }
.comparison-table th { color: var(--accent-pink); }

@media (max-width: 600px) {
    /* Allow safe horizontal scroll instead of forcing cramped columns */
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table th,
    .comparison-table td {
        white-space: nowrap;
    }
}

.footer { text-align: center; padding: 28px 20px 40px; font-size: 0.9rem; color: var(--text-dim); }
.footer a { color: var(--accent-pink); text-decoration: none; font-weight: 700; }
.footer a:hover { text-decoration: underline; }
.support-link { color: var(--accent-pink); text-decoration: none; font-weight: 700; }

.footer-info-section {
    margin-top: 8px;
    margin-bottom: 0;
    padding-bottom: 8px;
}

.footer-info-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    align-items: flex-start;
    gap: 34px;
}

.footer-faq-column {
    min-width: 0;
    box-sizing: border-box;
    padding-right: 30px;
    padding-bottom: 16px;
}

.footer-support-column {
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
    padding-right: 30px;
    border-left: 1px solid rgba(200, 71, 213, 0.28);
}

.footer-faq-column h2,
.footer-support-column h2 {
    margin-top: 0;
    background: linear-gradient(
        90deg,
        #49a9ff 0%,
        #4f66f0 14%,
        #7a38e5 28%,
        #c234d4 42%,
        #ff3f8f 56%,
        #ff5f4d 70%,
        #ff8f2f 86%,
        #ffd23f 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item h3 {
    margin: 0 0 5px;
    font-size: 1.16rem;
    line-height: 1.3;
}

.faq-item p {
    margin: 0;
    line-height: 1.45;
    color: var(--text-dim);
}

.faq-item p .shuffleit-wordmark {
    background: none;
    color: #f2f2f2;
    -webkit-text-fill-color: #f2f2f2;
}

.footer-support-column h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.06rem;
    color: var(--text-main);
}

.footer-support-column p {
    margin: 0 0 10px;
    color: var(--text-dim);
}

.support-audio-formats {
    margin-top: 24px;
}

.support-audio-formats strong {
    color: var(--text-main);
}

@media (max-width: 800px) {
    .footer-info-layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .footer-faq-column,
    .footer-support-column {
        flex: 1 1 100%;
    }

    .footer-faq-column {
        padding-right: 0;
    }

    .footer-support-column {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
        border-top: 1px solid rgba(200, 71, 213, 0.28);
        padding-top: 20px;
    }
}

/* Responsive image gallery slider */
.gallery-slider { margin: 0 0 20px; }
.gallery-slider-inner {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.gallery-slider-inner::-webkit-scrollbar { height: 8px; }
.gallery-slider-inner::-webkit-scrollbar-track { background: transparent; }
.gallery-slider-inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.gallery-slider-item {
    flex: 0 0 auto;
    width: 85%;
    max-width: 320px;
    scroll-snap-align: start;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}
.gallery-slider-item img { width: 100%; height: auto; display: block; }
.gallery-slider-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.gallery-slider-nav button {
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255,255,255,0.15); color: var(--text-main);
    font-size: 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
}
.gallery-slider-nav button:hover { background: rgba(255,255,255,0.25); }

@media (min-width: 600px) {
    .gallery-slider-item { width: calc(50% - 10px); max-width: 340px; }
}
@media (min-width: 900px) {
    .gallery-slider-item { width: calc(33.333% - 12px); max-width: 320px; }
}
@media (max-width: 600px) { h1 { font-size: 2.8rem; } section { padding: 30px 20px; } }
@media (max-width: 600px) {
    h2 { font-size: 1.65rem; margin-bottom: 18px; }
    h3 { font-size: 1.2rem; margin-bottom: 10px; }
}

/* FEATURE PANELS */
.feature-panel {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    margin-top: 60px;
}

.feature-panel.feature-panel--text-height-img > .feature-panel-img-fit img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-panel.reverse { direction: rtl; }
.feature-panel.reverse * { direction: ltr; }

.feature-panel > div {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 520px;
}

.feature-panel.reverse > div {
    max-width: 480px;
}

.feature-panel img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    justify-self: center;
}

.feature-panel.feature-panel--text-height-img { align-items: stretch; }
.feature-panel.feature-panel--text-height-img > .feature-panel-img-fit {
    position: relative;
    min-height: 0;
    justify-self: center;
    align-self: stretch;
    width: 100%;
    max-width: 420px;
}
.feature-panel.feature-panel--text-height-img > .feature-panel-img-fit img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-panel .screenshot-pair {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    justify-self: center;
    align-items: flex-start;
}

.feature-panel .screenshot-pair img {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
}

.feature-panel.feature-panel--text-height-pair { align-items: stretch; }
.feature-panel.feature-panel--text-height-pair > .screenshot-pair {
    align-self: stretch;
    height: 100%;
    align-items: stretch;
}
.feature-panel.feature-panel--text-height-pair > .screenshot-pair img {
    height: 100%;
    object-fit: cover;
}

/* Advanced Audio Tools: full-width card stack */
.advanced-tools-split {
    display: block;
    margin-top: 22px;
}

.advanced-tools-list {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    height: 100%;
}

.advanced-tools-group {
    margin: 0;
}

.advanced-tools-group + .advanced-tools-group {
    margin-top: 24px;
}

.advanced-tools-card {
    background: none;
    border: 1px solid transparent;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 10px 40px rgba(111, 66, 193, 0.1);
}

.advanced-tools-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(
        90deg,
        #49a9ff 0%,
        #4f66f0 14%,
        #7a38e5 28%,
        #c234d4 42%,
        #ff3f8f 56%,
        #ff5f4d 70%,
        #ff8f2f 86%,
        #ffd23f 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.advanced-tools-badge {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 0.9rem;
    letter-spacing: 0.13em;
    color: var(--accent-pink);
    font-weight: 700;
    border-bottom: 2px solid var(--accent-pink);
    padding-bottom: 6px;
}

.advanced-tools-group + .advanced-tools-group .advanced-tools-badge {
    padding-top: 0;
}

.advanced-tools-card .feature-block {
    margin-bottom: 16px;
}

.advanced-tools-card .feature-block:last-child { margin-bottom: 0; }

.advanced-tools-card .feature-block p {
    margin-left: 0;
    line-height: 1.6;
    font-size: 0.96rem;
}

.advanced-tools-card .feature-title h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.2;
    color: #ffffff;
}

.advanced-tools-card .feature-title .icon {
    color: var(--accent-pink);
    width: 22px;
    height: 22px;
}

.advanced-tools-card--audio {
    width: 100%;
}

.advanced-tools-audio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.advanced-tools-library-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.advanced-tools-audio-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advanced-tools-library-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advanced-tools-audio-item img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(200, 130, 255, 0.12);
    object-fit: contain;
    margin: 0 auto 10px;
}

.advanced-tools-library-item img {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(200, 130, 255, 0.12);
    object-fit: contain;
    margin: 0 auto 10px;
}

.advanced-tools-audio-item .feature-block {
    margin-bottom: 0;
    width: 100%;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.advanced-tools-library-item .feature-block {
    margin-bottom: 0;
    width: 100%;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.advanced-tools-audio-item .feature-block p {
    font-size: 0.92rem;
    max-width: 180px;
    margin: 0 auto;
    text-align: center;
}

.advanced-tools-library-item .feature-block p {
    font-size: 0.92rem;
    max-width: 180px;
    margin: 0 auto;
    text-align: center;
}

.advanced-tools-audio-item .feature-title,
.advanced-tools-library-item .feature-title {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.advanced-tools-audio-item .feature-title h3,
.advanced-tools-library-item .feature-title h3 {
    text-align: center;
}

@media (max-width: 800px) {
    .advanced-tools-list {
        gap: 12px;
        height: auto;
    }

    .advanced-tools-audio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advanced-tools-library-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advanced-tools-audio-item img {
        max-height: 260px;
    }

    .advanced-tools-library-item img {
        max-height: 260px;
    }
}

@media (max-width: 480px) {
    .feature-panel .screenshot-pair {
        flex-direction: column;
        max-width: 320px;
    }
}

@media (max-width: 800px) {
    .about-with-image-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .about-with-image-visual {
        justify-content: center;
    }

    .about-with-image-text {
        text-align: left;
    }

    .feature-panel { grid-template-columns: 1fr; }
    .feature-panel.feature-panel--text-height-pair > .screenshot-pair { height: auto; }
    .feature-panel.feature-panel--text-height-pair > .screenshot-pair img { height: auto; }
    .feature-panel.feature-panel--text-height-img > .feature-panel-img-fit {
        align-self: center;
        min-height: min(70vw, 520px);
    }
    .feature-panel.feature-panel--text-height-img > .feature-panel-img-fit img {
        position: static;
        transform: none;
        width: 100%;
        max-width: 420px;
        max-height: none;
        margin: 0 auto;
        display: block;
    }
}

.why-exists-layout {
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 28px;
    align-items: flex-start;
}

.why-exists-shot {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.why-exists-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    line-height: 1.8;
}

.why-exists-copy p { margin-top: 0; }
.why-exists-copy p:last-child { margin-bottom: 0; }

.why-exists-primary {
    margin-bottom: 14px;
}

.why-private-block {
    margin-top: 0;
    margin-bottom: 0;
}

.why-exists-card-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.why-info-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    margin: 0;
}

.why-info-card .feature-title {
    margin-bottom: 10px;
}

.why-info-card p {
    margin: 6px 0 0;
}

.app-info-block {
    margin-top: 0;
    margin-bottom: 0;
}

.app-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-left: 0;
    margin-top: 4px;
}

.app-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app-info-label {
    color: rgba(245, 245, 240, 0.62);
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.15;
}

.app-info-value {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.35;
}

@media (max-width: 800px) {
    .why-exists-layout { grid-template-columns: 1fr; }
    .why-exists-shot {
        max-width: 360px;
        margin: 0 auto;
    }
    .why-exists-copy {
        justify-content: flex-start;
        height: auto;
    }
    .why-exists-primary {
        margin-bottom: 40px;
    }
    .app-info-block {
        margin-top: 0;
    }
    .app-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .app-info-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }
    .app-info-block .feature-title {
        margin-bottom: 10px;
    }
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon { stroke-width: 2.5px; }
.feature-title .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-pink);
    flex-shrink: 0;
}

.feature-title h3 {
    margin: 0;
    line-height: 1.2;
}

.feature-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 22px;
}

.feature-block p {
    margin: 6px 0 0 30px;
    color: var(--text-dim);
}

.feature-panel > div > p:first-of-type,
.feature-panel > div > .feature-block:first-child p:first-of-type {
    margin-top: 0;
}

.how-steps-roadmap {
    position: relative;
    padding-left: 4px;
}

.how-steps-roadmap::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 18px;
    bottom: 42px;
    width: 2px;
    background: var(--accent-pink);
    opacity: 0.3;
}

.how-steps-roadmap .feature-block {
    margin-bottom: 28px;
}

.how-steps-roadmap .feature-title {
    align-items: center;
    gap: 14px;
}

.step-marker {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
}

.step-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--accent-pink);
    background: rgba(0, 0, 0, 0.55);
    color: #f6f4ff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.step-icon {
    position: absolute;
    right: -12px;
    top: -6px;
    width: 13px;
    height: 13px;
    color: var(--accent-pink);
    opacity: 0.95;
    stroke-width: 2.4px;
}

@media (max-width: 800px) {
    .comparison-container { flex-direction: column; }
    .comparison-container .compare-card {
        width: 100%;
        min-width: 0;
    }
}

/* Privacy page styles */
.policy-card{
    background:rgba(18,18,18,.75);
    padding:45px;
    border-radius:var(--radius);
    border:1px solid rgba(255,255,255,0.06);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
}

.policy-card h1{
    font-size:2.35rem;
    color:var(--accent-pink);
    margin-top:0;
    margin-bottom:10px;
    font-weight:800;
    letter-spacing:-0.5px;
}

.policy-card h2{
    font-size:1.6rem;
    margin-top:35px;
    margin-bottom:12px;
    font-weight:800;
    color:var(--text-main);
}

.policy-card p,
.policy-card li{
    color:var(--text-dim);
    font-size:0.98rem;
}

.back-link{
    display:inline-block;
    margin:30px 0;
}

.back-link:hover{color:var(--accent-pink);}

a{
    color:var(--accent-pink);
    text-decoration:none;
    font-weight:700;
    transition:opacity .3s ease;
}

a:hover{opacity:.8;}

@media (max-width:600px){
    .policy-card{padding:30px 20px;}
    .policy-card h1{font-size:1.95rem;}
}

.site-header{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:30px;
}

.site-logo{
    width:42px;
    height:42px;
    border-radius:10px;
}

.site-title{
    font-size:1.5rem;
    font-weight:800;
    letter-spacing:-0.5px;
}

.site-title a{
    color:var(--text-main);
    text-decoration:none;
}

.site-title a:hover{
    color:var(--accent-pink);
}

/* Inline-style replacements */
.hero-subtitle { font-size: 1.5rem; margin-top: 20px; }
.hero-tagline { color: var(--text-dim); font-size: 1.2rem; font-weight: 600; }
.feature-panel-top-aligned { align-items: center; }
.feature-panel-top-aligned > img {
    filter: drop-shadow(0 0 10px rgba(181, 73, 255, 0.15));
}
.feature-panel-top-aligned .feature-title {
    margin-bottom: 20px;
}
.feature-panel-top-aligned .feature-block p {
    line-height: 1.7;
}
.intro-paragraph { margin-top: 0; }
.gallery-section-intro { margin-bottom: 30px; }
.studio-tools-grid-offset { margin-top: 30px; }

.cycle-title { color: var(--accent-pink); margin-top: 0; }
.cycle-stat { font-size: 1.3rem; font-weight: 700; margin-bottom: 5px; }
.cycle-caption { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

.shuffle-compare-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}
.shuffle-compare-card {
    flex: 1;
    min-width: 260px;
    border-radius: 24px;
    padding: 30px;
}
.shuffle-compare-card.typical {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.shuffle-compare-card.featured {
    background: rgba(255,64,129,0.08);
    border: 1px solid rgba(255,64,129,0.35);
}
.compare-title-fail { color: var(--accent-pink); }
.compare-song-list { line-height: 2; font-weight: 600; margin-top: 15px; }
.compare-song-fail { color: var(--accent-pink); }
.compare-note-small { color: var(--text-dim); margin-top: 20px; font-size: 0.9rem; }

.cta-section {
    text-align: center;
    background: transparent;
    border: none;
    padding-top: 12px;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.cta-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #49a9ff 0%, #4f66f0 14%, #7a38e5 28%, #c234d4 42%, #ff3f8f 56%, #ff5f4d 70%, #ff8f2f 86%, #ffd23f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.cta-copy { color: var(--text-dim); margin-bottom: 24px; font-size: 1.1rem; }
.cta-formats { color: var(--text-main); letter-spacing: 1px; }
.cta-note { margin-top: 15px; margin-bottom: 0; color: var(--text-dim); font-size: 0.9rem; }
