/* ============================================
   NeuroNation Landing Page - Optimized Styles
   ============================================ */

/* Article Content Styles */
.article-content {
    background: #fff;
    padding: 40px 0;
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 30px;
    font-weight: 400;
}

.article-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #1f2937;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 50px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Styled Lists */
.article-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px 20px;
}

.article-content ul li {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 12px 12px 42px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.article-content ul li::before {
    content: "●";
    position: absolute;
    left: 14px;
    top: 12px;
    color: #2563eb;
    font-size: 12px;
}

.article-content ul li strong {
    display: block;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.article-content ul li:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

/* Urgency Banner */
.urgency-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: #92400e;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.urgency-icon {
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Stat Highlight Box */
.stat-highlight {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 5px solid #2563eb;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
    flex-shrink: 0;
}

.stat-text {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #1e40af;
}

.stat-text strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #1e3a8a;
}

.stat-text cite {
    display: block;
    font-size: 0.875rem;
    font-style: italic;
    color: #6b7280;
    margin-top: 8px;
}

/* Chart Container */
.chart-container {
    margin: 40px 0;
    text-align: center;
}

.chart-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.chart-container figcaption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: #6b7280;
    font-style: italic;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: start;
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.125rem;
    margin: 0 0 8px 0;
    color: #111827;
}

.feature-item p {
    font-size: 0.9375rem;
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: #f9fafb;
    padding: 50px 0;
    margin: 60px -20px 40px;
    border-radius: 12px;
}

.testimonials h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: #111827;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.testimonial {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.testimonial:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.875rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
}

.testimonial-author strong {
    color: #111827;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    margin: 60px -20px 40px;
    border-radius: 12px;
}

.cta-section h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #1e3a8a;
}

.app-preview {
    max-width: 600px;
    margin: 0 auto 30px;
}

.app-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 30px;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.cta-button--primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.cta-button--primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
    transform: translateY(-2px);
}

.cta-button--secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.cta-button--secondary:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

.download-badges {
    margin: 30px 0;
}

.download-badges img {
    max-width: 180px;
    height: auto;
    transition: transform 0.2s ease;
}

.download-badges img:hover {
    transform: scale(1.05);
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 0.9375rem;
    color: #374151;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* References */
.references {
    margin-top: 60px;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.references h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 15px;
    color: #374151;
}

.references ol {
    margin: 0;
    padding-left: 20px;
}

.references li {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 50px 0 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    color: #d1d5db;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #9ca3af;
}

.footer-disclaimer p {
    margin-bottom: 15px;
}

.footer-disclaimer strong {
    color: #d1d5db;
}

.copyright {
    font-size: 0.75rem;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

/* Exit Intent Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    margin: 20px;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #111827;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #111827;
    font-size: 1.75rem;
}

.modal-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
}

.modal-content .cta-button {
    margin-top: 20px;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .article-content {
        padding: 25px 0;
    }

    .lead-paragraph {
        font-size: 1.125rem;
    }

    .article-content p {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 35px;
    }

    .stat-highlight {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .testimonials {
        margin-left: -15px;
        margin-right: -15px;
        padding: 40px 15px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        margin-left: -15px;
        margin-right: -15px;
        padding: 40px 15px;
    }

    .trust-signals {
        flex-direction: column;
        gap: 15px;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .article-content h2 {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .app-banner,
    .cta-section,
    .modal,
    footer {
        display: none !important;
    }

    .article-content {
        background: #fff !important;
    }

    a {
        text-decoration: none;
        color: #000 !important;
    }
}
