/* ========================================
   Problem Section
   ======================================== */
.problem-section {
    background: linear-gradient(135deg, #fef3f2 0%, #fef2f2 50%, #fff1f2 100%);
    padding: var(--spacing-3xl) 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.problem-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid #ef4444;
    transition: transform var(--transition-base);
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
}

.problem-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.problem-detail {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.solution-section {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: var(--spacing-2xl);
}

.solution-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.solution-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    transition: all var(--transition-base);
}

.solution-card:hover {
    background: var(--bg-tertiary);
    transform: translateY(-3px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.solution-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   Demo Section
   ======================================== */
.demo-section {
    background: var(--bg-secondary);
    padding: var(--spacing-3xl) 0;
}

.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Video Demo Styles */
.video-demo-container {
    max-width: 900px;
    margin: 0 auto var(--spacing-3xl);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--bg-primary);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

.video-coming-soon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.95) 0%, rgba(59, 130, 246, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border-radius: var(--radius-lg);
}

.coming-soon-content {
    text-align: center;
    color: white;
    padding: var(--spacing-xl);
}

.coming-soon-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.coming-soon-content p {
    font-size: 1rem;
    opacity: 0.95;
    max-width: 400px;
    margin: 0 auto;
}

.video-caption {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.video-caption i {
    color: var(--primary);
    margin-right: 6px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .video-demo-container {
        margin-bottom: var(--spacing-2xl);
    }
    
    .coming-soon-content h3 {
        font-size: 1.25rem;
    }
    
    .coming-soon-content p {
        font-size: 0.9rem;
    }
}

.demo-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: var(--spacing-2xl) 0 var(--spacing-lg);
    color: var(--text-primary);
}

.intake-form-demo {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-2xl);
}

.intake-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.form-field input[type="text"],
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.form-field textarea {
    resize: vertical;
    line-height: 1.5;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 400;
}

.chat-demo {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto var(--spacing-2xl);
}

.chat-header {
    background: var(--gradient-2);
    color: #ffffff !important;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header * {
    color: #ffffff !important;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    color: #ffffff !important;
}

.chat-status span {
    color: #ffffff !important;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-features {
    display: flex;
    gap: var(--spacing-xs);
}

.feature-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.25rem;
    transition: background var(--transition-fast);
}

.feature-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    padding: var(--spacing-lg);
    background: #f9fafb;
    min-height: 500px;
    max-height: 600px;
    overflow-y: auto;
}

.message {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: slideUp 0.3s ease-out;
}

.ai-message {
    flex-direction: row;
}

.user-message {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--bg-tertiary);
}

.message-content {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    max-width: 70%;
    box-shadow: var(--shadow-sm);
}

.user-message .message-content {
    background: var(--gradient-2);
    color: white;
}

.message-content strong {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9375rem;
}

.message-content p {
    margin: var(--spacing-xs) 0;
    line-height: 1.6;
}

.message-content ul {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.message-content li {
    margin: var(--spacing-xs) 0;
}

.message-time {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.7);
}

.voice-note {
    background: rgba(0, 0, 0, 0.05);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-sm) 0;
}

.voice-icon {
    font-size: 1.25rem;
}

.voice-wave {
    flex: 1;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        rgba(14, 165, 233, 0.5) 0px,
        rgba(14, 165, 233, 0.5) 3px,
        transparent 3px,
        transparent 6px
    );
    border-radius: var(--radius-sm);
}

.voice-duration {
    font-weight: 600;
    color: var(--primary-color);
}

.voice-transcript {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.ai-voice-option {
    margin-top: var(--spacing-sm);
}

.voice-response-btn {
    background: rgba(14, 165, 233, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.voice-response-btn:hover {
    background: var(--primary-color);
    color: white;
}

.demo-chat-input-area {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: white;
    border-top: 1px solid var(--border-color);
}

.input-btn {
    background: var(--bg-secondary);
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.25rem;
    transition: background var(--transition-fast);
}

.input-btn:hover {
    background: var(--bg-tertiary);
}

.demo-chat-input-area input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
}

.send-btn {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.send-btn:hover {
    transform: scale(1.05);
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-highlight {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}

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

.feature-highlight strong {
    display: block;
    color: #000000 !important;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.feature-highlight p {
    color: #000000 !important;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ========================================
   Founders Section
   ======================================== */
.founders-section {
    background: white;
    padding: var(--spacing-3xl) 0;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.founder-card {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.founder-avatar {
    font-size: 5rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.founder-avatar img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.avatar-placeholder {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px dashed var(--border);
}

.avatar-placeholder i {
    font-size: 48px;
    color: var(--primary);
    opacity: 0.4;
    margin-bottom: 8px;
}

.placeholder-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.founder-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.founder-bio {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.founder-highlights {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin: var(--spacing-md) 0;
}

.highlight-item {
    padding: var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.founder-mission {
    background: var(--gradient-2);
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-style: italic;
    line-height: 1.7;
}

.founding-story {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.story-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   Investors Section
   ======================================== */
.investors-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
    padding: var(--spacing-3xl) 0;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.investment-card {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.highlight-card {
    background: var(--gradient-2);
    color: white;
}

.investment-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.investment-stage {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.investment-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.detail-item strong {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.detail-item span {
    font-size: 1.25rem;
    font-weight: 600;
}

.detail-note {
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    opacity: 0.8;
}

.fund-allocation {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.allocation-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.allocation-bar {
    height: 8px;
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.allocation-info strong {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.allocation-info ul {
    margin-left: var(--spacing-lg);
    color: var(--text-secondary);
}

.allocation-info li {
    margin: var(--spacing-xs) 0;
}

.clinical-validation {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-2xl);
}

.validation-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.timeline-marker {
    background: var(--gradient-2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

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

.investor-cta {
    background: white;
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.investor-cta h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.investor-cta > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.investor-note {
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ========================================
   Responsive Design for New Sections
   ======================================== */
@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-demo {
        border-radius: var(--radius-md);
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-marker {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-messages {
        min-height: 400px;
        max-height: 500px;
    }
    
    .founder-avatar {
        font-size: 4rem;
    }
}
