/* Neura Review - Style-1 Design */
/* Meta Trim BHB inspired: #546cb4 hero, blue gradient headers, RED CTAs */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #546cb4;
    --dark-blue: #3d4f7d;
    --red-cta: #dc3545;
    --red-cta-hover: #c82333;
    --text-dark: #2c3e50;
    --text-light: #5a6c7d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, #4a5f9d 0%, #6b84c7 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
}

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

h1 { font-size: 2.5rem; }
h2 { 
    font-size: 2rem; 
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

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

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-blue);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
}

/* Hero Section - #546cb4 background */
.hero {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    max-width: 500px;
    margin: 2rem auto;
}

/* CTA Buttons - RED */
.cta-button {
    display: inline-block;
    background: var(--red-cta);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.cta-button:hover {
    background: var(--red-cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Sections */
section {
    padding: 4rem 0;
}

.section-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Cards */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Feature Icons */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    max-width: 100%;
    height: auto;
}

/* Pricing Cards */
.pricing-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--red-cta);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "BEST VALUE";
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--red-cta);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-right: 1rem;
}

.price-unit {
    font-size: 1.2rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: "✓";
    color: #28a745;
    font-weight: 700;
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Checkout Image - 1000px */
.checkout-image {
    max-width: 1000px;
    width: 100%;
    margin: 2rem auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 1rem 0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

/* FAQ - Collapsible */
.faq-container {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: "+";
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: "−";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-badge {
    text-align: center;
}

.trust-badge img {
    max-width: 120px;
    height: auto;
    margin-bottom: 0.5rem;
}

/* Author Box */
.author-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-blue);
}

.author-info h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.author-credentials {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 10px;
    overflow: hidden;
}

th {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 700;
}

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

tr:hover {
    background: var(--bg-light);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
/* =========================
   PREMIUM FOOTER (FIXED GRID)
   ========================= */

footer {
  background: #2f4152; /* keep your current footer color vibe */
  color: rgba(255,255,255,0.85);
  padding: 60px 0 40px;
  padding-bottom: 120px; /* IMPORTANT: prevents sticky CTA overlap */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.footer-section h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.footer-section p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255,255,255,0.80);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0 0 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(2px);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.footer-bottom p {
  margin: 10px 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
}

.footer-bottom strong {
  color: rgba(255,255,255,0.92);
}

/* Responsive: tablet */
@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive: mobile */
@media (max-width: 600px) {
  footer {
    padding: 45px 0 30px;
    padding-bottom: 140px; /* sticky CTA is more annoying on mobile */
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}
/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    padding: 1rem;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 99;
    display: none;
}

.sticky-cta.active {
    display: block;
}

.sticky-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-cta-text {
    color: var(--white);
    font-weight: 600;
}

/* Exit Popup */
.exit-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.exit-popup.active {
    display: flex;
}

.exit-popup-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 600px;
    position: relative;
    text-align: center;
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

.exit-popup-close:hover {
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero h1 { font-size: 2.2rem; }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .sticky-cta-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }

/* Certifications Section */
.certifications {
    background: #f8f9fa;
    padding: 4rem 0;
}

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

.cert-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
}

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

.cert-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}

.cert-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.cert-item p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cert-title {
        font-size: 2rem;
    }
}
