/* ============================================
   TheBrainSong Landing Page - CSS Stylesheet
   Color Scheme: Blue (#395d95) + Yellow (#fbbf24)
   Typography: Poppins Font Family
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.main-nav {
    background: #ffffff;
    padding: 15px 0;
    /* border-bottom: 1px solid #eee; */
}

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

.main-nav .logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

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

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

.nav-links a:hover {
    color: #395d95;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #395d95;
}

h2 {
    font-size: 2rem;
    color: #395d95;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: #395d95;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: #2d4a75;
}
.text-center {
    text-align: center;
}
/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-box {
    width: 2rem;
    height: 2rem;
    background-color: #395d95;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    font-size: 0.875rem;
}

.logo-text {
    font-weight: bold;
    color: #395d95;
    font-size: 1.125rem;
}

.btn-cta-header {
    background-color: #fbbf24;
    color: #000000;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.btn-cta-header:hover {
    background-color: #f59e0b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
}

/* Highlighted Yellow CTA Button */
.btn-primary {
    background-color: #ffcc00; /* main yellow */
    color: #000;
    font-weight: 700;
    animation: softBlink 1.8s infinite ease-in-out;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover - slightly lighter yellow */
.btn-primary:hover {
    background-color: #ffe066; 
    transform: scale(1.03);
}

/* Smooth blink animation */
@keyframes softBlink {
    0% { opacity: 1; }
    50% { opacity: 0.78; }
    100% { opacity: 1; }
}


.btn-secondary {
    border: 2px solid #395d95;
    color: #395d95;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #f0f4f8;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.btn-primary.btn-cta-header {
    font-size: 13px;
    padding: 5px 10px;
}
/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, #f0f4f8, #ffffff);
    padding: 4rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-section img {
        max-width: 100% !important;
    }
    .main-nav {
    display: none;
}
.science-box-item h3 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
}
.btn-primary.btn-cta-header {
    text-align: center;
}
h2.text-center {
    margin-bottom: 10px !important;
}
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Summary Box */
.summary-box {
    background-color: #f0f4f8;
    /* border-left: 4px solid #395d95; */
    padding: 2rem;
    margin: 2rem 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr;
    }
}

.check-list, .x-list {
    list-style: none;
    padding: 0;
}

.check-list li, .x-list li {
    padding: 0.5rem 0;
    color: #4b5563;
}

.check-list li {
    color: #395d95;
}

.x-list li {
    color: #ef4444;
}

/* Product Section */
.product-section {
    padding: 3rem 0;
    text-align: center;
}

.product-section img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-width: 700px;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Neuroscience Section */
.neuroscience-section {
    background: linear-gradient(to right, #395d95, #2d4a75);
    color: #ffffff;
    padding: 3rem 0;
}

.neuroscience-section h2 {
    color: #ffffff;
    margin-bottom: 2rem;
}

.neuroscience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .neuroscience-grid {
        grid-template-columns: 1fr;
    }
}

.science-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.science-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.science-list {
    list-style: none;
    padding: 0;
}

.science-list li {
    padding: 0.5rem 0;
    color: #ffffff;
}

.center-text {
    text-align: center;
    color: #e5e7eb;
    font-style: italic;
}

/* What Is Section */
.what-is-section {
    padding: 3rem 0;
}

.what-is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .what-is-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #f0f4f8;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    color: #4b5563;
    font-weight: 600;
}

.highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: #395d95;
}

/* Feels Section */
.feels-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.science-boxes {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 1.5rem;
    margin: 2rem 0;
}
.science-simple-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.why-compact-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Tablets → 2 columns */
@media (min-width: 700px) {
    .why-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop → also 2 columns (more premium, less scroll) */
@media (min-width: 1100px) {
    .why-compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    background: #f7f7f7;
    border: 1px solid #eee;
    transition: 0.2s ease;
}

.why-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.why-icon {
    font-size: 1.5rem;
    color: #00b074; /* green accent */
    flex-shrink: 0;
}

.why-item h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.why-item p {
    margin: 0.3rem 0 0;
    opacity: 0.9;
}
.why-choose-expanded-section {
    padding: 3rem 0;
}

/* Science Boxes Section */
.how-works-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile = 1 column */
    gap: 2rem;
    margin-top: 2.5rem;
}

/* desktop 2 columns */
@media (min-width: 900px) {
    .how-works-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* step items */
.how-step-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

/* BIG left number */
.big-step-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: #00b074; /* green highlight */
    line-height: 1;
    min-width: 50px;
    text-align: center;
}

/* step titles */
.how-step-item h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* step text */
.how-step-item p {
    margin: 0;
    opacity: 0.85;
}

/* image column */
.how-image img {
    width: 100%;
    /* max-width: 450px; */
    display: block;
    margin: 0 auto;
}
/* Tablet: 2 columns */
@media (min-width: 600px) {
    .science-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns */
@media (min-width: 992px) {
    .science-boxes {
        grid-template-columns: repeat(3, 1fr);
    }
}

.science-box-item {
   background: linear-gradient(to right, #395d95, #2d4a75);
    color: #ffffff;          /* white text */
    padding: 1.5rem;
    border-radius: 12px;
    line-height: 1.6;
    border: 1px solid #222;
}

.science-box-item h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.science-box-item p {
    margin: 0;
    opacity: 0.9;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.italic {
    font-style: italic;
    color: #6b7280;
}

/* How Works Section */
.how-works-section {
    padding: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #395d95;
    margin-bottom: 1rem;
}

/* Key Features Section */
.key-features-section {
    background: linear-gradient(to right, #f0f4f8, #e8f0f8);
    padding: 3rem 0;
}

.features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .features-layout {
        grid-template-columns: 1fr;
    }
}

.features-layout img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list li {
       padding: 0.75rem 0;
    color: #4b5563;
    font-size: 20px;
    font-weight: 600;
}

/* What You Get Section */
.what-you-get-section {
    padding: 3rem 0;
}

.get-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .get-grid {
        grid-template-columns: 1fr;
    }
}

.get-list ul {
    list-style: none;
    padding: 0;
}

.get-list li {
    padding: 0.75rem 0;
    color: #4b5563;
    font-size: 22px;
    font-weight: 600;
}

.get-image img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Usage Section */
.usage-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .usage-grid {
        grid-template-columns: 1fr;
    }
}

.usage-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.usage-card h3 {
    color: #395d95;
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-section {
    padding: 3rem 0;
}

.pricing-box {
    background: linear-gradient(to right, #395d95, #2d4a75);
    color: #ffffff;
    padding: 3rem;
    border-radius: 0.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
}

.price-note {
    color: #d1d5db;
    margin-bottom: 2rem;
}

/* Comparison Section */
.comparison-section {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.comparison-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .comparison-layout {
        grid-template-columns: 1fr;
    }
}

.comparison-layout img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
}

table thead {
    background-color: #395d95;
    color: #ffffff;
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Why Choose Section */
.why-choose-section {
    padding: 3rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    background-color: #f0f4f8;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.why-card h3 {
    color: #395d95;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: #6b7280;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    /* background-color: #f9fafb; */
    padding: 3rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.faq-item h3 {
    color: #395d95;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.faq-item p {
    color: #6b7280;
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(to right, #395d95, #2d4a75);
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

.final-cta-section h2 {
    color: #ffffff;
}

.final-cta-section p {
    color: #d1d5db;
    max-width: 600px;
    margin: 1rem auto;
}

/* Final Thoughts Section */
.final-thoughts-section {
    padding: 3rem 0;
        background: linear-gradient(to right, #395d95, #2d4a75);
            color: #fff;
}
.final-thoughts-section h2 {
    color: #fff;
}
/* 2-column layout */
.final-thoughts-grid {
    display: grid;
    grid-template-columns: 1fr; /* mobile */
    gap: 2rem;
    margin-top: 2rem;
}

/* Desktop: 2 columns */
@media (min-width: 900px) {
    .final-thoughts-grid {
        grid-template-columns: 1.2fr 1fr; /* left a bit wider */
        align-items: center;
    }
}

/* Items on the right */
.thought-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.thought-icon {
    font-size: 1.2rem;
    color: #00b074;
    flex-shrink: 0;
}

.thoughts-right p {
    margin: 0;
}
.thoughts-right {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    color: #fff;
}
.thoughts-box {
    background-color: #f0f4f8;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #395d95;
    margin-top: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.thoughts-box p {
    color: #395d95;
    margin: 0.75rem 0;
}

/* Disclosures Section */
.disclosures-section {
    /* background-color: #f3f4f6; */
    padding: 2rem 0;
    /* border-top: 2px solid #d1d5db; */
}

.disclosures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .disclosures-grid {
        grid-template-columns: 1fr;
    }
}

.disclosures-section h3 {
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.disclosures-section p {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding: 1rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer ul {
    list-style: none;
    padding: 0;
        display: inline-flex;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #d1d5db;
    transition: all 0.2s ease-in-out;
    padding: 0 10px;
}

.footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    /* border-top: 1px solid #374151; */
    /* padding-top: 2rem; */
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}
.footer-bottom p {
    margin: 0;
}
/* Accessibility */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #395d95;
    outline-offset: 2px;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* New Differentiated Section Styles */

.intro-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.experience-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-visual img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.efficacy-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.efficacy-box {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-top: 5px solid #395d95;
}

.efficacy-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-visual {
        order: -1;
    }
    
    .efficacy-box {
        padding: 2rem 1.5rem;
    }
}
