@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/Inter_18pt-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/Inter_18pt-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('./assets/fonts/Inter_18pt-Black.ttf') format('truetype');
}

:root {
    --ez-blue: #1c3958;
    --ez-dark: #0a0a0a;
    --dot-color: rgba(255, 255, 255, 0.05);
}

html, body {
    background-color: var(--ez-dark);
    margin: 0;
    padding: 0;
}

::selection {
    background-color: var(--ez-blue);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ez-dark);
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border: 2px solid var(--ez-dark);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ez-blue);
}

#site-loader {
    position: fixed;
    inset: 0;
    background: var(--ez-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.2s;
    pointer-events: all;
}

.loader-circle {
    width: 36px;
    height: 36px;
    border: 4px solid transparent;
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.dot-grid {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
    content-visibility: auto;
}

#main-content {
    opacity: 0;
    transition: opacity 0.1s;
    position: relative;
    z-index: 5;
}

body.loaded #site-loader {
    opacity: 0;
    pointer-events: none;
}

body.loaded #main-content {
    opacity: 1;
}

.glass-header {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.8rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0;
}

.hero-gradient {
    position: relative;
    background-image: radial-gradient(circle at 50% 40%, rgba(28, 57, 88, 0.25) 0, transparent 50%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 3rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
}

.interactive-element {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.2s ease, border-color 0.2s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    contain: content;
}

.interactive-element:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.reveal {
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.reveal.active {
    opacity: 1;
}

.max-w-6xl {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.py-32 {
    padding: 8rem 0;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-links {
    display: none;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.social-overlay {
    position: fixed;
    inset: 0;
    background: var(--ez-dark);
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.social-overlay.active {
    display: flex;
}

.social-container {
    position: relative;
    z-index: 1010;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.social-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    transition: background 0.2s;
}

#software {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.software-container {
    overflow: hidden;
    width: 100%;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.software-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.software-card {
    width: 300px;
    height: 140px;
    flex-shrink: 0;
    user-select: none;
    overflow: hidden;
}

@keyframes scrollAnim {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--scroll-end), 0, 0); }
}

.icon-inline {
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}