* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f7fbff;
    --surface: #ffffff;
    --surface-soft: #f3f8fd;
    --text: #16263d;
    --muted: #64748b;
    --accent: #1d9bf0;
    --accent-dark: #157cc2;
    --border: #e8eef5;
    --shadow: 0 10px 30px rgba(31, 78, 121, 0.08);
    --shadow-hover: 0 16px 36px rgba(31, 78, 121, 0.12);
    --radius: 20px;
    --max-width: 1120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(29, 155, 240, 0.10), transparent 24%),
        radial-gradient(circle at top right, rgba(29, 155, 240, 0.08), transparent 20%),
        linear-gradient(180deg, #f8fbff 0%, #eef4fb 45%, #e8eff7 100%);
    color: var(--text);
    line-height: 1.65;
}

.container {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

/* links */
a {
    text-decoration: none;
    color: inherit;
}

a:visited {
    color: inherit;
}

/* nav */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 251, 255, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(22, 38, 61, 0.06);
}

.nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

/* hero */
.hero {
    padding: 72px 0 36px;
}

.hero-left {
    max-width: 760px;
}

.eyebrow,
.section-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 700px;
    margin-bottom: 16px;
}

.hero-text {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 155, 240, 0.08);
    border: 1px solid rgba(29, 155, 240, 0.10);
    color: var(--accent-dark);
    font-size: 0.88rem;
    font-weight: 600;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(29, 155, 240, 0.16);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: var(--text) !important;
    border-color: #d9e5f0;
}

.btn-secondary:hover {
    border-color: #bfd8ec;
    color: var(--accent-dark) !important;
    transform: translateY(-1px);
}

/* sections */
.section {
    padding: 64px 0;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.contact-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    max-width: 760px;
}

.section-copy {
    color: var(--muted);
    max-width: 760px;
}

/* cards/grids */
.grid,
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card,
.project-card,
.contact-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.card,
.project-card {
    padding: 24px;
}

.card h3,
.project-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
    color: var(--text);
}

.card p,
.project-card p {
    color: var(--muted);
}

.card:hover,
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(29, 155, 240, 0.08);
    border: 1px solid rgba(29, 155, 240, 0.10);
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 600;
}

/* project cards */
.project-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

/* contact */
.contact-box {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.contact-info {
    display: grid;
    gap: 14px;
}

.contact-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
}

.contact-item span {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.contact-item strong {
    color: var(--text);
    font-size: 0.98rem;
}

/* footer */
.footer {
    text-align: center;
    padding: 28px 0 20px;
    color: var(--muted);
}

.footer p:first-child {
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

/* responsive */
@media (max-width: 980px) {
    .grid,
    .projects-grid,
    .contact-box {
        grid-template-columns: 1fr 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        min-height: auto;
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 56px 0 24px;
    }

    .grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }
}
