/* Custom CSS for NeuroDyn - Pixel-perfect replica of SocialOne design */

:root {
    /* Color System - Extracted from SocialOne */
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #10b981;
    --background-color: #f5f7fa;
    --background-light: #ffffff;
    --background-dark: #1e293b;
    --text-primary: #141824;
    --text-secondary: #31374a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --section-alt-bg: #eff2f6;
    
    /* Typography */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 56px 0;
    --container-max-width: 1200px;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    background-color: var(--background-color);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--container-max-width);
}

/* Navigation */
.navbar {
    background-color: var(--background-light) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary) !important;
    text-decoration: none;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container i {
    font-size: 1.8rem;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: var(--font-weight-medium);
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-weight: var(--font-weight-medium);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-color) 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-intro {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.partners-section {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.partner-badge {
    width: 60px;
    height: 60px;
    background: var(--background-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
}

.partner-badge i {
    font-size: 1.5rem;
}

/* Dashboard Mockup */
.hero-dashboard {
    position: relative;
}

.dashboard-mockup {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.dashboard-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
}

.chart-container {
    height: 200px;
    background: var(--background-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

.chart-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    border-radius: 1px;
}

.chart-container::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 30%, transparent 70%);
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Dashboard Section */
.dashboard-section {
    padding: var(--section-padding);
    background-color: var(--section-alt-bg);
}

.section-header h6 {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-header h2 {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-header .lead {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.feature-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.feature-item h6 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.dashboard-preview {
    position: relative;
}

.dashboard-image-placeholder {
    background: white;
    border-radius: 16px;
    padding: 4rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* AI Workflow Section */
.ai-workflow-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background-dark) 0%, #0f172a 100%);
}

.ai-workflow-section h6 {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.ai-workflow-section h2 {
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.ai-workflow-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

.workflow-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.workflow-step h5 {
    color: white;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.workflow-step p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Reviews Section */
.reviews-section {
    padding: var(--section-padding);
    background-color: white;
}

.review-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reviewer strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.reviewer .text-muted {
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: white;
}

.contact-section h2 {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-form-container {
    background: var(--background-color);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-label {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.thank-you-message {
    padding: 2rem;
}

/* Footer */
.footer {
    background-color: var(--background-dark) !important;
    padding: var(--section-padding);
}

.footer h6 {
    color: white;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .ai-workflow-section h2 {
        font-size: 2rem;
    }
    
    .contact-section h2 {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .hero-section {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Animation and Transitions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.dashboard-mockup {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.badge.bg-success {
    animation: pulse 2s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Pricing Styles */
.pricing-section {
    padding: var(--section-padding);
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-right: 0.25rem;
}

.amount {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.pricing-footer {
    margin-top: auto;
}

/* FAQ Styles */
.faq-section {
    padding: var(--section-padding);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: white;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--background-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.accordion-body {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
}

.cta-section h2 {
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
}

/* Feature List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Legal Section Styles */
.legal-section {
    padding: var(--section-padding);
    background-color: white;
}

.legal-content h1 {
    color: var(--text-primary);
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
}

.legal-content h2 {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Print Styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
}
