/* ===================================
   FunOze — Custom Styles
   Inspired by Wanderlog's clean, minimal UI
   Brand: Blues (#0077B6, #00B4D8)
          Golds (#FFB703, #FB8500)
          White (#FFFFFF)
   =================================== */

/* --- CSS Variables --- */
:root {
    --pb-blue-dark: #0077B6;
    --pb-blue-light: #00B4D8;
    --pb-gold: #FFB703;
    --pb-gold-dark: #FB8500;
    --pb-white: #FFFFFF;
    --pb-gray-light: #f8f9fa;
    --pb-gray-mid: #6c757d;
    --pb-text: #212529;
    --pb-radius: 12px;
}

/* --- Global --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--pb-text);
    background-color: var(--pb-gray-light);
}

/* --- Navbar (clean, minimal like Wanderlog) --- */
.bg-primary-brand {
    background-color: var(--pb-white) !important;
    border-bottom: 1px solid #e9ecef;
}

.bg-primary-brand .navbar-brand {
    color: var(--pb-blue-dark) !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.bg-primary-brand .nav-link {
    color: var(--pb-gray-mid) !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.bg-primary-brand .nav-link:hover {
    color: var(--pb-blue-dark) !important;
}

/* --- Text colours --- */
.text-primary {
    color: var(--pb-blue-dark) !important;
}

/* --- Gold CTA button (Wanderlog-style bold accent) --- */
.btn-gold {
    background-color: var(--pb-gold);
    color: var(--pb-text);
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 183, 3, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-gold:hover {
    background-color: var(--pb-gold-dark);
    color: var(--pb-text);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(251, 133, 0, 0.45);
}

.btn-gold:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 6px rgba(251, 133, 0, 0.3);
}

/* Shimmer sweep animation on the CTA button */
.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: translateX(-200%);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0%, 100% { transform: translateX(-200%); }
    50% { transform: translateX(300%); }
}

/* --- Outline primary button --- */
.btn-outline-primary {
    color: var(--pb-blue-dark);
    border-color: var(--pb-blue-dark);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background-color: var(--pb-blue-dark);
    border-color: var(--pb-blue-dark);
    color: var(--pb-white);
    transform: translateY(-1px);
}

/* --- Outline gold button (source links) --- */
.btn-outline-gold {
    color: var(--pb-gold-dark);
    border-color: var(--pb-gold-dark);
    border-radius: 50px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    transition: all 0.2s ease;
}

.btn-outline-gold:hover {
    background-color: var(--pb-gold-dark);
    border-color: var(--pb-gold-dark);
    color: var(--pb-white);
    transform: translateY(-1px);
}

/* --- Card action buttons row --- */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* --- Main side-by-side layout --- */
.main-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 1rem 0;
}

.left-panel {
    flex: 0 0 380px;
    max-width: 380px;
    position: sticky;
    top: 1rem;
}

.right-panel {
    flex: 1;
    min-width: 0;
}

/* --- Hero section --- */
.hero-section {
    padding: 1rem 1rem 0.75rem;
}

.hero-section h1 {
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 2rem;
}

.hero-section .lead {
    font-size: 1rem;
    color: var(--pb-gray-mid);
    max-width: 480px;
    margin: 0 auto;
}

/* --- Form card (clean, elevated) --- */
.form-section .card {
    border: none;
    border-radius: var(--pb-radius);
    background: var(--pb-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
}

.form-section .card-body {
    padding: 1.5rem;
}

.form-section .card-title {
    font-weight: 700;
    color: var(--pb-text);
}

.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pb-text);
    margin-bottom: 0.3rem;
}

.form-select,
.form-control {
    border-radius: 8px;
    border: 1.5px solid #dee2e6;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--pb-blue-light);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-text {
    font-size: 0.8rem;
    color: var(--pb-gray-mid);
}

/* --- Results header --- */
.results-header {
    padding: 1rem 1rem 0.5rem;
}

.results-header h1 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.results-summary {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.results-summary .summary-tag {
    background-color: var(--pb-white);
    border: 1.5px solid #e9ecef;
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pb-gray-mid);
}

/* --- Recommendation cards (Wanderlog-inspired: clean, airy) --- */
.recommendation-card {
    border: none;
    border-radius: var(--pb-radius);
    background: var(--pb-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.1);
}

.recommendation-card .card-body {
    padding: 1.25rem;
}

.recommendation-card .card-title {
    color: var(--pb-blue-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.recommendation-card .card-text {
    color: var(--pb-gray-mid);
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.recommendation-card .card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--pb-blue-dark);
    color: var(--pb-white);
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
}

/* --- Badges (pill style, muted tones) --- */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.bg-info-badge {
    background-color: #e8f4f8 !important;
    color: var(--pb-blue-dark);
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.4em 0.85em;
    border-radius: 50px;
}

.bg-cost-badge {
    background-color: #fff8e1 !important;
    color: var(--pb-gold-dark);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.4em 0.85em;
    border-radius: 50px;
}

.bg-free-badge {
    background-color: #e8f5e9 !important;
    color: #2e7d32;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.4em 0.85em;
    border-radius: 50px;
}

.bg-time-badge {
    background-color: #f3e5f5 !important;
    color: #7b1fa2;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.4em 0.85em;
    border-radius: 50px;
}

/* --- Card header row (number + emoji left, share icons right) --- */
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-header-row .card-number {
    margin-bottom: 0;
}

.card-emoji {
    font-size: 1.5rem;
    line-height: 1;
}

/* --- Suburb / location (inline after title) --- */
.card-suburb {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--pb-gray-mid);
}

/* --- Empty state (before search) --- */
.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
}

.empty-state-content {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

/* Floating activity emojis background */
.floating-emojis {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-emoji {
    position: absolute;
    left: var(--x);
    top: var(--y);
    font-size: 2.2rem;
    opacity: 0.18;
    animation: floatEmoji 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(10deg); }
}

/* Bubbly sun */
.bubbly-sun {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    animation: sunBubble 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 183, 3, 0.5));
}

@keyframes sunBubble {
    0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 12px rgba(255, 183, 3, 0.5)); }
    50% { transform: scale(1.15) rotate(15deg); filter: drop-shadow(0 0 24px rgba(255, 183, 3, 0.7)); }
}

/* Active characters (running, biking, cartwheeling, jumping) */
.active-chars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.active-char {
    font-size: 2.8rem;
    display: inline-block;
    filter: drop-shadow(0 3px 8px rgba(0, 119, 182, 0.2));
}

/* Runner — bouncing forward */
.char-run {
    animation: charRun 0.8s ease-in-out infinite;
}

@keyframes charRun {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-14px) translateX(3px); }
}

/* Biker — gentle pedal bob */
.char-bike {
    animation: charBike 1.2s ease-in-out infinite;
}

@keyframes charBike {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(3deg); }
}

/* Cartwheeler — spinning */
.char-cartwheel {
    font-size: 2.4rem;
    animation: charCartwheel 2s linear infinite;
}

@keyframes charCartwheel {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Jumper — high bounce */
.char-jump {
    animation: charJump 1s ease-in-out infinite;
}

@keyframes charJump {
    0%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-20px) scale(1.06); }
    70% { transform: translateY(-4px) scale(0.96); }
}

.empty-state-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pb-blue-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.empty-state-text {
    color: var(--pb-gray-mid);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Pointing hand hint */
.arrow-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pointing-hand {
    font-size: 3rem;
    display: inline-block;
    animation: pointLeft 1.5s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(251, 133, 0, 0.3));
}

@keyframes pointLeft {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(-12px) scale(1.1); }
}

/* --- Activity Type Pills (toggle checkboxes) --- */
.activity-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.activity-pill {
    cursor: pointer;
    margin: 0;
}

.activity-pill input[type="checkbox"] {
    display: none;
}

.activity-pill .pill-label {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    border: 1.5px solid #dee2e6;
    background: var(--pb-white);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--pb-gray-mid);
    transition: all 0.2s ease;
    user-select: none;
}

.activity-pill .pill-label:hover {
    border-color: var(--pb-blue-light);
    color: var(--pb-blue-dark);
}

.activity-pill input[type="checkbox"]:checked + .pill-label {
    background: var(--pb-blue-dark);
    border-color: var(--pb-blue-dark);
    color: var(--pb-white);
    box-shadow: 0 2px 8px rgba(0, 119, 182, 0.25);
}

/* --- Keyword search input --- */
.keyword-input-wrapper {
    position: relative;
}

.keyword-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.keyword-input {
    padding-left: 2.3rem !important;
}

.keyword-input::placeholder {
    color: #adb5bd;
    font-size: 0.88rem;
}

/* Keyword highlighted tag in results summary */
.summary-tag-keyword {
    background-color: #fff3cd !important;
    border-color: var(--pb-gold) !important;
    color: var(--pb-gold-dark) !important;
    font-weight: 600;
}

/* --- Footer (minimal) --- */
.footer {
    font-size: 0.85rem;
    background-color: var(--pb-white);
    color: var(--pb-gray-mid);
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .left-panel {
        flex: none;
        max-width: 100%;
        width: 100%;
        position: static;
    }

    .right-panel {
        width: 100%;
    }

    .hero-section {
        padding: 1.5rem 1rem 1rem;
    }

    .hero-section h1 {
        font-size: 1.85rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    .form-section .card-body {
        padding: 1.25rem;
    }

    .recommendation-card .card-body {
        padding: 1.1rem;
    }

    .results-header {
        padding: 1rem 0.5rem 0.5rem;
    }
}

/* --- Loading overlay --- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(248, 249, 250, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-content {
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 56px;
    height: 56px;
    border: 5px solid #e9ecef;
    border-top-color: var(--pb-blue-dark);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pb-blue-dark);
    margin-bottom: 0.4rem;
}

.loading-text {
    color: var(--pb-gray-mid);
    font-size: 0.95rem;
}

/* --- Card entrance animations --- */
@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recommendation-card {
    animation: cardSlideUp 0.4s ease-out both;
}

.col-12:nth-child(1) .recommendation-card { animation-delay: 0s; }
.col-12:nth-child(2) .recommendation-card { animation-delay: 0.06s; }
.col-12:nth-child(3) .recommendation-card { animation-delay: 0.12s; }
.col-12:nth-child(4) .recommendation-card { animation-delay: 0.18s; }
.col-12:nth-child(5) .recommendation-card { animation-delay: 0.24s; }
.col-12:nth-child(6) .recommendation-card { animation-delay: 0.3s; }
.col-12:nth-child(7) .recommendation-card { animation-delay: 0.36s; }
.col-12:nth-child(8) .recommendation-card { animation-delay: 0.42s; }

/* --- Empty state entrance --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-state-content {
    animation: fadeInUp 0.6s ease-out;
}

/* --- Results header entrance --- */
.results-header {
    animation: fadeInUp 0.4s ease-out;
}

/* --- Activity pill toggle animation --- */
.activity-pill .pill-label {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-pill input[type="checkbox"]:checked + .pill-label {
    animation: pillPop 0.3s ease-out;
}

@keyframes pillPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* --- Hero section entrance --- */
.hero-section {
    animation: fadeInUp 0.5s ease-out;
}

/* --- Form card entrance --- */
.form-section .card {
    animation: cardSlideUp 0.5s ease-out 0.1s both;
}

/* --- Share buttons (top-right of card) --- */
.share-buttons {
    display: flex;
    gap: 0.35rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #e9ecef;
    background: var(--pb-white);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: #adb5bd;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: var(--pb-white);
}

.share-email:hover {
    background: var(--pb-blue-dark);
    border-color: var(--pb-blue-dark);
    color: var(--pb-white);
}

.share-copy:hover {
    background: var(--pb-gray-mid);
    border-color: var(--pb-gray-mid);
    color: var(--pb-white);
}

.share-native:hover {
    background: var(--pb-blue-light);
    border-color: var(--pb-blue-light);
    color: var(--pb-white);
}

/* Native share button: only visible on mobile / touch devices */
.share-native {
    display: none;
}

@media (max-width: 768px) {
    .share-native {
        display: inline-flex;
    }
}

/* --- Toast notification --- */
.share-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--pb-text);
    color: var(--pb-white);
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.share-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Error state icon --- */
.error-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* --- Login page --- */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 1rem;
}

.login-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
    overflow: hidden;
    animation: cardSlideUp 0.5s ease-out;
}

.login-header {
    background: linear-gradient(135deg, var(--pb-blue-dark), var(--pb-blue-light));
    padding: 2rem;
    text-align: center;
}

.login-brand {
    color: var(--pb-white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0.3rem 0 0;
}

.login-body {
    padding: 2rem;
}

.login-title {
    font-weight: 700;
    color: var(--pb-text);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.login-text {
    color: var(--pb-gray-mid);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid #dadce0;
    border-radius: 50px;
    background: var(--pb-white);
    color: var(--pb-text);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.google-icon {
    flex-shrink: 0;
}

.login-footer {
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.login-footer p {
    color: var(--pb-gray-mid);
    font-size: 0.8rem;
    margin: 0;
}

.access-denied-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* --- Value proposition (unauthenticated landing) --- */
.value-prop {
    padding: 2rem 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.value-prop-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pb-blue-dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.3rem;
}

.value-prop-subtitle {
    color: var(--pb-gray-mid);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.value-prop-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-prop-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-prop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 24px rgba(0, 0, 0, 0.1);
}

.value-prop-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.1rem;
}

.value-prop-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pb-blue-dark);
    margin-bottom: 0.25rem;
}

.value-prop-item p {
    font-size: 0.88rem;
    color: var(--pb-gray-mid);
    line-height: 1.55;
    margin: 0;
}

/* Staggered entrance for value-prop items */
.value-prop-item:nth-child(1) { animation: cardSlideUp 0.4s ease-out 0.1s both; }
.value-prop-item:nth-child(2) { animation: cardSlideUp 0.4s ease-out 0.2s both; }
.value-prop-item:nth-child(3) { animation: cardSlideUp 0.4s ease-out 0.3s both; }
.value-prop-item:nth-child(4) { animation: cardSlideUp 0.4s ease-out 0.4s both; }

/* --- Navbar user info --- */
.user-email {
    font-size: 0.85rem;
    color: var(--pb-blue-dark) !important;
    font-weight: 600;
}

.nav-logout-btn {
    border-radius: 50px;
    font-size: 0.8rem;
    padding: 0.25rem 0.85rem;
}

/* --- Contact page (reuses login-page pattern) --- */
.contact-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 1rem;
}

.contact-card {
    background: var(--pb-white);
    border-radius: var(--pb-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
    max-width: 560px;
    width: 100%;
    overflow: hidden;
    animation: cardSlideUp 0.5s ease-out;
}

.contact-header {
    background: linear-gradient(135deg, var(--pb-blue-dark), var(--pb-blue-light));
    padding: 2rem;
    text-align: center;
}

.contact-brand {
    color: var(--pb-white);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0.3rem 0 0;
}

.contact-body {
    padding: 2rem;
}

.contact-intro {
    color: var(--pb-gray-mid);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.contact-privacy {
    color: var(--pb-gray-mid);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.contact-success {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.4s ease-out;
}

.contact-success-icon {
    font-size: 1.4rem;
    color: #2e7d32;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.contact-success strong {
    display: block;
    color: #2e7d32;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.contact-success p {
    color: #388e3c;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.contact-error {
    background: #fff3cd;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #856404;
    font-size: 0.9rem;
    animation: fadeInUp 0.4s ease-out;
}

.contact-error strong {
    color: #856404;
}

/* Honeypot: hidden from humans */
.honeypot-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
}

@media (max-width: 768px) {
    .contact-card {
        max-width: 100%;
    }

    .contact-body {
        padding: 1.5rem;
    }
}
