/* Minimalist Cosmic Style & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #040407;
    background-image: 
        radial-gradient(1.5px 1.5px at 40px 60px, #ffffff, transparent),
        radial-gradient(2px 2px at 210px 140px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 90px 320px, #ffffff, transparent),
        radial-gradient(3px 3px at 420px 220px, rgba(168, 85, 247, 0.5), transparent),
        radial-gradient(circle at 15% 25%, rgba(107, 33, 168, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(147, 51, 234, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(88, 28, 135, 0.25) 0%, transparent 60%);
    background-size: 300px 300px, 360px 360px, 280px 280px, 450px 450px, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    animation: nebulaPulse 16s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px, 0% 0%, 0% 0%, 0% 0%;
        background-color: #040407;
    }
    100% {
        background-position: 15px 25px, -20px 15px, 8px -30px, 30px -15px, 6% 3%, -4% 5%, 2% -3%;
        background-color: #080511;
    }
}

.container {
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Hard-centered landing header + DAW background container configuration */
.hero {
    position: relative;
    background: #040407;
    border-bottom: 5px solid #1a1a2e;
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.8);
    padding: 9rem 1rem 7rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Brings typography clean contrast layer above background graphic grids */
.hero-content {
    position: relative;
    z-index: 5;
    pointer-events: none;
}

.cosmic-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 450px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.8);
    z-index: 2;
}

/* -------------------------------------------------------------
   DAW MIDI GRID LAYER HOOKS
---------------------------------------------------------------- */
.midi-grid-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    /* Background grid lines completely removed */
    background: transparent; 
}

/* Pristine Uniform Sine Waves */
.daw-vocal-wave {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 60%;
    z-index: 1; /* Sits completely behind midi-chord-stacks */
    opacity: 0.0; /* Don't want it on right now */
}

/* Gives the vector stroke lines an authentic glowing electronic instrument feel */
.bright-wave {
    filter: drop-shadow(0 0 6px currentColor);
}

.midi-chord-stack {
    position: relative;
    z-index: 2; /* Forces MIDI blocks to sit explicitly on top of the wave paths */
    display: grid;
    grid-template-columns: repeat(6, 25px);
    grid-template-rows: repeat(12, 14px);
    gap: 2px;
    align-content: center;
    height: 100%;
    opacity: 0.25; /* Kept subtle to blend nicely with the grid system */
    transition: opacity 0.3s ease;
}

/* Wide desktop structural alignment nodes restored */
.left-chords { margin-left: 2rem; }
.right-chords { margin-right: 2rem; }

/* Individual block components mapping out chord architectures */
.midi-note {
    grid-row-start: var(--row);
    grid-column: var(--start) / span var(--span);
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Color codes mimicking standard DAW note velocity scales matching your plugin colors */
.note-blue   { background-color: rgba(0, 163, 255, 0.75); border: 1px solid #00A3FF; }
.note-orange { background-color: rgba(255, 102, 0, 0.7); border: 1px solid #FF6600; }
.note-cyan   { background-color: rgba(0, 255, 204, 0.65); border: 1px solid #00FFCC; }
.note-purple { background-color: rgba(168, 85, 247, 0.75); border: 1px solid #a855f7; }

/* Responsive break settings to optimize mobile scaling without clipping margins */
@media (max-width: 820px) {
    .midi-chord-stack {
        display: none;
    }
    .daw-vocal-wave {
        opacity: 0.3; /* Lowers brightness slightly on mobile text spaces */
    }
}

/* -------------------------------------------------------------
   TYPOGRAPHY & CATALOG STYLING
---------------------------------------------------------------- */

/* Brand tag updates */
.brand-tag {
    display: block;
    color: #c084fc;
    font-weight: 700;
    letter-spacing: 0.3em;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    margin-bottom: 0.5rem;
    width: 100%;
}

/* IMMANENT AUDIO Main Header setup */
.hero h1 {
    font-size: 3.25rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 1.25rem auto;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
    z-index: 1;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
    text-stroke: 1px rgba(255, 255, 255, 0.6);
}

.hero h1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%; 
    height: 85%;
    background: linear-gradient(90deg, rgba(0, 163, 255, 0.4), rgba(168, 85, 247, 0.5), rgba(255, 102, 0, 0.4));
    filter: blur(28px);
    border-radius: 50px;
    z-index: -1;
    pointer-events: none;
    animation: titleGlowShift 8s ease-in-out infinite alternate;
}

@keyframes titleGlowShift {
    0% { filter: blur(24px); opacity: 0.85; transform: translate(-50%, -50%) scale(0.96); }
    100% { filter: blur(32px); opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

.hero-tagline {
    display: block;
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
}

/* Minimalist Plugin Catalog Layout */
.catalog {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 4rem;
}

.plugin-card {
    position: relative;
    background-color: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2.5rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.plugin-card::before {
    content: '';
    position: absolute;
    top: 6%; left: 6%; right: 6%; bottom: 6%;
    border-radius: 16px;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    opacity: 0.3;
}

/* Card Coloring Targets */
.plugin-card:nth-of-type(1) { border-color: rgba(0, 163, 255, 0.15); }
.plugin-card:nth-of-type(1)::before { background: radial-gradient(circle, rgba(0, 163, 255, 0.22) 0%, transparent 70%); }
.plugin-card:nth-of-type(1):hover { border-color: rgba(0, 163, 255, 0.65); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 163, 255, 0.15); }
.plugin-card:nth-of-type(1):hover::before { opacity: 1; transform: scale(1.08); background: radial-gradient(circle, rgba(0, 163, 255, 0.35) 0%, transparent 65%); }

.plugin-card:nth-of-type(2) { border-color: rgba(255, 102, 0, 0.12); }
.plugin-card:nth-of-type(2)::before { background: radial-gradient(circle, rgba(255, 102, 0, 0.18) 0%, transparent 70%); }
.plugin-card:nth-of-type(2):hover { border-color: rgba(255, 102, 0, 0.6); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 102, 0, 0.12); }
.plugin-card:nth-of-type(2):hover::before { opacity: 1; transform: scale(1.08); background: radial-gradient(circle, rgba(255, 102, 0, 0.32) 0%, transparent 65%); }

.plugin-card:nth-of-type(3) { border-color: rgba(0, 255, 204, 0.12); }
.plugin-card:nth-of-type(3)::before { background: radial-gradient(circle, rgba(0, 255, 204, 0.18) 0%, transparent 70%); }
.plugin-card:nth-of-type(3):hover { border-color: rgba(0, 255, 204, 0.6); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 45px rgba(0, 255, 204, 0.12); }
.plugin-card:nth-of-type(3):hover::before { opacity: 1; transform: scale(1.08); background: radial-gradient(circle, rgba(0, 255, 204, 0.32) 0%, transparent 65%); }

.plugin-card:hover { transform: translateY(-4px); }
.plugin-card.highlighted { background: rgba(10, 10, 15, 0.85); }

@media (min-width: 768px) {
    .plugin-card { grid-template-columns: 320px 1fr; align-items: center; }
}

/* Image wrappers */
.plugin-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(5, 5, 8, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    padding: 1rem;
}

.plugin-card:nth-of-type(1) .plugin-image-wrapper { border-color: rgba(0, 163, 255, 0.15); }
.plugin-card:nth-of-type(2) .plugin-image-wrapper { border-color: rgba(255, 102, 0, 0.1); }
.plugin-card:nth-of-type(3) .plugin-image-wrapper { border-color: rgba(0, 255, 204, 0.1); }

.plugin-screenshot {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.plugin-card:hover .plugin-screenshot { transform: scale(1.04); }

/* Typography & Tags */
.status-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.status-tag.premium { background-color: rgba(0, 163, 255, 0.15); color: #99daff; border: 1px solid rgba(0, 163, 255, 0.25); }
.status-tag.free { background-color: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.2); }
.status-tag.upcoming { background-color: rgba(255, 102, 0, 0.1); color: #ffaa73; border: 1px solid rgba(255, 102, 0, 0.2); }

.plugin-info h2 { color: #ffffff; font-size: 1.85rem; font-weight: 800; margin-bottom: 0.1rem; letter-spacing: 0.02em; }
.price { font-size: 1.2rem; color: #c084fc; font-weight: 600; margin-bottom: 1.25rem; }
.description { color: #94a3b8; font-size: 0.95rem; margin-bottom: 2rem; }

/* Buttons */
.card-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.9rem; border-radius: 6px; transition: all 0.2s ease; cursor: pointer; }
.btn-primary { background-color: #a855f7; color: #ffffff; box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25); }
.btn-primary:hover { background-color: #9333ea; box-shadow: 0 6px 16px rgba(168, 85, 247, 0.4); }
.btn-secondary { background-color: rgba(30, 30, 47, 0.5); color: #e2e8f0; border: 1px solid #2e2e4f; }
.btn-secondary:hover { background-color: #2e2e4f; color: #ffffff; }
.btn-disabled { background-color: #11111a; color: #475569; cursor: not-allowed; border: 1px solid #161624; padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 600; border-radius: 6px; }

/* Footer */
footer {
    text-align: center;
    padding: 5rem 0;
    color: #475569;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

footer p {
    margin-bottom: 0.4rem;
}
