/* MAXSOUND Landing Page Styles */
/* Exact colors from MasteringLookAndFeel.cpp and MainWindow.cpp */

:root {
    /* Exact colors from app code */
    --bg-dark: #0a0a0c;          /* backgroundDark */
    --bg-medium: #151518;        /* backgroundMid */
    --bg-light: #1f1f24;         /* backgroundLight */
    --bg-card: #1e1e1e;

    /* Gold palette - exact from app */
    --gold-primary: #d4af37;     /* goldPrimary */
    --gold-light: #f4d03f;       /* goldLight */
    --gold-dark: #9a7b25;        /* goldDark */

    /* Metal/titanium */
    --titanium: #48484c;
    --titanium-light: #6c6c70;

    /* Accent colors - exact from app */
    --accent-green: #00ff50;     /* rgb(0, 255, 80) - accentGreen adjusted */
    --accent-red: #ff0000;       /* Pure red for bass waves */

    /* Text - exact from app */
    --text-primary: #f5f5f5;     /* textPrimary - 96% white */
    --text-secondary: #9ca3af;   /* textSecondary */
    --text-muted: #666666;

    --border-color: #2a2a2a;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== SECTION 1: HERO ===== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center top, #151518 0%, var(--bg-dark) 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

/* MAXSOUND Logo - Premium 3D Metallic Gold with Speaker Icon */
.maxsound-logo {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0 1rem;
    overflow: visible;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Deep shadows on container */
    filter:
        drop-shadow(0 1px 0 rgba(255,255,200,0.9))
        drop-shadow(0 2px 0 rgba(255,240,150,0.6))
        drop-shadow(0 -1px 0 rgba(60,40,10,0.5))
        drop-shadow(0 3px 2px rgba(30,20,5,0.9))
        drop-shadow(0 6px 4px rgba(20,15,5,0.8))
        drop-shadow(0 10px 8px rgba(10,5,0,0.7))
        drop-shadow(0 16px 16px rgba(0,0,0,0.6))
        drop-shadow(0 24px 32px rgba(0,0,0,0.5))
        drop-shadow(0 36px 48px rgba(0,0,0,0.3));
}

/* Text parts of logo - BRIGHT GLOSSY GOLD */
.logo-text {
    /* BRIGHT GLOSSY GOLD - vivid and saturated */
    background: linear-gradient(180deg,
        #ffffff 0%,
        #fffef8 1%,
        #fff9d0 3%,
        #ffed80 6%,
        #ffe040 10%,
        #ffd520 15%,
        #f0c010 22%,
        #d4a000 32%,
        #b08000 45%,
        #785000 58%,
        #503000 68%,
        #402800 72%,
        #604000 78%,
        #a07000 85%,
        #d4a000 90%,
        #ffc800 95%,
        #d09000 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Speaker icon container - replaces the "O" - SAME SIZE AS LETTERS */
.logo-speaker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.88em;
    height: 0.88em;
    margin-left: -0.02em;
    margin-right: 0.12em;
    position: relative;
    vertical-align: 0.06em;
}

/* The speaker SVG icon */
.speaker-icon {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Speaker icon - no extra filters, all styling inline in SVG */

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 auto 1.5rem;
    max-width: 500px;
    text-align: left;
}

.hero-benefits li {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.hero-benefits strong {
    color: var(--text-primary);
}

.sub-tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Small green download button in hero */
.hero-download-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent-green);
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.hero-download-btn:hover {
    background: #00ff60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 255, 80, 0.3);
}

/* ===== SECTION 2: SIMULATOR ===== */
.simulator-section {
    padding: 4rem 2rem;
    background: var(--bg-medium);
}

.simulator-container {
    max-width: 400px;
    margin: 0 auto;
}

.simulator {
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0c 100%);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Simple View */
.simple-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* App title inside simulator - Smooth polished gold */
.app-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(180deg,
        #fffef8 0%,
        #f0d890 20%,
        #b08620 50%,
        #8a6a18 70%,
        #c4a040 90%,
        #705510 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6));
    margin-bottom: 0.5rem;
    text-align: center;
}

/* Animated Rings - Multiple intense red rings like real app */
.rings-container {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--accent-red);
    opacity: 0.5;
}

/* 6 expanding rings like real app */
.ring-1 { width: 100%; height: 100%; animation: pulse 2.5s ease-out infinite; }
.ring-2 { width: 85%; height: 85%; animation: pulse 2.5s ease-out infinite 0.3s; }
.ring-3 { width: 70%; height: 70%; animation: pulse 2.5s ease-out infinite 0.6s; }
.ring-4 { width: 55%; height: 55%; animation: pulse 2.5s ease-out infinite 0.9s; }
.ring-5 { width: 40%; height: 40%; animation: pulse 2.5s ease-out infinite 1.2s; }
.ring-6 { width: 25%; height: 25%; animation: pulse 2.5s ease-out infinite 1.5s; }

.simulator.active .ring {
    border-color: var(--accent-green);
    opacity: 0.6;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Speaker cone visual - 3D metallic look */
.speaker-cone {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    pointer-events: none;
}

.speaker-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(180deg,
        #606060 0%,
        #3a3a3a 30%,
        #252525 70%,
        #1a1a1a 100%
    );
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}

.speaker-surround {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    background: radial-gradient(circle,
        #2a2a2a 0%,
        #1a1a1a 40%,
        #0e0e0e 100%
    );
}

.speaker-dust-cap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(180deg,
        #2a2a2a 0%,
        #1a1a1a 100%
    );
}

/* Power Button - Large with green glow like real app */
.power-button {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    z-index: 10;
    /* Metal gradient from app */
    background: linear-gradient(180deg,
        #383838 0%,
        #444444 15%,
        #303030 40%,
        #222222 70%,
        #181818 100%
    );
    border: none;
    color: #00ff44;  /* Green icon by default like real app */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
}

.power-button svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 255, 68, 0.6));
}

.power-button:hover {
    color: #00ff66;
}

.power-button:hover svg {
    filter: drop-shadow(0 0 12px rgba(0, 255, 68, 0.8));
}

/* ON state - intense green glow */
.simulator.active .power-button {
    color: #00ff44;
    box-shadow:
        0 0 30px rgba(0, 255, 68, 0.6),
        0 0 60px rgba(0, 255, 68, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
}

.simulator.active .power-button svg {
    filter: drop-shadow(0 0 15px rgba(0, 255, 68, 0.9));
}

/* Status text - Gold like real app "MAX SOUND" */
.status-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(180deg,
        rgb(255, 220, 100) 0%,
        rgb(212, 160, 32) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.simulator.active .status-text {
    background: linear-gradient(180deg,
        rgb(255, 230, 120) 0%,
        rgb(230, 180, 50) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
}

/* Blend Slider - Gold styling like real app */
.blend-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0 0.5rem;
}

.blend-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.blend-label-original {
    color: #808080;
    text-align: right;
    min-width: 55px;
}

.blend-label-max {
    color: #d4a020;  /* Gold like real app */
    text-align: left;
    min-width: 30px;
}

.blend-track {
    flex: 1;
    position: relative;
    height: 16px;
}

.blend-slider {
    width: 100%;
    height: 16px;
    -webkit-appearance: none;
    appearance: none;
    /* Gold gradient track like real app */
    background: linear-gradient(90deg,
        #1a1a1a 0%,
        #3a3020 40%,
        #d4a020 100%
    );
    border-radius: 8px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(255, 255, 255, 0.05);
}

.blend-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    /* Dynamic color based on position - controlled by JS */
    background: var(--thumb-color, #d4af37);
    cursor: pointer;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.6),
        inset 0 2px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3);
    border: none;
    transition: background 0.1s ease;
}

.blend-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    /* Dynamic color based on position - controlled by JS */
    background: var(--thumb-color, #d4af37);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    transition: background 0.1s ease;
}

/* Playback Controls */
.playback-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.play-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-green);
    border: none;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 80, 0.5);
}

.play-button svg {
    width: 24px;
    height: 24px;
}

.play-button .hidden {
    display: none;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-green);
    transition: width 0.1s linear;
}

/* Advanced Toggle - Wide button like real app */
.advanced-toggle,
.simple-toggle {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.advanced-toggle:hover,
.simple-toggle:hover {
    border-color: var(--gold-primary);
    color: var(--text-primary);
    background: rgba(212, 175, 55, 0.1);
}

/* Advanced View */
.advanced-view {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advanced-view.hidden {
    display: none;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.control-item {
    background: var(--bg-dark);
    padding: 1rem;
    border-radius: 12px;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.control-name {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.info-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    font-size: 0.625rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.info-btn:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 400;
    white-space: normal;
    width: 200px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
    margin-bottom: 8px;
}

.control-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 2px;
}

.control-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold-primary);
    cursor: not-allowed;
}

.control-slider:disabled {
    opacity: 0.7;
}

/* No JS Fallback */
.no-js-fallback {
    text-align: center;
}

.no-js-fallback img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* ===== SECTION 3: DOWNLOAD CTA ===== */
.download-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--bg-dark);
}

.download-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--bg-dark);
    background: var(--accent-green);
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: glow 2s ease-in-out infinite;
}

.download-button:hover {
    transform: scale(1.05);
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 255, 80, 0.6);
    }
}

.download-info {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===== SECTION 4: WAVEFORM COMPARISON ===== */
.waveform-section {
    padding: 4rem 2rem;
    background: var(--bg-medium);
}

.waveform-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.waveform-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.waveform-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.waveform-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.waveform-visual {
    height: 120px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0c;
    border: 1px solid var(--border-color);
}

.waveform-visual img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* MAXSOUND waveform card - green accent */
.waveform-processed-img {
    border: 1px solid rgba(0, 255, 80, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 80, 0.15);
}

/* ===== LIVE WAVEFORM VISUALIZER ===== */
.live-waveform {
    width: 100%;
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
}

.waveform-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 60px;
    margin-bottom: 0.5rem;
    width: 100%;
}

.waveform-bar {
    flex: 1;
    min-height: 4px;
    max-width: 12px;
    margin: 0 1px;
    background: var(--accent-green);
    border-radius: 2px;
    transition: height 0.05s ease-out;
    opacity: 0.8;
}

/* Different shades for visual interest */
.waveform-bar:nth-child(odd) {
    opacity: 0.9;
}

.waveform-bar:nth-child(3n) {
    opacity: 1;
}

/* Idle state - minimal bars */
.live-waveform:not(.active) .waveform-bar {
    height: 4px !important;
    background: var(--border-color);
    opacity: 0.5;
}

/* Original (off) state - gray and shorter */
.live-waveform.original .waveform-bar {
    background: #555;
    max-height: 30px;
}

/* MAXSOUND (on) state - green and taller */
.live-waveform.maxsound .waveform-bar {
    background: var(--accent-green);
    box-shadow: 0 0 6px rgba(0, 255, 80, 0.4);
}

.waveform-label-live {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.live-waveform.active .waveform-label-live {
    color: var(--text-secondary);
}

.live-waveform.maxsound .waveform-label-live {
    color: var(--accent-green);
}

/* ===== SECTION 5: FEATURES ===== */
.features-section {
    padding: 4rem 2rem;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--gold-primary);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SECTION 6: FAQ ===== */
.faq-section {
    padding: 4rem 2rem;
    background: var(--bg-dark);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--gold-primary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: var(--bg-light);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== SECTION 7: TECH DETAILS (For Audiophiles) ===== */
.tech-section {
    padding: 4rem 2rem;
    background: var(--bg-medium);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tech-item summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.tech-item summary::-webkit-details-marker {
    display: none;
}

.tech-item summary::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--gold-primary);
    transition: transform 0.2s ease;
}

.tech-item[open] summary::after {
    transform: rotate(45deg);
}

.tech-item summary:hover {
    background: var(--bg-light);
}

.tech-item p {
    padding: 0 1.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tech-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.tech-callout {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tech-callout h3 {
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.tech-callout p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    margin: 0;
}

.tech-callout strong {
    color: var(--text-primary);
}

.tech-origin {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.tech-origin h2 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.tech-origin p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.tech-origin strong {
    color: var(--text-primary);
}

.tech-section-title {
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.app-screenshot {
    max-width: 400px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.app-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.tech-callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tech-callout-grid .tech-callout {
    margin-top: 0;
}

/* Inline CTAs throughout page */
.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.inline-download-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.inline-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ===== SECTION 7: FOOTER ===== */
.footer {
    padding: 2rem;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .hero {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }

    .maxsound-logo {
        letter-spacing: 0.15em;
    }

    .simulator {
        padding: 1.5rem;
    }

    .rings-container {
        width: 160px;
        height: 160px;
    }

    .power-button {
        width: 64px;
        height: 64px;
    }

    .power-button svg {
        width: 28px;
        height: 28px;
    }

    .controls-grid {
        grid-template-columns: 1fr;
    }

    .download-button {
        padding: 1rem 2rem;
        font-size: 1.25rem;
    }

    .waveform-comparison {
        grid-template-columns: 1fr;
    }
}

/* ===== UTILITY ===== */
.hidden {
    display: none !important;
}
