/* ═══════════════════════════════════════════════════
   ReadMyCat — Fő stíluslap
   A prototípus (index.html) CSS-ének 1:1 másolata
   ═══════════════════════════════════════════════════ */

/* ═══ VÁLTOZÓK (CSS Custom Properties) ═══ */
:root {
    --orange-50: #FFF8F0;
    --orange-100: #FFECD4;
    --orange-200: #FFD6A8;
    --orange-300: #FFBA6B;
    --orange-400: #FF9F3C;
    --orange-500: #F58220;
    --orange-600: #D96A10;
    --cream: #FDF6EE;
    --cream-dark: #F5EBE0;
    --brown-100: #E8D5C0;
    --brown-200: #C4A882;
    --brown-500: #7A5C3E;
    --brown-700: #4A3728;
    --brown-900: #2D2118;
    --green-light: #E8F5E9;
    --green: #4CAF50;
    --green-dark: #2E7D32;
    --red-light: #FFEBEE;
    --red: #EF5350;
    --red-dark: #C62828;
    --yellow-light: #FFF8E1;
    --yellow: #FFC107;
    --shadow-sm: 0 1px 3px rgba(122,92,62,0.08);
    --shadow-md: 0 4px 12px rgba(122,92,62,0.1);
    --shadow-lg: 0 8px 30px rgba(122,92,62,0.12);
    --shadow-xl: 0 16px 50px rgba(122,92,62,0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

/* ═══ ACCESSIBILITY ═══ */
:focus-visible {
    outline: 2px solid var(--orange-500);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background: var(--cream);
    color: var(--brown-700);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ═══ SCREEN RENDSZER ═══ */
.screen {
    display: none;
    min-height: 100dvh;
    flex-direction: column;
    animation: screenIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.screen.active { display: flex; }

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

/* ═══ LANDING ═══ */
.landing {
    background: linear-gradient(170deg, var(--orange-50) 0%, var(--cream) 40%, var(--orange-100) 100%);
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.landing::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, var(--orange-200) 0%, transparent 70%);
    opacity: 0.5;
    border-radius: 50%;
}

.landing::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--orange-100) 0%, transparent 70%);
    opacity: 0.6;
    border-radius: 50%;
}

.landing-content { position: relative; z-index: 2; width: 100%; max-width: 400px; }

.mascot {
    font-size: 64px;
    margin-bottom: 8px;
    animation: mascotBounce 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes mascotBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-6px) rotate(-3deg); }
    75% { transform: translateY(-3px) rotate(2deg); }
}

.landing h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown-900);
    line-height: 1.2;
    margin-bottom: 12px;
}

.landing h1 span {
    color: var(--orange-500);
    position: relative;
}

.landing-sub {
    font-size: 1.05rem;
    color: var(--brown-500);
    line-height: 1.5;
    margin-bottom: 32px;
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(245,130,32,0.35);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    max-width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,130,32,0.45);
    background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
}

.btn-primary:active {
    transform: scale(0.97);
    box-shadow: 0 3px 12px rgba(245,130,32,0.3);
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--brown-500);
    font-weight: 600;
}

.badge-icon {
    width: 18px; height: 18px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
}

/* ═══ UPLOAD ═══ */
.upload-screen {
    padding: 0 20px 40px;
    background: var(--cream);
}

.top-bar {
    display: flex;
    align-items: center;
    padding: 16px 0;
    gap: 12px;
}

.back-btn {
    width: 40px; height: 40px;
    background: white;
    border: none;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
    color: var(--brown-700);
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: var(--cream-dark);
    box-shadow: var(--shadow-md);
}

.top-bar h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brown-700);
}

.upload-zone {
    background: white;
    border: 2.5px dashed var(--orange-300);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
    text-align: center;
    margin: 12px 0 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.upload-zone:hover {
    background: var(--orange-50);
    border-color: var(--orange-400);
    box-shadow: var(--shadow-md);
}

.upload-zone:active,
.upload-zone.drag-over {
    background: var(--orange-50);
    border-color: var(--orange-500);
}

.upload-zone.has-file {
    border-style: solid;
    border-color: var(--green);
    background: var(--green-light);
}

.upload-icon { font-size: 48px; margin-bottom: 12px; display: block; }
.upload-zone h3 { font-size: 1.05rem; font-weight: 700; color: var(--brown-700); margin-bottom: 6px; }
.upload-zone p { font-size: 0.88rem; color: var(--brown-500); font-weight: 600; }
.file-name { font-size: 0.9rem; color: var(--green-dark); font-weight: 700; margin-top: 8px; }

.optional-section { margin-top: 8px; }
.optional-section label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brown-500);
    margin-bottom: 8px;
}

.optional-section textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    resize: none;
    height: 80px;
    transition: border-color 0.2s;
    color: var(--brown-700);
    background: white;
}

.optional-section textarea:focus {
    outline: none;
    border-color: var(--orange-400);
}

.optional-section textarea::placeholder { color: var(--brown-100); }

.btn-analyze {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    font-size: 1.1rem;
}

.btn-analyze:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.upload-tips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tip {
    background: var(--orange-50);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--orange-600);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ═══ ERROR BANNER ═══ */
.error-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--red-light);
    color: var(--red-dark);
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.error-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ═══ SUBMIT SPINNER ═══ */
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-primary.loading {
    opacity: 0.7;
    cursor: wait;
}

/* ═══ LOADING ═══ */
.loading-screen {
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(170deg, var(--cream) 0%, var(--orange-50) 100%);
    text-align: center;
}

.loading-cat {
    font-size: 72px;
    animation: loadCat 1.5s ease-in-out infinite;
}

@keyframes loadCat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    30% { transform: scale(1.05) rotate(-5deg); }
    60% { transform: scale(0.98) rotate(3deg); }
}

.loading-screen h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.4rem;
    color: var(--brown-900);
    margin: 20px 0 8px;
}

.loading-screen p {
    color: var(--brown-500);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 36px;
}

.checklist { width: 100%; max-width: 340px; text-align: left; }

.check-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: white;
    border-radius: 14px;
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    opacity: 0.35;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.check-item.done { opacity: 1; }

.check-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--cream-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.check-item.done .check-icon {
    background: var(--green);
    color: white;
}

.check-item.active { opacity: 1; }
.check-item.active .check-icon {
    background: var(--orange-400);
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.check-text { font-weight: 700; font-size: 0.92rem; color: var(--brown-700); }

.progress-bar-wrap {
    width: 100%;
    max-width: 340px;
    height: 6px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    margin-top: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
    border-radius: var(--radius-full);
    transition: width 0.6s ease;
}

/* ═══ PREVIEW / EREDMÉNYEK ═══ */
.preview-screen {
    padding: 0 20px 120px;
    background: var(--cream);
}

.result-header {
    text-align: center;
    padding: 24px 0 20px;
}

.result-header h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--brown-900);
}

.result-header p {
    font-size: 0.88rem;
    color: var(--brown-500);
    font-weight: 600;
    margin-top: 4px;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 12px;
}

.urgency-low { background: var(--green-light); color: var(--green-dark); }
.urgency-medium { background: var(--yellow-light); color: #F57F17; }
.urgency-high { background: var(--red-light); color: var(--red-dark); }

.result-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange-500);
    margin-bottom: 12px;
}

.card-label .label-icon {
    width: 24px; height: 24px;
    background: var(--orange-100);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

.result-card p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--brown-700);
    font-weight: 600;
}

.observation-list { list-style: none; }
.observation-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--brown-700);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.observation-list li:last-child { border-bottom: none; }
.obs-bullet {
    width: 8px; height: 8px;
    background: var(--orange-400);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

/* ═══ ZÁROLT KÁRTYA (Locked card) ═══ */
.locked-card {
    position: relative;
    overflow: hidden;
}

.locked-content {
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
}

.lock-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 75%;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.85) 40%, white 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 8px;
}

.lock-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-100);
    color: var(--orange-600);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
}

/* ═══ PAYWALL ═══ */
.paywall-sticky {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(135deg, #FFF8F0, #FFECD4);
    border-top: 2px solid var(--orange-200);
    padding: 18px 20px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 24px rgba(245,130,32,0.12), 0 -1px 6px rgba(0,0,0,0.06);
    z-index: 100;
    display: none;
}

.paywall-sticky.show { display: block; animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.paywall-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.paywall-text h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brown-900);
}

.paywall-text p {
    font-size: 0.82rem;
    color: var(--brown-700);
    font-weight: 600;
    margin-top: 2px;
}

.paywall-price {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brown-500);
}

.btn-unlock {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245,130,32,0.3);
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(245,130,32,0.45);
}

.btn-unlock:active { transform: scale(0.96); }

/* ═══ FIZETÉSI MODAL (Payment modal) ═══ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-sheet {
    background: white;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 480px;
    padding: 28px 24px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    animation: sheetUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-handle {
    width: 40px; height: 4px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    margin: 0 auto 20px;
}

.modal-sheet h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--brown-900);
}

.price-display {
    text-align: center;
    margin: 20px 0;
}

.price-amount {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--orange-500);
    line-height: 1.1;
}

.price-desc {
    font-size: 0.88rem;
    color: var(--brown-500);
    font-weight: 600;
}

.perks {
    margin: 20px 0;
    list-style: none;
}

.perks li {
    padding: 8px 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brown-700);
    display: flex; align-items: center; gap: 10px;
}

.perk-check {
    width: 22px; height: 22px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--green-dark);
    font-size: 11px;
    flex-shrink: 0;
}

.btn-pay {
    width: 100%;
    padding: 20px;
    font-size: 1.15rem;
    margin-top: 12px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 6px 24px rgba(76,175,80,0.3);
    letter-spacing: 0.02em;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(76,175,80,0.4);
}

.btn-pay:active {
    transform: scale(0.97);
}

.secure-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--brown-500);
    font-weight: 600;
}

/* ═══ TELJES EREDMÉNYEK (Full results) ═══ */
.full-screen {
    padding: 0 20px 40px;
    background: var(--cream);
}

.unlocked-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    margin: 0 auto;
}

.cause-card {
    background: var(--orange-50);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
}

.cause-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cause-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--brown-900);
}

.cause-likelihood {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.likelihood-high { background: var(--red-light); color: var(--red-dark); }
.likelihood-medium { background: var(--yellow-light); color: #F57F17; }
.likelihood-low { background: var(--green-light); color: var(--green-dark); }

.cause-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--brown-500);
    font-weight: 600;
}

.watchfor-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.watchfor-item:last-child { border-bottom: none; }

.wf-icon {
    width: 36px; height: 36px;
    background: var(--orange-100);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.wf-sign { font-weight: 800; font-size: 0.92rem; color: var(--brown-900); margin-bottom: 2px; }
.wf-action { font-size: 0.85rem; color: var(--brown-500); font-weight: 600; line-height: 1.45; }

.vet-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--yellow-light);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
}

.vet-icon { font-size: 28px; flex-shrink: 0; }
.vet-text { font-size: 0.88rem; font-weight: 700; color: #F57F17; line-height: 1.45; }

/* ═══ UPSELL ═══ */
.upsell-card {
    background: linear-gradient(135deg, var(--orange-100), var(--orange-50));
    border: 2px solid var(--orange-300);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    margin-top: 24px;
}

.upsell-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    color: var(--brown-900);
    margin-bottom: 6px;
}

.upsell-card p {
    font-size: 0.88rem;
    color: var(--brown-500);
    font-weight: 600;
    margin-bottom: 16px;
}

.upsell-prices {
    display: flex;
    gap: 6px;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 16px;
}

.upsell-old {
    text-decoration: line-through;
    color: var(--brown-500);
    font-size: 0.95rem;
    font-weight: 700;
}

.upsell-new {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange-500);
}

.btn-upsell {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    box-shadow: 0 4px 16px rgba(245,130,32,0.25);
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brown-500);
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    margin-top: 8px;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

.btn-secondary:hover {
    color: var(--orange-500);
}

/* ═══ FOOTER ═══ */
.mini-footer {
    text-align: center;
    padding: 32px 20px 20px;
    font-size: 0.82rem;
    color: var(--brown-500);
    font-weight: 600;
}

.mini-footer a { color: var(--orange-500); text-decoration: none; transition: color 0.2s ease; }
.mini-footer a:hover { text-decoration: underline; color: var(--orange-600); }

/* ═══ TOAST (Felugró értesítés) ═══ */
.toast {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%) translateY(-80px);
    background: var(--brown-900);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 700;
    z-index: 300;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ═══ KÉRDŐÍV (Questionnaire) ═══ */
.question-group {
    margin-bottom: 18px;
}

.question-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brown-700);
    margin-bottom: 6px;
    line-height: 1.4;
}

.required-mark {
    color: var(--red);
    font-weight: 800;
}

.question-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--brown-700);
    background: var(--cream);
    transition: border-color 0.2s;
}

.question-input:focus {
    outline: none;
    border-color: var(--orange-400);
    background: white;
}

.question-input::placeholder {
    color: var(--brown-100);
}

.confidence-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
    margin-top: 10px;
}

.confidence-high { background: var(--green-light); color: var(--green-dark); }
.confidence-medium { background: var(--yellow-light); color: #F57F17; }
.confidence-low { background: var(--red-light); color: var(--red-dark); }
/* Backward compat: régi magyar osztálynevek */
.confidence-magas { background: var(--green-light); color: var(--green-dark); }
.confidence-kozepes { background: var(--yellow-light); color: #F57F17; }
.confidence-alacsony { background: var(--red-light); color: var(--red-dark); }

/* ═══ TESTIMONIALS (Social proof) ═══ */
.testimonials {
    margin-top: 32px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonial-track {
    display: flex;
    gap: 16px;
    animation: testimonialScroll 12s linear infinite;
    width: max-content;
}

.testimonial-track:hover { animation-play-state: paused; }

@keyframes testimonialScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    min-width: 280px;
    max-width: 280px;
    background: white;
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.testimonial-stars {
    color: #F5A623;
    font-size: 0.9rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--brown-700);
    font-weight: 600;
    margin-bottom: 8px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.78rem;
    color: var(--brown-500);
    font-weight: 700;
}

/* ═══ REASSURANCE (Upload oldal) ═══ */
.reassurance-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 20px;
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brown-500);
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.reassurance-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ═══ UPLOAD PROGRESS BAR ═══ */
.upload-progress {
    margin: 16px 0 8px;
    text-align: center;
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.upload-progress-text {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--orange-500);
    margin-top: 6px;
}

/* ═══ PAYWALL TEASER (dinamikus) ═══ */
.paywall-teaser {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--orange-50), var(--orange-100));
    border: 1.5px solid var(--orange-200);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brown-700);
    line-height: 1.45;
    box-shadow: 0 2px 8px rgba(245,130,32,0.08);
}

.teaser-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(245,130,32,0.2));
}

/* ═══ ÉRTÉK-HORGONY (Value anchor) ═══ */
.value-anchor {
    text-align: center;
    margin: 20px 0;
    background: var(--orange-50);
    border-radius: var(--radius);
    padding: 18px 16px;
    border: 1.5px dashed var(--orange-200);
}

.value-compare {
    margin-bottom: 8px;
}

.value-strikethrough {
    font-size: 0.92rem;
    color: var(--red);
    text-decoration: line-through;
    font-weight: 700;
    opacity: 0.85;
}

/* ═══ GARANCIA BADGE ═══ */
.guarantee-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--green-light);
    border: 1.5px solid rgba(76, 175, 80, 0.25);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-top: 16px;
}

.guarantee-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.guarantee-text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--green-dark);
}

.guarantee-text strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.guarantee-text span {
    font-weight: 600;
}

/* ═══ PULSE ANIMÁCIÓ (Sticky CTA) ═══ */
.btn-pulse {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(245,130,32,0.3); }
    50% { box-shadow: 0 6px 28px rgba(245,130,32,0.5), 0 0 0 8px rgba(245,130,32,0.15); }
}

/* Reduced motion: pulse animáció kikapcsolása */
@media (prefers-reduced-motion: reduce) {
    .btn-pulse { animation: none; }
}

/* ═══ SHARE CARD ═══ */
.share-card {
    background: linear-gradient(135deg, var(--cream-dark), var(--orange-50));
    border: 2px dashed var(--orange-200);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    margin-top: 24px;
}

.share-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: var(--brown-900);
    margin-bottom: 6px;
}

.share-card p {
    font-size: 0.85rem;
    color: var(--brown-500);
    font-weight: 600;
    margin-bottom: 14px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--orange-500);
    border: 2px solid var(--orange-300);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.btn-share:hover {
    background: var(--orange-50);
    border-color: var(--orange-500);
    transform: translateY(-1px);
}

.btn-share:active {
    background: var(--orange-50);
    transform: scale(0.97);
}

/* ═══ HOGYAN MŰKÖDIK? (How it works) ═══ */
.how-it-works {
    background: white;
    padding: 48px 20px;
    text-align: center;
}

.how-it-works h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 32px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 32px;
}

.step-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 20px;
    width: 28px;
    height: 28px;
    background: var(--orange-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.step-card h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 6px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--brown-500);
    font-weight: 600;
    line-height: 1.5;
}

.btn-secondary-cta {
    margin-bottom: 12px;
}

.guarantee-text {
    font-size: 0.82rem;
    color: var(--brown-500);
    font-weight: 700;
}

/* ═══ FAQ ACCORDION ═══ */
.faq-section {
    background: var(--cream);
    padding: 48px 20px;
    text-align: center;
}

.faq-section h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 24px;
}

.faq-list {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brown-700);
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: var(--cream);
}

.faq-arrow {
    font-size: 0.7rem;
    color: var(--brown-500);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 18px 16px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--brown-500);
    font-weight: 600;
}

/* ═══ LEGAL OLDALAK ═══ */
.legal-page {
    padding: 0 20px 40px;
    background: var(--cream);
    min-height: 100dvh;
}

.legal-page h1 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 8px;
    padding-top: 8px;
}

.legal-page .legal-date {
    font-size: 0.82rem;
    color: var(--brown-500);
    font-weight: 600;
    margin-bottom: 24px;
}

.legal-page h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brown-900);
    margin: 28px 0 10px;
}

.legal-page h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brown-700);
    margin: 20px 0 8px;
}

.legal-page p,
.legal-page li {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--brown-500);
    font-weight: 600;
    margin-bottom: 8px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.legal-page a {
    color: var(--orange-500);
    text-decoration: none;
    font-weight: 700;
}

/* ═══ NYELVVÁLTÓ (Language switcher) ═══ */
.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.85rem;
}

.lang-switcher-label {
    color: var(--brown-500);
    font-weight: 600;
}

.lang-switcher a {
    color: var(--brown-500);
    text-decoration: none;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.lang-switcher a:hover {
    color: var(--orange-500);
    background: var(--orange-50);
}

.lang-switcher a:focus-visible {
    outline: 2px solid var(--orange-500);
    outline-offset: 2px;
}

.lang-switcher a.active {
    color: var(--orange-600);
    font-weight: 800;
}

/* ═══ RESZPONZÍV (Responsive) ═══ */
@media (min-width: 481px) {
    .screen { align-items: center; }
    .upload-screen, .preview-screen, .full-screen {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .paywall-sticky { max-width: 480px; left: 50%; transform: translateX(-50%); border-radius: 20px 20px 0 0; }

    .steps {
        flex-direction: row;
        max-width: 720px;
    }
    .step-card { flex: 1; }

    .faq-list { max-width: 600px; }

    .legal-page {
        max-width: 680px;
        margin: 0 auto;
    }
}

/* ═══ TABLET (768px+) ═══ */
@media (min-width: 768px) {
    .landing-content { max-width: 600px; }
    .landing h1 { font-size: 2.6rem; }
    .landing-sub { font-size: 1.15rem; }
    .testimonials { max-width: 600px; }

    .upload-screen, .preview-screen, .full-screen {
        max-width: 560px;
    }
    .paywall-sticky { max-width: 560px; }

    .steps { max-width: 720px; }
    .faq-list { max-width: 640px; }
    .legal-page { max-width: 720px; }
}

/* ═══ DESKTOP (1024px+) ═══ */
@media (min-width: 1024px) {
    .landing-content { max-width: 720px; }
    .landing h1 { font-size: 3rem; }
    .landing-sub { font-size: 1.2rem; margin-bottom: 40px; }
    .btn-primary { padding: 20px 44px; font-size: 1.15rem; }
    .testimonials { max-width: 720px; }

    .upload-screen, .preview-screen, .full-screen {
        max-width: 640px;
    }
    .paywall-sticky { max-width: 640px; }

    .how-it-works { padding: 64px 20px; }
    .how-it-works h2 { font-size: 1.8rem; }
    .steps { max-width: 840px; gap: 28px; }
    .step-card { padding: 32px 24px; }

    .faq-section { padding: 64px 20px; }
    .faq-section h2 { font-size: 1.8rem; }
    .faq-list { max-width: 700px; }
}

/* ═══ NAGY DESKTOP (1440px+) ═══ */
@media (min-width: 1440px) {
    .landing-content { max-width: 900px; }
    .landing h1 { font-size: 3.2rem; }
    .testimonials { max-width: 900px; }

    .upload-screen, .preview-screen, .full-screen {
        max-width: 720px;
    }
    .paywall-sticky { max-width: 720px; }

    .how-it-works { padding: 80px 40px; }
    .steps { max-width: 960px; }

    .faq-section { padding: 80px 40px; }
    .faq-list { max-width: 800px; }
}
