@import url('../../vendor/fonts/inter.css');

:root {
    --brand-color: #0071e3;
    --bg-dark: #000000;
    --card-bg: #1c1c1e;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: #f5f5f7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.glass {
    background: rgba(28, 28, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    background-color: var(--brand-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover:not(:disabled) {
    background-color: #0077ed;
    transform: scale(1.02);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.datacenter-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.datacenter-card:hover {
    transform: translateY(-2px);
}

.datacenter-card.active {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.ssd-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(28, 28, 30, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ssd-card:hover {
    transform: translateY(-2px);
}

.ssd-card.active {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.1) !important;
}

.nav-item.active {
    color: #0071e3;
    position: relative;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0071e3;
    border-radius: 2px;
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

input[type="range"] {
    accent-color: var(--brand-color);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prose {
    max-width: 65ch;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.prose code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-family: 'Monaco', 'Courier New', monospace;
}

.testimonial-track {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.testimonial-card {
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
    backface-visibility: hidden;
    transform: translateZ(0);
}

#mobileMenuOverlay {
    -webkit-tap-highlight-color: transparent;
}

#mobileMenuPanel {
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu-item {
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    display: block;
}

body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff !important;
}
