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

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-section: #0e0e16;
    --border: #1e1e2e;
    --text: #e4e4e7;
    --text-muted: #8b8b9e;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

nav {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
}

/* Hero */

.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services */

.services {
    padding: 80px 0;
    background: var(--bg-section);
}

h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.2s;
}

.service-card:hover {
    border-color: #2a2a3e;
}

.service-icon {
    color: var(--accent);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About */

.about {
    padding: 80px 0;
}

.about-content {
    max-width: 680px;
}

.about-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact */

.contact {
    padding: 80px 0;
    background: var(--bg-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-item h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--accent-hover);
}

.contact-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-company {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-details {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */

@media (max-width: 640px) {
    nav ul {
        gap: 20px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .subtitle {
        font-size: 16px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }

    h2 {
        margin-bottom: 32px;
    }
}
