@font-face {
    font-family: "JetBrains Sans";
    src: url("../fonts/JetBrainsSans-Regular.woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/JetBrainsMono-Regular.woff2");
}

:root {
    font-family: "JetBrains Sans", Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: #ffffff;
    background-color: #000000;
    line-height: 1.5;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background-color: #000000;
    color: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    background-color: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.nav-links a:first-child {
    margin-left: 0;
}

.nav-links a:hover {
    opacity: 1;
}

.brand .logo {
    height: 40px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.logo-link {
    display: block;
    line-height: 0;
}

/* Hero */
.hero {
    padding: 8rem 0;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    opacity: 0.6;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: #252525;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon img {
    height: 40px;
    width: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    opacity: 0.6;
    margin: 0;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.client-card {
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: column;
}

.client-card:hover {
    background-color: #252525;
}

.client-logo {
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.client-logo img {
    max-height: 100%;
    max-width: 100%;
    opacity: 0.9;
    margin-right: 1rem;
}

.client-name {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #147dc8; /* Phrontizo blue */
}

.client-projects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.client-projects li {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.6;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
}

.client-projects li::before {
    content: "•";
    color: #147dc8; /* Phrontizo blue */
    position: absolute;
    left: 0;
    font-weight: bold;
}

.client-projects li:last-child {
    margin-bottom: 0;
}

/* Contact */
.contact {
    text-align: center;
    border-top: 1px solid #333;
}

.contact p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid #111;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
}

.footer p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-links {
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero {
        padding: 4rem 0;
    }

    .services-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
