/* ================================================================
   iTraveler NEO — Modern 3D Itinerary UI (v2)
   Overrides all legacy itinerary styles inside .neo-trip-experience
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --neo-primary: var(--yale-blue, #1b4079);
    --neo-accent: var(--air-force-blue, #0d6e8b);
    --neo-highlight: var(--mindaro-accent, #d2fa5c);
    --neo-cyan: var(--air-force-blue, #0d6e8b);
    --neo-lime: var(--mindaro-accent, #d2fa5c);
    --neo-perspective: 1200px;
    --neo-glow-accent: 0 0 24px rgba(13, 110, 139, 0.35);
}

/* Light mode (itinerary view default when theme toggle is light) */
body:not(.dark-mode) {
    --neo-bg: #f0f4f8;
    --neo-surface: #ffffff;
    --neo-surface-raised: #f5f8fc;
    --neo-surface-hover: #e8eef5;
    --neo-border: #d4dee8;
    --neo-text: #1e293b;
    --neo-muted: #64748b;
    --neo-heading: #1b4079;
    --neo-body-text: #475569;
    --neo-highlight-on-bg: #4a6b12;
    --neo-shadow: 0 16px 32px -12px rgba(27, 64, 121, 0.1);
    --neo-card-tint-opacity: 0.35;
    --neo-ambient-opacity: 0.45;
}

body.dark-mode {
    --neo-bg: #0a192f;
    --neo-surface: #112240;
    --neo-surface-raised: #1a2a44;
    --neo-surface-hover: #233554;
    --neo-border: #2a3f5f;
    --neo-text: #e6f1ff;
    --neo-muted: #8892b0;
    --neo-heading: #ffffff;
    --neo-body-text: #cbd5e1;
    --neo-highlight-on-bg: var(--neo-highlight);
    --neo-shadow: 0 20px 40px -12px rgba(2, 12, 27, 0.6);
    --neo-card-tint-opacity: 1;
    --neo-ambient-opacity: 0.55;
}

html.itr-smooth-scroll { scroll-behavior: smooth; }

/* ---- Kill legacy styles inside neo wrapper ---- */
.neo-trip-experience,
.neo-trip-experience * {
    box-sizing: border-box;
}

.neo-trip-experience .trip-summary-card,
.neo-trip-experience .destination-overview-card,
.neo-trip-experience .itinerary-display-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    color: var(--neo-text) !important;
}

/* ---- Ambient 3D canvas ---- */
.neo-trip-experience {
    position: relative;
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--neo-text);
    perspective: var(--neo-perspective);
    transform-style: preserve-3d;
    padding: 0 0 80px;
    isolation: isolate;
}

.neo-ambient {
    position: absolute;
    inset: -60px -20px auto;
    height: 520px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 0 0 50% 50% / 0 0 30% 30%;
}
.neo-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: neoOrbFloat 12s ease-in-out infinite;
}
.neo-orb-1 { width: 280px; height: 280px; background: #0d6e8b; top: -80px; left: -60px; opacity: 0.4; }
.neo-orb-2 { width: 220px; height: 220px; background: #1b4079; top: 20px; right: -40px; animation-delay: -4s; opacity: 0.45; }
.neo-orb-3 { width: 180px; height: 180px; background: #d2fa5c; bottom: 0; left: 35%; animation-delay: -7s; opacity: 0.2; }
.neo-grid-floor {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(13,110,139,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,110,139,0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    transform: perspective(500px) rotateX(68deg) translateY(120px) scale(2.2);
    transform-origin: center top;
    opacity: 0.35;
    mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
}
@keyframes neoOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 20px) scale(1.08); }
    66% { transform: translate(-20px, 35px) scale(0.95); }
}

/* ---- Scroll progress ---- */
.neo-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--neo-accent), var(--neo-highlight));
    z-index: 9999;
    box-shadow: var(--neo-glow-accent);
    transition: width 0.08s linear;
    border-radius: 0 2px 2px 0;
}

/* ---- Reveal ---- */
.neo-reveal {
    opacity: 0;
    transform: translateY(40px) rotateX(12deg) scale(0.96);
    transform-origin: center bottom;
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.neo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
}

/* ---- Hero title ---- */
.neo-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 28px 20px 36px;
    margin-bottom: 8px;
}
.neo-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neo-lime);
    background: rgba(210, 250, 92, 0.08);
    border: 1px solid rgba(210, 250, 92, 0.25);
    margin-bottom: 16px;
    animation: neoPulseBadge 3s ease-in-out infinite;
}
@keyframes neoPulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(210, 250, 92, 0.2); }
    50% { box-shadow: 0 0 24px 4px rgba(210, 250, 92, 0.15); }
}
.neo-hero h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, var(--neo-accent) 55%, var(--neo-highlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    border: none !important;
    padding: 0 !important;
}
.neo-hero-sub {
    margin: 12px auto 0;
    max-width: 480px;
    font-size: 0.95rem;
    color: var(--neo-muted);
}
.neo-hero-card {
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
    border-radius: 24px;
    padding: 28px 24px 32px;
    box-shadow: var(--neo-shadow);
    margin-bottom: 12px;
}
.neo-trip-title {
    margin: 0 !important;
    font-size: clamp(1.35rem, 3.5vw, 2rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--neo-heading) !important;
    border: none !important;
    padding: 0 !important;
    background: none !important;
}
.neo-hero-card .neo-trip-title {
    background: linear-gradient(135deg, #fff 0%, var(--neo-accent) 55%, var(--neo-highlight) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.neo-trip-duration {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.neo-duration-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--neo-highlight);
    background: rgba(210, 250, 92, 0.08);
    border: 1px solid rgba(210, 250, 92, 0.28);
}
.neo-duration-chip i { color: #f4d35e; font-size: 0.78rem; }
.neo-trip-dest {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: var(--neo-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.neo-trip-dest i { color: var(--neo-accent); }

/* ---- Summary hero (solid cards) ---- */
.neo-summary-hero {
    position: relative;
    z-index: 2;
    margin: 0 0 28px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.neo-glass-panel,
.neo-solid-panel {
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--neo-shadow);
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}
.neo-glass-panel:hover,
.neo-solid-panel:hover {
    border-color: rgba(13, 110, 139, 0.5);
    box-shadow: var(--neo-shadow), 0 0 0 1px rgba(13, 110, 139, 0.2);
}
.neo-summary-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.neo-summary-top h3 {
    margin: 0 !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--neo-heading) !important;
    border: none !important;
}
.neo-dest-glow {
    color: var(--neo-highlight);
    text-shadow: none;
}
.neo-stat-cubes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.neo-cube {
    position: relative;
    padding: 18px 14px;
    border-radius: 18px;
    background: var(--neo-surface-raised);
    border: 1px solid var(--neo-border);
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    cursor: default;
}
.neo-cube:hover {
    transform: translateY(-6px) translateZ(12px);
    background: var(--neo-surface-hover);
    border-color: var(--neo-accent);
    box-shadow: 0 16px 32px -10px rgba(13, 110, 139, 0.25);
}
.neo-cube-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 14px;
    font-size: 1.1rem;
    background: rgba(13, 110, 139, 0.2);
    color: var(--neo-accent);
    transform: translateZ(12px);
}
.neo-cube:nth-child(2) .neo-cube-icon { background: rgba(27, 64, 121, 0.35); color: #5b9fd4; }
.neo-cube:nth-child(3) .neo-cube-icon { background: rgba(13, 110, 139, 0.25); color: var(--neo-accent); }
.neo-cube:nth-child(4) .neo-cube-icon { background: rgba(210, 250, 92, 0.15); color: var(--neo-highlight); }
.neo-cube-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neo-muted);
    margin-bottom: 4px;
}
.neo-cube-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neo-heading);
}
.neo-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--neo-border);
}
.neo-tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #123040;
    border: 1px solid #1d5570;
    color: var(--neo-cyan);
    transition: transform 0.25s ease, background 0.25s;
}
.neo-tag:hover {
    transform: scale(1.06) translateZ(8px);
    background: #1a4060;
}
.neo-special {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #1e2e18;
    border: 1px solid #3d5c32;
    border-left: 3px solid var(--neo-lime);
    font-size: 0.9rem;
    color: #e2e8f0;
}
.neo-special strong { color: var(--neo-lime); margin-right: 8px; }

/* ---- Bento insight grid ---- */
.neo-section {
    position: relative;
    z-index: 2;
    margin-bottom: 28px;
}
.neo-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--neo-heading);
}
.neo-section-head i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(167,139,250,0.2));
    color: var(--neo-cyan);
    font-size: 1rem;
}
.neo-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.neo-bento-card {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.45s ease, border-color 0.3s ease, background 0.3s ease;
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.45);
}
.neo-bento-card:hover {
    transform: translateY(-4px);
    background: var(--neo-surface-raised);
    border-color: var(--neo-accent);
    box-shadow: 0 20px 40px -16px rgba(13, 110, 139, 0.2);
}
.neo-bento-full { grid-column: span 12; }

/* Festival | Best Time | Weather — one row */
.neo-bento-trio {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: stretch;
}
.neo-bento-trio .neo-bento-card {
    height: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}
.neo-bento-trio .neo-bento-weather,
.neo-bento-trio .neo-bento-fest {
    position: relative;
    padding-top: 22px;
}
.neo-bento-trio .neo-bento-besttime {
    position: relative;
    padding-top: 0;
}
.neo-bento-trio .neo-weather-scene {
    top: 12px;
    right: 12px;
    z-index: 2;
}
.neo-bento-besttime {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
}
.neo-bento-fest {
    position: relative;
}
.neo-besttime-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    min-height: 160px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, rgba(17, 34, 64, 0.15) 0%, var(--neo-surface) 42%);
    backdrop-filter: blur(6px);
}
body:not(.dark-mode) .neo-besttime-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, var(--neo-surface) 48%);
}
.neo-besttime-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.neo-besttime-icon-wrap {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 139, 0.15);
    border: 1px solid rgba(13, 110, 139, 0.35);
    color: var(--neo-accent);
    font-size: 1.05rem;
}
body.dark-mode .neo-besttime-icon-wrap {
    background: rgba(210, 250, 92, 0.1);
    border-color: rgba(210, 250, 92, 0.28);
    color: var(--neo-highlight);
}
.neo-besttime-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neo-muted);
    line-height: 1.3;
}
.neo-besttime-text {
    font-weight: 600;
    color: var(--neo-highlight-on-bg) !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}
.neo-besttime-periods {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.neo-besttime-period {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--neo-highlight-on-bg);
    background: rgba(13, 110, 139, 0.1);
    border: 1px solid rgba(13, 110, 139, 0.2);
}
body.dark-mode .neo-besttime-period {
    background: rgba(210, 250, 92, 0.08);
    border-color: rgba(210, 250, 92, 0.22);
    color: var(--neo-highlight);
}
/* ---- Transport hub card (below bento trio) ---- */
.neo-bento-transport {
    grid-column: span 12;
    margin-top: 4px;
}

.neo-transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}

.neo-transport-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    animation: neoTransportIn 0.6s ease both;
    animation-delay: var(--stagger, 0s);
}

body:not(.dark-mode) .neo-transport-item {
    background: rgba(27, 64, 121, 0.04);
    border-color: rgba(27, 64, 121, 0.1);
}

.neo-transport-item:hover {
    transform: translateY(-3px);
    border-color: rgba(210, 250, 92, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.neo-transport-icon-wrap {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.neo-transport-air .neo-transport-icon-wrap {
    background: linear-gradient(135deg, rgba(13, 110, 139, 0.25), rgba(27, 64, 121, 0.2));
    color: #5ec8e8;
    animation: neoTransportFloat 3s ease-in-out infinite;
}

.neo-transport-railway .neo-transport-icon-wrap {
    background: linear-gradient(135deg, rgba(210, 250, 92, 0.15), rgba(27, 64, 121, 0.2));
    color: var(--neo-highlight);
    animation: neoTransportFloat 3.5s ease-in-out infinite 0.4s;
}

.neo-transport-bus .neo-transport-icon-wrap {
    background: linear-gradient(135deg, rgba(27, 64, 121, 0.25), rgba(13, 110, 139, 0.2));
    color: #7eb8ff;
    animation: neoTransportFloat 3.2s ease-in-out infinite 0.8s;
}

.neo-transport-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.neo-transport-type {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neo-muted);
}

.neo-transport-name {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--neo-body-text);
    font-weight: 500;
}

/* Ambient particles */
.neo-ambient-transport .neo-transport-particle {
    position: absolute;
    font-size: 0.75rem;
    opacity: 0.12;
    color: var(--neo-accent);
}

.neo-ambient-transport .neo-tp-plane {
    top: 18%;
    left: 8%;
    animation: neoTransportDrift 8s ease-in-out infinite;
}

.neo-ambient-transport .neo-tp-train {
    top: 55%;
    right: 12%;
    animation: neoTransportDrift 10s ease-in-out infinite 2s;
}

.neo-ambient-transport .neo-tp-bus {
    bottom: 22%;
    left: 45%;
    animation: neoTransportDrift 9s ease-in-out infinite 4s;
}

/* Route animation strip */
.neo-transport-route {
    position: relative;
    height: 36px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 8px;
    z-index: 1;
}

.neo-transport-route-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(210, 250, 92, 0.35), rgba(13, 110, 139, 0.4), transparent);
    transform: translateY(-50%);
}

.neo-route-vehicle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    opacity: 0.7;
    left: -5%;
}

.neo-rv-plane {
    color: #5ec8e8;
    animation: neoRouteDrive 5s linear infinite;
}

.neo-rv-train {
    color: var(--neo-highlight);
    animation: neoRouteDrive 7s linear infinite 1.5s;
}

.neo-rv-bus {
    color: #7eb8ff;
    animation: neoRouteDrive 6s linear infinite 3s;
}

@keyframes neoTransportIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes neoTransportFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes neoTransportDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.08; }
    50% { transform: translate(12px, -8px) rotate(5deg); opacity: 0.18; }
}

@keyframes neoRouteDrive {
    0% { left: -5%; opacity: 0; }
    10% { opacity: 0.75; }
    90% { opacity: 0.75; }
    100% { left: 105%; opacity: 0; }
}

@media (max-width: 768px) {
    .neo-transport-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .neo-transport-item {
        padding: 12px 14px;
    }
}

.neo-bento-food { grid-column: span 6; }
.neo-bento-sights { grid-column: span 6; }

.neo-card-glow { display: none; }

.neo-card-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neo-muted);
    margin-bottom: 12px;
}
.neo-card-label i { color: var(--neo-accent); font-size: 0.9rem; }
.neo-card-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--neo-body-text);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ---- Card ambient animations (weather / best time / festivals) ---- */
.neo-card-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
    opacity: var(--neo-ambient-opacity, 0.55);
}
.neo-ambient-besttime {
    height: 52%;
    bottom: auto;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.neo-bento-card .neo-card-label,
.neo-bento-card .neo-card-text,
.neo-bento-card .neo-fest-chips,
.neo-bento-card .neo-card-icon-top {
    position: relative;
    z-index: 1;
}

/* Weather card tints */
.neo-bento-weather[data-weather="snow"] { background: linear-gradient(160deg, #1a2a44 0%, #243b55 100%); }
.neo-bento-weather[data-weather="cold"] { background: linear-gradient(160deg, #142238 0%, #1e3a5f 100%); }
.neo-bento-weather[data-weather="rainy"] { background: linear-gradient(160deg, #132238 0%, #1a3348 100%); }
.neo-bento-weather[data-weather="sunny"] { background: linear-gradient(160deg, #1f2a1a 0%, #2a3a22 55%, #1a2a44 100%); }
.neo-bento-weather[data-weather="cloudy"] { background: linear-gradient(160deg, #1a2438 0%, #2a3348 100%); }
.neo-bento-weather[data-weather="pleasant"] { background: linear-gradient(160deg, #152238 0%, #1e3348 100%); }

/* Best time card tints */
.neo-bento-besttime[data-season="winter"] { background: linear-gradient(160deg, #152238 0%, #1e3a5f 100%); }
.neo-bento-besttime[data-season="spring"] { background: linear-gradient(160deg, #1a2838 0%, #243848 100%); }
.neo-bento-besttime[data-season="summer"] { background: linear-gradient(160deg, #1f2a18 0%, #2a3a20 100%); }
.neo-bento-besttime[data-season="monsoon"] { background: linear-gradient(160deg, #132238 0%, #1a3348 100%); }
.neo-bento-besttime[data-season="autumn"] { background: linear-gradient(160deg, #2a2218 0%, #1e2a38 100%); }
.neo-bento-fest[data-season="festival"] { background: linear-gradient(160deg, #241a38 0%, #1a2844 100%); }

/* Weather scene icon (corner) */
.neo-weather-scene {
    position: absolute;
    top: 16px; right: 16px;
    width: 72px; height: 72px;
    perspective: 200px;
}
.neo-sun-3d {
    width: 36px; height: 36px;
    margin: 18px auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fde047, #f59e0b);
    box-shadow: 0 0 30px #f59e0b, 0 0 60px rgba(245,158,11,0.4);
    animation: neoSun3d 4s ease-in-out infinite;
    transform-style: preserve-3d;
}
.neo-sun-3d.neo-sun-mild { opacity: 0.75; transform: scale(0.85); }
@keyframes neoSun3d {
    0%, 100% { transform: rotateY(0deg) translateZ(10px); }
    50% { transform: rotateY(180deg) translateZ(20px); }
}
.neo-snow-icon, .neo-cold-icon, .neo-rain-icon, .neo-cloud-icon {
    width: 44px; height: 44px;
    margin: 14px auto;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}
.neo-snow-icon { color: #e0f2fe; background: rgba(255,255,255,0.1); animation: neoSpinSlow 6s linear infinite; }
.neo-cold-icon { color: #7dd3fc; background: rgba(125,211,252,0.12); animation: neoPulseCold 2.5s ease-in-out infinite; }
.neo-rain-icon { color: #38bdf8; background: rgba(56,189,248,0.12); animation: neoFloat 3s ease-in-out infinite; }
.neo-cloud-icon { color: #94a3b8; background: rgba(148,163,184,0.12); animation: neoFloat 4s ease-in-out infinite; }
@keyframes neoSpinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes neoPulseCold { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes neoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Snowfall */
.neo-snowflake {
    position: absolute;
    top: -8px;
    width: calc(5px * var(--p-size, 1));
    height: calc(5px * var(--p-size, 1));
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: neoSnowFall 3.5s linear infinite;
    box-shadow: 0 0 6px rgba(255,255,255,0.8);
}
.neo-snowflake-sm { width: 3px; height: 3px; }
@keyframes neoSnowFall {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.9; }
    100% { transform: translateY(180px) translateX(12px); opacity: 0; }
}

/* Cold / frost */
.neo-frost-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(125,211,252,0.18), transparent 55%);
    animation: neoFrostPulse 4s ease-in-out infinite;
}
@keyframes neoFrostPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.neo-ice-crystal {
    position: absolute;
    top: -6px;
    width: 4px; height: 10px;
    background: linear-gradient(to bottom, rgba(186,230,253,0.9), transparent);
    border-radius: 2px;
    opacity: 0;
    animation: neoIceDrift 3s ease-in-out infinite;
}
@keyframes neoIceDrift {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.7; }
    100% { transform: translateY(160px) rotate(45deg); opacity: 0; }
}

/* Rain */
.neo-raindrop {
    position: absolute;
    top: -10px;
    width: 2px;
    height: calc(12px * var(--p-size, 1));
    background: linear-gradient(to bottom, transparent, #38bdf8);
    border-radius: 2px;
    opacity: 0;
    animation: neoRainFall 0.9s linear infinite;
}
.neo-raindrop-sm { height: 8px; }
@keyframes neoRainFall {
    0% { transform: translateY(0); opacity: 0; }
    15% { opacity: 0.85; }
    100% { transform: translateY(170px); opacity: 0; }
}

/* Summer sun rays */
.neo-sun-rays {
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(251,191,36,0.35) 0%, transparent 70%);
    animation: neoSunPulse 3s ease-in-out infinite;
}
.neo-heat-wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(245,158,11,0.08), transparent);
    animation: neoHeatShimmer 2.5s ease-in-out infinite;
}
@keyframes neoSunPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes neoHeatShimmer { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }

/* Clouds */
.neo-cloud {
    position: absolute;
    background: rgba(148,163,184,0.25);
    border-radius: 50px;
    filter: blur(1px);
}
.neo-cloud::before, .neo-cloud::after {
    content: '';
    position: absolute;
    background: inherit;
    border-radius: 50%;
}
.neo-cloud-a { width: 50px; height: 16px; top: 20%; left: 10%; animation: neoCloudDrift 12s linear infinite; }
.neo-cloud-a::before { width: 22px; height: 22px; top: -10px; left: 8px; }
.neo-cloud-a::after { width: 16px; height: 16px; top: -6px; left: 28px; }
.neo-cloud-b { width: 40px; height: 14px; top: 45%; right: 15%; animation: neoCloudDrift 16s linear infinite reverse; opacity: 0.7; }
.neo-cloud-b::before { width: 18px; height: 18px; top: -8px; left: 6px; }
.neo-cloud-c { width: 35px; height: 12px; top: 70%; left: 30%; animation: neoCloudDrift 14s linear infinite; opacity: 0.5; }
@keyframes neoCloudDrift { 0% { transform: translateX(-10px); } 50% { transform: translateX(20px); } 100% { transform: translateX(-10px); } }

/* Pleasant breeze */
.neo-breeze-leaf {
    position: absolute;
    width: 10px; height: 10px;
    background: #86efac;
    border-radius: 0 80% 0 80%;
    top: 30%; left: 15%;
    opacity: 0.6;
    animation: neoLeafBreeze 5s ease-in-out infinite;
}
.neo-breeze-leaf-b { top: 55%; left: 60%; animation-delay: 1.5s; background: #a3e635; }
@keyframes neoLeafBreeze {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.7; }
    100% { transform: translate(80px, 40px) rotate(180deg); opacity: 0; }
}

/* Best time — spring petals */
.neo-petal {
    position: absolute;
    top: -6px;
    width: 7px; height: 7px;
    background: #f9a8d4;
    border-radius: 50% 0 50% 0;
    opacity: 0;
    animation: neoPetalFall 4s ease-in-out infinite;
}
.neo-best-spring .neo-petal:nth-child(odd) { background: #fda4af; }
@keyframes neoPetalFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.8; }
    100% { transform: translateY(170px) rotate(360deg); opacity: 0; }
}

/* Best time — summer mini sun */
.neo-mini-sun {
    position: absolute;
    top: 12px; right: 16px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fde047, #f59e0b);
    box-shadow: 0 0 20px rgba(245,158,11,0.5);
    animation: neoSun3d 4s ease-in-out infinite;
}

/* Best time — autumn leaves */
.neo-leaf {
    position: absolute;
    top: -8px;
    width: 9px; height: 9px;
    background: #fb923c;
    border-radius: 0 80% 0 80%;
    opacity: 0;
    animation: neoLeafFall 3.5s ease-in-out infinite;
}
.neo-best-autumn .neo-leaf:nth-child(even) { background: #f97316; }
@keyframes neoLeafFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    15% { opacity: 0.85; }
    100% { transform: translateY(165px) rotate(270deg); opacity: 0; }
}

/* Best time — calendar glow */
.neo-calendar-glow {
    position: absolute;
    top: 10px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 2px solid rgba(210,250,92,0.35);
    animation: neoCalPulse 2.5s ease-in-out infinite;
}
@keyframes neoCalPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(210,250,92,0.2); } 50% { box-shadow: 0 0 16px 4px rgba(210,250,92,0.25); } }

/* Festival — confetti & lanterns */
.neo-confetti {
    position: absolute;
    top: -6px;
    width: 5px; height: 8px;
    border-radius: 1px;
    opacity: 0;
    animation: neoConfettiFall 3s ease-in-out infinite;
}
.neo-confetti:nth-child(3n) { background: #d2fa5c; }
.neo-confetti:nth-child(3n+1) { background: #f472b6; }
.neo-confetti:nth-child(3n+2) { background: #38bdf8; }
@keyframes neoConfettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(175px) rotate(540deg); opacity: 0; }
}
.neo-lantern {
    position: absolute;
    font-size: 0.9rem;
    color: #fbbf24;
    opacity: 0.7;
    animation: neoLanternSwing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(251,191,36,0.6));
}
.neo-lantern-a { top: 14px; left: 12%; }
.neo-lantern-b { top: 22px; right: 18%; animation-delay: 1.2s; color: #f472b6; }
@keyframes neoLanternSwing { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-4px); } }
.neo-sparkle {
    position: absolute;
    font-size: 0.65rem;
    color: #d2fa5c;
    animation: neoSparkle 2s ease-in-out infinite;
}
.neo-sparkle-a { top: 40%; left: 25%; }
.neo-sparkle-b { top: 60%; right: 22%; animation-delay: 0.8s; color: #fbbf24; }
@keyframes neoSparkle { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.3); } }

/* Hero image 3D frame */
.neo-hero-frame {
    grid-column: span 12;
    border-radius: 24px;
    overflow: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 4px;
}
.neo-hero-frame img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.neo-hero-frame:hover img { transform: scale(1.06); }
.neo-hero-frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,11,20,0.9) 0%, transparent 50%);
    pointer-events: none;
}

/* Festival chips 3D */
.neo-fest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.neo-fest-chip {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #2a2240;
    border: 1px solid #4c3d6e;
    color: #e9d5ff;
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    animation: neoChipPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.neo-fest-chip:nth-child(2) { animation-delay: 0.1s; }
.neo-fest-chip:nth-child(3) { animation-delay: 0.2s; }
.neo-fest-chip:nth-child(4) { animation-delay: 0.3s; }
.neo-fest-chip:hover {
    transform: translateY(-4px) translateZ(16px) rotateX(8deg);
    box-shadow: 0 12px 24px -6px rgba(167,139,250,0.4);
}
@keyframes neoChipPop {
    from { opacity: 0; transform: scale(0.8) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---- Hotels 3D stack ---- */
.neo-hotel-stack { display: flex; flex-direction: column; gap: 14px; }
.neo-hotel-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 20px;
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.neo-hotel-card:hover {
    transform: translateX(8px) translateZ(12px) rotateY(-2deg);
    background: var(--neo-surface-raised);
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: -8px 20px 40px -10px rgba(34, 211, 238, 0.15);
}
.neo-hotel-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}
.neo-hotel-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.neo-hotel-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.neo-hotel-star-pill {
    background: rgba(210, 250, 92, 0.14);
    border: 1px solid rgba(210, 250, 92, 0.45);
    color: var(--neo-highlight);
    box-shadow: 0 4px 14px -6px rgba(210, 250, 92, 0.35);
}
.neo-star-icons {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.neo-star-icons .neo-star-filled { color: #f4d35e; font-size: 0.72rem; }
.neo-star-icons .neo-star-empty { color: rgba(255, 255, 255, 0.22); font-size: 0.68rem; }
.neo-star-label {
    margin-left: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--neo-highlight);
}
.neo-hotel-google-pill {
    background: linear-gradient(135deg, rgba(13, 110, 139, 0.95), rgba(27, 64, 121, 0.95));
    border: 1px solid rgba(13, 110, 139, 0.7);
    color: #fff;
    box-shadow: 0 4px 14px -6px rgba(13, 110, 139, 0.5);
}
.neo-hotel-google-pill i { color: #fff; font-size: 0.72rem; }
.neo-hotel-meta-pill {
    background: var(--neo-surface-hover);
    border: 1px solid var(--neo-border);
    color: var(--neo-muted);
}
.neo-hotel-cat {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neo-lime);
    margin: 8px 0 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(210,250,92,0.2);
}
.neo-trip-experience .book-capsule {
    padding: 10px 20px !important;
    border-radius: 12px !important;
    background: var(--neo-accent) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 6px 16px -4px rgba(13,110,139,0.45) !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
}
.neo-trip-experience .book-capsule:hover {
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 10px 24px -4px rgba(13,110,139,0.55) !important;
    background: var(--neo-primary) !important;
    color: var(--neo-highlight) !important;
}

/* ---- Journey timeline (rail column — car never clips) ---- */
.neo-trip-experience .itinerary-timeline-container,
.neo-trip-experience .neo-journey {
    overflow: visible !important;
}

.neo-journey {
    position: relative;
    z-index: 2;
    padding: 32px 28px 44px !important;
    border-radius: 20px !important;
    background: var(--neo-surface) !important;
    border: 1px solid var(--neo-border) !important;
    overflow: visible !important;
}
.neo-journey::before { display: none !important; }

.neo-journey-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--neo-highlight) !important;
    margin: 0 0 28px !important;
    padding: 6px 8px 0 !important;
}
.neo-journey-title i {
    color: var(--neo-accent);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13, 110, 139, 0.15);
    border: 1px solid rgba(13, 110, 139, 0.3);
    flex-shrink: 0;
}

.neo-journey-body {
    display: flex;
    gap: 24px;
    position: relative;
    overflow: visible;
    padding: 0 4px;
}
.neo-journey-rail {
    flex-shrink: 0;
    width: 52px;
    position: relative;
    overflow: visible !important;
    align-self: stretch;
    min-height: 120px;
}
.neo-journey-track-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: auto;
    width: 4px;
    height: 100%;
    max-height: none;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--neo-accent), var(--neo-primary), var(--neo-highlight));
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}
.neo-journey-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
    padding: 0 6px 0 4px;
}

/* Transport / intro note before Day 1 */
.neo-trip-experience .itr-timeline-note {
    margin: 0 0 22px 0 !important;
    padding: 16px 20px !important;
    border-radius: 14px !important;
    background: var(--neo-surface-raised) !important;
    border: 1px solid var(--neo-border) !important;
    border-left: 3px solid var(--neo-accent) !important;
    font-size: 0.92rem !important;
    line-height: 1.75 !important;
    color: var(--neo-body-text) !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* About destination — readable paragraphs */
.neo-bento-about {
    padding: 24px 26px !important;
}
.neo-intro-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.neo-intro-paragraph {
    margin: 0 !important;
    line-height: 1.75 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
}
.neo-bento-about .neo-card-label {
    margin-bottom: 16px;
    padding-top: 2px;
}

.neo-trip-experience #timeline-car {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--neo-primary) !important;
    border: 3px solid var(--neo-highlight) !important;
    border-radius: 50% !important;
    color: var(--neo-highlight) !important;
    font-size: 17px !important;
    z-index: 20 !important;
    overflow: visible !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 4px rgba(13,110,139,0.2) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.neo-trip-experience #timeline-car::before,
.neo-trip-experience #timeline-car::after { display: none !important; }
.neo-trip-experience #timeline-car i { line-height: 1; }
.neo-trip-experience #timeline-car.is-driving {
    box-shadow: 0 8px 26px rgba(210, 250, 92, 0.5), 0 0 0 5px rgba(13, 110, 139, 0.28), 0 0 18px rgba(210, 250, 92, 0.25) !important;
    transition: box-shadow 0.15s ease;
}
.neo-trip-experience #timeline-car.is-driving::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 18px;
    height: 8px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(210, 250, 92, 0.35);
    filter: blur(4px);
    animation: neoCarShadow 0.45s ease-in-out infinite alternate;
}
.neo-trip-experience #timeline-car.is-driving i {
    animation: neoCarDrive 0.9s ease-in-out infinite alternate;
}
@keyframes neoCarDrive {
    0% { transform: translateX(-1px); }
    100% { transform: translateX(1px); }
}

.neo-refinement-highlight {
    animation: neoRefinementPulse 2.2s ease-out;
    outline: 2px solid rgba(210, 250, 92, 0.55);
    outline-offset: 4px;
    border-radius: 18px;
}
@keyframes neoRefinementPulse {
    0% { box-shadow: 0 0 0 0 rgba(210, 250, 92, 0.45); transform: scale(1); }
    35% { box-shadow: 0 0 0 10px rgba(210, 250, 92, 0.12); transform: scale(1.01); }
    100% { box-shadow: 0 0 0 0 rgba(210, 250, 92, 0); transform: scale(1); }
}
@keyframes neoCarShadow {
    0% { opacity: 0.35; transform: translateX(-50%) scale(0.85); }
    100% { opacity: 0.7; transform: translateX(-50%) scale(1.15); }
}

/* Day headers */
.neo-trip-experience .itinerary-day {
    position: relative;
    margin: 28px 0 16px !important;
    padding: 14px 18px !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: var(--neo-highlight) !important;
    background: var(--neo-primary) !important;
    border: 1px solid var(--neo-accent) !important;
    border-radius: 14px !important;
    border-left: 4px solid var(--neo-highlight) !important;
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.35);
}
.neo-trip-experience .itinerary-day::before {
    display: none !important;
}
.neo-trip-experience .itinerary-day:hover {
    transform: translateX(8px) translateZ(12px);
    box-shadow: 0 16px 40px -8px rgba(34, 211, 238, 0.25);
}

/* Time period */
.neo-trip-experience .itinerary-period {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 20px 0 12px !important;
    padding: 8px 16px !important;
    border-radius: 100px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--neo-lime) !important;
    background: #1e2e18 !important;
    border: 1px solid #3d5c32 !important;
    text-shadow: none !important;
}

/* Activity cards — 3D stack */
.neo-trip-experience .itinerary-activity {
    position: relative;
    margin: 0 0 14px 0 !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    background: var(--neo-surface-raised) !important;
    border: 1px solid var(--neo-border) !important;
    border-bottom: 1px solid var(--neo-border) !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease, border-color 0.3s !important;
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
}
.neo-trip-experience .itinerary-activity:hover {
    transform: translateX(8px) !important;
    border-color: var(--neo-accent) !important;
    box-shadow: 0 12px 32px -12px rgba(13, 110, 139, 0.2) !important;
    background: var(--neo-surface-hover) !important;
}
.neo-trip-experience .itr-activity-icon,
.neo-act-icon {
    flex-shrink: 0;
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem !important;
    background: rgba(13, 110, 139, 0.25) !important;
    color: var(--neo-highlight) !important;
    box-shadow: none;
    transform: translateZ(8px);
    transition: transform 0.3s ease;
}
.neo-trip-experience .itinerary-activity:hover .itr-activity-icon,
.neo-trip-experience .itinerary-activity:hover .neo-act-icon {
    transform: translateZ(16px) scale(1.08);
}
.neo-trip-experience .activity-text {
    flex: 1;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    color: #e2e8f0 !important;
}
.neo-trip-experience .activity-text strong {
    color: var(--neo-highlight) !important;
    font-weight: 700 !important;
}
.neo-trip-experience .activity-map-link {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(13, 110, 139, 0.2);
    color: var(--neo-accent) !important;
    transition: transform 0.25s, background 0.25s;
    flex-shrink: 0;
}
.neo-trip-experience .activity-map-link:hover {
    transform: scale(1.12) translateZ(8px);
    background: rgba(13, 110, 139, 0.35);
}

/* Food suggestion cards */
@keyframes foodSunSpin {
    0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.55)); }
    50% { transform: rotate(12deg) scale(1.08); filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.85)); }
}
@keyframes foodMoonFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50% { transform: translateY(-4px) rotate(8deg); }
}
@keyframes foodSparklePulse {
    0%, 100% { opacity: 0.45; transform: scale(0.92) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.12) rotate(18deg); }
}
@keyframes foodGlowDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
    50% { transform: translate(8px, -6px) scale(1.08); opacity: 0.65; }
}

.neo-trip-experience .food-box.food-suggestion-card {
    position: relative;
    overflow: hidden;
    margin: 18px 0 !important;
    padding: 0 !important;
    border-radius: 20px !important;
    transform: translateZ(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.neo-trip-experience .food-box.food-suggestion-card:hover {
    transform: translateX(6px) translateZ(8px);
}
.neo-trip-experience .food-box-lunch {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(15, 118, 110, 0.78)) !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.18);
}
.neo-trip-experience .food-box-dinner {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.92), rgba(124, 58, 237, 0.72)) !important;
    border: 1px solid rgba(192, 132, 252, 0.42) !important;
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.2);
}
.neo-trip-experience .food-box-meal {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.85)) !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
}
.neo-trip-experience .food-card-glow {
    position: absolute;
    inset: -30% auto auto -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 70%);
    pointer-events: none;
    animation: foodGlowDrift 4.5s ease-in-out infinite;
}
.neo-trip-experience .food-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px 12px;
    position: relative;
    z-index: 1;
}
.neo-trip-experience .food-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.neo-trip-experience .food-icon-sun {
    color: #fde047 !important;
    animation: foodSunSpin 3.2s ease-in-out infinite;
}
.neo-trip-experience .food-icon-moon {
    color: #e9d5ff !important;
    animation: foodMoonFloat 3.6s ease-in-out infinite;
}
.neo-trip-experience .food-icon-meal {
    color: #fcd34d !important;
}
.neo-trip-experience .food-title {
    flex: 1;
    min-width: 0;
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    margin: 0 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.neo-trip-experience .food-sparkle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    animation: foodSparklePulse 2.4s ease-in-out infinite;
}
.neo-trip-experience .food-card-body {
    padding: 4px 20px 18px;
    position: relative;
    z-index: 1;
}
.neo-trip-experience .food-item {
    color: #f8fafc !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.neo-trip-experience .food-item:first-child {
    border-top: none;
    padding-top: 0 !important;
}
.neo-trip-experience .food-item-bullet {
    flex-shrink: 0;
    font-size: 0.42rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Capsule buttons */
.neo-trip-experience .capsule-row {
    padding-left: 16px !important;
    margin: 12px 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.neo-trip-experience .capsule-btn,
.neo-trip-experience .map-capsule,
.neo-trip-experience .distance-capsule {
    padding: 10px 18px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: transform 0.25s, box-shadow 0.25s !important;
}
.neo-trip-experience .map-capsule {
    background: var(--neo-primary) !important;
    color: var(--neo-highlight) !important;
    border: 1px solid var(--neo-accent) !important;
}
.neo-trip-experience .map-capsule:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(13, 110, 139, 0.3);
}
.neo-trip-experience .distance-capsule {
    background: rgba(210, 250, 92, 0.08) !important;
    color: var(--neo-highlight) !important;
    border: 1px solid rgba(210, 250, 92, 0.28) !important;
}
.neo-trip-experience .distance-capsule i { color: #f4d35e !important; }
.neo-trip-experience .distance-capsule .distance-time {
    color: var(--neo-muted);
    font-weight: 500;
}

/* ---- Action bar 3D ---- */
.neo-action-dock {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    padding: 24px;
    border-radius: 24px;
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
    box-shadow: var(--neo-shadow);
}
.neo-trip-experience .action-btn {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 14px 24px !important;
    border-radius: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border: 1px solid var(--neo-border) !important;
    background: var(--neo-surface-raised) !important;
    color: #fff !important;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s, background 0.3s !important;
    transform-style: preserve-3d;
}
.neo-trip-experience .action-btn:hover {
    transform: translateY(-5px) translateZ(12px) !important;
    box-shadow: 0 16px 32px -8px rgba(0,0,0,0.4) !important;
}
.neo-trip-experience .share-btn {
    background: var(--neo-primary) !important;
    border-color: var(--neo-accent) !important;
}
.neo-trip-experience .create-btn,
.neo-trip-experience .save-btn {
    background: var(--neo-accent) !important;
    border-color: var(--neo-accent) !important;
    color: #fff !important;
}
.neo-trip-experience .book-btn {
    background: var(--neo-highlight) !important;
    border-color: var(--neo-highlight) !important;
    color: var(--neo-primary) !important;
}

/* ---- Page wrapper (view page) ---- */
.itinerary-page-container {
    max-width: 960px;
    padding-bottom: 80px;
    background: var(--neo-bg);
    min-height: 100vh;
}
#itinerary-summary-slot { margin-top: 90px; margin-bottom: 0; }
#itinerary-summary-slot .neo-summary-hero { margin-top: 0 !important; }

/* Chat window dark neo bg when itinerary shown */
.chat-window:has(.neo-trip-experience),
.chat-window:has(.neo-summary-hero) {
    background: var(--neo-bg) !important;
    padding: 16px !important;
}
.chat-window .neo-trip-experience,
.chat-window .neo-summary-hero {
    max-width: 900px;
    margin: 0 auto;
}
.chat-window .neo-summary-hero {
    margin-bottom: 20px;
}

/* Summary hero outside main neo wrapper (view page + chat) */
.neo-summary-hero .neo-glass-panel,
.neo-summary-hero .neo-solid-panel {
    background: var(--neo-surface);
    border: 1px solid var(--neo-border);
}
.neo-summary-hero h3,
.neo-summary-hero .neo-trip-title {
    color: var(--neo-heading) !important;
    border: none !important;
}

/* Itinerary view page — theme-aware */
body.itinerary-view-page main,
body.itinerary-view-page .site-content,
body.itinerary-view-page .itinerary-page-container {
    background: var(--neo-bg) !important;
    color: var(--neo-text);
    transition: background-color 0.3s ease, color 0.3s ease;
}
body.itinerary-view-page .main-footer {
    background: var(--bg-header-footer);
    border-top: 1px solid var(--border-color);
}
body.itinerary-view-page .main-header.scrolled {
    background-color: var(--bg-header-footer);
    border-bottom: 1px solid var(--border-color);
}
body.itinerary-view-page .main-header.scrolled .main-nav a {
    color: var(--text-primary);
    text-shadow: none;
}
body.itinerary-view-page .main-header.scrolled .burger-menu {
    color: var(--text-primary);
}
body.itinerary-view-page .main-header.scrolled .logo-light { display: none !important; }
body.itinerary-view-page .main-header.scrolled .logo-dark { display: block !important; }
body:not(.dark-mode).itinerary-view-page .main-header.scrolled .logo-dark { display: block !important; }

/* Light mode neo overrides */
body:not(.dark-mode) .neo-trip-experience .neo-hotel-name,
body:not(.dark-mode) .neo-section-head,
body:not(.dark-mode) .neo-journey-title {
    color: var(--neo-heading) !important;
}
body:not(.dark-mode) .neo-trip-experience .itinerary-day {
    color: var(--neo-heading) !important;
}
body:not(.dark-mode) .neo-bento-weather[data-weather],
body:not(.dark-mode) .neo-bento-besttime[data-season],
body:not(.dark-mode) .neo-bento-fest[data-season] {
    background: var(--neo-surface) !important;
    border-color: var(--neo-border);
}
body:not(.dark-mode) .neo-fest-chip {
    background: rgba(27, 64, 121, 0.08);
    border-color: rgba(27, 64, 121, 0.18);
    color: var(--neo-primary);
}
body:not(.dark-mode) .neo-trip-experience .itinerary-activity .activity-text {
    color: var(--neo-body-text) !important;
}
body:not(.dark-mode) .neo-orb { opacity: 0.25; }
body:not(.dark-mode) .neo-grid-floor { opacity: 0.15; }
body:not(.dark-mode) .neo-duration-chip {
    color: var(--neo-highlight-on-bg);
    background: rgba(27, 64, 121, 0.08);
    border-color: rgba(27, 64, 121, 0.18);
}
body:not(.dark-mode) .neo-tag {
    background: rgba(13, 110, 139, 0.1);
    border-color: rgba(13, 110, 139, 0.22);
    color: var(--neo-accent);
}
body:not(.dark-mode) .neo-special {
    background: rgba(27, 64, 121, 0.06);
    border-color: rgba(27, 64, 121, 0.15);
    border-left-color: var(--neo-accent);
    color: var(--neo-body-text);
}
body:not(.dark-mode) .neo-hotel-name { color: var(--neo-heading); }
body:not(.dark-mode) .neo-section-head { color: var(--neo-heading); }

/* Chat itinerary mode keeps dark immersive UI */
body.neo-itinerary-mode:not(.itinerary-view-page) main,
body.neo-itinerary-mode:not(.itinerary-view-page) .site-content {
    background: #0a192f !important;
}

/* Loading */
.itr-loading-state, .itr-error-state, .neo-loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--neo-muted);
}
.neo-loading-spinner {
    font-size: 3rem;
    color: var(--neo-cyan);
    animation: neoFloat 2s ease-in-out infinite;
    margin-bottom: 16px;
}
@keyframes neoFloat {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

/* Responsive */
@media (max-width: 900px) {
    .neo-bento-trio {
        grid-template-columns: 1fr 1fr;
    }
    .neo-bento-trio .neo-bento-weather {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .neo-stat-cubes { grid-template-columns: repeat(2, 1fr); }
    .neo-bento-trio {
        grid-template-columns: 1fr;
    }
    .neo-bento-trio .neo-bento-weather {
        grid-column: span 1;
    }
    .neo-bento-food,
    .neo-bento-sights { grid-column: span 12; }
    .neo-journey { padding: 24px 20px 32px !important; }
    .neo-journey-body { gap: 16px; }
    .neo-bento-about { padding: 20px 18px !important; }
    .neo-action-dock .action-btn { min-width: calc(50% - 6px); }
}

@media (max-width: 480px) {
    .neo-stat-cubes { grid-template-columns: 1fr 1fr; }
    .neo-hotel-card { flex-direction: column; align-items: flex-start; }
}

.neo-budget-lines {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.neo-budget-line {
    margin: 0;
    line-height: 1.65;
    color: var(--neo-text-muted, #cbd5e1);
}

.itr-period-text {
    margin: 0.35rem 0 0.9rem;
    line-height: 1.7;
}
.neo-trip-experience .itr-period-text strong,
.neo-trip-experience .activity-text strong {
    font-weight: 700;
    color: var(--neo-highlight, #d2fa5c);
    padding: 0 0.12em;
}

.itinerary-day {
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

.itinerary-period {
    margin-top: 0.85rem;
    margin-bottom: 0.25rem;
}

.neo-day-block {
    margin-bottom: 0.5rem;
    padding-bottom: 0.35rem;
}

.neo-day-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 36px 0 30px;
    padding: 0 4px;
}

.neo-day-separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(210, 250, 92, 0.15), rgba(210, 250, 92, 0.65), rgba(210, 250, 92, 0.15));
    border-radius: 2px;
}

.neo-day-separator-label {
    flex-shrink: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(13, 110, 139, 0.2);
    border: 1px solid rgba(210, 250, 92, 0.22);
    color: var(--neo-highlight);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.neo-journey-milestone {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(13, 110, 139, 0.14);
    border: 1px solid rgba(210, 250, 92, 0.22);
}

.neo-milestone-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(210, 250, 92, 0.14);
    color: var(--neo-highlight);
    flex-shrink: 0;
    font-size: 1rem;
}

.neo-milestone-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.neo-milestone-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neo-accent);
}

.neo-milestone-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--neo-highlight);
    line-height: 1.35;
}

.neo-milestone-sub {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--neo-body-text);
}

.neo-journey-milestone-transfer .neo-milestone-icon { color: #7dd3fc; }
.neo-journey-milestone-checkin .neo-milestone-icon,
.neo-journey-milestone-checkout .neo-milestone-icon { color: #fbbf24; }
.neo-journey-milestone-departure .neo-milestone-icon { color: #fb7185; }

.neo-trip-experience .activity-map-link {
    display: none !important;
}

.neo-trip-experience .itinerary-activity:not(:has(.activity-text)) {
    display: none !important;
}

.neo-trip-experience .itinerary-activity .activity-text:empty {
    display: none !important;
}

.food-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.food-item-label {
    flex: 1;
    min-width: 0;
}

.food-google-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    font-weight: 700;
    color: #fde68a;
    white-space: nowrap;
}
.neo-trip-experience .food-box-lunch .food-google-rating {
    background: rgba(6, 95, 70, 0.45);
    border-color: rgba(110, 231, 183, 0.35);
    color: #bbf7d0;
}
.neo-trip-experience .food-box-dinner .food-google-rating {
    background: rgba(91, 33, 182, 0.45);
    border-color: rgba(216, 180, 254, 0.35);
    color: #f5d0fe;
}

.food-google-rating i {
    color: #ea4335;
}

/* Hide old title if duplicate */
.neo-trip-experience > .itinerary-main-title { display: none !important; }
