@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap");

:root {
    --bg: #0b1424;
    --bg-soft: #121f35;
    --card: #172848;
    --accent: #3aa7ff;
    --accent-2: #7bd3ff;
    --text: #e9f2ff;
    --muted: #b4c7dd;
    --line: #203453;
    --shadow: 0 20px 60px rgba(5, 10, 15, 0.45);
    --glass: rgba(18, 31, 53, 0.72);
    --glow: 0 0 40px rgba(58, 167, 255, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Manrope", "Sora", "Segoe UI", sans-serif;
    background:
        radial-gradient(1200px 600px at 5% -10%, rgba(58, 167, 255, 0.28), transparent 70%),
        radial-gradient(900px 500px at 100% 0%, rgba(123, 211, 255, 0.24), transparent 70%),
        linear-gradient(160deg, #0b1424 0%, #123156 45%, #1b5ea8 100%);
    color: var(--text);
    min-height: 100vh;
}

.navbar {
    position: sticky;
    top: 16px;
    z-index: 10;
    margin: 16px 20px 0;
}

.nav-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(12, 22, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(6, 14, 24, 0.35);
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    color: #06101d;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 24px rgba(58, 167, 255, 0.28);
}

.nav-cta:hover {
    color: #06101d;
    background: linear-gradient(120deg, var(--accent-2), var(--accent));
}

.page {
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 20px 90px;
    position: relative;
}

.page::before,
.page::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.35;
    z-index: 0;
}

.page::before {
    top: 40px;
    right: -40px;
    background: radial-gradient(circle, rgba(123, 211, 255, 0.5), transparent 70%);
}

.page::after {
    bottom: 120px;
    left: -60px;
    background: radial-gradient(circle, rgba(58, 167, 255, 0.45), transparent 70%);
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    background: var(--glass);
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    position: relative;
    z-index: 1;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(58, 167, 255, 0.2);
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.3px;
    font-size: 13px;
    box-shadow: var(--glow);
}

h1 {
    font-size: clamp(2.4rem, 3.6vw, 3.8rem);
    margin: 16px 0;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--muted);
}

.hero-cards {
    display: grid;
    gap: 18px;
}

.card {
    background: linear-gradient(135deg, rgba(23, 40, 72, 0.9), rgba(15, 26, 44, 0.9));
    padding: 20px 22px;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 50px rgba(6, 14, 24, 0.45);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    font-size: 0.9rem;
}

.section {
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.section-title::before {
    content: "";
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-title h2 {
    margin: 0;
    font-size: 1.7rem;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.testimonial {
    background: linear-gradient(145deg, rgba(18, 31, 53, 0.9), rgba(10, 18, 32, 0.92));
    padding: 22px 22px 20px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 45px rgba(6, 14, 24, 0.38);
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: -10px;
    right: 16px;
    font-size: 4rem;
    color: rgba(123, 211, 255, 0.2);
    line-height: 1;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-meta strong {
    display: block;
    font-size: 0.98rem;
}

.testimonial-meta span {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #06101d;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 24px rgba(58, 167, 255, 0.28);
}

.testimonial p {
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.7;
}

.text-mark {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-left: 10px;
    border-radius: 2px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 14px rgba(58, 167, 255, 0.28);
    vertical-align: middle;
}

.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.process-step {
    background: linear-gradient(145deg, rgba(23, 40, 72, 0.9), rgba(10, 18, 32, 0.92));
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(6, 14, 24, 0.35);
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.process-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.process-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--accent-2);
    background: rgba(58, 167, 255, 0.12);
    border: 1px solid rgba(123, 211, 255, 0.35);
    font-size: 1rem;
}

.process-step::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.process-step h3 {
    margin: 0;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.step {
    font-size: 0.85rem;
    font-weight: 700;
    color: #06101d;
    letter-spacing: 0.2rem;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    border-radius: 999px;
    padding: 6px 12px;
    width: fit-content;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(120deg, rgba(18, 31, 53, 0.9), rgba(11, 20, 36, 0.95));
    border-radius: 18px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(6, 14, 24, 0.35);
}

.cta h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #06101d;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 16px 30px rgba(58, 167, 255, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(58, 167, 255, 0.35);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.project {
    background: linear-gradient(180deg, rgba(18, 31, 53, 0.92), rgba(11, 20, 36, 0.95));
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.project::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 167, 255, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(10, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(4, 12, 18, 0.45);
}

.project:hover .project-media img {
    transform: scale(1.04);
}

.project:hover::after {
    opacity: 1;
}

.project-title {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, border 0.2s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 211, 255, 0.4);
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.lang {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang h4 { margin: 0; }

.footer {
    margin-top: 70px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-link {
    color: var(--accent-2);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--accent);
}

.icon {
    width: 22px;
    height: 22px;
    display: block;
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    animation: fadeUp 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .project-media img {
        transition: none;
    }
}

.contact-hero {
    grid-template-columns: 1.1fr 0.9fr;
}

.contact-card {
    background: linear-gradient(135deg, rgba(23, 40, 72, 0.9), rgba(12, 22, 38, 0.9));
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(6, 14, 24, 0.35);
    display: grid;
    gap: 14px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-inner {
        flex-direction: column;
        border-radius: 24px;
    }
}

@media (max-width: 600px) {
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .page { padding-top: 40px; }
    .contact-item { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
