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

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080a0f;
    color: #f5f5f5;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 4px;
}

/* Layout helpers */
.container {
    width: min(1100px, 100% - 2rem);
    margin: 0 auto;
}

.section-narrow {
    max-width: 820px;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 8px;
    background: #f9fafb;
    color: #080a0f;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

/* Header / Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
    white-space: nowrap;
}

.logo span {
    color: #2dd4bf;
}

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: #2dd4bf;
    transition: width 0.2s ease;
}

.nav a:hover {
    color: #ffffff;
}

.nav a:hover::after {
    width: 100%;
}

/* Mobile nav button */
.nav-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: #f9fafb;
    cursor: pointer;
    line-height: 1;
}

/* Hero section */
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem;
    background:
        linear-gradient(rgba(8, 10, 15, 0.76), rgba(8, 10, 15, 0.94)),
        repeating-linear-gradient(90deg, transparent 0 46px, rgba(45, 212, 191, 0.08) 47px 48px),
        repeating-linear-gradient(0deg, transparent 0 46px, rgba(245, 158, 11, 0.08) 47px 48px),
        radial-gradient(circle at 75% 25%, rgba(45, 212, 191, 0.22), transparent 34%),
        #080a0f;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 3vw + 1.2rem, 3.2rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text h1 span {
    color: #2dd4bf;
}

.hero-text p {
    color: #9ca3af;
    max-width: 32rem;
    margin-bottom: 1.5rem;
}

.hero-text .eyebrow {
    color: #f59e0b;
    margin-bottom: 0.65rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    border-radius: 8px;
    border: none;
    background: #2dd4bf;
    color: #052e2b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(45, 212, 191, 0.24);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(45, 212, 191, 0.32);
    opacity: 0.95;
}

.btn-secondary {
    display: inline-block;
    border: 1px solid rgba(245, 158, 11, 0.55);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.78rem 1.2rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
}

/* Hero side card */
.hero-card {
    background: rgba(18, 24, 32, 0.92);
    border-radius: 8px;
    padding: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);
}

.hero-card h2 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.snapshot-list {
    list-style: none;
    color: #e5e7eb;
}

.snapshot-list li {
    display: flex;
    gap: 0.6rem;
}

.snapshot-list li+li {
    margin-top: 0.35rem;
}

.snapshot-list a,
.contact-grid a {
    color: #2dd4bf;
    text-decoration: none;
}

.snapshot-list a:hover,
.contact-grid a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background: #11151c;
}

.section h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section p {
    color: #9ca3af;
}

.section p+p,
.text-list {
    margin-top: 0.85rem;
}

.section-heading {
    max-width: 760px;
}

.text-list {
    color: #9ca3af;
    padding-left: 1.2rem;
}

.text-list li+li {
    margin-top: 0.35rem;
}

/* Cards in services */
.cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.card {
    background: #080a0f;
    border-radius: 8px;
    padding: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
    border-color: rgba(45, 212, 191, 0.55);
    transform: translateY(-2px);
}

.card h3 {
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

/* Contact section */
.contact-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: start;
}

.muted-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.muted-links span {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 8px;
    color: #cbd5e1;
    padding: 0.35rem 0.55rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding: 1.2rem 0 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Responsive */
@media (min-width: 700px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 5rem;
    }

    .nav {
        position: absolute;
        right: 1rem;
        top: 3.3rem;
        flex-direction: column;
        min-width: min(16rem, calc(100vw - 2rem));
        background: #11151c;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        border: 1px solid rgba(148, 163, 184, 0.3);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
        display: none;
    }

    .nav.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 460px) {
    .container {
        width: min(100% - 1.25rem, 1100px);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-card,
    .card {
        padding: 1.1rem;
    }
}
