@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Performance Optimizations */
/* Critical CSS - Above the fold styles */
.critical-css {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    loading: lazy;
    decoding: async;
}

/* Aspect ratio preservation for CLS optimization */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container::before {
    content: '';
    display: block;
    width: 100%;
    padding-bottom: calc(9 / 16 * 100%); /* 16:9 aspect ratio */
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Font loading optimization */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfAZ9hiA.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/inter/v12/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuGKYAZ9hiA.woff2') format('woff2');
}

/* CSS containment for performance */
.hero-section,
.project-grid,
.stats-section {
    contain: layout style paint;
}

/* GPU acceleration for animations */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Reduce repaints */
.navbar,
.footer {
    position: relative;
    z-index: 100;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Global Heading Styles - Center All Headings */
h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

/* Override for specific components that need left alignment */
.faq-question h3,
.footer-section h4,
.author-info h4,
.integration-item h4 {
    text-align: left;
}

/* Integration Features Heading Style */
.integration-features-heading {
    text-align: center !important;
    margin-bottom: 30px !important;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Dataset Detail Premium Styles */
.dataset-detail-page {
    background-color: #000;
    color: #fff;
}

.dataset-detail-page .dataset-section p,
.dataset-detail-page .dataset-feature-text p,
.dataset-detail-page .dataset-table-premium td {
    color: #e0e0e0; /* Much better contrast on black */
}

.dataset-detail-page h2, 
.dataset-detail-page h3, 
.dataset-detail-page h4 {
    color: #fff;
}

.hero-dataset {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-dataset::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('logos/arch-data.svg') no-repeat center center;
    opacity: 0.05;
    transform: scale(2);
    pointer-events: none;
}

.hero-dataset .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-dataset .hero-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.dataset-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.dataset-stat-card {
    padding: 30px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.dataset-stat-card:hover {
    transform: translateY(-10px);
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.4);
}

.dataset-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.dataset-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.dataset-section {
    padding: 100px 0;
    background: #000;
    color: white;
}

.dataset-section--alt {
    background: #0a0a0a;
}

.dataset-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .dataset-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.dataset-info-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 32px;
}

.dataset-info-card h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    text-align: left;
}

.dataset-feature-list {
    list-style: none;
    padding: 0;
}

.dataset-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.dataset-feature-icon {
    width: 24px;
    height: 24px;
    background: #3a3a3a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.dataset-feature-icon svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 3;
}

.dataset-feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #fff;
    text-align: left;
}

.dataset-feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.dataset-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dataset-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    aspect-ratio: 16/10;
    z-index: 1;
}

.dataset-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none; /* Let clicks pass to the card */
}

.dataset-image-card:hover img {
    transform: scale(1.05);
}

.dataset-image-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none; /* Let clicks pass to the card */
}

.dataset-image-card:hover .overlay {
    background: rgba(0, 0, 0, 0.4);
}

.dataset-package-premium {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    padding: 80px;
    border-radius: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.dataset-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.package-item-premium {
    background: #1a1a1a;
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.package-item-icon {
    width: 48px;
    height: 48px;
    background: #3a3a3a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.package-item-text span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.package-item-text small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.dataset-table-premium {
    width: 100%;
    background: #1a1a1a;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dataset-table-premium th {
    background: #2a2a2a;
    padding: 20px;
    color: #fff;
    text-align: left;
    font-weight: 600;
}

.dataset-table-premium td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dataset-table-premium tr:hover td {
    color: #fff;
    background: #2a2a2a;
}

.dataset-cta-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-premium {
    padding: 18px 48px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-premium--primary {
    background: #fff;
    color: #000;
}

.btn-premium--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #f5f5f7;
}

.btn-premium--secondary {
    background: #fff;
    color: #000;
}

.btn-premium--secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: #f5f5f7;
}

.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quiz-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quiz-container {
    background: white;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 24px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-overlay.active .quiz-container {
    transform: scale(1);
}

.quiz-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.quiz-close:hover {
    color: var(--text-primary);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.quiz-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

@media (max-width: 768px) {
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.quiz-option {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-align: center;
    background: none;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiz-option:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.quiz-option.selected {
    border-color: var(--primary-color);
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
}

.quiz-input-group {
    margin-bottom: 20px;
}

.quiz-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s;
}

.quiz-input:focus {
    border-color: var(--primary-color);
}

.quiz-footer {
    margin-top: 30px;
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
}

.quiz-next-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}

.quiz-next-btn:hover {
    background: var(--primary-dark);
}

.quiz-result-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.quiz-result-box {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.quiz-result-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .quiz-container {
        max-width: 600px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .quiz-container {
        max-width: 500px;
        width: 95%;
        padding: 20px;
        max-height: 90vh;
    }
    .quiz-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .quiz-option {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .quiz-container {
        width: 95%;
        padding: 15px;
        max-height: 95vh;
    }
    .quiz-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    .quiz-option {
        padding: 10px 12px;
        font-size: 13px;
    }
    .quiz-options {
        gap: 8px;
    }
}

/* Gateway Page Technology Icons */
.tech-icons-section {
    margin-top: 40px;
    text-align: center;
}

.tech-icons-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.tech-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.95;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-icon-item:hover {
    opacity: 1;
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: rgba(0, 113, 227, 0.2);
}

.tech-icon {
    width: 44px;
    height: 44px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

/* Individual Icon Colors */
.tech-icon-item:nth-child(1) .tech-icon { filter: drop-shadow(0 0 8px rgba(0, 113, 227, 0.3)); } /* AI - Blue */
.tech-icon-item:nth-child(2) .tech-icon { filter: hue-rotate(160deg) saturate(2); } /* IIoT - Teal */
.tech-icon-item:nth-child(3) .tech-icon { filter: hue-rotate(260deg) saturate(1.5); } /* Edge - Purple */
.tech-icon-item:nth-child(4) .tech-icon { filter: hue-rotate(30deg) saturate(2); } /* ML - Orange */
.tech-icon-item:nth-child(5) .tech-icon { filter: hue-rotate(50deg) saturate(2); } /* Blockchain - Gold */
.tech-icon-item:nth-child(6) .tech-icon { filter: hue-rotate(340deg) saturate(2); } /* Automation - Red */
.tech-icon-item:nth-child(7) .tech-icon { filter: hue-rotate(210deg) saturate(2); } /* Network - Blue */
.tech-icon-item:nth-child(8) .tech-icon { filter: hue-rotate(190deg) saturate(1.2); } /* Storage - Slate */
.tech-icon-item:nth-child(9) .tech-icon { filter: hue-rotate(100deg) saturate(2); } /* Energy - Green */
.tech-icon-item:nth-child(10) .tech-icon { filter: hue-rotate(300deg) saturate(2); } /* Processor - Pink */
.tech-icon-item:nth-child(11) .tech-icon { filter: hue-rotate(180deg) saturate(2); } /* Security - Cyan */
.tech-icon-item:nth-child(12) .tech-icon { filter: hue-rotate(240deg) saturate(2); } /* AutoML - Indigo */

.tech-icon-item:hover .tech-icon {
    filter: brightness(1.1) saturate(1.5) drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.tech-icon-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

.tech-icon-item:hover .tech-icon-label {
    color: var(--primary-color);
}

/* Micro-CTA Button */
.micro-cta-section {
    margin-top: 30px;
    text-align: center;
}

.micro-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.micro-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
}

.micro-cta-btn:active {
    transform: translateY(0);
}

.micro-cta-icon {
    font-size: 16px;
    animation: pulse 2s infinite;
}

.micro-cta-text {
    flex: 1;
}

.micro-cta-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.micro-cta-btn:hover .micro-cta-arrow {
    transform: translateX(3px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tech-icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
        max-width: 600px;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
    }
    
    .tech-icon-label {
        font-size: 11px;
    }
    
    .micro-cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tech-icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 12px;
        max-width: 400px;
    }
    
    .tech-icon {
        width: 30px;
        height: 30px;
    }
    
    .tech-icon-label {
        font-size: 10px;
    }
    
    .micro-cta-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 8px;
    }
}

/* Scroll adjustments for modal */
body.modal-open,
body.mobile-nav-open,
html.mobile-nav-open {
    overflow: hidden;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 1001;
    padding: 12px 20px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.45);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --primary-color: #0071e3;
    --primary-dark: #0051a8;
    --secondary-color: #1d1d1f;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --bg-primary: rgba(255, 255, 255, 0.7);
    --bg-secondary: rgba(245, 245, 247, 0.7);
    --bg-dark: #000000;
    --accent: #06c;
    --border-color: #d2d2d7;
    --text-light: #ffffff;
    --accent-orange: #ff6600;
    --accent-orange-dark: #e65c00;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

html {
    -webkit-tap-highlight-color: rgba(0, 113, 227, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    position: relative;
    padding-top: 70px;
}

/* Landing gateway (index.html) */
html.gateway-root,
body.gateway-page {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: #f5f5f7;
}

.hero-gateway {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-align: center;
    position: relative;
    z-index: 1;
}

.gateway-content {
    position: relative;
    z-index: 3;
    padding: 40px 32px;
    max-width: 800px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.gateway-logo {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.gateway-logo span,
.gateway-content .brand-lab {
    color: var(--primary-color);
}

.gateway-tagline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.gateway-tagline span {
    color: var(--primary-color);
    font-weight: 700;
}

.gateway-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.gateway-btn {
    display: inline-block;
    padding: 15px 36px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--accent-orange);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: background 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.28);
}

.gateway-btn:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 8px 28px rgba(255, 102, 0, 0.35);
}

.gateway-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.45), 0 8px 28px rgba(255, 102, 0, 0.35);
}

.gateway-btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: rgba(0, 113, 227, 0.45);
    box-shadow: none;
    letter-spacing: 0.06em;
}

.gateway-btn--secondary:hover {
    background: rgba(0, 113, 227, 0.08);
    border-color: var(--primary-color);
    box-shadow: none;
}

.gateway-btn--secondary:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.35);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow: visible;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 10000;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    height: 70px;
    overflow: visible;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 70px;
    min-width: 0;
    overflow: visible;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    flex-shrink: 0;
}

.logo span,
.brand-lab {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
    width: auto;
    flex-shrink: 0;
    overflow: visible;
}

.nav-menu li {
    flex-shrink: 0;
    min-width: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    overflow: visible;
}

.dropdown-toggle::after {
    content: ' ▾';
    font-size: 10px;
    vertical-align: middle;
    display: inline-block;
    width: 12px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    border: 1px solid var(--border-color);
    z-index: 999999;
    pointer-events: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    border-radius: 12px;
    margin: 4px 12px;
    white-space: nowrap;
}

/* Mobile Adjustments for Dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        display: none;
        border: none;
    }
    
    .dropdown-menu.show {
        display: block;
    }
}



.cta-btn {
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    border-radius: 10px;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.35);
}

.mobile-menu-icon {
    display: block;
}

.mobile-menu-icon line {
    transform-origin: 12px 12px;
    transition: opacity 0.22s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon line:nth-child(1) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-icon line:nth-child(3) {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-menu-icon line {
        transition-duration: 0.01ms;
    }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.hero--dark {
    position: relative;
    color: #f5f5f7;
    background: linear-gradient(165deg, #0c0f14 0%, #141a22 42%, #182430 100%);
    overflow: hidden;
}

.hero--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(0, 113, 227, 0.2), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(8, 145, 178, 0.12), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 102, 0, 0.06), transparent 45%);
    pointer-events: none;
}

.hero--dark .container,
.hero--dark .hero-content {
    position: relative;
    z-index: 1;
}

.hero--dark .hero-title {
    color: #f5f5f7;
}

/* Hero - Blue Gradient */
.hero--blue {
    position: relative;
    color: #1a1a1a;
    background: linear-gradient(165deg, #0044aa 0%, #0066cc 42%, #0088ee 100%);
    overflow: hidden;
}

.hero--blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(255, 255, 255, 0.15), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(0, 113, 227, 0.2), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.hero--blue .container,
.hero--blue .hero-content {
    position: relative;
    z-index: 1;
}

.hero--blue .hero-title {
    color: #1a1a1a;
}

/* Hero - Purple Gradient */
.hero--purple {
    position: relative;
    color: #f5f5f7;
    background: linear-gradient(165deg, #4a0080 0%, #6600cc 42%, #8000ff 100%);
    overflow: hidden;
}

.hero--purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(255, 255, 255, 0.15), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(102, 0, 204, 0.2), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.hero--purple .container,
.hero--purple .hero-content {
    position: relative;
    z-index: 1;
}

.hero--purple .hero-title {
    color: #f5f5f7;
}

/* Hero - Green Gradient */
.hero--green {
    position: relative;
    color: #1a1a1a;
    background: linear-gradient(165deg, #006622 0%, #008833 42%, #00aa44 100%);
    overflow: hidden;
}

.hero--green::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(255, 255, 255, 0.15), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(0, 136, 51, 0.2), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.hero--green .container,
.hero--green .hero-content {
    position: relative;
    z-index: 1;
}

.hero--green .hero-title {
    color: #1a1a1a;
}

/* Hero - Orange Gradient */
.hero--orange {
    position: relative;
    color: #1a1a1a;
    background: linear-gradient(165deg, #cc4400 0%, #ff6600 42%, #ff8833 100%);
    overflow: hidden;
}

.hero--orange::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(255, 255, 255, 0.15), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(255, 102, 0, 0.2), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.hero--orange .container,
.hero--orange .hero-content {
    position: relative;
    z-index: 1;
}

.hero--orange .hero-title {
    color: #1a1a1a;
}

/* Hero - Teal Gradient */
.hero--teal {
    position: relative;
    color: #1a1a1a;
    background: linear-gradient(165deg, #006666 0%, #008888 42%, #00aaaa 100%);
    overflow: hidden;
}

.hero--teal::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% -25%, rgba(255, 255, 255, 0.15), transparent 55%),
        radial-gradient(ellipse 55% 45% at 100% 100%, rgba(0, 136, 136, 0.2), transparent 50%),
        radial-gradient(ellipse 40% 35% at 0% 85%, rgba(255, 255, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.hero--teal .container,
.hero--teal .hero-content {
    position: relative;
    z-index: 1;
}

.hero--teal .hero-title {
    color: #1a1a1a;
}

.hero--blue .hero-subtitle {
    color: rgba(26, 26, 26, 0.85);
}

.hero--purple .hero-subtitle {
    color: rgba(245, 245, 247, 0.72);
}

.hero--green .hero-subtitle {
    color: rgba(26, 26, 26, 0.85);
}

.hero--teal .hero-subtitle {
    color: rgba(26, 26, 26, 0.85);
}

.hero--orange .hero-subtitle {
    color: rgba(26, 26, 26, 0.85);
}

.hero--blue .hero-highlights li {
    color: rgba(26, 26, 26, 0.85);
}

.hero--purple .hero-highlights li {
    color: rgba(245, 245, 247, 0.82);
}

.hero--green .hero-highlights li {
    color: rgba(26, 26, 26, 0.85);
}

.hero--teal .hero-highlights li {
    color: rgba(26, 26, 26, 0.85);
}

.hero--orange .hero-highlights li {
    color: rgba(26, 26, 26, 0.85);
}

.hero--blue .hero-highlights li::before {
    background: #ff6b6b;
}

.hero--purple .hero-highlights li::before {
    background: #64b5f6;
}

.hero--green .hero-highlights li::before {
    background: #ff6b6b;
}

.hero--teal .hero-highlights li::before {
    background: #ff6b6b;
}

.hero--orange .hero-highlights li::before {
    background: #ff6b6b;
}

.hero--dark .hero-subtitle {
    color: rgba(245, 245, 247, 0.72);
}

.hero--dark .hero-highlights li {
    color: rgba(245, 245, 247, 0.82);
}

.hero--dark .hero-highlights li::before {
    background: #64b5f6;
    box-shadow: 0 0 14px rgba(100, 181, 246, 0.45);
}

.hero--dark .stat-number {
    color: white;
}

.hero--dark .stat-label {
    color: white;
}

.hero--dark .hero-cta-secondary {
    color: #f5f5f7;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.06);
}

.hero--dark .hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero--dark .hero-cta-secondary:focus-visible {
    box-shadow: 0 0 0 3px rgba(125, 196, 255, 0.45);
}

.hero-title {
    font-size: clamp(1.85rem, 4vw + 1rem, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.5vw + 0.65rem, 1.35rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 16px;
    line-height: 1.45;
}

.hero-highlights {
    list-style: none;
    max-width: 640px;
    margin: 0 auto 28px;
    padding: 0;
    text-align: left;
    display: grid;
    gap: 10px 20px;
}

@media (min-width: 600px) {
    .hero-highlights {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-highlights li {
    position: relative;
    padding-left: 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.45;
}

.hero-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.85;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.hero-cta-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero-cta-secondary:hover {
    background: rgba(0, 113, 227, 0.08);
}

.hero-cta-secondary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.35);
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-tags .project-tag {
    font-size: 0.9rem;
    padding: 4px 15px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: white;
    font-variant-numeric: tabular-nums;
    margin-bottom: 8px;
    display: inline-block;
    text-align: center;
}

.stat-number.animated {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.stat-label {
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--text-light);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3);
}

.hero-cta:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.4);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.project-tag {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-tag.industry-5-0 {
    background: #ffcc00;
    color: #1d1d1f;
}

.project-tag.industry-4-0 {
    background: #34c759;
    color: var(--text-light);
}

.project-tag.aiot {
    background: #007aff;
    color: var(--text-light);
}

.project-tag.manufacturing {
    background: #ff3b30;
    color: var(--text-light);
}

.project-tag.infrastructure {
    background: #5856d6;
    color: var(--text-light);
}

.project-tag.blockchain {
    background: #1d1d1f;
    color: var(--text-light);
}

.project-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-features {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.project-link:hover {
    text-decoration: underline;
}

/* Section Title */
.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.technology .section-title {
    color: var(--text-primary);
}

#technology .section-title {
    color: var(--text-light);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.tech-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-category h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.tech-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 20px;
}

.tech-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: transparent;
    border-radius: 16px;
    text-align: center;
}

.tech-logo-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-logo-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Light theme for tech logos in project pages */
.tech-logos-light .tech-logo-item span {
    color: var(--text-primary);
}

.tech-logos-light .tech-logo-item img {
    background: #ffffff;
    border: 1px solid var(--border-color);
}

/* Platform Architecture */
.architecture {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: -40px;
    margin-bottom: 60px;
}

.architecture-categories {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.arch-category {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s;
}

.arch-category:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.arch-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.arch-icon {
    font-size: 48px;
    line-height: 1;
}

.arch-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.arch-modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.arch-module {
    background: var(--bg-primary);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.arch-module:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.arch-module h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.arch-module p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.arch-module strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Future Development */
.future-dev {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
}

.future-dev .section-title {
    color: var(--text-light);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.future-card {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.future-card:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.future-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.future-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.future-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Advanced Features */
.advanced {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Hardware Section */
.hardware-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hardware-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hardware-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hardware-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hardware-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.hardware-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hardware-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.hardware-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.section-subtitle-light {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: -40px;
    margin-bottom: 60px;
}

.advanced-sections {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.advanced-section {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.advanced-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.advanced-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.advanced-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.advanced-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.advanced-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* Performance Section */
.performance {
    padding: 100px 0;
    background: var(--bg-primary);
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.perf-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.perf-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.perf-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.perf-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.perf-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* DevOps Section */
.devops {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.devops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.devops-card {
    background: var(--bg-primary);
    padding: 35px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.devops-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.devops-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.devops-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: var(--text-light);
}

.security-section .section-title {
    color: var(--text-light);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.security-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.15);
}

.security-badge {
    font-size: 48px;
    margin-bottom: 15px;
}

.security-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.security-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 14px;
}

/* Experimental Section */
.experimental {
    padding: 100px 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.experimental .section-title {
    color: var(--text-light);
}

.experimental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.experimental-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.experimental-card:hover {
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.3);
}

.exp-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.experimental-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.experimental-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 15000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    margin-top: 20px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    max-width: 90%;
    word-wrap: break-word;
}

.lightbox-caption:empty {
    display: none;
}

/* Additional styles for better image display */
.lightbox {
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-content {
    position: relative;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Ensure images are fully visible */
.lightbox.active .lightbox-content img {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 15001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-close:hover {
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.lightbox-close:active {
    transform: scale(0.95);
}

/* Ensure close button is always visible when lightbox is active */
.lightbox.active .lightbox-close {
    opacity: 1;
    visibility: visible;
    display: flex;
    animation: fadeInCloseButton 0.3s ease-in-out;
}

@keyframes fadeInCloseButton {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Additional visibility improvements */
.lightbox-close::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.lightbox-close::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    z-index: -2;
}

/* Screenshot styling on pages */
.screenshot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.screenshot-item {
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.screenshot-item:hover {
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.2);
    border-color: var(--primary-color);
}

.overview-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.overview-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 113, 227, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 12px;
    font-size: 14px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 8px;
}


.hardware-infrastructure .section-title {
    color: var(--text-light);
}

.hardware-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.hardware-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.hardware-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.hw-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.hw-logo-invert {
    filter: none;
}

.hardware-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hardware-card ul {
    list-style: none;
    padding: 0;
}

.hardware-card ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 14px;
}

.hardware-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.hardware-cta {
    background: rgba(0, 113, 227, 0.2);
    border: 2px solid var(--primary-color);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.hardware-cta h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.hardware-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Integration Section */
.integration {
    padding: 100px 0;
    background: var(--bg-primary);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.integration-item {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s;
}

.integration-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.integration-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.integration-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-1);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-orange-dark);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
}


/* Card footer for button positioning */
.feature-card .card-footer {
    margin-top: auto;
    padding-top: 20px;
    text-align: center;
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    font-style: normal;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Contact Form Section */
.contact-page {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 45px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 16px;
        width: 100%;
    }
    
    #form-status {
        font-size: 14px;
        padding: 12px;
    }
}

/* Small laptops (11-13 inch screens) */
@media (max-width: 1366px) and (min-width: 1025px) {
    .contact-container {
        max-width: 85%;
        margin: 0 auto;
        padding: 25px;
    }
    
    .contact-form {
        gap: 20px;
    }
    
    .form-row {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .submit-btn {
        padding: 15px 30px;
        font-size: 15px;
    }
    
    #form-status {
        font-size: 13px;
        padding: 12px;
    }
}

/* Ultra-small laptops (11 inch screens with low resolution) */
@media (max-width: 1280px) and (min-width: 1025px) {
    .contact-container {
        max-width: 88%;
        margin: 0 auto;
        padding: 20px;
    }
    
    .contact-form {
        gap: 18px;
    }
    
    .form-row {
        gap: 18px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .submit-btn {
        padding: 14px 25px;
        font-size: 14px;
    }
    
    #form-status {
        font-size: 12px;
        padding: 10px;
    }
}

/* Additional responsive improvements for tablets and small laptops */
@media (max-width: 1024px) and (min-width: 601px) {
    .contact-container {
        max-width: 90%;
        margin: 0 auto;
        padding: 25px;
    }
    
    .contact-form {
        max-width: 100%;
        margin: 0;
    }
    
    .form-row {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 18px;
    }
    
    .submit-btn {
        padding: 16px 35px;
        font-size: 15px;
    }
}

/* Ultra-small devices (small phones) */
@media (max-width: 480px) {
    .contact-container {
        max-width: 95%;
        margin: 0 auto;
        padding: 20px 15px;
    }
    
    .contact-form {
        gap: 15px;
        padding: 0;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
        font-size: 16px;
        border-radius: 15px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 15px;
        border-radius: 15px;
    }
    
    #form-status {
        font-size: 13px;
        padding: 10px;
        margin-top: 15px;
    }
}

/* Landscape orientation for mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-container {
        max-width: 90%;
        margin: 0 auto;
        padding: 20px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .form-row {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
    }
    
    .submit-btn {
        padding: 12px 25px;
    }
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.submit-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

/* Form error styles */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group input.error:focus,
.form-group textarea.error:focus,
.form-group select.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Form status styles */
.form-status-success {
    background: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
    animation: slideInUp 0.3s ease;
}

.form-status-error {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form row improvements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Form Status Messages */
#form-status {
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

#form-status.success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb !important;
}

#form-status.error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
}

/* Workflow Diagrams */
.workflow-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-radius: 30px;
    margin: 40px 0;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    z-index: 1;
}

.workflow-step:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.workflow-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    padding: 12px;
}

.workflow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.workflow-step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.workflow-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.workflow-arrow {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 24px;
}

@media (max-width: 992px) {
    .workflow-container {
        flex-direction: column;
    }
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .workflow-step {
        width: 100%;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left !important;
}

.faq-item {
    background: var(--bg-secondary);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s ease;
    text-align: left !important;
}

.faq-question:hover {
    background: rgba(0, 113, 227, 0.05);
}

.faq-question h3 {
    text-align: left !important;
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    text-align: left !important;
}

.faq-answer.active {
    padding: 0 24px 24px 24px;
    max-height: 800px;
}

.faq-answer p {
    text-align: left !important;
    margin: 0;
}

.faq-answer * {
    text-align: left !important;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    .faq-question {
        font-size: 1.1rem;
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h4 span {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.footer-bottom p span {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-row .hero-cta,
    .hero-cta-secondary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .features-grid,
    .advanced-grid,
    .integration-grid,
    .future-grid,
    .performance-grid,
    .devops-grid,
    .security-grid,
    .experimental-grid,
    .hardware-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .tech-logos {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .arch-modules {
        grid-template-columns: 1fr;
    }
    
    .arch-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .arch-header h3 {
        font-size: 24px;
    }
    
    .arch-category {
        padding: 30px 20px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    
    .feature-card,
    .advanced-card,
    .future-card,
    .project-card {
        padding: 30px 20px;
    }
    
    .arch-module {
        padding: 20px;
    }
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: -10px auto 60px;
}

.projects-intro {
    max-width: 1000px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.projects-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.projects-intro p:last-child {
    margin-bottom: 0;
}

.projects-intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

.projects-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 60px 0 40px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--bg-primary);
    padding: 40px 30px;
}

/* Gateway Page SEO Content */
.gateway-seo-content {
    max-width: 1000px;
    margin: 60px auto 20px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.gateway-seo-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.gateway-seo-content p {
    margin-bottom: 15px;
}

.gateway-seo-content p:last-child {
    margin-bottom: 0;
}

.gateway-seo-content span.brand-lab {
    color: var(--primary-color);
    font-weight: 600;
}

.project-card {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.project-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 20px;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Certificates Section */
.certificates-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-card {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 320px;
}

.cert-logo-container {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
}

.cert-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Special styling for Lean Project Management logo to make it larger */
.cert-card:nth-child(4) .cert-logo-container {
    height: 200px;
    padding: 25px;
}

.cert-card:nth-child(4) .cert-logo {
    max-width: 250px;
    max-height: 150px;
    width: 250px;
    height: 150px;
}

.cert-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.cert-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cert-count {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cert-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.digicomp-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.level-badge {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.digicomp-card {
    grid-column: span 1;
}

@media (min-width: 992px) {
    .digicomp-card {
        grid-column: span 1;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-intro {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.about-text p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-technologies {
    margin-top: 30px;
}

.about-technologies h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-badge {
    display: inline-block;
    padding: 8px 20px;
}

/* Tech Diagram Styles */
.tech-diagram {
    position: relative;
    height: 700px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
    max-width: 900px;
}

.tech-node {
    position: absolute;
    background: linear-gradient(135deg, #0071E3, #0056b3);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.tech-node:hover {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
    z-index: 10;
}

.tech-node-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.tech-node-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.tech-node-detail {
    font-size: 12px;
    opacity: 0.9;
}

.tech-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.tech-line {
    stroke: #0071E3;
    stroke-width: 2;
    opacity: 0.6;
    stroke-dasharray: 5, 5;
    animation: dashAnimation 20s linear infinite;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -100;
    }
}

/* Tech Popup Styles */
.tech-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tech-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 500px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tech-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.tech-popup h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.tech-popup p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.tech-popup-close:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Responsive Tech Diagram */
@media (max-width: 768px) {
    .tech-diagram {
        height: 550px;
    }
    
    .tech-node {
        min-width: 120px;
        padding: 12px 16px;
    }
    
    .tech-node-icon {
        font-size: 20px;
    }
    
    .tech-node-label {
        font-size: 13px;
    }
    
    .tech-node-detail {
        font-size: 11px;
    }
    
    .tech-popup {
        width: 95%;
        padding: 25px;
    }
    
    .tech-popup h3 {
        font-size: 1.3rem;
    }
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.highlight-item {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.highlight-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.highlight-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.highlight-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tech-badges {
        justify-content: center;
    }
    
    .about-highlights {
        gap: 20px;
    }
}

/* Dataset image card styles for pop-up functionality */
.dataset-image-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dataset-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dataset-image-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.dataset-image-card:hover img {
    transform: scale(1.05);
}

.dataset-image-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.dataset-image-card:hover .overlay {
    opacity: 1;
}

/* Performance Optimizations - Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* Image loading states */
img {
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"] {
    opacity: 0.8;
}

/* Font loading optimization */
.fonts-loaded body {
    font-family: 'Inter', sans-serif;
}

/* Critical CSS optimization */
.above-fold {
    contain: layout style paint;
}

/* Performance hints */
img {
    content-visibility: auto;
    contain-intrinsic-size: 300px 200px;
}

/* Reduce paint on scroll */
.will-change-transform {
    will-change: transform;
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
