:root {
    --blue: #2f86c9;
    --blue-dark: #1769a5;
    --blue-light: #5ca9e5;

    --navy: #071a2b;
    --navy-light: #0c263d;

    --white: #ffffff;
    --text: #f5f9fd;
    --muted: #c4d7e7;

    --card: rgba(255, 255, 255, 0.09);
    --border: rgba(255, 255, 255, 0.15);

    --max-width: 1150px;
}


/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
            Inter,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Helvetica,
            Arial,
            sans-serif;

    color: var(--text);
    line-height: 1.6;

    background:
            radial-gradient(
                    circle at 15% 10%,
                    rgba(255, 255, 255, 0.10),
                    transparent 30%
            ),
            radial-gradient(
                    circle at 90% 80%,
                    rgba(0, 40, 80, 0.20),
                    transparent 35%
            ),
            var(--blue);
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
            var(--max-width),
            calc(100% - 40px)
    );

    margin: auto;
}


/* =========================
   NAVIGATION
========================= */

nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(23, 105, 165, 0.75);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom:
            1px solid rgba(255, 255, 255, 0.12);
}

.nav-inner {
    height: 72px;

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;

    letter-spacing: -0.5px;
}

.logo span {
    opacity: 0.65;
}

.nav-links {
    display: flex;

    gap: 32px;

    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.78);

    font-size: 14px;

    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: white;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 90vh;

    display: flex;
    align-items: center;

    padding-top: 120px;
    padding-bottom: 0;
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(18px);
    animation: heroLineIn 0.7s ease-out forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.1s;
    color: white;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.2s;
    color: white;
}

.hero-title span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes heroLineIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    display: inline-block;

    padding: 7px 13px;
    margin-bottom: 25px;

    border:
            1px solid rgba(255, 255, 255, 0.25);

    border-radius: 100px;

    background:
            rgba(255, 255, 255, 0.09);

    font-size: 13px;
    font-weight: 600;

}

h1 {
    font-size: clamp(48px, 7vw, 82px);

    line-height: 0.98;

    letter-spacing: -4px;

    margin-bottom: 28px;
}

h1 span {
    color: #d9efff;
}

.hero-description {
    max-width: 680px;

    color: var(--muted);

    font-size: 19px;

    line-height: 1.75;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 21px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 600;

    transition:
            transform 0.2s ease,
            background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: white;

    color: var(--blue-dark);
}

.button-primary:hover {
    background: #edf8ff;
}

.button-secondary {
    border:
            1px solid rgba(255, 255, 255, 0.25);

    background:
            rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
    background:
            rgba(255, 255, 255, 0.14);
}


/* =========================
   GENERAL SECTIONS
========================= */

section {
    padding: 100px 0;
}

.dark-section {
    background:
            linear-gradient(
                    180deg,
                    rgba(7, 26, 43, 0.18),
                    rgba(7, 26, 43, 0.48)
            );
}

.section-header {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-label {
    color: #d9efff;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

h2 {
    font-size: clamp(35px, 5vw, 52px);

    line-height: 1.1;

    letter-spacing: -2px;

    margin-bottom: 16px;
}

.section-description {
    color: var(--muted);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================
   ABOUT
========================= */

.intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;
}

.intro-card {
    padding: 30px;

    border-radius: 18px;

    background:
            rgba(7, 26, 43, 0.35);

    border:
            1px solid var(--border);
}

.intro-card h3 {
    font-size: 20px;

    margin-bottom: 10px;
}

.intro-card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   PERSON EXPERIENCE
========================= */

.person {
    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 55px;

    align-items: start;

    padding: 35px;

    border-radius: 22px;

    background:
            rgba(7, 26, 43, 0.38);

    border:
            1px solid var(--border);

    margin-bottom: 30px;
}

.person:last-child {
    margin-bottom: 0;
}


/* Profile image */

.person-photo {
    width: 100%;

    height: 390px;

    object-fit: cover;

    object-position: center top;

    border-radius: 16px;

    border:
            1px solid rgba(255, 255, 255, 0.18);

    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.2);
}


/* Alex temporary placeholder */

.alex-placeholder {
    width: 100%;

    height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
            linear-gradient(
                    135deg,
                    rgba(255, 255, 255, 0.13),
                    rgba(0, 40, 80, 0.25)
            );

    border:
            1px solid rgba(255, 255, 255, 0.15);

    color:
            rgba(255, 255, 255, 0.45);

    font-size: 13px;

    text-align: center;
}


/* Person details */

.person-role {
    color: #d9efff;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 7px;
}

.person h3 {
    font-size: 32px;

    letter-spacing: -1px;

    margin-bottom: 18px;
}

.person-description {
    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 25px;
}


/* Experience bullet points */

.experience-list {
    list-style: none;

    display: flex;

    flex-direction: column;

    gap: 13px;

    margin-bottom: 25px;
}

.experience-list li {
    display: flex;

    gap: 12px;

    color: #dbeaf6;

    font-size: 14px;
}

.experience-list li::before {
    content: "→";

    color: #d9efff;

    font-weight: bold;
}


/* Technology tags */

.skills {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.skill {
    padding: 6px 10px;

    border-radius: 6px;

    background:
            rgba(255, 255, 255, 0.08);

    border:
            1px solid rgba(255, 255, 255, 0.1);

    color: #e4f2fc;

    font-family:
            "SFMono-Regular",
            Consolas,
            monospace;

    font-size: 12px;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
    repeat(2, 1fr);

    gap: 20px;
}

.service {
    padding: 30px;

    border-radius: 17px;

    background:
            rgba(7, 26, 43, 0.35);

    border:
            1px solid var(--border);
}

.service-number {
    color: #d9efff;

    font-family: monospace;

    font-size: 13px;

    margin-bottom: 20px;
}

.service h3 {
    font-size: 19px;

    margin-bottom: 10px;
}

.service p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* =========================
   CONTACT
========================= */

.contact {
    text-align: center;
}

.contact-box {
    padding: 80px 30px;

    border-radius: 25px;

    background:
            linear-gradient(
                    135deg,
                    rgba(255, 255, 255, 0.12),
                    rgba(7, 26, 43, 0.28)
            );

    border:
            1px solid rgba(255, 255, 255, 0.15);
}

.contact-box h2 {
    max-width: 700px;

    margin:
            0 auto 18px;
}

.contact-box p {
    max-width: 570px;

    color: var(--muted);

    margin:
            0 auto 30px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 0;

    background:
            rgba(7, 26, 43, 0.45);

    border-top:
            1px solid rgba(255, 255, 255, 0.1);

    color:
            rgba(255, 255, 255, 0.55);

    font-size: 13px;
}

.footer-inner {
    display: flex;

    justify-content: space-between;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 75vh;
    }

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

    .person {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 25px;
    }

    .person-photo,
    .alex-placeholder {
        height: 400px;
    }

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


@media (max-width: 500px) {

    .container {
        width: calc(100% - 28px);
    }

    section {
        padding: 75px 0;
    }

    h1 {
        font-size: 50px;

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .person-photo,
    .alex-placeholder {
        height: 350px;
    }

    .footer-inner {
        flex-direction: column;

        gap: 8px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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