/* ==========================================================================
   Picobean — /getdemo
   ========================================================================== */

:root {
    --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", system-ui, sans-serif;
    --text: #1d2129;
    --muted: #586070;
    --faint: #8b93a1;
    --line: #e2e5ea;
    --accent: #008cff;
    --accent-strong: #0070d6;
    --accent-soft: #eaf4ff;
    --ink: 15, 23, 42;
    --ring: 0 0 0 1px rgba(var(--ink), 0.07);
    --shadow-sm: 0 1px 2px rgba(var(--ink), 0.05), 0 4px 10px -4px rgba(var(--ink), 0.1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
    display: none !important;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    word-break: keep-all;
}

h1,
h2,
p,
ol {
    margin: 0;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
    letter-spacing: inherit;
}

svg {
    display: block;
}

.getdemo__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: 12px;
    min-height: 100%;
    padding: 12px;
}

/* ---------- Left: what you get ---------- */

.getdemo__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-height: 640px;
    padding: clamp(48px, 6vw, 72px) clamp(32px, 5vw, 64px) 150px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 70% 45% at 18% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
        linear-gradient(180deg, #dcecff 0%, #e9f2ff 46%, #f6f1e8 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--ink), 0.04);
}

.getdemo__intro {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.getdemo__eyebrow {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: var(--ring);
    color: var(--accent-strong);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.getdemo__headline {
    font-size: clamp(30px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.035em;
}

.getdemo__headline span {
    background-image: linear-gradient(#2a3a9e, #2a3a9e);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 3px;
    padding-bottom: 2px;
}

.getdemo__lead {
    margin-top: 14px;
    color: var(--muted);
    font-size: 16px;
}

.getdemo__checks {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    max-width: 500px;
    padding: 0;
    list-style: none;
}

.getdemo__check {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 18px 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--ring), var(--shadow-sm);
}

.getdemo__check-icon {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 10px -4px rgba(0, 140, 255, 0.8);
}

.getdemo__check-icon svg {
    width: 15px;
    height: 15px;
}

.getdemo__check strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.getdemo__check p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.getdemo__hill {
    position: absolute;
    right: -10%;
    bottom: -70px;
    left: -10%;
    height: 150px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, #f2e2c9 0%, #f8eddc 100%);
}

/* ---------- Bots ---------- */

.bot {
    --bot-body: #3b4a45;
    --bot-face: #f3e8cd;
    --bot-eye: #2b3632;
    --bot-sprout: #3b4a45;
    overflow: visible;
}

.bot--blue { --bot-body: #1a8cff; --bot-face: #cfe6ff; --bot-eye: #0e2a47; --bot-sprout: #2fb67c; }
.bot--mint { --bot-body: #2bb98b; --bot-face: #d0f2e4; --bot-eye: #0f3b2d; --bot-sprout: #1e8f69; }
.bot--coral { --bot-body: #ff7a66; --bot-face: #ffd9cd; --bot-eye: #4a1f18; --bot-sprout: #2fb67c; }
.bot--sun { --bot-body: #ffc23d; --bot-face: #ffe9a8; --bot-eye: #4a3510; --bot-sprout: #2fb67c; }
.bot--lilac { --bot-body: #9b87f5; --bot-face: #ded6ff; --bot-eye: #2a2257; --bot-sprout: #2fb67c; }

.pb-bot__body { fill: var(--bot-body); }
.pb-bot__face { fill: var(--bot-face); }

.pb-bot__eye {
    fill: var(--bot-eye);
    transform-box: fill-box;
    transform-origin: center;
    animation: bot-blink 6s infinite;
    animation-delay: var(--bot-delay, 0s);
}

.pb-bot__sprout {
    fill: var(--bot-sprout);
    transform-origin: 119px 57px;
    animation: bot-sway 4.6s ease-in-out infinite alternate;
    animation-delay: calc(var(--bot-delay, 0s) * -1.7);
}

.getdemo__bot {
    position: absolute;
    top: var(--y);
    left: var(--x);
    width: calc(var(--s) * 1px);
    height: calc(var(--s) * 1.11px);
    transform: rotate(var(--r, 0deg));
    animation: bot-float 5s ease-in-out infinite alternate;
    animation-delay: calc(var(--bot-delay, 0s) * -1);
}

.getdemo__bot--ground {
    top: auto;
    bottom: calc(var(--s) * -0.32px);
    animation: none;
}

@keyframes bot-blink {
    0%, 46%, 50%, 100% { transform: scaleY(1); }
    48% { transform: scaleY(0.12); }
}

@keyframes bot-sway {
    from { transform: rotate(-6deg); }
    to { transform: rotate(6deg); }
}

@keyframes bot-float {
    from { translate: 0 0; }
    to { translate: 0 -8px; }
}

/* ---------- Right: form ---------- */

.getdemo__main {
    display: flex;
    flex-direction: column;
    padding: 20px clamp(20px, 5vw, 64px) 24px;
}

.getdemo__brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.pb-logo {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.getdemo__card {
    width: 100%;
    max-width: 360px;
    margin: auto;
    padding: 48px 0;
}

.getdemo__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.getdemo__subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14.5px;
}

.getdemo__form {
    display: grid;
}

.getdemo__field {
    display: grid;
    gap: 8px;
    margin-top: 20px;
}

.getdemo__form .getdemo__field:first-of-type {
    margin-top: 32px;
}

.getdemo__label {
    font-size: 13.5px;
    font-weight: 600;
}

.getdemo__input {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--faint);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.getdemo__input:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.15);
    color: var(--accent);
}

.getdemo__input svg {
    flex: none;
    width: 17px;
    height: 17px;
}

.getdemo__input input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 15px;
}

.getdemo__input input::placeholder {
    color: var(--faint);
}

.getdemo__submit {
    height: 46px;
    margin-top: 24px;
    border: 0;
    border-radius: 8px;
    background: #9cc9f0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: not-allowed;
    transition: background-color 0.15s ease, transform 0.15s var(--ease-out);
}

.getdemo__submit.is-ready {
    background: #0a6ed1;
    cursor: pointer;
}

.getdemo__submit.is-ready:hover {
    background: #075fb6;
}

.getdemo__submit.is-ready:active {
    transform: translateY(1px);
}

.getdemo__error {
    margin-top: 12px;
    color: #d93a2b;
    font-size: 13.5px;
}

.getdemo__help {
    margin-top: 20px;
    color: var(--muted);
    font-size: 13.5px;
}

.getdemo__help a,
.getdemo__legal a {
    color: var(--accent-strong);
    font-weight: 600;
    text-decoration: none;
}

.getdemo__help a:hover,
.getdemo__legal a:hover {
    text-decoration: underline;
}

.getdemo__success {
    display: grid;
    justify-items: start;
}

.getdemo__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.getdemo__success-icon svg {
    width: 26px;
    height: 26px;
}

.getdemo__back {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    margin-top: 28px;
    border-radius: 8px;
    box-shadow: var(--ring), var(--shadow-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.getdemo__legal {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.getdemo__legal a {
    color: var(--text);
}

@media (max-width: 900px) {
    .getdemo__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .getdemo__main {
        order: -1;
    }

    .getdemo__card {
        padding: 40px 0 32px;
    }

    .getdemo__visual {
        min-height: 0;
        padding: 48px 24px 170px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pb-bot__eye,
    .pb-bot__sprout,
    .getdemo__bot {
        animation: none;
    }
}
