/*
  TuneTandem Website Stylesheet
  Version: 1.3 - Multi-page structure update
*/

:root {
    --spotify-green: #1DB954;
    --spotify-green-hover: #1ed760;
    --spotify-black: #000000;
    --spotify-dark-gray: #121212;
    --spotify-med-gray: #282828;
    --spotify-light-gray: #B3B3B3;
    --spotify-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mulish', sans-serif;
    margin: 0;
    color: var(--spotify-white);
    background-color: var(--spotify-black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--spotify-dark-gray);
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: var(--spotify-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav a {
    text-decoration: none;
    color: var(--spotify-light-gray);
    margin-left: 30px;
    font-weight: 700;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav a:hover,
.nav a.active {
    color: var(--spotify-white);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--spotify-green);
    color: var(--spotify-white);
    font-weight: 700;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: var(--spotify-green-hover);
}

.btn-secondary {
    background-color: var(--spotify-med-gray);
    color: var(--spotify-white);
    font-weight: 700;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background-color: #3a3a3a;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--spotify-white);
}

.hero p {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 30px auto;
    color: var(--spotify-light-gray);
}

/* General Section Styling */
.section {
    padding: 60px 0;
}

.section-dark {
    background-color: var(--spotify-dark-gray);
    border-top: 1px solid var(--spotify-med-gray);
    border-bottom: 1px solid var(--spotify-med-gray);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 70px;
    color: var(--spotify-white);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
}

.feature-card {
    background: var(--spotify-black);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--spotify-med-gray);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--spotify-green);
}

.feature-card p {
    color: var(--spotify-light-gray);
    margin: 0;
    font-size: 18px;
}

/* How It Works Section */
.how-it-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.how-it-works-card {
    background: var(--spotify-black);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--spotify-med-gray);
}

.how-it-works-card .icon {
    color: var(--spotify-green);
    margin-bottom: 20px;
}

.how-it-works-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.how-it-works-card p {
    color: var(--spotify-light-gray);
    font-size: 18px;
}

/* Use Cases Section */
.use-cases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    align-items: center;
}

.use-case-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.use-case-content p {
    font-size: 18px;
    color: var(--spotify-light-gray);
}

.use-case-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Content Pages (FAQ, About, Community, Legal) */
.page-content {
    background: var(--spotify-dark-gray);
    padding: 50px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--spotify-med-gray);
}

.page-content p, .page-content li {
    color: var(--spotify-light-gray);
    font-size: 18px;
}

.page-content ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.page-content li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 1em;
}

.page-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--spotify-green);
    font-weight: bold;
}

.faq-item {
    border-bottom: 1px solid #404040;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

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

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--spotify-white);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--spotify-light-gray);
    margin: 0;
    font-size: 18px;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-post-card {
    background: var(--spotify-dark-gray);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--spotify-med-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.blog-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-post-content {
    padding: 25px;
}

.blog-post-content h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
    color: var(--spotify-white);
}

.blog-post-content .meta {
    font-size: 14px;
    color: var(--spotify-light-gray);
    margin-bottom: 15px;
}

.blog-post-content p {
    color: var(--spotify-light-gray);
    margin: 0;
    font-size: 18px;
}

#post-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
}

.post-content-full {
    line-height: 1.8;
}

.post-content-full p {
    margin-bottom: 1.5em;
}

.post-content-full h2 {
    font-size: 28px;
    margin-top: 2em;
    margin-bottom: 1em;
}

/* Pricing Page Styles */
.pricing-box {
    border: 1px solid var(--spotify-med-gray);
    border-radius: 15px;
    padding: 40px;
    background-color: var(--spotify-dark-gray);
    max-width: 500px;
    margin: 0 auto;
}

.pricing-box h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--spotify-white);
}

.pricing-box ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left;
    display: inline-block;
}

.pricing-box li {
    color: var(--spotify-light-gray);
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.pricing-box li svg {
    color: var(--spotify-green);
    margin-right: 10px;
    flex-shrink: 0;
}

/* Contact Page Styles */
.contact-logo {
    display: block;
    margin: 0 auto 30px auto;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Legal Page Styles */
.legal-content h1 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 10px;
}
.legal-content h2 {
    text-align: left;
    font-size: 24px;
    color: var(--spotify-green);
    margin-top: 40px;
    margin-bottom: 15px;
}
.legal-content p, .legal-content li, .legal-content th, .legal-content td {
    text-align: left;
}
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 1em;
}
.legal-content th, .legal-content td {
    border: 1px solid var(--spotify-med-gray);
    padding: 12px;
}
.legal-content th {
    background-color: var(--spotify-med-gray);
    font-weight: 700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 50px 0;
    font-size: 14px;
    color: var(--spotify-light-gray);
    background: var(--spotify-dark-gray);
    border-top: 1px solid var(--spotify-med-gray);
}

.footer a {
    color: var(--spotify-light-gray);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 700;
}

.footer a:hover {
    color: var(--spotify-white);
}

/* Responsive Styles */
@media (min-width: 992px) {
    .use-cases {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 64px;
    }
    .hero p {
        font-size: 20px;
    }
    .how-it-works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 921px) {
    .header {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nav {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        display: flex;
        margin-top: 15px;
    }
    .nav a {
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 32px; }
}

@media (max-width: 544px) {
    .nav a {
        margin: 0 10px;
        font-size: 14px;
    }
}
