:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #EC4899;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-700);
    margin: 0;
    padding: 0;
}
/* Sidebar toggle button styling - light theme */
#sidebarToggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #fff; /* white background */
    color: #333; /* dark text */
    border: 1px solid #ccc;
    padding: 5px 8px;
    font-size: 15px;
    cursor: pointer;
    z-index: 1001;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
  }
  
  /* Sidebar styling - light theme */
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #f9f9f9; /* very light background */
    padding: 60px 20px 20px 20px; /* space for fixed toggle button */
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1000;
  }
  
  #sidebar.visible {
    transform: translateX(0);
  }
  
  /* Sidebar link styling */
  #sidebar a.sidebar-link {
    color: #0077cc; /* blue color */
    display: block;
    margin: 15px 0;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
  }
  
  #sidebar a.sidebar-link:hover {
    text-decoration: underline;
  }
  
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header.modern-header {
    background: #fff;
    box-shadow: 0 4px 24px rgba(44,83,100,0.18);
    padding: 0.5em,0.1em;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75em 1.5em;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(44,83,100,0.08);
}

.logo-text {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1.5px;
    color: #007bff;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-align: center;}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #007bff;
}

/* Base Button */
.btn, .btn-primary, .btn-outline, .btn-whatsapp-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* pill shape */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff; /* Corrected white */
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.45);
}

/* Outline Button */
.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: #fff;
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.25);
}

/* WhatsApp Dark Button */
.btn-whatsapp-dark {
    background: linear-gradient(to right, #111827, #1F2937);
    color: #fff !important;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 9999px;
    box-shadow: 0 6px 16px rgba(16, 24, 39, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp-dark:hover {
    background: linear-gradient(to right, #2563eb, #4F46E5);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

/* Hero */
.hero {
    padding: 6rem 1rem 4rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #ffffff 50%, #FCE7F3 100%);
    text-align: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* Features */
.features {
    padding: 6rem 0;
    background: var(--gray-50);
    text-align: center;
}

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

.feature-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background-color: var(--gray-100);
    text-align: center;
}

.pricing-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    max-width: 420px;
    margin: 2rem auto 0 auto;
    position: relative;
    text-align: center;
}

.pricing-card .price {
    font-size: 1.75rem;
    color: var(--secondary);
    font-weight: bold;
    margin: 1rem 0;
}

/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-50);
    padding: 4rem 1rem 2rem;
    text-align: center;
}

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

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand,
.footer-contact {
    margin-bottom: 2rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gray-50);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* --- Playlist Showcase Section --- */
.playlist-showcase {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #FCE7F3 100%);
    text-align: center;
}

.playlist-showcase .badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.4em 1em;
    border-radius: 9999px;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.playlist-showcase h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.playlist-showcase p {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 2rem;
}

.playlist-showcase .showcase-video {
    margin-top: 1.5rem;
}

.playlist-showcase .btn-primary {
    font-size: 1.15rem;
    padding: 0.9em 2em;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}

.playlist-showcase .btn-primary:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}

/* Responsive for playlist section */
@media (max-width: 700px) {
    .playlist-showcase {
        padding: 2.5rem 0 2rem;
    }
    .playlist-showcase h2 {
        font-size: 1.4rem;
    }
    .playlist-showcase p {
        font-size: 1rem;
    }
    .playlist-showcase .btn-primary {
        font-size: 1rem;
        padding: 0.7em 1.2em;
    }
}

/* Responsive */
@media (max-width: 800px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 1em;
    }

    .nav-links {
        gap: 1em;
    }
}

@media (max-width: 768px) {
    .features-grid,
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        grid-template-columns: 1fr;
    }

    .pricing-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 500px) {
    .header-container {
        padding: 0.5em;
    }

    .logo-img {
        height: 28px;
        margin-right: 6px;
    }

    .btn.btn-primary {
        padding: 0.4em 1em;
        font-size: 0.95em;
    }
}

/* --- Responsive & Mobile Improvements --- */
@media (max-width: 900px) {
  .header-container {
    flex-direction: row;
    padding: 0.75em 1em;
  }
  .logo-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  .header-container {
    flex-direction: row;
    align-items: center;
    padding: 0.5em 0.5em;
  }
  .logo-img {
    height: 28px;
    margin-right: 4px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .nav {
    margin-left: auto;
  }
  .nav-links {
    gap: 0.5em;
  }
}

@media (max-width: 600px) {
  #sidebarToggle {
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    font-size: 20px;
    z-index: 1101;
  }
  .header.modern-header {
    padding: 0;
  }
  .header-container {
    flex-direction: row;
    align-items: center;
    padding: 0.5em 0.5em;
    min-height: 56px;
  }
  .logo {
    font-size: 1rem;
  }
  .nav {
    display: none;
  }
  #sidebar {
    width: 80vw;
    max-width: 320px;
    padding: 60px 16px 16px 16px;
    font-size: 1.1rem;
  }
  #sidebar.visible {
    box-shadow: 2px 0 12px rgba(0,0,0,0.18);
  }
}

@media (max-width: 500px) {
  .header-container {
    padding: 0.25em 0.25em;
    min-height: 48px;
  }
  .logo-img {
    height: 22px;
    margin-right: 3px;
  }
  .logo-text {
    font-size: 0.95rem;
  }
  .visitor-stats-sticky {
    right: 4px;
    bottom: 4px;
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
    min-width: 110px;
  }
}

/* Sidebar overlay for mobile */
@media (max-width: 600px) {
  #sidebar.visible {
    background: rgba(255,255,255,0.98);
    box-shadow: 2px 0 16px rgba(0,0,0,0.18);
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
}

/* Hide nav links in header on mobile, use sidebar for navigation */
@media (max-width: 600px) {
  .nav {
    display: none !important;
  }
}

/* Responsive grid and cards */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .features {
    padding: 3rem 0 2rem;
  }
  .feature-card {
    padding: 1.2rem;
  }
  .pricing {
    padding: 3rem 0 2rem;
  }
  .pricing-card {
    padding: 1.2rem 0.7rem;
    max-width: 98vw;
  }
  .footer {
    padding: 2rem 0.5rem 1rem;
  }
}

@media (max-width: 400px) {
  .visitor-stats-sticky {
    font-size: 0.8rem;
    min-width: 80px;
    padding: 0.2rem 0.3rem;
  }
}

@media (max-width: 600px) {
  .btn-whatsapp-dark {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.1rem 0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
  }
  .pricing-card .btn-whatsapp-dark {
    margin-left: 0;
    margin-right: 0;
  }
  .btn-whatsapp-dark svg {
    margin-right: 0.5em;
    width: 28px;
    height: 28px;
  }
}
