/* WimPyAmp Product Page Styles */

/* CSS Variables */
:root {
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --bg-card: #1f2b4d;
    --bg-hero: #0f0c29;
    --text-primary: #f0f0ff;
    --text-secondary: #b8b8d0;
    --text-muted: #7a7a9e;
    --accent-green: #00ff88;
    --accent-orange: #ff6b35;
    --accent-blue: #00ccff;
    --accent-purple: #b14eff;
    --border-color: #2a2a50;
    --max-width: 1200px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-orange);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-screenshot {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 255, 136, 0.12);
    border: 1px solid var(--border-color);
}

.hero-screenshot img {
    width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-green), #00cc66);
    color: #0f0c29;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #33ffaa, var(--accent-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-purple);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    background: var(--bg-dark);
}

.gallery-masonry {
    columns: 3;
    column-gap: 24px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease;
    break-inside: avoid;
    margin-bottom: 24px;
    cursor: zoom-in;
}

.gallery-item:hover {
    border-color: var(--accent-orange);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(15, 12, 41, 0.9));
    padding: 32px 16px 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-museum-note {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.gallery-museum-note a {
    color: var(--accent-orange);
    font-weight: 600;
}

.gallery-cta {
    text-align: center;
}

/* Using Section */
.using {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.using-layout {
    max-width: 900px;
    margin: 0 auto;
}

.using-screenshot {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.using-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.using-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

.using-content p {
    margin-bottom: 20px;
}

.using-content p:last-child {
    margin-bottom: 0;
}

.using-content code {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--accent-green);
}

/* Download Section */
.download {
    background: var(--bg-darker);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.download-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: border-color 0.2s ease;
}

.download-card:hover {
    border-color: var(--accent-blue);
}

.download-platform {
    margin-bottom: 16px;
}

.download-platform h3 {
    font-size: 1.5rem;
}

.download-version {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 8px;
}

.download-requirements {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.download-alt {
    text-align: center;
}

.download-alt .link {
    display: inline-block;
    margin-bottom: 16px;
}

.download-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 8, 30, 0.95);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: var(--text-primary);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    font-size: 3rem;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
    cursor: default;
}

/* Footer */
.footer {
    background: var(--bg-hero);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.footer-left .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-masonry {
        columns: 2;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        columns: 1;
    }
}

