/* 
   ─────────────────────────────────────────────────────────────────────
   AMPUTEK'S MAKE MUSIC STUDIO – OFFICIAL WEBSITE STYLESHEET
   Aesthetics: Serious Dark / High-End / Technical Precision
   ───────────────────────────────────────────────────────────────────── 
*/

:root {
    --bg-black:     #000000;
    --bg-dark:      #050608;
    --bg-card:      #0a0b10;
    --accent-cyan:   #00ffd5;
    --accent-purple: #b542ff;
    --accent-pink:   #ff0080;
    --text-primary:  #ffffff;
    --text-secondary: #9ca3af;
    --text-muted:    #4b5563;
    --border:        rgba(255, 255, 255, 0.08);
    --glass:         rgba(10, 11, 16, 0.7);
    --glass-blur:    blur(20px);
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: 'Inter', 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* ── Typography ── */
h1, h2, h3 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ── Components ── */
.btn {
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 0 0 rgba(0, 255, 213, 0);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 213, 0.3);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: #fff;
    transform: translateY(-4px);
}

/* ── Sections ── */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
}

.logo img { height: 32px; filter: brightness(1.2); }

.nav-links { display: flex; gap: 40px; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent-cyan); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 213, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 7rem;
    margin: 30px 0;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 550px;
    font-weight: 500;
}

.hero-image {
    position: absolute;
    right: -200px;
    top: 55%;
    transform: translateY(-50%) rotate(-5deg);
    width: 1000px;
    z-index: 1;
    mask-image: linear-gradient(to left, black 70%, transparent);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 100px 200px rgba(0,0,0,0.9);
    filter: brightness(0.9);
}

/* Features */
.features { padding: 200px 0; }
.section-tag { margin-bottom: 24px; display: block; }
.features h2 { font-size: 4rem; margin-bottom: 80px; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent-cyan);
    box-shadow: 0 30px 60px rgba(0, 255, 213, 0.1);
}

.feature-image { height: 240px; overflow: hidden; background: #000; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: 0.5s; }
.feature-card:hover .feature-image img { opacity: 0.9; transform: scale(1.05); }

.feature-card-content { padding: 40px; }
.feature-icon { font-size: 2rem; color: var(--accent-cyan); margin-bottom: 20px; }

/* Showcase / Parallax */
.parallax-section {
    height: 800px;
    margin: 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.showcase-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: saturate(0);
}

.parallax-content {
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

/* Download Section */
.download-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 80px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle at top right, rgba(181, 66, 255, 0.05), transparent);
}

/* Helpers */
.glass-effect {
    background: var(--glass);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ── Interactive Acid Synthesizer & Visualizer ── */
.synth-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at center, rgba(181, 66, 255, 0.03), transparent);
}

.synth-machine {
    background: rgba(10, 11, 16, 0.85);
    border: 1px solid rgba(0, 255, 213, 0.2);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 255, 213, 0.05);
    backdrop-filter: blur(20px);
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.synth-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sequencer-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
}

.seq-btn {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.seq-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 213, 0.4);
    color: #fff;
}

.seq-btn.active {
    background: rgba(0, 255, 213, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.3), inset 0 0 6px rgba(0, 255, 213, 0.2);
}

.seq-btn.current {
    transform: scale(1.05);
    border-color: var(--accent-purple) !important;
    box-shadow: 0 0 20px rgba(181, 66, 255, 0.4) !important;
}

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

.knob-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.knob-control label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.knob-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    outline: none;
}

.knob-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 2px solid #000;
    box-shadow: 0 0 8px rgba(0, 255, 213, 0.4);
    cursor: pointer;
    transition: transform 0.1s;
}

.knob-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.visualizer-card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.vis-canvas {
    width: 100%;
    height: 150px;
    background: #020305;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vis-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vis-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent-purple);
    letter-spacing: 1.5px;
}

.play-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Background Particle Canvas */
#hero-particle-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 5rem; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .synth-machine {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 3.5rem; }
    .hero-image { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .download-box { padding: 40px 20px; }
}
