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

:root {
    --bg: #FFFBF6;
    --text: #1A1714;
    --text-mid: #6B6560;
    --text-soft: #A09890;
    --pink: #F5A7B8;
    --pink-deep: #E8637E;
    --mint: #A8E6CF;
    --mint-deep: #3BAD82;
    --lavender: #C5B8F0;
    --lavender-deep: #7B6BD6;
    --peach: #F7C59F;
    --peach-deep: #E07B3A;
    --yellow: #FAE3A0;
    --card-01: #E8F7F1;
    --card-02: #FEF0F4;
    --card-03: #EDEDFC;
    --teal: #A8E0E6;
    --teal-deep: #1A8A8A;
    --card-04: #E3F5F5;
}

html { scroll-behavior: smooth; }

a, button { cursor: default; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── Nav ── */
nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.75rem 6rem;
    position: relative;
    z-index: 10;
}

.nav-name {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.01em;
}


.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-mid);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--text); }

.nav-cta {
    background: var(--pink-deep);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ── Blobs ── */
.blobs {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.blob-1 { width: 400px; height: 400px; background: var(--pink);    top: -80px;  right: -60px; }
.blob-2 { width: 300px; height: 300px; background: var(--mint);    top: 200px;  right: 200px; }
.blob-3 { width: 250px; height: 250px; background: var(--lavender);top: 100px;  right: 350px; }

/* ── Section header ── */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    color: var(--text-soft);
    white-space: nowrap;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #E0D8D0, transparent);
}

/* ── Contact block ── */
.contact {
    margin: 2rem 6rem 4rem;
    background: var(--text);
    border-radius: 32px;
    padding: 5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-blobs { position: absolute; inset: 0; pointer-events: none; }

.contact-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
}

.contact-blob-1 { width: 300px; height: 300px; background: var(--pink);  top: -80px;    left: -60px; }
.contact-blob-2 { width: 250px; height: 250px; background: var(--mint);  bottom: -60px; right: -40px; }

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
}

.contact-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    font-style: italic;
    color: #fff;
    margin-bottom: 2.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.contact-heading span { color: var(--pink); }

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.75; }

.link-email    { background: var(--pink);     color: var(--pink-deep); }
.link-linkedin { background: var(--mint);     color: var(--mint-deep); }


/* ── Footer ── */
footer {
    padding: 0.75rem 6rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-text {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.footer-built {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-left: auto;
}

/* ── Chatbot button ── */
.chatbot-btn-wrap {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
}

.chatbot-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--text);
    color: #fff;
    border: none;
    padding: 0.75rem 1.4rem 0.75rem 0.75rem;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.chatbot-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.22); }

.chatbot-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot-pulse {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    background: var(--mint);
    border-radius: 50%;
    border: 2px solid var(--text);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* ── Animations ── */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1.25rem;
        gap: 0.5rem;
    }
    .nav-name { font-size: 0.72rem; }
    .nav-links { gap: 0.6rem; }
    .nav-link { font-size: 0.72rem; }
    .nav-right { display: flex; justify-content: flex-end; }
    .nav-cta { display: none; }
    .contact { margin: 2rem 1.5rem; padding: 3.5rem 2rem; }
    footer { padding: 1.5rem; }
    .blobs { display: none; }
}

@media (max-width: 480px) {
    nav { padding: 0.6rem 1rem; }
    .nav-name { font-size: 0.65rem; }
    .nav-links { gap: 0.45rem; }
    .nav-link { font-size: 0.65rem; }
    .contact { margin: 1.5rem 1rem; padding: 2.5rem 1.25rem; }
    .contact-heading { font-size: 1.6rem; }
    .contact-links { flex-direction: column; align-items: center; }
    .contact-link { width: 100%; justify-content: center; }
    .chatbot-btn-wrap { bottom: 1rem; right: 1rem; }
}
