body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(to bottom, #f8fcff, #b2d9ff, #ffffff);
    color: #16324a;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
    padding: 24px 0 18px;
}

.topbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(248, 252, 255, 1) 0%,
            rgba(248, 252, 255, 1) 38%,
            rgba(248, 252, 255, 0.72) 68%,
            rgba(248, 252, 255, 0) 100%);
}

.topbar .container {
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 28px;
    font-weight: 750;
    letter-spacing: 0.5px;
    color: #174b73;
}

.hero {
    padding: 100px 20px 80px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 60px;
}

.hero p,
.ai-section p,
.contact p {
    font-size: 22px;
    line-height: 1.8;
    max-width: 900px;
    margin: auto;
    color: #43637e;
}

.hero-arrow {
    margin-top: 26px;
    font-size: 42px;
    color: #3e6f93;
    animation: pulseArrow 1.8s infinite;
    user-select: none;
}

@keyframes pulseArrow {
    0% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.45;
    }
}

.hero-cred {
    margin-bottom: 18px !important;
    font-size: 21px !important;
    font-weight: 500;
    line-height: 1.65;
    color: #345f7f !important;
    letter-spacing: 0.2px;
}

.services {
    padding: 0 20px 50px 20px;
}

.section-intro {
    margin: 0 auto 42px;
}

.section-intro h2 {
    margin-bottom: 18px;
}

.section-intro p {
    font-size: 18px;
    line-height: 1.7;
    color: #43637e;
    margin: auto;
}

.ai-section,
.projects,
.contact {
    padding: 100px 20px 40px;
}

.portfolio-teasers {
    margin-top: 50px;
}

.glass-card,
.project-card {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(190, 220, 240, 0.35);
    border-radius: 30px;
    padding: 42px 34px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(150, 180, 210, 0.12);
    height: 100%;
}

.glass-card h3,
.project-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.glass-card p,
.project-card p {
    font-size: 18px;
    line-height: 1.7;
    color: #4d6a81;
}

.narrow {
    max-width: 950px;
}

h2 {
    font-size: clamp(34px, 5vw, 58px);
    margin-bottom: 30px;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero p,
    .ai-section p,
    .contact p {
        font-size: 18px;
        line-height: 1.6;
    }

    .section-intro p {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero-cred {
        font-size: 16px !important;
        line-height: 1.5;
    }

    .logo {
        font-size: 22px;
    }
}