/* ========== Minimal custom CSS (no Tailwind @apply) ========== */
:root {
    --ink-900: #0F172A;
    --ink-700: #334155;
    --ink-500: #64748B;
    --brand-50: #eef2ff;
    --brand-100: #e0e7ff;
    --brand-300: #a5b4fc;
    --brand-600: #5553d6;
    --brand-700: #4f46e5;
    --footer: #0C0C0C;
    --type: #cdc8ff;
}

* {
    box-sizing: border-box
}

html,
body {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0
}

.hero-gradient {
    background: radial-gradient(#e1d4fc, #f2ffeb, #dfeafe, #a329bb);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.formee-logo {
    height: 3.5em;
    width: auto;
}

/* -------- Navbar controls -------- */
.navlink {
    color: #0F172A;
    opacity: .85;
    transition: opacity .2s, transform .2s;
}

.navlink:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.github-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: #0F172A;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    transition: transform .15s ease, filter .15s ease;
}

.github-pill:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* -------- Buttons -------- */
.btn-ghost,
.btn-ghost-light,
.btn-cta,
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 14px;
}

.btn-ghost {
    padding: 10px 16px;
    color: #0F172A;
    border: 1.8px solid rgba(0, 0, 0, 0.4);
    background: transparent;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, .04)
}

.btn-ghost-light {
    padding: 10px 16px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .15);
    background: transparent;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, .08)
}

.btn-cta {
    padding: 12px 18px;
    color: #fff;
    background-image: linear-gradient(135deg, #5553d6 0%, #4f46e5 55%, #22d3ee 100%);
    box-shadow: 0 10px 30px rgba(99, 102, 241, .35);
    transition: transform .15s ease, filter .15s ease;
}

.btn-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05)
}

.btn-primary {
    padding: 10px 16px;
    background: #5553d6;
    color: #fff;
    box-shadow: 0 10px 24px rgba(85, 83, 214, .35);
}

.btn-primary:hover {
    filter: brightness(1.1)
}

/* -------- Gradient headline text -------- */
.gradient-text {
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* -------- Hero canvases -------- */
.hero-canvas {
    width: 100%;
    height: clamp(440px, 62vh, 760px);
    display: block;
}

/* Hero mockup wrapper */
.hero-mockup {
    position: relative;
    /* so z-index works */
    z-index: 10;
    /* ensures it stays above the next section */
    margin-top: 2rem;
    /* breathing space from buttons */
    display: flex;
    justify-content: center;
}

.hero-mockup img {
    max-width: 100%;
    height: auto;
}

.github_btn {
    padding: 0.8rem 1.3rem;
    box-shadow: 0px 1px 3px black;

    &:hover {
        background-image: linear-gradient(135deg, #5553d6 0%, #4f46e5 55%, #22d3ee 100%);
        transform: scale(1.01);
    }

}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .hero-mockup {
        margin-top: 01rem;
        margin-bottom: -3rem;
    }

    .hero-mockup img {
        max-width: 95%;
    }

    .formee-logo {
        height: 2.7em;
        width: auto;
    }

    .github_btn {
        padding: 0.5rem 1rem;
    }
}



@media (min-width:768px) {
    .device-phone {
        width: 320px;
    }
}

/* -------- Skipper cards (Gen-Z hover) -------- */
.skipper-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .06);
    padding: 20px;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 18px rgba(2, 6, 23, .04);
}

.skipper-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(79, 70, 229, .15);
}

.skipper-card .icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e0e7ff;
    color: #4f46e5;
    border: 1px solid rgba(0, 0, 0, .06);
}

.skipper-card .icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.skipper-card h3 {
    margin: 12px 0 6px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0F172A;
}

.skipper-card p {
    margin: 0;
    color: #475569;
    font-size: .95rem;
    line-height: 1.4;
}

.skipper-card.neon {
    background: linear-gradient(180deg, rgba(79, 70, 229, .06), rgba(79, 70, 229, .02));
}

/* -------- Showcase (“girl”) section -------- */
.blob {
    position: absolute;
    filter: blur(40px);
    opacity: .6;
}

.b1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #6d28d9, transparent 60%);
    top: -60px;
    left: -60px;
}

.b2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 70% 70%, #22d3ee, transparent 60%);
    right: -80px;
    bottom: -60px;
}

.showcase-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

/* Floating badges */
.float-badge {
    position: absolute;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .85rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    animation: float 7s ease-in-out infinite;
}

.float-badge .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #22d3ee;
    margin-right: 8px;
}

.fb1 {
    left: -6px;
    top: 14%;
    animation-delay: -1s
}

.fb2 {
    right: 10%;
    top: 6%;
    animation-delay: -3s
}

.fb3 {
    right: -8px;
    bottom: 12%;
    animation-delay: -2s
}

@keyframes float {
    0% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }

    100% {
        transform: translateY(0)
    }
}

/* -------- Footer typewriter -------- */
.typewriter-container {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.static-prefix,
.typed-text {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 800;
    color: var(--type);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 4em;
    background-color: var(--type);
    margin-left: 8px;
    animation: blink 1s infinite;
}

.cursor.typing {
    animation: none
}

@keyframes blink {

    0%,
    49% {
        background-color: var(--type)
    }

    50%,
    99% {
        background: transparent
    }

    100% {
        background-color: var(--type)
    }
}

@media (max-width:640px) {
    .typewriter-container {
        height: 90px;
        flex-direction: column;
        gap: 4px
    }

    .cursor {
        display: none
    }
}