@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Manrope:wght@400;500;600;700;800&family=Roboto+Mono:wght@500;700&display=swap');

:root {
    --bg-dark: #f3f4f6; /* Bright/light grey base background */
    --bg-card: rgba(255, 255, 255, 0.83); /* Frosted light glass */
    --bg-glass: rgba(0, 80, 255, 0.02);
    --border-glass: rgba(0, 0, 0, 0.08);
    --zeiss-blue: #0050ff;
    --zeiss-blue-hover: #003cc4;
    --neon-cyan: #00c8ff; /* slightly deeper cyan for readability on light backgrounds */
    --neon-cyan-dim: rgba(0, 200, 255, 0.1);
    --text-primary: #1f2937; /* Dark text */
    --text-secondary: #4b5563; /* Medium grey text */
    --text-light: #111827; /* Near black text for titles */
    --success: #10b981;
    --error: #ef4444;
    --font-sans: 'Manrope', sans-serif;
    --font-display: 'Archivo', sans-serif; /* precise, engineered feel for headlines */
    --font-mono: 'Roboto Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

.mobile-only {
    display: none;
}

.event-highlight-blue {
    color: var(--zeiss-blue);
    font-weight: 700;
}

/* Full-screen Background with Dynamic Blur */
.full-screen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-image: url('assets/store_bg_zeiss.jpg');
    background-size: cover;
    background-position: center;
    /* Sem "transition" aqui de propósito: em elementos position:fixed de tela
       cheia, o Chrome às vezes trava a transição de filter no valor inicial
       e o desfoque nunca muda de verdade. Aplicando direto (sem animação)
       garante que o efeito funcione sempre. */
    filter: blur(15px); /* Starts highly blurred, dynamic blur managed by JS */
}

.bg-dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Soft, almost transparent overlay keeping original store colors high quality */
}

header {
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    position: relative;
    z-index: 100;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.8rem;
    user-select: none;
    width: 100%;
}

.logo-badge {
    background: var(--zeiss-blue);
    color: white;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.main-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0.8rem 1rem;
}

/* Single-column centered layout */
.center-layout {
    display: flex;
    align-items: center; /* Center vertically for a balanced premium look */
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 60px); /* Leave room for footer to prevent vertical scrollbar */
    padding: 2.5rem 1rem; /* Generous spacing above and below the card */
    box-sizing: border-box;
}

/* Glassmorphic card styling (Light frosted theme) */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08); /* Clean, matte border */
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    width: 100%;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22); /* Clean dark shadow, no glowing white or blue highlights */
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    animation: cardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.form-card {
    max-width: 580px;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--zeiss-blue), var(--neon-cyan));
    box-shadow: 0 2px 10px rgba(0, 200, 255, 0.45); /* Sleek neon light line at the top */
    z-index: 2;
}

/* Subtle corner accents (quiet nod to a "guided quiz" feel, kept premium/on-brand) */
.form-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.form-card > * {
    position: relative;
    z-index: 1;
}

/* Campaign Tagline (Scent match with ad reference) */
.campaign-tag-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem; /* Separates the badge from the title and subtitle */
    margin-bottom: 1.4rem; /* Separates the tag wrapper from the form content */
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.85rem; /* Generous bottom line separation */
    width: 100%;
}

.campaign-badge {
    background: #111827; /* Dark black badge */
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-transform: uppercase;
    opacity: 0;
    animation: revealUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.campaign-badge .bell-icon {
    color: #ffffff;
    transform-origin: top center;
    animation: ringBell 2.5s ease infinite;
}

.campaign-main-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 1.85rem); /* Fluid, more presence than a fixed size */
    font-weight: 900;
    color: var(--text-light);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    line-height: 1.18;
    text-align: center;
    opacity: 0;
    animation: revealUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.campaign-main-title .highlight-line {
    display: block;
    color: var(--zeiss-blue);
    font-size: 0.9em;
}

.inline-logo-highlight {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inline-header-logo {
    height: 1.6rem;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0.1rem;
}

.campaign-sub-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.005em;
    text-transform: none;
    line-height: 1.45;
    margin: 0.5rem auto 0; /* Separation from the title above and horizontally centered */
    max-width: 580px; /* limits width to allow 2 long clean lines */
    text-align: center;
    opacity: 0;
    animation: revealUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.campaign-sub-title strong {
    color: var(--zeiss-blue);
    font-weight: 800;
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes ringBell {
    0%, 100% { transform: rotate(0); }
    10%, 20% { transform: rotate(15deg); }
    15%, 25% { transform: rotate(-15deg); }
    30% { transform: rotate(0); }
}

/* Progress Tracker */
.focus-progress-header {
    width: 100%;
    text-align: left;
    margin-bottom: 0.6rem;
}

.acuity-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.acuity-label strong {
    color: var(--zeiss-blue);
    text-shadow: 0 0 8px rgba(0, 80, 255, 0.15);
}

.progress-bar-wrapper {
    background: rgba(0, 0, 0, 0.06);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    width: 100%;
    margin-top: 0.3rem;
}

.progress-bar-fill {
    background: linear-gradient(90deg, var(--zeiss-blue), var(--neon-cyan));
    height: 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Voucher Box & Submit Button (visual styling now lives on .ticket-voucher inside) */
button.voucher-wrapper-interactive {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    margin-top: 0;
    cursor: pointer;
    outline: none;
    font-family: inherit;
    opacity: 0;
    animation: revealUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.voucher-inner-content {
    width: 100%;
    /* Sem "transition" de propósito (mesmo motivo do .full-screen-bg acima):
       evita o filter travar no valor inicial e nunca mudar de verdade. */
    filter: blur(18px); /* Starts highly blurred inside the clipped parent */
}

button.voucher-wrapper-interactive:disabled {
    cursor: not-allowed;
    pointer-events: none;
}

button.voucher-wrapper-interactive:not(:disabled) {
    opacity: 1;
}

/* ===== Ticket-style coupon: Sturdy horizontal SVG + HTML wrapper with soft shadow ===== */
.ticket-voucher {
    position: relative;
    width: 100%;
    max-width: 100%; /* Stretch to align perfectly with buttons, progress bar, and warning box */
    margin: 0 auto;
    aspect-ratio: 3.28; /* Sleeker ticket aspect ratio matching the 460x140 viewBox */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: transform 0.4s ease;
    container-type: inline-size; /* Enable container queries for proportional text scaling */
    filter: drop-shadow(0 4px 10px rgba(0, 80, 255, 0.12));
}

.ticket-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.ticket-main-row {
    display: flex;
    flex: 1; /* Takes full height since bottom row is removed */
    width: 100%;
}

.ticket-bottom-store {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6cqw;
    padding-top: 3.5cqw; /* Safe margin below the dashed line */
    padding-bottom: 1cqw;
    text-align: center;
}

.ticket-store-title {
    font-family: var(--font-sans);
    font-size: 2.2cqw;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.15cqw;
    text-transform: uppercase;
}

.ticket-store-name {
    font-family: var(--font-sans);
    font-size: 3.4cqw;
    font-weight: 800;
    color: var(--zeiss-blue);
    letter-spacing: 0.05cqw;
}

.ticket-bottom-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2cqw;
    text-align: center;
}

.ticket-bottom-cta span {
    font-family: var(--font-sans);
    font-size: 3.2cqw;
    font-weight: 800;
    letter-spacing: 0.15cqw;
    color: var(--text-secondary);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

button.voucher-wrapper-interactive:not(:disabled) .ticket-voucher {
    animation: voucherGlowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

button.voucher-wrapper-interactive:not(:disabled):hover .ticket-voucher {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 10px 24px rgba(0, 80, 255, 0.45));
}

@keyframes voucherGlowPulse {
    0%, 100% {
        filter: drop-shadow(0 4px 10px rgba(0, 80, 255, 0.15)) drop-shadow(0 0 4px rgba(0, 80, 255, 0.08));
    }
    50% {
        filter: drop-shadow(0 8px 20px rgba(0, 80, 255, 0.35)) drop-shadow(0 0 12px rgba(0, 200, 255, 0.22));
    }
}

.ticket-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ticket-body {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.ticket-left {
    flex: 0 0 54%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    padding-left: 0;
}

.ticket-logo {
    width: 36cqw; /* horizontal logotype width */
    height: auto;
    display: block;
}

.ticket-tag {
    font-family: var(--font-sans);
    font-size: 3.8cqw;
    font-weight: 800;
    letter-spacing: 0.8cqw;
    color: var(--text-secondary); /* changed to grey */
    text-transform: uppercase;
}

.ticket-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    padding-right: 0;
}

.ticket-num {
    font-family: var(--font-display);
    font-size: 15cqw;
    font-weight: 900;
    color: var(--zeiss-blue);
    line-height: 1;
}

.ticket-txt {
    font-family: var(--font-sans);
    font-size: 3.8cqw;
    font-weight: 800;
    letter-spacing: 0.8cqw;
    color: var(--text-secondary); /* changed to grey */
    text-transform: uppercase;
}

@media (min-width: 501px) {
    /* Tamanhos ~20% menores que antes: o layout anterior só cabia certo com o
       navegador em zoom 80%. Em zoom 100% (o normal) tudo abaixo já ocupa o
       espaço certo, sem sobrar barra de rolagem. */
    /* Sem override de align-items aqui: mantém o "align-items: center" do
       mobile-first, que já centraliza o card verticalmente em qualquer
       altura de tela (notebook pequeno ou monitor grande). */
    .form-card {
        max-width: 430px !important;
        padding: 1.5rem 1.3rem !important;
    }
    .subtitle-index {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin-top: 0.3rem !important;
    }
    .campaign-main-title {
        font-size: 1.15rem !important;
        line-height: 1.2 !important;
    }
    .campaign-main-title .highlight-line {
        font-size: 0.95em !important;
        margin-top: 0.12rem !important;
    }
    .logo-container img {
        height: 30px !important;
    }
    .form-label {
        font-size: 0.82rem !important;
        margin-bottom: 0.5rem !important;
    }
    .form-input {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    .quiz-progress-header {
        margin-bottom: 1.4rem !important;
    }
    .btn-next, .btn-submit {
        padding: 0.62rem 1rem !important;
        font-size: 0.8rem !important;
    }
    .btn-row {
        margin-top: 1.1rem !important;
    }
    .logo-container {
        margin-top: 1.3rem !important;
    }
    /* Success page spacing optimizations to keep it matching the quiz card height */
    body.thankyou-page .campaign-tag-wrapper {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0.65rem !important;
    }
}

.subtitle-obrigado {
    font-size: 0.82rem !important;
}

.ticket-badge-flat {
    background: var(--zeiss-blue);
    color: white;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 3cqw; /* increased */
    letter-spacing: 0.3cqw;
    padding: 1cqw 3.5cqw;
    border-radius: 50px;
    text-transform: uppercase;
}

.ticket-cta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2cqw 1cqw;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.ticket-cta-overlay span {
    font-family: var(--font-mono);
    font-size: 2.2cqw;
    font-weight: 700;
    letter-spacing: 0.1cqw;
    color: var(--text-secondary);
    display: block;
}

.ticket-brand {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: var(--zeiss-blue);
    text-align: center;
}

.ticket-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.45rem 0 0.85rem;
}

.ticket-divider::before, .ticket-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 80, 255, 0.25);
}

.ticket-divider span {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.ticket-percent {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--zeiss-blue);
    text-align: center;
    line-height: 1;
}

.ticket-percent span {
    font-size: 1.5rem;
}

.ticket-badge {
    display: block;
    margin: 0.7rem auto 0;
    width: fit-content;
    background: var(--zeiss-blue);
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 2px;
    padding: 0.4rem 1.1rem;
    border-radius: 8px;
}

.ticket-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
}

.ticket-cta i {
    color: var(--zeiss-blue);
    width: 26px;
    height: 26px;
    animation: ticketClickHint 1.6s ease-in-out infinite;
}

.ticket-cta span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    text-align: center;
}

@keyframes ticketClickHint {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-2px) scale(1.1); }
}

.ticket-voucher .store-info-box {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(0, 80, 255, 0.2);
    text-align: center;
}

.ticket-voucher .store-info-title {
    color: var(--text-secondary);
}

.ticket-voucher .store-info-name {
    color: var(--text-light);
}

/* Quiz-style progress header (step counter + speed reassurance) */
.quiz-progress-header {
    width: 100%;
    margin-bottom: 1rem;
    opacity: 0;
    animation: revealUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.quiz-progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.quiz-progress-label #step-counter {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-speed-badge {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--zeiss-blue);
    background: rgba(0, 80, 255, 0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Quiz steps: one question visible at a time, sliding in from the direction of travel */
.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
}

.quiz-step.active.dir-forward {
    animation: quizStepInForward 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active.dir-back {
    animation: quizStepInBack 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes quizStepInForward {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes quizStepInBack {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

.btn-next {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--zeiss-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-next:not(:disabled):hover {
    background: var(--zeiss-blue-hover);
    transform: translateY(-1px);
}

.btn-next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--success);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-submit:not(:disabled):hover {
    background: #0d9488; /* slightly darker success green */
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.8rem;
    align-items: center;
}

.btn-back {
    flex: 0 0 30%; /* 30% width */
    text-align: center;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-back:hover {
    background: rgba(0, 0, 0, 0.07);
    color: var(--text-primary);
}

/* Override margins inside row for layout stability */
.btn-row .btn-next,
.btn-row .btn-submit,
.btn-row .btn-back {
    margin-top: 0 !important;
}

/* Stacked Form Styles */
.form-group {
    margin-bottom: 0.65rem;
    text-align: left;
    width: 100%;
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 4.6vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-light);
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.form-input, .form-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    color: #111827;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.phone-field-row {
    display: flex;
    gap: 0.5rem;
}

.phone-field-row .country-select {
    flex: 0 0 auto;
    width: auto;
    min-width: 5.2rem;
    padding-left: 0.55rem;
    padding-right: 0.4rem;
}

.phone-field-row .form-input {
    flex: 1;
    min-width: 0;
}

.form-input:focus, .form-select:focus {
    border-color: var(--zeiss-blue);
    box-shadow: 0 0 12px rgba(0, 80, 255, 0.15);
    background: #ffffff;
}

/* Radio Choice Option Cards */
.option-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    width: 100%;
}

.option-card {
    display: block;
    cursor: pointer;
}

.card-radio-input {
    position: absolute;
    opacity: 0;
}

.card-radio-content {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-align: left;
    height: 100%;
}

.card-radio-content:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0,0,0,0.15);
}

.card-radio-content .title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.1rem;
}

.card-radio-content .desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.card-radio-input:checked + .card-radio-content {
    border-color: var(--zeiss-blue);
    background: rgba(0, 80, 255, 0.05);
    box-shadow: 0 0 12px rgba(0, 80, 255, 0.15);
}

/* Custom loading animation for submit */
.spin {
    animation: loadingSpin 1s linear infinite;
}

@keyframes loadingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.eye-icon-indicator {
    color: var(--zeiss-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.animate-pulse {
    animation: pulseGlow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; filter: drop-shadow(0 0 2px var(--zeiss-blue)); }
    50% { opacity: 1; filter: drop-shadow(0 0 8px var(--zeiss-blue)); }
}

footer {
    width: 100%;
    padding: 0.8rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 500px) {
    .card {
        padding: 1.5rem 1.2rem;
        border-radius: 18px;
    }
    .form-header h2 {
        font-size: 1.35rem;
    }
    .option-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .card-radio-content {
        padding: 0.8rem 1rem;
    }
    .ticket-percent {
        font-size: 2.6rem;
    }
    .campaign-main-title {
        font-size: 1.35rem;
    }
    .center-layout {
        padding: 1rem 1rem !important; /* Reduces vertical spacing from card to top/bottom of screen on mobile */
    }
    .mobile-only {
        display: inline !important; /* Shows mobile-only line breaks */
    }
    .campaign-tag-wrapper {
        margin-bottom: 0.8rem !important; /* Reduces spacing under the main title on mobile */
    }
    .subtitle-obrigado {
        line-height: 1.35 !important;
        margin-bottom: 0.6rem !important;
    }
}

/* ==========================================================================
   THANK YOU PAGE ELEMENTS (obrigado.html)
   ========================================================================== */
body.thankyou-page .full-screen-bg {
    filter: blur(0px) !important; /* Visual metaphor: clear focused sight after registration! */
}

body.thankyou-page .bg-dark-overlay {
    background: rgba(0, 0, 0, 0.15); /* Matches the capture page end-state soft overlay exactly */
}

/* Customer store info box */
.store-info-box {
    border: 1px dashed rgba(0, 80, 255, 0.2);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.9rem;
    width: 100%;
    text-align: left;
    margin-top: 1.2rem;
    box-sizing: border-box;
}

.store-info-title {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.store-info-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.3;
}

/* Action Buttons Grid */
.action-buttons-grid {
    display: flex;
    gap: 0.8rem;
    width: 100%;
    margin-bottom: 1.2rem;
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-action.whatsapp {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.btn-action.whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(18, 140, 126, 0.35);
}

.btn-action.maps {
    background: linear-gradient(135deg, #0050ff 0%, #00c8ff 100%);
}

.btn-action.maps:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 80, 255, 0.35);
}

/* Rules Checklist */
.rules-checklist {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
    text-align: left;
    width: 100%;
}

.rules-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rules-item {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.rules-item .check {
    color: #10b981;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.2;
}

.rules-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 500px) {
    .action-buttons-grid {
        flex-direction: column;
        gap: 0.6rem;
    }
    .btn-action {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    .ticket-voucher {
        padding: 1.2rem 1rem 1rem;
    }
}

.top-divider {
    width: 100%;
    border-top: 1.5px solid rgba(0, 80, 255, 0.15); /* More visible blue brand color border line for premium detailing */
    margin: 1.5rem 0;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(0, 80, 255, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 80, 255, 0.6);
        transform: scale(1.015);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 80, 255, 0.2);
        transform: scale(1);
    }
}

.glow-animation {
    animation: pulseGlow 1.8s infinite ease-in-out !important;
    border-radius: 12px;
}

/* ===== Cinematic Split Shutter Page Intro ===== */
#intro-shutter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    pointer-events: none; /* Let clicks pass through if somehow displayed */
    overflow: hidden; /* Prevent bottom shutter from creating scrollbar during transition */
}

/* Force body to hide scrollbar while intro splits */
body:not(.intro-completed) {
    overflow: hidden !important;
}

.shutter-half {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%; /* slight overlap to avoid line rendering gaps */
    background: #ffffff;
    transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.shutter-top {
    top: 0;
    transform: translateY(0);
}

.shutter-bottom {
    bottom: 0;
    transform: translateY(0);
}

#intro-shutter.intro-out .shutter-top {
    transform: translateY(-100%);
}

#intro-shutter.intro-out .shutter-bottom {
    transform: translateY(100%);
}

.shutter-logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.shutter-logo-wrapper .intro-logo {
    width: 90px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

#intro-shutter.intro-out .shutter-logo-wrapper {
    transform: translate(-50%, -180%) scale(0.85); /* slide up out of viewport */
    opacity: 0;
}

/* Page card entry timing control: starts rising before shutter finishes opening */
#form-card {
    animation: none !important;
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s; /* 220ms delay! */
}

body.intro-completed #form-card {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

