/* --- NEW: Hero Section --- */
.hero-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.hero-section h1 {
    font-size: 3.5rem; /* Larger, more impactful */
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-image {
    flex-basis: 45%;
    max-width: 45%;
}
.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-info {
    flex-basis: 55%;
}

.hero-info h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.benefits-list li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}
.benefits-list li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    color: #28a745; /* A confident green */
    margin-top: 2px;
}

/* Responsive adjustments for the hero section */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-image {
        flex-basis: 100%;
        max-width: 80%;
        margin-bottom: 40px;
    }
    .hero-info {
        flex-basis: 100%;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .benefits-list li {
        text-align: left;
    }
}
/* --- CSS Variables --- */
:root {
    --color-background: #121212;
    --color-surface: #1e1e1e;
    --color-primary: #1DB954; /* A vibrant green, reminiscent of Spotify */
    --color-text: #ffffff;
    --color-text-secondary: #b3b3b3;
    --color-border: #2d2d2d;
    --font-family: 'Roboto', sans-serif;
}

/* --- Global Resets & Body --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-family);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--color-text);
}

/* --- Main Content Sections --- */
main {
    padding-bottom: 4rem;
}

section {
    padding: 4rem 0;
}

h1, h2 {
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    color: var(--color-primary);
}

h2 {
    font-size: 2.5rem;
}

.subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* --- Hero Section (Homepage) --- */
.hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.soundcloud-player iframe {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* --- Call-to-Action (CTA) Section --- */
.cta-section {
    background-color: var(--color-surface);
    text-align: center;
}

.cta-section p {
    max-width: 500px;
    margin: 0 auto 2rem auto;
    color: var(--color-text-secondary);
}

.button-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-text);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.button-primary:hover {
    transform: scale(1.05);
    background-color: #21d660;
}

/* --- Latest Posts Section --- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.article-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.article-card p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.read-more {
    font-weight: 700;
    color: var(--color-primary);
}

.view-all-link {
    text-align: center;
    margin-top: 3rem;
}

.button-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--color-primary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.button-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
}

/* --- Blog Page --- */
.page-title {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.blog-list .article-card-full {
    display: block;
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: border-color 0.2s ease;
    margin-bottom: 2rem;
}

.blog-list .article-card-full:hover {
    border-color: var(--color-primary);
}

.blog-list .article-card-full h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.blog-list .article-card-full p {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

/* --- Article Page --- */
.article-content {
    max-width: 750px;
    margin: 0 auto;
}

.article-content .article-header h1 {
    text-align: left;
    margin-bottom: 0.5rem;
}

.article-content .article-header .meta {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.article-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-body ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.back-to-blog {
    display: inline-block;
    margin-top: 3rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
}
.back-to-blog:hover {
    text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-surface);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

/* ==========================================================================
   Product Section Styles
   ========================================================================== */

.products-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* A light background to separate it */
}

.products-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* Ensures images are a consistent size */
    object-fit: cover;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Makes the info section fill available space */
}

.product-info h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.product-info p {
    flex-grow: 1; /* Pushes the button to the bottom */
    margin-bottom: 25px;
    color: #555;
}

.product-info .button-primary {
    align-self: flex-start; /* Aligns button to the left */
}

/* Style for the new subscribe section */
.subscribe-section {
    background-color: #222; /* Differentiates it from the other CTA */
    color: #fff;
}

/* Responsive adjustments for products */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- Social Proof Section --- */
.social-proof-section {
    background-color: #f8f9fa; /* A slightly off-white for contrast */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.social-proof-section h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.social-proof-section .section-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    text-align: left;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.testimonial-card .stars {
    color: #ffc107; /* A nice gold color */
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1; /* Makes sure cards have same height */
    position: relative;
    padding-left: 25px;
}
.testimonial-card .testimonial-text::before {
    content: '“';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: #e9ecef;
    font-family: 'Times New Roman', serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto; /* Pushes author to the bottom */
}

.testimonial-author .author-name {
    font-weight: bold;
    color: #1a1a1a;
}
.testimonial-author .author-name a {
    text-decoration: none;
    color: #ff5500; /* SoundCloud orange */
    transition: color 0.2s ease;
}
.testimonial-author .author-name a:hover {
    color: #cc4400;
}

/* --- Feedback Form --- */
.feedback-cta {
    margin-top: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feedback-cta h3 {
    color: #1a1a1a;
    margin-top: 0;
}
.feedback-cta p {
    color: #555;
    margin-bottom: 30px;
}
#testimonial-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

#testimonial-form input[type="text"],
#testimonial-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#testimonial-form input[type="text"]:focus,
#testimonial-form textarea:focus {
    outline: none;
    border-color: #ff5500;
    box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
}

#testimonial-form textarea {
    resize: vertical;
    min-height: 100px;
}

#testimonial-form .form-button {
    background-color: #ff5500;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#testimonial-form .form-button:hover {
    background-color: #cc4400;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse; /* This is the magic! */
    justify-content: center;
    gap: 5px;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

#form-response {
    margin-top: 20px;
    font-weight: bold;
    padding: 15px;
    border-radius: 5px;
    display: none; /* Hidden by default */
}
#form-response.success {
    background-color: #d4edda;
    color: #155724;
}
#form-response.error {
    background-color: #f8d7da;
    color: #721c24;
}