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

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8F9FA;
    color: #000;
    overflow: hidden; /* single screen focus */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    user-select: none;
}

/* --- Animated Gradient Blobs --- */
.blob-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 0;
    pointer-events: none;
    filter: blur(120px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: rotate-blob 20s infinite linear;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #E8F5C8;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, #D8EE73 0%, rgba(216,238,115,0) 70%);
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #7ADDE9;
    bottom: -10%;
    right: -10%;
    background: radial-gradient(circle, #7ADDE9 0%, rgba(122,221,233,0) 70%);
    animation: rotate-blob 25s infinite linear reverse;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: #E2ECF7;
    top: 30%;
    left: 40%;
    background: radial-gradient(circle, rgba(165,229,255,1) 0%, rgba(165,229,255,0) 70%);
    animation-duration: 30s;
}

@keyframes rotate-blob {
    0% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
    100% { transform: rotate(360deg) scale(1); }
}

/* --- Header / Logo --- */
header {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 10;
}

.logo-box {
    position: relative;
    border: 1px solid #000;
    padding: 12px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-box:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -2px;
}

/* Bounding box handles */
.handle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #000;
}

.handle-tl { top: -3px; left: -3px; }
.handle-tm { top: -3px; left: calc(50% - 3px); }
.handle-tr { top: -3px; right: -3px; }
.handle-ml { top: calc(50% - 3px); left: -3px; }
.handle-mr { top: calc(50% - 3px); right: -3px; }
.handle-bl { bottom: -3px; left: -3px; }
.handle-bm { bottom: -3px; left: calc(50% - 3px); }
.handle-br { bottom: -3px; right: -3px; }


/* --- Main Content --- */
.hero {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title-container {
    position: relative;
    font-size: 80px;
    letter-spacing: -1.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.italic-text {
    font-style: italic;
    font-weight: 400;
}

.line-1, .line-2 {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.pill-word {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 10px 30px;
    border: 1px solid #000;
    border-radius: 100px;
    font-style: italic;
    font-weight: 400;
    background: #fff;
    cursor: crosshair;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-word:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.close-icon {
    opacity: 0.5;
    transition: opacity 0.3s;
}

.pill-word:hover .close-icon {
    opacity: 1;
}

/* Draw connection line between pills */
.connector-line {
    position: absolute;
    width: 2px;
    height: 38px;
    background: #000;
    top: calc(50% - 19px);
    left: 45%;
    z-index: -1;
}

.connector-line::before, .connector-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    /* background: #F8F9FA; */
    border: 1px solid transparent; 
}


/* --- Floating Tags --- */
.floating-tag {
    position: absolute;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 100;
}

.floating-tag svg {
    /* To offset the arrow tip */
    margin-right: -5px;
    margin-bottom: 5px;
    transform: rotate(5deg);
}

.tag-pill {
    padding: 4px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tag-dev {
    top: 50px;
    left: -80px;
}
.tag-pill-dev {
    background-color: #2ED177;
    border: 1px solid #1AA055;
}

.tag-designer {
    bottom: -10px;
    right: -40px;
}
.tag-pill-designer {
    background-color: #FF8A8A;
    border: 1px solid #E05C5C;
}

.tag-marketing {
    bottom: -150px;
    left: 100px;
}
.tag-pill-marketing {
    background-color: #7572FF;
    border: 1px solid #4A46E4;
}

.map-pin {
    top: -15px;
    right: 20px;
    animation: bounce-pin 2s ease-in-out infinite;
}

@keyframes bounce-pin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Description Text --- */
.description {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 40px;
}

/* --- CTA Button --- */
.cta-wrapper {
    position: relative;
    display: inline-block;
}

.cta-button {
    background-color: #FAFF7A;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0px 4px 0px #000;
    transition: all 0.1s ease;
}

.cta-button:active {
    transform: translateY(4px);
    box-shadow: 0px 0px 0px #000;
}

.speech-bubble {
    position: absolute;
    top: -15px;
    right: -20px;
    pointer-events: none;
    animation: float-bubble 3s ease-in-out infinite reverse;
}

@keyframes float-bubble {
    0%, 100% { transform: translateY(0px) rotate(5deg); }
    50% { transform: translateY(-5px) rotate(0deg); }
}

/* Custom interactions animation classes (for JS) */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

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

/* Responsive adjustments */
@media screen and (max-width: 900px) {
    .title-container {
        font-size: 60px;
    }
    
    .blob-container {
        width: 100vw;
        height: 100vw;
    }
    
    .logo-box {
        right: 20px;
        top: 20px;
    }
}

@media screen and (max-width: 600px) {
    body {
        overflow: auto;
    }
    .hero {
        padding: 120px 20px 40px;
    }
    
    .title-container {
        font-size: 40px;
    }
    
    .pill-word {
        padding: 5px 20px;
        font-size: 40px;
    }
    
    .line-1, .line-2 {
        flex-direction: column;
    }
    
    .connector-line {
        display: none;
    }
    
    .description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .tag-dev { top: 0; left: 0; }
    .tag-designer { bottom: 0; right: 0; }
    .tag-marketing { bottom: -80px; left: 0; }
}
