/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #fff;
    background-color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #4A9EFF;
    text-decoration: none;
}

a:hover {
    color: #66B3FF;
}

header {
    border-bottom: 1px solid #333;
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

header > nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header > nav > div:first-child {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header .logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

header ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

header ul:last-child {
    gap: 1rem;
}

header a {
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    line-height: 1;
}

header a:hover {
    color: #fff;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: #ccc;
}

h3 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.02em;
}

h4 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ddd;
    font-weight: 300;
}

p:has(+ ul),
p:has(+ ol) {
    margin-bottom: 0;
}

section {
    margin-bottom: 8rem;
}

/* Homepage hero */
.hero {
    margin-bottom: 8rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero > div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Client logos grid */
.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    align-items: center;
    list-style: none;
}

.client-logos li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #1a1a1a;
    height: 100px;
}

.client-logos img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

footer {
    border-top: 1px solid #333;
    background-color: #111;
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.rounded {
    border-radius: 4px;
}

.photo-credit {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Blog listing */
.blog-post {
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.blog-post:last-child {
    border-bottom: none;
}

.blog-post h2 {
    font-weight: 600;
    color: #fff;
}

.blog-post p {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Blog post pages */
article > h1 {
    text-align: center;
}

article > p {
    text-align: center;
}

article > div {
    max-width: 700px;
    margin: 0 auto;
}

article > div h3 {
    font-weight: 500;
    color: #fff;
    font-size: 2.5rem;
    margin-top: 2rem;
}

article > div h4 {
    font-weight: 500;
    color: #fff;
    font-size: 18px;
    margin-top: 2rem;
}

ul, ol {
    padding-left: 1.5rem;
}

li {
    color: #ddd;
    font-size: 18px;
    line-height: 1.6;
}

li code {
    background-color: #111;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    color: #aaa;
}

pre {
    background-color: #111;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #ccc;
}

img {
    max-width: 75%;
    height: auto;
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
    display: block;
    margin: 1.5rem auto;
}

figure {
    margin: 3rem 0;
    text-align: center;
}

figure img {
    max-width: 75%;
    max-height: 500px;
    width: auto;
    height: auto;
}

figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        min-height: auto;
    }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 2rem; }
}

@media (max-width: 768px) {
    header > nav {
        flex-direction: column;
        gap: 1rem;
    }

    header > nav > div:first-child {
        flex-direction: column;
        gap: 1rem;
    }

    header ul:first-of-type { gap: 1rem; }

    main { padding: 3rem 1rem; }

    figure img {
        max-width: 90%;
        max-height: 300px;
    }

    .hero img { max-width: 100%; }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1rem; }
    h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    p { font-size: 1.1rem; }
    section { margin-bottom: 5rem; }

    .client-logos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
}
