/* Creative Soundtrack by Giacomo Bucci */
/* © All rights reserved */

/* pages.css - stili comuni per tutte le pagine (pricing, works, about, blog, contact, license, privacy, royalty-free-music) */

/* ===== Hero generico (usato da pricing, works, license, privacy) ===== */
.page-hero {
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== Pagina works (soundtrack projects) ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}
.project-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}
.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}
.project-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.project-info {
    padding: 1.5rem;
}
.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.project-sub {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.project-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.detail-row {
    margin-bottom: 8px;
}
.detail-label {
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    min-width: 80px;
}
.project-links {
    margin-top: 1rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.project-link {
    background: var(--bg-elevated);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
}
.project-link:hover {
    background: var(--accent);
    color: #000;
}

/* ===== Pagina blog (elenco e singolo post) ===== */
.blog-header {
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 2rem;
    padding: 0 2rem;
}
.blog-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
}
.blog-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.blog-card-content {
    padding: 1.5rem;
}
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.blog-card-date {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.blog-card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.blog-post-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 28px;
}
.blog-post-container h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.blog-post-date {
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.blog-post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 20px;
    margin: 1rem 0;
}
.blog-post-content {
    line-height: 1.8;
    color: var(--text-secondary);
}
.blog-post-content h2 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent);
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}
.blog-post-content h3 {
    font-size: 1.4rem;
    margin: 1.2rem 0 0.8rem;
    color: #ddd;
}
.back-to-blog {
    display: inline-block;
    margin-top: 2rem;
    color: var(--accent);
    text-decoration: none;
}

/* ===== Pagina about ===== */
.about-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 20px;
}
.about-header {
    text-align: center;
    margin-bottom: 3rem;
}
.about-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.about-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    padding: 2rem;
}
.about-content h2 {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}
.about-image {
    text-align: center;
    margin: 2rem 0;
}
.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
}

/* ===== Pagina contact ===== */
.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}
.contact-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}
.contact-info, .contact-form {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--border-light);
}
.contact-info h2, .contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}
.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 198, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    transition: all 0.2s;
}
.social-links a:hover {
    background: var(--accent);
    color: #000;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #0a0a0a;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.submit-btn {
    background: var(--accent);
    color: #000;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.submit-btn:hover {
    background: var(--accent-dark);
}
.form-status {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 12px;
    display: none;
}
.form-status.success {
    background: rgba(0,200,0,0.2);
    color: #0f0;
}
.form-status.error {
    background: rgba(255,0,0,0.2);
    color: #f00;
}

/* ===== License agreement page ===== */
.legal-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 28px;
}
.legal-content h2 {
    font-size: 1.6rem;
    margin: 1.5rem 0 1rem;
    color: var(--accent);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}
.legal-content h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: #ddd;
}
.license-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--bg-dark);
}
.license-table th, .license-table td {
    border: 1px solid var(--border-light);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}
.license-table th {
    background: var(--bg-card);
    color: var(--accent);
}
.notice {
    background: rgba(255, 198, 0, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 12px;
    font-family: monospace;
}

/* ===== Privacy & Cookie page (due colonne) ===== */
.legal-grid {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}
.legal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 28px;
    overflow: hidden;
}
.legal-card-header {
    padding: 1.5rem 1.5rem 0;
}
.legal-card-header h2 {
    font-size: 1.8rem;
    color: var(--accent);
}
.legal-content {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--bg-dark);
}
.cookie-table th, .cookie-table td {
    border: 1px solid var(--border-light);
    padding: 10px;
    text-align: left;
}

/* ===== Royalty free music header ===== */
.rfm-header {
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 1rem;
    padding: 0 2rem;
}
.rfm-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== Pricing page styles ===== */
.pricing-grid {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.pricing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 2rem 1.5rem;
    transition: transform 0.2s, border-color 0.2s;
    text-align: center;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}
.pricing-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, #111111, #0a0a0a);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 30px;
    white-space: nowrap;
}
.license-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin: 0.5rem 0;
}
.price-amount small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.license-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    min-height: 70px;
}
.features-list {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}
.features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.features-list li i.fa-check-circle {
    color: var(--accent);
    flex-shrink: 0;
}
.features-list li i.fa-times-circle {
    color: #555;
    flex-shrink: 0;
}
.price-cta {
    display: inline-block;
    background: var(--accent);
    color: #000;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s, transform 0.1s;
}
.price-cta:hover {
    background: var(--accent-dark);
    transform: scale(1.02);
}
.price-cta-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}
.price-cta-outline:hover {
    background: var(--accent);
    color: #000;
}
.license-note {
    font-size: 0.7rem;
    margin-top: 1rem;
    color: var(--text-secondary);
}
.license-note a {
    color: var(--accent);
    text-decoration: none;
}
.faq-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.2s;
}
.faq-item:hover {
    border-color: var(--accent);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question i {
    color: var(--accent);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 1.5rem 1.2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    line-height: 1.6;
}
.faq-answer a {
    color: var(--accent);
    text-decoration: none;
}
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-card);
    margin: 2rem auto;
    border-radius: 40px;
    max-width: 800px;
}
.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* ===== Track page styles (mancanti) ===== */
.track-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
}
.track-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--bg-elevated);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid var(--border-light);
}
.track-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.track-cover img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.5);
}
.track-mini-player {
    background: var(--bg-card);
    border-radius: 60px;
    padding: 12px 20px;
    border: 1px solid var(--border-light);
}
.track-player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}
.track-play-pause {
    background: var(--accent);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
}
.track-progress-wrap {
    flex: 1;
}
.track-progress-bar {
    background: #2a2a2a;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}
.track-progress-fill {
    background: var(--accent);
    width: 0%;
    height: 100%;
    border-radius: 3px;
}
.track-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-family: monospace;
}
.track-info-panel h1 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}
.track-artist {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.track-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.track-action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 40px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
}
.track-action-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
}
.track-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}
.track-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.2rem;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}
.meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}
.meta-item code {
    font-family: monospace;
    background: #0a0a0a;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
}
.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

/* ===== Responsive per tutte le pagine ===== */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .legal-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1,
    .blog-header h1,
    .about-header h1,
    .contact-header h1,
    .rfm-header h1 {
        font-size: 2rem;
    }
    .blog-post-container h1 {
        font-size: 1.8rem;
    }
    .faq-section h2 {
        font-size: 1.5rem;
    }
    .track-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .track-info-panel h1 {
        font-size: 1.8rem;
    }    
}
