/* ==========================================================================
   UmfrageSpot — Design System
   WhatsApp Green (#00A859 / #008744) on a clean light background.
   ========================================================================== */

:root {
    --color-primary: #00A859;
    --color-primary-dark: #008744;
    --color-primary-darker: #075E54;
    --color-primary-tint: #E7F7EE;
    --color-bg: #F8FAF9;
    --color-card: #FFFFFF;
    --color-text: #10201B;
    --color-text-muted: #5B6B66;
    --color-border: #E3EBE7;
    --color-whatsapp-wallpaper: #E9F2ED;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(16, 32, 27, 0.06);
    --shadow-md: 0 12px 32px rgba(16, 32, 27, 0.10);
    --shadow-lg: 0 20px 48px rgba(0, 135, 68, 0.18);

    --container-width: 520px;
    --space-section: 44px;

    font-size: 16px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--space-section) 0 0;
}

.section__title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.section__title--center {
    text-align: center;
}

.section__title::after {
    content: '';
    display: block;
    width: 46px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    margin-top: 8px;
}

.section__title--center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ---- Buttons ------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary-dark);
}

/* ---- Badge ----------------------------------------------------------- */

.badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}

.badge--outline {
    color: var(--color-primary-dark);
    background: var(--color-primary-tint);
    border: 1px solid rgba(0, 168, 89, 0.25);
}

.text-accent {
    color: var(--color-primary);
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
    padding: 18px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logo__badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo__text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text);
}

/* ---- Hero -------------------------------------------------------------- */

.hero {
    padding-top: 6px;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    align-items: start;
}

.hero__title {
    font-size: 1.65rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.hero__desc {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.hero__mockup {
    display: flex;
    justify-content: center;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 28px;
}

.benefits__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.benefits__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary-tint);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits__label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* ---- Phone mockup -------------------------------------------------- */

.phone {
    width: 100%;
    max-width: 210px;
    background: #101616;
    border-radius: 26px;
    padding: 8px;
    box-shadow: var(--shadow-md);
}

.phone__screen {
    background: var(--color-whatsapp-wallpaper);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone__statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px 2px;
    background: var(--color-primary-darker);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
}

.phone__statusicons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.phone__chatheader {
    background: var(--color-primary-darker);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 10px;
}

.phone__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone__chatinfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone__chatinfo strong {
    font-size: 0.72rem;
}

.phone__chatinfo small {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.75);
}

.phone__chaticons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.phone__chatbody {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.chat-msg {
    background: #fff;
    border-radius: 10px;
    padding: 7px 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    align-self: flex-start;
    max-width: 90%;
}

.chat-msg__text {
    font-size: 0.6rem;
    line-height: 1.4;
    margin: 0;
}

.chat-msg__time {
    display: block;
    text-align: right;
    font-size: 0.5rem;
    color: #9aa8a3;
    margin-top: 3px;
}

.chat-bubble {
    background: #fff;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    position: relative;
}

.chat-bubble__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.chat-bubble__icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.chat-bubble__icon--gaming {
    background: #7C3AED;
}

.chat-bubble__icon--anime {
    background: #FF6B35;
}

.chat-bubble__title {
    font-size: 0.62rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.chat-bubble__meta {
    font-size: 0.56rem;
    color: var(--color-text-muted);
    margin: 2px 0;
}

.chat-bubble__cta {
    width: 100%;
    margin-top: 4px;
    padding: 5px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.58rem;
    font-weight: 700;
    cursor: default;
}

.chat-bubble__time {
    display: block;
    text-align: right;
    font-size: 0.5rem;
    color: #9aa8a3;
    margin-top: 3px;
}

.phone__inputbar {
    background: var(--color-primary-darker);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
}

.phone__inputicon {
    font-size: 0.75rem;
    opacity: 0.9;
}

.phone__inputfield {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-pill);
    padding: 5px 10px;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.75);
}

.phone__mic {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Notice box ------------------------------------------------------- */

.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--color-primary-tint);
    border: 1px solid rgba(0, 168, 89, 0.25);
    border-radius: var(--radius-md);
    padding: 18px;
}

.notice__icon {
    flex-shrink: 0;
}

.notice__title {
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.notice__text {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ---- Partners ----------------------------------------------------------- */

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 26px;
}

.partners__logo {
    font-weight: 800;
    font-size: 1rem;
    color: #2b3a35;
    opacity: 0.85;
    letter-spacing: -0.01em;
}

.partners__logo--gfk { color: #E4032E; }
.partners__logo--yougov { color: #7B2D8B; font-weight: 700; }
.partners__logo--ipsos { color: #00549F; }
.partners__logo--toluna { color: #D4145A; font-style: italic; }
.partners__logo--kantar { color: #E4032E; letter-spacing: 0.05em; }

.partners__more {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ---- Rewards ------------------------------------------------------------ */

.rewards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
}

.rewards__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.rewards__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--color-card);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards__badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary-tint);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rewards__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.rewards__label--strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* ---- Process ------------------------------------------------------------ */

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px 4px;
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 17px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process__number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.process__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-card);
    border: 1.5px solid var(--color-primary-tint);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.process__title {
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.process__text {
    font-size: 0.68rem;
    color: var(--color-text-muted);
}

/* ---- Capture / CTA card -------------------------------------------------- */

.section--capture {
    padding-bottom: var(--space-section);
}

.has-sticky-cta {
    padding-bottom: 72px;
}

.cta-card {
    background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.cta-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
}

.cta-card__checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
}

.cta-card__checklist li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.cta-card__checklist li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px;
}

/* ---- Sticky bottom CTA bar ------------------------------------------------ */

.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    padding: 14px 20px;
    background: linear-gradient(90deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-dark) 100%);
    box-shadow: 0 -4px 16px rgba(16, 32, 27, 0.15);
}

.sticky-cta__btn {
    width: 100%;
    max-width: 360px;
    padding: 13px 28px;
    border: none;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-primary-dark);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease;
}

.sticky-cta__btn:hover,
.sticky-cta__btn:focus-visible {
    transform: translateY(-1px);
}

/* ---- Bottom form sheet ----------------------------------------------------- */

body.sheet-open {
    overflow: hidden;
}

.form-sheet {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
}

.form-sheet.is-open {
    visibility: visible;
}

.form-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 17, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.form-sheet.is-open .form-sheet__backdrop {
    opacity: 1;
}

.form-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: var(--container-width);
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -12px 32px rgba(16, 32, 27, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.form-sheet.is-open .form-sheet__panel {
    transform: translateY(0);
}

.form-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.form-sheet__title {
    font-size: 1.05rem;
    font-weight: 800;
}

.form-sheet__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--color-bg);
    color: var(--color-text-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.form-sheet__body {
    padding: 16px 14px 24px;
    overflow-y: auto;
}

.form-sheet__body iframe {
    display: block;
    border: none;
    width: 100%;
}

/* ---- Footer -------------------------------------------------------------- */

.site-footer {
    margin-top: var(--space-section);
    padding: 24px 0 32px;
    border-top: 1px solid var(--color-border);
}

.site-footer__inner {
    text-align: center;
}

.site-footer__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.site-footer__copy {
    font-size: 0.7rem;
    color: #9aa8a3;
}

/* ---- Thanks page ---------------------------------------------------------- */

.section--thanks {
    padding-top: 60px;
}

.thanks {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.thanks__title {
    font-size: 1.4rem;
    font-weight: 800;
}

.thanks__text {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.thanks__hint {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

/* ---- Responsive ------------------------------------------------------------ */

@media (max-width: 480px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }

    .hero__mockup {
        max-width: 220px;
        margin: 18px auto 0;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 10px;
    }
}

@media (min-width: 640px) {
    :root {
        --container-width: 640px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .cta-card {
        padding: 36px 40px;
    }
}
