/* ========================================
   PAGE HEADER - Premium with Animation
   ======================================== */
.page-header {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(248, 250, 252, 1), transparent);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.35rem;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
    padding: 5rem 0;
    background: #ffffff;
}

.content-section:nth-child(even) {
    background: #f8fafc;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.content-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.content-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.placeholder-image {
    background: var(--bg-light);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    border: 2px dashed var(--border-color);
}

/* ========================================
   VALUES SECTION - Glassmorphism
   ======================================== */
.values-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-color);
}

.member-image {
    margin-bottom: 1.5rem;
}

.placeholder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   SERVICES SECTION - Premium Cards
   ======================================== */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.75rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-card:nth-child(odd) .service-icon { animation-delay: 0s; }
.service-card:nth-child(even) .service-icon { animation-delay: 0.5s; }

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.service-card > p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.service-card .btn {
    width: 100%;
    text-align: center;
    background: var(--gradient-accent);
    color: white;
    border: none;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
    color: var(--text-dark);
    pointer-events: auto;
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    pointer-events: auto !important;
    z-index: 100 !important;
}

/* Ensure textarea is always interactive */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative;
    background: var(--bg-light) !important;
    color: var(--text-dark) !important;
}

/* Prevent any overlays from blocking the textarea */
.contact-form-wrapper * {
    pointer-events: auto;
}

.contact-form-wrapper::before,
.contact-form-wrapper::after {
    pointer-events: none !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative;
}

.contact-form .btn {
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .content-section,
    .values-section,
    .team-section,
    .services-section,
    .contact-section {
        padding: 3rem 0;
    }

    .content-text h2 {
        font-size: 1.5rem;
    }

    .placeholder-image {
        height: 250px;
    }

    .service-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* Cloud Services Page - Fix Readability */
.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cloud-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
}

.cloud-logo {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.cloud-card h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cloud-desc {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cloud-card h4 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 25px 0 15px 0;
}

.cloud-services-list,
.cloud-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.cloud-services-list li,
.cloud-benefits li {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.cloud-services-list li::before,
.cloud-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.cloud-services-list strong {
    color: #1e293b;
    font-weight: 700;
}

.cloud-use-cases {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.cloud-use-cases h4 {
    margin-top: 0;
}

.cloud-use-cases p {
    color: #334155;
    margin: 0;
    line-height: 1.6;
}

/* Dark Mode for Cloud Services */
.dark-mode .cloud-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .cloud-card h3,
.dark-mode .cloud-card h4 {
    color: #ffffff !important;
}

.dark-mode .cloud-desc,
.dark-mode .cloud-services-list li,
.dark-mode .cloud-benefits li,
.dark-mode .cloud-use-cases p {
    color: #e2e8f0 !important;
}

.dark-mode .cloud-services-list strong {
    color: #ffffff !important;
}

.dark-mode .cloud-use-cases {
    background: rgba(15, 23, 42, 0.5);
}

/* Features Grid for About Page */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

.dark-mode .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Mission Image */
.mission-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.image-placeholder {
    text-align: center;
}

.image-icon {
    font-size: 5rem;
    margin-bottom: 15px;
}

.image-placeholder p {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.dark-mode .mission-image {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.dark-mode .image-placeholder p {
    color: #a78bfa;
}

/* RAG Model Diagram */
.rag-model-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rag-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 150px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.step-content {
    text-align: center;
}

.step-content h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.step-content p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.rag-arrow {
    font-size: 2rem;
    color: #667eea;
    font-weight: 700;
}

.dark-mode .rag-model-diagram {
    background: rgba(30, 41, 59, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .step-content h4 {
    color: #ffffff;
}

.dark-mode .step-content p {
    color: #cbd5e1;
}

.dark-mode .rag-arrow {
    color: #a78bfa;
}

/* Tech Learn More Buttons */
.tech-learn-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.tech-learn-more:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.dark-mode .tech-learn-more {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

/* Enhanced Dark Mode for About Page */
.dark-mode .content-text h2,
.dark-mode .content-text p {
    color: #e2e8f0 !important;
}

.dark-mode .feature-card h3,
.dark-mode .feature-card p {
    color: #e2e8f0 !important;
}

.dark-mode .feature-card p strong {
    color: #ffffff !important;
}

.dark-mode .value-card h3,
.dark-mode .value-card p {
    color: #e2e8f0 !important;
}

.dark-mode .team-member h3,
.dark-mode .member-role,
.dark-mode .member-bio {
    color: #e2e8f0 !important;
}

/* Responsive RAG Diagram */
@media (max-width: 768px) {
    .rag-model-diagram {
        flex-direction: column;
    }
    
    .rag-arrow {
        transform: rotate(90deg);
    }
}

/* Our Core Strengths - Highlighted Section */
.strengths-section-highlighted {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.strengths-section-highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.strengths-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.strengths-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 15px;
    font-weight: 500;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.strength-card {
    background: white;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.strength-card:hover::before {
    transform: scaleX(1);
}

.strength-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
}

.strength-icon {
    font-size: 4.5rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    animation: strengthIconFloat 3s ease-in-out infinite;
}

@keyframes strengthIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.strength-card:nth-child(1) .strength-icon { animation-delay: 0s; }
.strength-card:nth-child(2) .strength-icon { animation-delay: 0.3s; }
.strength-card:nth-child(3) .strength-icon { animation-delay: 0.6s; }
.strength-card:nth-child(4) .strength-icon { animation-delay: 0.9s; }

.strength-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.02em;
}

.strength-description {
    color: #334155;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 25px;
    text-align: center;
}

.strength-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 25px;
}

.highlight-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.strength-card:hover .highlight-tag {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

/* Dark Mode Support */
.dark-mode .strengths-section-highlighted {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.dark-mode .strengths-subtitle {
    color: #cbd5e1;
}

.dark-mode .strength-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .strength-card:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(102, 126, 234, 0.5);
}

.dark-mode .strength-card h3 {
    color: #ffffff;
}

.dark-mode .strength-description {
    color: #e2e8f0;
}

.dark-mode .highlight-tag {
    background: rgba(102, 126, 234, 0.2);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.dark-mode .strength-card:hover .highlight-tag {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .strengths-section-highlighted {
        padding: 60px 0;
    }
    
    .strength-card {
        padding: 30px 25px;
    }
    
    .strength-icon {
        font-size: 3.5rem;
    }
}

/* ========================================
   LLM LIBRARIES PAGE - Tech Cards & Sections
   ======================================== */
.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.section-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-intro p {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.8;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tech-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.tech-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.tech-card > p {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-features li {
    padding: 0.75rem 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.tech-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

.tech-features li strong {
    color: #0f172a;
    font-weight: 700;
}

/* Integration Grid */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.integration-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.integration-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.integration-item p {
    color: #334155;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* RAG Process */
.rag-process {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.process-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.process-step p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-section .btn-primary {
    background: white;
    color: #667eea;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Dark Mode for LLM Libraries Page */
.dark-mode .section-intro h2 {
    color: #ffffff !important;
}

.dark-mode .section-intro p {
    color: #cbd5e1 !important;
}

.dark-mode .tech-card {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .tech-card:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(139, 92, 246, 0.4);
}

.dark-mode .tech-card h3 {
    color: #ffffff !important;
}

.dark-mode .tech-card > p {
    color: #cbd5e1 !important;
}

.dark-mode .tech-features li {
    color: #cbd5e1 !important;
}

.dark-mode .tech-features li strong {
    color: #ffffff !important;
}

.dark-mode .integration-item {
    background: rgba(30, 41, 59, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .integration-item:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: rgba(139, 92, 246, 0.4);
}

.dark-mode .integration-item h3 {
    color: #ffffff !important;
}

.dark-mode .integration-item p {
    color: #cbd5e1 !important;
}

.dark-mode .process-step {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .process-step h3 {
    color: #ffffff !important;
}

.dark-mode .process-step p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .content-section {
    background: #0f172a;
}

.dark-mode .content-section:nth-child(even) {
    background: #1e293b;
}

/* Responsive for LLM Libraries */
@media (max-width: 768px) {
    .section-intro h2 {
        font-size: 2rem;
    }
    
    .tech-grid,
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .rag-process {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 300px;
    }
}
