/* CSS Variables - Minimalist Premium Theme */
:root {
    --bg-dark: #050505; /* Blacker background */
    --bg-card: #0a0a0a;
    --text-main: #f5f5f7;
    --text-muted: #86868b; /* Apple-like muted text */
    --neon-blue: #2997ff; /* Sleek, elegant blue */
    --neon-blue-glow: rgba(41, 151, 255, 0.15);
    --border-color: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modals kill scrolling */
body.modal-open {
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography Enhancements */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 40px; /* Pill shape */
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--text-main);
    color: #000;
}

.btn-primary:hover {
    transform: scale(1.02);
    background: #fff;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

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

.hero-bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, var(--neon-blue-glow) 0%, transparent 60%);
    z-index: 0;
    opacity: 0.8;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.headline {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.subheadline {
    font-size: 1.35rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stars {
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, var(--bg-dark) 150%);
}

/* Social Proof */
.social-proof-bar {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-color);
}

/* Authority */
.authority {
    padding: 10rem 0;
}

.authority-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
    align-items: center;
}

.authority-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.authority-image:hover img {
    filter: grayscale(0%);
}

.authority-bio {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 3rem;
    line-height: 1.4;
}

.authority-list li {
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.authority-list li:first-child {
    border-top: 1px solid var(--border-color);
}

/* Free Preset Banner */
.free-preset-banner {
    padding: 6rem 0;
}

.free-preset-content {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 24px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.free-preset-text {
    max-width: 600px;
}

.badge-free {
    display: inline-block;
    padding: 6px 14px;
    background: var(--neon-blue);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.free-preset-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.free-preset-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Choose Pedalboard Dynamic Grid */
.choose-pedalboard {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 6rem;
}

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

/* Card Minimalista */
.card {
    background: transparent;
    cursor: pointer;
    group: hover;
}

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: var(--transition);
}

.card:hover .card-image img {
    opacity: 1;
    transform: scale(1.05);
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 400;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--text-main);
    color: #000;
}

/* Benefits Minimal */
.benefits {
    padding: 8rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 6rem;
}

.benefit-card {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.benefit-icon {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Gallery Infinite (Apple style) */
.gallery {
    padding: 6rem 0;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.gallery-track img {
    height: 350px;
    border-radius: 16px;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-track img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* CTA */
.final-cta {
    padding: 12rem 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(41, 151, 255, 0.05) 0%, transparent 70%);
}

.final-cta .headline {
    font-size: 4rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* MODAL POPUP */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: #0d0d0d;
    width: 90%;
    max-width: 1000px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: #fff;
    color: #000;
}

.modal-header {
    padding: 2.5rem 3rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.modal-body {
    padding: 0 3rem 3rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Custom Scrollbar for Modal Body */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.preset-list {
    display: flex;
    flex-direction: column;
}

.preset-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.preset-item:last-child {
    border-bottom: none;
}

.preset-info h4 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.preset-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.preset-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4e4e;
    border: 1px solid rgba(255, 0, 0, 0.2);
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-youtube:hover {
    background: rgba(255, 0, 0, 0.2);
    transform: scale(1.05);
}

.preset-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-right: 1rem;
    font-weight: 600;
}

/* RESPONSIVE CSS */
@media (max-width: 1024px) {
    .section-title, .headline, .final-cta .headline {
        font-size: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .authority-container {
        grid-template-columns: 1fr;
    }
    
    .free-preset-content {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .subheadline, .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .proof-logos {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links a {
        margin: 0 1rem;
    }
    
    .modal-info {
        padding: 2rem;
    }
}
