/* Pages Stylesheet - For Overview, Features, Documentation, About pages */

.page-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    color: #1e293b;
    position: relative;
    overflow-x: hidden;
}

/* Animated background particles effect */
.page-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 2rem;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.page-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 300;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.content-section:nth-child(2) { animation-delay: 0.1s; }
.content-section:nth-child(3) { animation-delay: 0.2s; }
.content-section:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #334155;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 2rem;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    animation: pulseGlow 3s ease-in-out infinite;
}

.highlight-box:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1); }
    50% { box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2); }
}

.highlight-box h3 {
    color: #3b82f6;
    margin-top: 0;
}

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

.capability-card {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.capability-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.capability-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.capability-card:hover .capability-icon {
    transform: rotate(5deg) scale(1.1);
    animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
}

.capability-icon svg {
    width: 100%;
    height: 100%;
}

.capability-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.capability-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Architecture Diagram */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.arch-layer {
    width: 100%;
    max-width: 600px;
}

.arch-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.arch-box:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.arch-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.arch-box p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.arch-arrow {
    font-size: 2rem;
    color: #3b82f6;
    margin: 1rem 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

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

.stat-card {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: countUp 1s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

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

.feature-list li {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-list li:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.feature-list li strong {
    color: #3b82f6;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

.cta-section h2 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.cta-section p {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

/* Navigation Active State */
.nav-links a.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

/* Page Footer */
.page-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    color: #64748b;
    font-size: 0.9rem;
}

/* Documentation Specific */
.doc-section {
    margin-bottom: 3rem;
}

.code-block {
    background: #1e293b;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    overflow-x: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.code-block code {
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #10b981;
    line-height: 1.6;
}

.info-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.1);
}

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

.team-member {
    background: white;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-member:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.03) 100%);
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.team-member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-avatar {
    transform: scale(1.1) rotate(5deg);
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.team-member .role {
    color: #3b82f6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-member p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-container {
        padding: 80px 1rem 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .capability-grid,
    .stats-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

