:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --secondary: #7c3aed;

    --cyan: #06b6d4;

    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --background: #ffffff;

    --surface: #f8fafc;

    --surface-blue: #f5f9ff;

    --border: #e2e8f0;

    --shadow-sm:
        0 4px 15px rgba(15, 23, 42, 0.06);

    --shadow-md:
        0 12px 30px rgba(15, 23, 42, 0.09);

    --radius: 16px;
}


/* =========================
   Reset
   ========================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


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

    line-height: 1.6;

    color: var(--text);

    background: var(--background);
}


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


button {
    font-family: inherit;
}


.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}


/* =========================
   Navigation
   ========================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

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

    backdrop-filter: blur(14px);

    border-bottom:
        1px solid rgba(226, 232, 240, 0.8);
}


.navbar-content {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.logo {
    font-size: 1.05rem;
    font-weight: 800;

    letter-spacing: 0.5px;
}


.logo span {
    color: var(--primary);
}


.navbar nav {
    display: flex;
    align-items: center;

    gap: 28px;
}


.navbar nav a {
    position: relative;

    font-size: 0.9rem;
    font-weight: 500;

    color: var(--text-secondary);

    transition:
        color 0.2s ease;
}


.navbar nav a:hover,
.navbar nav a.active {
    color: var(--primary);
}


.navbar nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -9px;

    height: 2px;

    background: var(--primary);

    border-radius: 10px;
}


/* =========================
   Hero
   ========================= */

.hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(37, 99, 235, 0.10),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(124, 58, 237, 0.08),
            transparent 28%
        ),

        #ffffff;
}


.hero-content {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.25fr 0.75fr;

    align-items: center;

    gap: 50px;

    padding: 90px 0;
}


/* =========================
   Hero Text
   ========================= */

.hero-text {
    position: relative;
    z-index: 2;
}


.eyebrow {
    margin-bottom: 14px;

    color: var(--primary);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 2px;
}


.hero h1 {
    max-width: 750px;

    margin-bottom: 10px;

    font-size:
        clamp(3rem, 6vw, 5rem);

    line-height: 1.02;

    letter-spacing: -2px;
}


.hero h2 {
    margin-bottom: 22px;

    font-size:
        clamp(1.5rem, 3vw, 2rem);

    color: var(--primary);

    font-weight: 650;
}


.hero-summary {
    max-width: 650px;

    font-size: 1.12rem;

    color: var(--text-secondary);
}


/* =========================
   Hero Technologies
   ========================= */

.hero-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


.hero-tech span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 12px;

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

    border-radius: 999px;

    background: #ffffff;

    box-shadow: var(--shadow-sm);

    font-size: 0.85rem;

    font-weight: 600;
}


.hero-tech strong {
    color: var(--primary);
}


/* =========================
   Hero Buttons
   ========================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


.button {
    display: inline-flex;

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

    padding: 13px 23px;

    border-radius: 10px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


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


.button.primary {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: #ffffff;

    box-shadow:
        0 8px 20px
        rgba(37, 99, 235, 0.22);
}


.button.secondary {
    border:
        1px solid var(--text);

    background: #ffffff;

    color: var(--text);
}


/* =========================
   Hero Photo
   ========================= */

.hero-photo-wrapper {
    position: relative;

    display: flex;

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


/*
   Main profile picture.

   Desktop:
   340 x 340px

   This is intentionally larger so
   your picture is clearly visible
   in the hero section.
*/

.hero-photo {
    position: relative;

    z-index: 2;

    width: 340px;
    height: 340px;

    border-radius: 50%;

    padding: 7px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary),
            var(--cyan)
        );

    box-shadow:
        0 25px 60px
        rgba(37, 99, 235, 0.20);
}


.hero-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border:
        5px solid #ffffff;
}


/* =========================
   Photo Glow
   ========================= */

.photo-glow {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.13),
            transparent 65%
        );
}


/* =========================
   Photo Badge
   ========================= */

.hero-badge {
    position: absolute;

    right: -5px;
    bottom: 18px;

    z-index: 3;

    padding: 12px 17px;

    border-radius: 12px;

    background: #ffffff;

    box-shadow: var(--shadow-md);

    font-size: 0.82rem;

    font-weight: 700;
}


.hero-badge span {
    color: var(--primary);

    margin-right: 5px;
}


/* =========================
   Decorative Glows
   ========================= */

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(60px);

    opacity: 0.5;
}


.hero-glow-one {
    width: 200px;
    height: 200px;

    top: 100px;
    right: 8%;

    background:
        rgba(37, 99, 235, 0.10);
}


.hero-glow-two {
    width: 160px;
    height: 160px;

    bottom: 50px;
    right: 25%;

    background:
        rgba(124, 58, 237, 0.08);
}


/* =========================
   Global Sections
   ========================= */

section {
    padding: 100px 0;
}


section:nth-of-type(even) {
    background: var(--surface);
}


section h2 {
    margin-bottom: 45px;

    font-size:
        clamp(2rem, 4vw, 2.7rem);

    line-height: 1.15;

    letter-spacing: -0.8px;
}


.section-label {
    margin-bottom: 10px;

    color: var(--primary);

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =========================
   Contact
   ========================= */

.contact-section {
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(37, 99, 235, 0.06),
            transparent 55%
        );
}


.contact-section h2 {
    margin-bottom: 15px;
}


.contact-section p {
    color: var(--text-secondary);
}


.contact-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;
}


.contact-links a {
    display: inline-flex;

    align-items: center;

    padding: 11px 18px;

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

    border-radius: 10px;

    background: #ffffff;

    font-weight: 650;

    color: var(--primary);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.contact-links a:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow-md);
}


/* =========================
   Contact Email Button
   ========================= */

.contact-button {
    display: inline-flex;

    align-items: center;

    padding: 11px 18px;

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

    border-radius: 10px;

    background: #ffffff;

    color: var(--primary);

    font-family: inherit;

    font-size: 0.9rem;

    font-weight: 650;

    cursor: pointer;

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


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

    box-shadow: var(--shadow-md);
}


/* =========================
   Email Modal
   ========================= */

.email-modal {
    position: fixed;

    inset: 0;

    z-index: 500;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background:
        rgba(15, 23, 42, 0.35);

    backdrop-filter: blur(6px);
}


.email-modal.hidden {
    display: none;
}


.email-modal-content {
    position: relative;

    width: min(450px, 100%);

    padding: 35px;

    border:
        1px solid rgba(226, 232, 240, 0.9);

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 25px 70px
        rgba(15, 23, 42, 0.20);
}


.email-modal-label {
    margin-bottom: 7px;

    color: var(--primary);

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.email-modal-content h3 {
    margin-bottom: 5px;

    font-size: 1.7rem;
}


.email-modal-description {
    margin-bottom: 22px;

    color: var(--text-secondary);

    font-size: 0.9rem;
}


.email-modal-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 34px;
    height: 34px;

    border: none;

    border-radius: 50%;

    background: #f1f5f9;

    color: var(--text-secondary);

    font-size: 1.4rem;

    cursor: pointer;
}


.email-modal-close:hover {
    background: #e2e8f0;
}


.email-display {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 7px 7px 7px 15px;

    border:
        1px solid #dbe3ef;

    border-radius: 12px;

    background: #f8fafc;
}


#email-display {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: var(--text);

    font-size: 0.9rem;

    font-weight: 600;
}


#copy-email-button {
    flex-shrink: 0;

    padding: 9px 15px;

    border: none;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: #ffffff;

    font-weight: 700;

    cursor: pointer;
}


#copy-email-button:hover {
    transform: translateY(-1px);
}


.copy-email-status {
    min-height: 20px;

    margin-top: 10px;

    color: var(--primary);

    font-size: 0.8rem;

    font-weight: 600;
}


/* =========================
   Footer
   ========================= */

.footer {
    padding: 30px 0;

    background: #0f172a;

    color: #ffffff;
}


.footer-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;
}


.footer-content div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.footer-content span {
    color: #94a3b8;

    font-size: 0.85rem;
}


.footer-stack {
    color: #94a3b8;

    font-size: 0.85rem;
}


/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }


    .hero-summary {
        margin: 0 auto;
    }


    .hero-tech,
    .hero-actions {
        justify-content: center;
    }


    .hero-photo-wrapper {
        order: -1;
    }


    /*
       Tablet picture
    */

    .hero-photo {
        width: 250px;
        height: 250px;
    }


    .photo-glow {
        width: 290px;
        height: 290px;
    }


    .navbar nav {
        display: none;
    }

}


/* =========================
   Mobile
   ========================= */

@media (max-width: 600px) {

    .container {
        width: min(92%, 1120px);
    }


    .navbar-content {
        min-height: 65px;

        gap: 10px;
    }


    .logo {
        font-size: 0.9rem;
    }


    .hero {
        min-height: auto;
    }


    .hero-content {
        padding: 70px 0;
    }


    .hero h1 {
        font-size: 2.7rem;

        letter-spacing: -1.5px;
    }


    /*
       Phone picture
    */

    .hero-photo {
        width: 220px;
        height: 220px;
    }


    .photo-glow {
        width: 260px;
        height: 260px;
    }


    .hero-badge {
        right: 0;

        bottom: 8px;

        padding: 9px 12px;

        font-size: 0.72rem;
    }


    section {
        padding: 70px 0;
    }


    .email-modal-content {
        padding: 28px 22px;
    }


    .footer-content {
        flex-direction: column;

        text-align: center;
    }

}