/* Platform Page Specific Styles */

/* Platform Hero */
.platform-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/grid-pattern.svg');
    opacity: 0.1;
}

.platform-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.platform-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.platform-hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 40px;
    line-height: 1.6;
}

.platform-hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Section Headers Enhanced */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    animation: expandWidth 1s ease-out 0.3s backwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.section-subtitle {
    font-size: 1.3rem;
    color: #636e72;
    max-width: 750px;
    margin: 35px auto 0;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.3px;
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Architecture Section */
.architecture-overview {
    padding: 100px 0;
    background: #f8f9fa;
}

.architecture-overview .section-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.arch-layer {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-layer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.arch-layer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.arch-layer-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3436;
}

.tech-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tech-badge.angular {
    background: #dd0031;
    color: white;
}

.tech-badge.dotnet {
    background: #512bd4;
    color: white;
}

.tech-badge.database {
    background: #00758f;
    color: white;
}

.tech-badge.ai {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.arch-layer-content p {
    color: #636e72;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-features {
    list-style: none;
    padding: 0;
}

.tech-features li {
    padding: 8px 0;
    color: #2d3436;
    border-bottom: 1px solid #f1f3f5;
}

.tech-features li:last-child {
    border-bottom: none;
}

.architecture-diagram {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 12px;
}

/* AI Features Section */
.ai-features {
    padding: 100px 0;
}

.ai-features .section-title {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a47d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-features .section-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.ai-feature-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.ai-feature-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.ai-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
}

.ai-feature-card.highlight .ai-icon {
    background: rgba(255, 255, 255, 0.2);
}

.ai-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.ai-capabilities {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.ai-capabilities li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ai-feature-card.highlight .ai-capabilities li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.ai-demo-cta {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

.ai-demo-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Integrations Section */
.integrations {
    padding: 100px 0;
    background: #f8f9fa;
}

.integrations .section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

.integration-categories {
    margin-bottom: 60px;
}

.integration-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d3436;
}

.integration-logos {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.integration-item {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 160px;
}

.integration-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.integration-item img {
    max-width: 120px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.integration-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-placeholder {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.integration-item .logo-placeholder {
    filter: grayscale(100%);
    opacity: 0.7;
}

.integration-item:hover .logo-placeholder {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.integration-name {
    font-size: 0.9rem;
    color: #636e72;
    font-weight: 600;
}

.integration-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.integration-feature {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.integration-feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Deployment Section */
.deployment {
    padding: 100px 0;
}

.deployment .section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(79, 172, 254, 0.3);
}

.deployment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.deployment-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.deployment-card.recommended {
    border-color: #667eea;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.deployment-icon {
    text-align: center;
    margin-bottom: 30px;
}

.deployment-card h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.deployment-description {
    text-align: center;
    color: #636e72;
    margin-bottom: 30px;
    line-height: 1.6;
}

.deployment-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.deployment-benefits li {
    padding: 10px 0;
    color: #2d3436;
    border-bottom: 1px solid #f1f3f5;
}

.deployment-providers {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.deployment-requirements {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.req-badge {
    background: #e9ecef;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.deployment-architecture {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.arch-component {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Security Section */
.security {
    padding: 100px 0;
    background: #f8f9fa;
}

.security .section-title {
    font-size: 3rem;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.security-feature {
    text-align: center;
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.security-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.security-feature p {
    color: #636e72;
    line-height: 1.6;
}

/* Performance Section */
.performance {
    padding: 100px 0;
}

.performance .section-title {
    font-size: 3.2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.performance .section-title::before {
    content: '⚡';
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-50%) scale(1.1);
    }
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.metric-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.metric-detail {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Platform CTA */
.platform-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.platform-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.platform-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-cta .btn-secondary {
    background: white;
    color: #667eea;
}

.platform-cta .btn-secondary:hover {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .platform-hero-title {
        font-size: 2.5rem;
    }
    
    .platform-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .architecture-grid,
    .ai-features-grid,
    .deployment-options {
        grid-template-columns: 1fr;
    }
    
    .integration-logos {
        justify-content: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .metric-value {
        font-size: 2rem;
    }
}