/* Custom styles for AlphaVerify Embedded Systems pages */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar styling (optional) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Ensure proper spacing for scroll-margin-top on anchor targets */
[id] {
    scroll-margin-top: 80px;
}

/* Embedded Systems specific styles */
.embedded-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid #0d9488;
}

.embedded-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.embedded-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.platform-feature {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #0d9488;
}

.security-highlight {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.security-highlight h4 {
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.capability-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #0d9488;
    transition: transform 0.2s ease;
}

.capability-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .embedded-card {
        padding: 1.5rem;
    }
    
    .capability-grid {
        grid-template-columns: 1fr;
    }
}
