/* --- Variables & Reset --- */
:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --accent: #00ffaa; /* A 'Neo-Mint' that pops against dark mode */
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --font-main: 'Inter', system-ui, sans-serif;
    --font-mono: 'Courier New', monospace; /* Used for numbers/small tech details */
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Navigation --- */
.pro-nav {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    align-items: center;
}

.logo { font-weight: 900; letter-spacing: 2px; font-size: 1.2rem; }
.version { color: var(--accent); font-size: 0.8rem; vertical-align: top; }

.back-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.back-link:hover { color: var(--accent); }

/* --- Optimized Hero (Tighter & Bolder) --- */
.hero {
    position: relative;
    /* Reduced padding from 12rem/10rem to 6rem */
    padding: 1rem 0; 
    background-color: #000;
    overflow: hidden;
    text-align: center;
    min-height: 85vh; /* Slightly shorter to reduce "black hole" feel */
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Layer 1: The Technical Grid */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 170, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 170, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
    z-index: 1;
    pointer-events: none; /* FIX: Clicks pass through the grid */
}

/* Layer 2: The Breathing Glow */
.hero::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.15) 0%, transparent 70%);
    z-index: 2;
    animation: pulseGlow 10s infinite ease-in-out;
    pointer-events: none;
}

.hero-noise {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 3;
}

/* --- TEXT SCALING --- */
.hero .container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px; /* Slightly wider to accommodate larger text */
    margin: 0 auto;
    display: block !important;
    pointer-events: auto;
}

.hero h1 {
    /* Increased size: was 5rem, now 6.5rem max */
    font-size: clamp(3rem, 10vw, 6rem); 
    font-weight: 900;
    line-height: 0.9; /* Tighter line height for big text */
    letter-spacing: -3px;
    margin-bottom: 2rem;
    color: #fff;
    text-transform: none;
}

.hero .subtitle {
    /* Increased from 1.2rem to 1.4rem */
    font-size: 1.4rem; 
    color: var(--text-dim);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.5;
}

/* --- BUTTONS --- */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 3rem; /* Slightly wider buttons */
    font-size: 0.9rem;
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 900;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #000 !important;
}

.btn-secondary {
    background: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* --- Hero Button Mobile Overlap Fix --- */
@media (max-width: 768px) {
    /* 1. Ensure the container centers everything */
    .hero-btns {
        display: flex !important;
        flex-direction: column !important; /* Vertical stack */
        align-items: center !important;
        width: 100%;
        gap: 0 !important; /* We'll use margins for better control */
        padding: 0 20px;
    }

    /* 2. Force buttons to behave as blocks */
    .btn-primary, 
    .btn-secondary {
        display: block !important;
        width: 100% !important;
        max-width: 300px; /* Prevents them from being too wide on tablets */
        box-sizing: border-box;
        text-align: center;
    }

    /* 3. The "Gap" Fix */
    .btn-primary {
        margin-bottom: 15px !important; /* Creates the space between them */
    }

    .btn-secondary {
        margin-bottom: 0 !important;
    }

    /* 4. Optional: Shrink headline slightly if it's hitting the edges */
    .hero h1 {
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
    }
}
/* --- Portfolio & Spotify --- */
.portfolio { padding: 4rem 0; background: #080808; }

.player-wrapper {
    margin-bottom: 3rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 170, 0.1));
}

/* --- Before & After Comparison Module --- */
.comparison-module {
    background: #000;
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 4px;
    margin-top: 4rem;
}

.comparison-title { 
    font-size: 2rem; 
    margin-bottom: 1rem; 
    letter-spacing: -1px;
}

.comparison-desc { 
    color: var(--text-dim); 
    margin-bottom: 3rem; 
    font-size: 0.9rem; 
    font-family: var(--font-mono);
}

/* The Layout Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Track Selection Sidebar */
.track-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-right: 1px solid #111;
    padding-right: 2rem;
}

.track-select {
    background: transparent;
    border: none;
    color: #444;
    text-align: left;
    padding: 1.2rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid #111;
    transition: all 0.3s ease;
}

.track-select:hover {
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
}

.track-select.active {
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    background: rgba(0, 255, 170, 0.05);
}

/* The Player Card */
.comparison-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2.5rem;
    position: relative;
}

.track-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.track-name {
    color: #fff;
    font-weight: bold;
}

.version-tag { 
    color: var(--accent); 
    font-weight: bold; 
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
}

/* Controls */
.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toggle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #222;
    border: 1px solid #222;
}

.toggle-btn {
    background: #050505;
    border: none;
    color: #555;
    padding: 1.2rem;
    font-family: var(--font-mono);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.toggle-btn.active {
    background: #111;
    color: var(--accent);
}

.play-main {
    background: var(--accent);
    color: #000;
    border: none;
    padding: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.play-main:hover { 
    background: #fff; 
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

/* --- Mobile Audio Stacked Overhaul --- */
@media (max-width: 768px) {
    .comparison-module {
        padding: 1.5rem;
    }

    .comparison-grid {
        display: flex !important;
        flex-direction: column !important; /* Stacks Tracklist on top of Player */
        gap: 1.5rem !important;
    }

    /* 1. Stack the Tracklist Vertically */
    .track-list {
        display: flex !important;
        flex-direction: column !important; /* Forces the stack */
        border-right: none !important;
        border-bottom: 1px solid #222 !important;
        padding-right: 0 !important;
        padding-bottom: 1.5rem !important;
        gap: 8px; /* Clean spacing between track buttons */
        overflow-x: visible !important; /* Disables horizontal scroll */
    }

    .track-select {
        width: 100% !important; /* Makes every button full width */
        white-space: normal !important; /* Allows long titles to wrap if needed */
        padding: 1rem !important;
        border: 1px solid #1a1a1a !important;
        background: #0a0a0a !important;
        font-size: 0.85rem !important;
        text-align: left !important;
        border-radius: 4px;
    }

    .track-select.active {
        border-color: var(--accent) !important;
        background: rgba(0, 255, 170, 0.1) !important;
    }

    /* 2. Player Card Adjustments */
    .comparison-card {
        padding: 1.5rem !important;
        width: 100%;
    }

    .track-info {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
        margin-bottom: 1.5rem !important;
    }

    /* 3. Controls Styling */
    .toggle-container {
        grid-template-columns: 1fr 1fr !important;
    }

    .toggle-btn {
        padding: 1.2rem 0.5rem !important;
        font-size: 0.75rem !important;
    }

    .play-main {
        padding: 1.4rem !important;
        font-size: 0.9rem !important;
    }
}
/* --- Reviews Section --- */
.reviews {
    padding: 1rem 0;
    background: #080808;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #111;
    border-left: 3px solid var(--accent); /* Accent stripe on the side */
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: scale(1.02);
    background: #161616;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.status-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(0, 255, 170, 0.1);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 2px;
}

.stars {
    color: var(--accent);
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.review-footer {
    border-top: 1px solid #222;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
}

.client-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
}

.client-meta {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
}
/* --- Genre Compatibility --- */
.compatibility {
    padding: 1rem;
    text-align: center;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 8px 16px;
    border: 1px solid #333;
    background: #111;
    color: var(--text-dim);
    border-radius: 20px;
    transition: 0.3s;
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 255, 170, 0.05);
    transform: translateY(-2px);
}

.compatibility-footer {
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #444;
}

.blink {
    animation: blinker 1s linear infinite;
    color: var(--accent);
}

@keyframes blinker {
    50% { opacity: 0; }
}
/* --- Bio Module (Full-Width Force) --- */
.bio-module {
    padding: 5rem 0;
    background: #050505;
    width: 100% !important;
    display: block !important;
    overflow: hidden;
}

/* This replaces the 'container' to allow 1400px width */
.bio-wide-wrapper {
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 4rem;
    display: flex !important;
    flex-direction: row !important;
    gap: 6rem;
    align-items: flex-start;
    width: 100%;
}

/* Left Column: The Photo */
.bio-visual {
    flex: 0 0 380px; /* Stays fixed */
    min-width: 380px;
}

.bio-image-wrapper {
    border: 1px solid #222;
    background: #111;
    aspect-ratio: 4/5;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(1);
}

.bio-stats {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
}

.stat-line {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #111;
}

/* Right Column: The Text (The Part That Was Too Narrow) */
.bio-content {
    flex: 1 !important; /* Tells the text to take up all remaining space */
    width: 100%;
    min-width: 0;
}

.bio-label {
    font-family: var(--font-mono);
    color: var(--accent);
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.bio-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.9;
    margin: 0 0 2.5rem 0;
    text-transform: uppercase;
    font-weight: 900;
    color: #fff;
}

.bio-text p {
    line-height: 1.8;
    color: var(--text-dim);
    margin-bottom: 1.8rem;
    max-width: 600px !important; /* Prevents lines from getting TOO long on ultra-wide screens */
    text-align: left;
}

.handwritten {
    font-family: 'Bristol', cursive;
    font-size: 5.5rem;
    color: var(--accent);
    display: inline-block;
    transform: rotate(-2deg);
    margin-top: 2rem;
    line-height: 1;
}

/* --- Mobile Fix --- */
@media (max-width: 1024px) {
    .bio-wide-wrapper {
        flex-direction: column !important;
        padding: 0 2rem;
        gap: 4rem;
        align-items: center;
    }
    .bio-visual {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        min-width: unset;
    }
    .bio-content {
        text-align: center;
    }
    .bio-text p {
        text-align: center !important;
        margin: 0 auto 1.5rem auto !important;
    }
}
/* --- Services Grid --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.card {
    background: var(--card-bg);
    padding: 1rem 2rem;
    border-radius: 8px;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.card:hover { border-bottom-color: var(--accent); transform: translateY(-5px); }
.card-num { font-family: var(--font-mono); color: var(--accent); display: block; margin-bottom: 1rem; }
.featured { border: 1px solid #333; }

/* --- The Studio Container --- */
.contact-card {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #1a1a1a;
    padding: 3rem;
    max-width: 850px;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
    z-index: 5;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1a1a1a;
}

.protocol {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 2px;
}

/* --- New Text Box Aesthetic --- */
input, 
select, 
textarea {
    width: 100%;
    padding: 1.2rem;
    background: #050505 !important; /* Deep black recessed look */
    border: 1px solid #1a1a1a !important;
    color: #ffffff !important;
    font-family: var(--font-mono), monospace !important;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Placeholder text (the "ghost" hint) */
input::placeholder, 
textarea::placeholder {
    color: #444;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* The "Power On" Focus State */
input:focus, 
select:focus, 
textarea:focus {
    outline: none;
    border-color: var(--accent) !important;
    background: #080808 !important;
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.15);
}

/* --- Layout Spacing --- */
.form-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-wrapper label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Customizing the dropdowns */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ffaa' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 1.2rem) center;
    padding-right: 3rem;
}

textarea {
    height: 160px;
    resize: none;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem 1.2rem;
        background: transparent;
        border: none;
    }
    .form-group {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- Workflow Section --- */
.workflow {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-color) 0%, #0f0f0f 100%);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.pipeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0; /* Connected look */
    border: 1px solid #222;
}

.step {
    padding: 3rem;
    border-right: 1px solid #222;
    transition: background 0.3s ease;
}

.step:last-child {
    border-right: none;
}

.step:hover {
    background: rgba(0, 255, 170, 0.02);
}

.step-header {
    margin-bottom: 1.5rem;
}

.step-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: #1a1a1a;
    padding: 4px 8px;
    color: var(--text-dim);
    border-radius: 3px;
    border: 1px solid #333;
}

.step h4 {
    margin-top: 1rem;
    font-size: 1.25rem;
    color: var(--text-main);
}

.step p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Pricing Section --- */
.pricing {
    padding: 2rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Ensures all cards are the same height */
}

.price-card {
    background: #111;
    border: 1px solid #222;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
}

.price-card:first-child {
    border-style: dashed; /* Looks like a "Plugin" or "Add-on" */
    background: rgba(255, 255, 255, 0.02);
}

.featured-price {
    border: 1px solid var(--accent);
    background: linear-gradient(145deg, #111 0%, #1a1a1a 100%);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 255, 170, 0.15);
}

.tier-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
}

.per {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    padding: 0.5rem 0;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-bottom: 1px solid #222;
}

.features li::before {
    content: "> ";
    color: var(--accent);
    font-family: var(--font-mono);
}

.price-btn {
    display: block;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--font-mono); /* Keep the tech vibe */
    letter-spacing: 1px;
    
    /* The Fix: Dark background with Accent Border */
    background: #000; 
    color: var(--accent); 
    border: 1px solid var(--accent);
    
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.price-btn.active {
    background: var(--accent);
    color: #000;
}

.price-btn.active:hover {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 20px #fff;
}

.price-btn:hover {
    /* "Power Up" effect */
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 15px var(--accent);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
}

/* --- Q&A Specific Styles --- */
.qa-card {
    background: #000 !important; /* Pure black for that terminal look */
    border: 1px dashed #444 !important;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.terminal-input {
    background: #1a1a1a;
    padding: 0.75rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid #333;
}

.prompt {
    color: var(--accent);
    font-family: var(--font-mono);
    font-weight: bold;
}

.terminal-input input {
    background: transparent;
    border: none;
    color: var(--accent);
    font-family: var(--font-mono);
    width: 100%;
    outline: none;
    font-size: 0.9rem;
}

.terminal-input input::placeholder {
    color: #444;
}

/* Make the FREE text pulse slightly */
.qa-card .price-value {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* --- Mobile Fix for Featured Card --- */
@media (max-width: 768px) {
    .featured-price {
        transform: scale(1);
        margin: 1rem 0;
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .step {
        border-right: none;
        border-bottom: 1px solid #222;
    }
    .step:last-child {
        border-bottom: none;
    }
}