@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap');

/* =============================================
   CALZADA - UI/UX
   ============================================= */

:root {
    --primary: #1a8fff;
    --primary-dark: #0f6fd1;
    --primary-glow: rgba(26, 143, 255, 0.35);
    --bg: #f0f6fc;
    /* Light blue-gray background for the whole page */
    --bg-card: rgba(255, 255, 255, 0.95);
    --text-dark: #002d3c;
    --text-muted: #1e506b;
    --text-light: #ffffff;
    --border: rgba(0, 45, 60, 0.1);
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.10);
    --shadow-blue: 0 8px 32px rgba(26, 143, 255, 0.25);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-full: 999px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: 0.3s var(--ease);
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-dark);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* Custom cursor logic for Glow */
    cursor: default;
}

input, button, select, textarea {
    font-family: inherit;
}

/* =============================================
   SPOTIFY-STYLE GLOBAL TYPOGRAPHY SCALE
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: #042C53;
}

h1, .hero-title, .page-title, .ref-hero h1, .about-hero h1, .faq-hero-title {
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2, .section-header h2, .steps-title, .news-heading, .fare-heading, .about-split-text h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

h3, .feature-card-label, .step-card h3, .news-card h3, .faq-question span, .footer-column h3 {
    font-weight: 700;
    letter-spacing: -0.015em;
}

p, .hero-subtitle, .steps-subtitle, .feature-card-desc, .news-card p {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

button, .btn-nav-auth, .btn-learn-more, .lang-toggle-btn, .nav-link, .search-button, .steps-pill, .chip {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* =============================================
   "PASABOG" - MODERN EFFECTS
   ============================================= */
.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 143, 255, 0.15) 0%, rgba(26, 143, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    filter: blur(40px);
}

.shimmer-text {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #1a8fff, #80c4ff, #1a8fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite;
}

@keyframes textShimmer {
    to {
        background-position: 200% center;
    }
}



.parallax-layer-1 {
    transition: transform 0.1s ease-out;
}

.parallax-layer-2 {
    transition: transform 0.2s ease-out;
}



/* System Network overlay – static, minimal */
.system-network {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
}

.system-network svg {
    width: 100%;
    height: 100%;
}

.network-line {
    stroke: var(--primary);
    stroke-width: 1.2;
    stroke-dasharray: 4 8;
    fill: none;
    opacity: 0.5;
}

.network-node {
    fill: var(--primary);
    opacity: 0.6;
}

/* Card Backgrounds for readability on Mobile/Desktop overlaying shapes */
/* Card Backgrounds - Removed for a cleaner, open look as per user request */
.about-card,
.news-section,
.fare-section,
.steps-section {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    backdrop-filter: none;
}

.features-grid {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 24px;
}

.about-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 45, 60, 0.1);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

/* =============================================
   NAVBAR — DEFAULT FLUSH & FLOATING PILL ON SCROLL
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    z-index: 200;
    padding: 1.1rem 0;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(4, 44, 83, 0.06);
    border-radius: 0;
    box-shadow: none;
    transition: all 300ms ease-out;
    box-sizing: border-box;
}

/* Scrolled State: Floating Pill with Glassmorphism */
.navbar.navbar-scrolled,
.navbar.scrolled {
    top: 14px;
    max-width: 1200px;
    width: calc(100% - 32px);
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(4, 44, 83, 0.1);
    border: 1px solid #E2E8F0;
    padding: 0.65rem 0;
}

.navbar.navbar-scrolled .nav-container,
.navbar.scrolled .nav-container {
    padding: 0 1.5rem;
}

.navbar.navbar-scrolled .logo-img,
.navbar.scrolled .logo-img {
    height: 38px;
}

.nav-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
    position: relative;
    gap: 1.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    z-index: 2;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition), opacity var(--transition);
}

.brand-logo:hover {
    transform: scale(1.03);
    opacity: 0.92;
}

.logo-img {
    height: 44px;
    object-fit: contain;
}

/* Center Group: Clean flex item with fluid responsive gap */
.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 1.8vw, 2rem);
    flex: 1 1 auto;
    z-index: 1;
}

.nav-link {
    color: #042C53;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.02rem;
    letter-spacing: -0.2px;
    position: relative;
    padding: 6px 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Navbar Hover Effect (Sliding Underline: scaleX from left to right) */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #378ADD;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: #378ADD;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown.open .nav-link::after {
    transform: scaleX(1);
}

.nav-link.active {
    font-weight: 700;
    color: #378ADD;
}

/* Right Group: Pushed all the way to the right corner */
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 2;
}

.lang-toggle-btn {
    background: #EBF3FB;
    border: 1px solid #B5D4F4;
    color: #042C53;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(4, 44, 83, 0.08);
}

.lang-toggle-btn:hover {
    border-color: #378ADD;
    color: #378ADD;
    background: #DCEAF8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.2);
}

.lang-toggle-btn .lang-active {
    color: #042C53;
    font-weight: 700;
}

.lang-toggle-btn .lang-arrow {
    color: #378ADD;
    font-size: 0.95rem;
}

.btn-nav-auth {
    background: #378ADD;
    border: none;
    border-radius: 999px;
    padding: 9px 24px;
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(55, 138, 221, 0.25);
}

.btn-nav-auth:hover {
    background: #256bb8;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(55, 138, 221, 0.38);
}

.btn-nav-auth::after {
    display: none !important;
}

.mobile-nav-icons {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #042C53;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 2.2rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    transform: scale(1.1);
}

.navbar-white .mobile-menu-btn {
    color: var(--primary);
    /* Turns blue when scrolling down (white background) */
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 85vh;
    min-height: 85dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 2rem 60px;
    z-index: 1;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: calc(100vh - 70px);
        min-height: calc(100dvh - 70px);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 72px 1.2rem 32px;
    }

    .scrollable-content {
        padding-top: 110px;
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding-bottom: 80px;
    }

    .scrollable-content {
        padding-top: 120px;
    }
}

.map-bg-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

/* Staggered entry for Hero elements */
.center-logo-container {
    animation: heroFadeIn 0.8s var(--ease) 0.1s both;
}

.hero-title {
    animation: heroFadeIn 0.8s var(--ease) 0.3s both;
}

.hero-subtitle {
    animation: heroFadeIn 0.8s var(--ease) 0.4s both;
}

.transport-chips {
    animation: heroFadeIn 0.8s var(--ease) 0.5s both;
}

.search-container {
    animation: heroFadeIn 0.8s var(--ease) 0.6s both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Center Logo */
.center-logo-container {
    position: relative;
    margin-bottom: 1.8rem;
    pointer-events: none;
}

.logo-glow-ring {
    position: absolute;
    inset: -12px;
    border-radius: 62px;
    background: transparent;
    border: 2px solid rgba(26, 143, 255, 0);
    transition: all 0.5s ease;
    pointer-events: auto;
    cursor: default;
}

.center-logo-container:hover .logo-glow-ring {
    border-color: rgba(26, 143, 255, 0.5);
    box-shadow: 0 0 30px rgba(26, 143, 255, 0.3), 0 0 60px rgba(26, 143, 255, 0.1);
    inset: -14px;
}

.center-logo {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50px;
    box-shadow: var(--shadow-md), 0 0 0 6px rgba(255, 255, 255, 0.7);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    pointer-events: auto;
    cursor: default;
    display: block;
}

.center-logo-container:hover .center-logo {
    transform: scale(1.04);
    box-shadow: var(--shadow-blue), 0 0 0 6px rgba(255, 255, 255, 0.9);
}

/* Hero Typography */
.hero-title {
    font-family: 'Sora', 'Outfit', -apple-system, sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    white-space: normal;
}

.title-highlight {
    background: linear-gradient(135deg, #1a8fff, #0f6fd1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 500px;
}

/* =============================================
   TRANSPORT CHIPS
   ============================================= */
.transport-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    border: 2px solid rgba(26, 143, 255, 0.3);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 143, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 143, 255, 0.15);
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-blue);
}

.chip.active:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =============================================
   SEARCH BAR — Pill Shape, Premium
   ============================================= */
.search-container {
    width: 100%;
    max-width: 620px;
    position: relative;
    z-index: 300;
    /* Ensure dropdown can overflow hero without being clipped */
    isolation: isolate;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 22px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all var(--transition);
    gap: 10px;
}

.search-bar:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-blue), 0 0 0 4px rgba(26, 143, 255, 0.12);
    transform: translateY(-3px);
}

.search-prefix-icon {
    color: #aab4c5;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: color var(--transition);
}

.search-bar:focus-within .search-prefix-icon {
    color: var(--primary);
}

.search-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    outline: none;
    min-width: 0;
}

.search-input::placeholder {
    color: #aab4c5;
}

.search-button {
    background: var(--primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(26, 143, 255, 0.4);
}

.search-button:hover {
    background: var(--primary-dark);
    transform: scale(1.07);
    box-shadow: 0 6px 20px rgba(26, 143, 255, 0.5);
}

.search-button:active {
    transform: scale(0.95);
}

/* Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    /* Opens downward below the search bar */
    bottom: auto;
    left: 0;
    width: 100%;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s var(--ease);
    text-align: left;
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.search-results-dropdown::-webkit-scrollbar {
    width: 5px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 99px;
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* OSM Nominatim attribution footer inside dropdown */
.search-osm-attribution {
    padding: 8px 16px;
    border-top: 1px solid #f1f5f9;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-osm-attribution a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.search-osm-attribution a:hover {
    text-decoration: underline;
}

.result-item {
    padding: 13px 20px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.result-item:hover {
    background-color: #f7f9ff;
}

.result-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.result-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.result-type {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* =============================================
   HERO FLAT SHAPES & LAYOUT UTILITIES
   ============================================= */
.hero-flat-shape {
    display: none !important;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
    text-align: left;
}

.hero-cta-wrap {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    width: 100%;
}

.hover-fx-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    cursor: pointer;
    border-radius: 999px;
}

.hover-fx-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.hover-fx-btn:hover .hover-fx-label,
.hover-fx-btn:focus-visible .hover-fx-label {
    transform: translateX(48px);
    opacity: 0;
}

.hover-fx-label-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 6px;
    transform: translateX(48px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.hover-fx-btn:hover .hover-fx-label-hover,
.hover-fx-btn:focus-visible .hover-fx-label-hover {
    transform: translateX(0);
    opacity: 1;
}

.hover-fx-arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hover-fx-circle {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(-50%) scale(0.5);
    transition: transform 0.3s ease, opacity 0.3s ease, left 0.3s ease, top 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.hover-fx-btn:hover .hover-fx-circle,
.hover-fx-btn:focus-visible .hover-fx-circle {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transform: translateY(0) scale(1.8);
}

.hero-get-started-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #378ADD;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 999px;
    border: none;
    outline: none;
}

.hero-get-started-btn:focus-visible {
    outline: 2px solid #042C53;
    outline-offset: 2px;
}

.hero-get-started-btn .hover-fx-circle {
    background-color: #2b77c5;
}

.hero-get-started-btn .hover-fx-label,
.hero-get-started-btn .hover-fx-label-hover {
    color: #ffffff;
}

.hero-discover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    color: #042C53;
    border: 1.5px solid #E2E8F0;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 999px;
    outline: none;
    transition: border-color 0.3s ease;
}

.hero-discover-btn:focus-visible {
    outline: 2px solid #378ADD;
    outline-offset: 2px;
}

.hero-discover-btn:hover,
.hero-discover-btn:focus-visible {
    border-color: #378ADD;
}

.hero-discover-btn .hover-fx-circle {
    background-color: #378ADD;
}

.hero-discover-btn .hover-fx-label {
    color: #042C53;
}

.hero-discover-btn .hover-fx-label-hover {
    color: #ffffff;
}

.hero-left-col {
    flex: 1 1 52%;
    max-width: 660px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-right-col {
    flex: 0 1 48%;
    max-width: 640px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-graphic-wrap {
    width: 100%;
    max-width: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-illustration-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(4, 44, 83, 0.12));
    animation: heroFadeIn 0.8s var(--ease) 0.35s both;
    pointer-events: none;
    user-select: none;
}

.hero-title {
    font-family: 'Sora', 'Outfit', -apple-system, sans-serif;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.18;
    color: #042C53;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    white-space: normal;
    text-align: left;
}

.title-accent {
    color: #378ADD;
    font-family: inherit;
    font-weight: inherit;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #4A607A;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    font-weight: 500;
    max-width: 520px;
    text-align: left;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid #D0E3F7;
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 6px 24px rgba(4, 44, 83, 0.06);
    transition: all 0.25s ease;
    gap: 12px;
}

.search-bar:focus-within {
    border-color: #378ADD;
    box-shadow: 0 8px 30px rgba(55, 138, 221, 0.2);
    transform: translateY(-2px);
}

.search-prefix-icon {
    color: #378ADD;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.search-button {
    background: #378ADD;
    color: #FFFFFF;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-button:hover {
    background: #256bb8;
    transform: scale(1.05);
}



/* Smoother reveal animations with staggered desktop/mobile triggers */
.reveal,
.reveal [class*="reveal-delay-"] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active,
.reveal.active [class*="reveal-delay-"] {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.10s;
}

.reveal-delay-2 {
    transition-delay: 0.22s;
}

.reveal-delay-3 {
    transition-delay: 0.34s;
}

.reveal-delay-4 {
    transition-delay: 0.46s;
}

/* Learn More Button Styling */
.btn-learn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    border: 2px solid var(--primary);
    border-radius: 99px;
    color: var(--primary);
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-learn-more:hover {
    background: var(--primary);
    color: #fff;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* =============================================
   CHAT WIDGET
   ============================================= */
.chat-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: unset;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 200;
    overflow: visible !important;
    animation: slideInUp 0.6s var(--ease) 0.15s both;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, bottom 0.3s ease !important;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-toggle-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 6px 4px;
    cursor: pointer;
    text-decoration: none;
    overflow: visible !important;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.chat-toggle-pill:hover {
    transform: translateY(-2px) scale(1.03);
}

.chat-toggle-pill:active {
    transform: scale(0.96);
}

/* Raw robot logo: tightened overlap + optical vertical alignment */
.chat-pill-avatar {
    position: relative;
    z-index: 2;
    width: 66px;
    height: 66px;
    object-fit: contain;
    display: block;
    margin-right: -12px; /* Pulls mascot close to pill for a cohesive unit */
    margin-top: -3px;    /* Optical vertical alignment with text center */
    flex-shrink: 0;
    pointer-events: none;
    transform-origin: center center;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.chat-toggle-pill:hover .chat-pill-avatar {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 6px 14px rgba(26, 143, 255, 0.32));
}

/* Periodic Attention Wiggle Animation */
@keyframes routieAttentionWiggle {
    0% {
        transform: scale(1) rotate(0deg);
    }
    18% {
        transform: scale(1.14) rotate(-9deg);
    }
    36% {
        transform: scale(1.14) rotate(9deg);
    }
    54% {
        transform: scale(1.1) rotate(-6deg);
    }
    72% {
        transform: scale(1.05) rotate(4deg);
    }
    90% {
        transform: scale(1.02) rotate(-2deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.chat-pill-avatar.attention-wiggle {
    animation: routieAttentionWiggle 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    transform-origin: center center;
}

/* White pill container with refined padding and proportional height */
.chat-pill-text-wrap {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 10px 18px 10px 18px; /* Clean breathing room for text */
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.chat-toggle-pill:hover .chat-pill-text-wrap {
    background: #f8f9fc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.chat-label {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.90rem; /* ~14.4px crisp and balanced */
    font-weight: 700;
    color: #1A8FFF; /* Brand Blue */
    letter-spacing: -0.01em;
    white-space: nowrap;
    line-height: 1;
}

/* Launcher Button Inverse Animation when Chat is Active */
body.chat-active .chat-toggle-pill {
    transform: scale(0.85) translateY(6px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* =============================================
   CHAT WINDOW - FLUID LAUNCHER POP ANIMATION
   ============================================= */
.chat-window {
    position: fixed;
    bottom: 20px;
    right: 24px;
    width: 360px;
    /* Keep exact size */
    height: 460px;
    /* Slightly taller for margins */
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    z-index: 160;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.85) translateY(14px);
    transform-origin: bottom right;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease-out;
}

@media (min-width: 768px) {
    .chat-window {
        width: 360px;
        height: 510px;
        /* Reduced height to prevent overlapping */
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.chat-header {
    background: #FFFFFF;
    background-image: 
        radial-gradient(circle, rgba(55, 138, 221, 0.07) 1px, transparent 1px),
        linear-gradient(145deg, #FFFFFF 0%, #FAFCFF 55%, #F4F8FC 100%);
    background-size: 24px 24px, 100% 100%;
    color: #042C53;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar,
.chat-header .bot-avatar {
    width: 38px;
    height: 38px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
    overflow: visible;
}

.chat-avatar img,
.chat-header .bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0 !important;
}

.chat-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

.chat-name {
    font-family: 'Sora', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #042C53 !important;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.chat-status {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748B;
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
}

.status-dot {
    display: none;
}

.close-chat-btn {
    background: transparent !important;
    border: none !important;
    color: #64748B !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.close-chat-btn .back-icon {
    display: none;
}

.close-chat-btn .close-icon {
    display: flex;
}

.close-chat-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.chat-messages {
    flex-grow: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f9fc;
}

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

.message-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
    width: 100%;
    animation: messageSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bot-wrapper {
    justify-content: flex-start;
}

.user-wrapper {
    justify-content: flex-end;
}

@keyframes botAvatarBounce {
    0% {
        transform: scale(0.7);
    }
    50% {
        transform: scale(1.18);
    }
    100% {
        transform: scale(1);
    }
}

.bot-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: botAvatarBounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: center bottom;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    line-height: 1.5;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    white-space: pre-wrap;
    word-break: break-word;
}

.bot-message {
    background: white;
    color: #2d3748;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
}

/* Typewriter Blinking Cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background-color: currentColor;
    margin-left: 2px;
    vertical-align: middle;
    animation: blinkCursor 0.8s step-end infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Bouncing 3-Dot Typing Indicator */
.typing-indicator {
    display: inline-flex;
    gap: 5px;
    padding: 12px 16px;
    align-items: center;
    background: white;
    border: 1px solid #eaecf0;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    animation: messageSlideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #1A8FFF;
    border-radius: 50%;
    animation: typingBounce 1.2s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

/* Scrollable messages area – independent height */
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f7f9fc;
}

/* Mobile view – full width with adequate height */
@media (max-width: 768px) {
    .chat-window {
        width: calc(100% - 30px);
        height: 480px !important;
        display: flex;
        flex-direction: column;
    }
}

.chat-input-area {
    padding: 10px 14px;
    background: #f0f4f9;
    /* Light blue/gray background matching site theme */
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 20px;
    margin: 10px;
    border: 1px solid #e2e8f0;
    /* Subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chat-input,
#chatInput {
    width: 100%;
    border: none;
    padding: 8px 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1a202c;
    /* Real Dark text */
    outline: none;
    transition: all 0.2s;
    background: transparent;
    resize: none;
    overflow-y: hidden;
    min-height: 24px;
    /* Shorter initial height */
    max-height: 120px;
    line-height: 1.4;
    box-sizing: border-box;
    /* IMPORTANT for exact height calculations */
}

.chat-input::placeholder,
#chatInput::placeholder {
    color: #64748b;
    /* Lighter placeholder */
}

.chat-input.scrolling,
#chatInput.scrolling {
    overflow-y: auto;
}

/* Custom Scrollbar for Textarea */
.chat-input::-webkit-scrollbar,
#chatInput::-webkit-scrollbar {
    width: 5px;
}

.chat-input::-webkit-scrollbar-thumb,
#chatInput::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 99px;
}

.chat-input-toolbar {
    display: flex;
    justify-content: flex-end;
    /* Push to right since Left button is gone */
    align-items: center;
    width: 100%;
    padding-top: 4px;
}

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

.chat-send-btn,
#sendMessageBtn {
    background: var(--primary);
    /* Back to Blue primary */
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 12px rgba(26, 143, 255, 0.25);
    -webkit-tap-highlight-color: transparent;
}

.chat-send-btn:hover,
#sendMessageBtn:hover {
    transform: scale(1.08);
    background: var(--primary-dark);
}

.chat-send-btn:active,
#sendMessageBtn:active {
    transform: scale(0.92);
    box-shadow: 0 2px 6px rgba(26, 143, 255, 0.2);
}

.mic-btn {
    background: #e9ecef;
    /* Subtle Gray bg */
    color: #495057;
    /* Subtle Gray mic icon */
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all var(--transition);
}

.mic-btn:hover {
    color: var(--primary);
    background: #dee2e6;
}

.mic-btn.recording {
    background: #ff4757;
    color: white;
    animation: micPulse 1.5s infinite;
}

@keyframes micPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Recording Controls UI - Modern Pill */
.vm-active-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    background: #f8f9fa;
    border-radius: 99px;
    padding: 0 12px;
    height: 42px;
    box-shadow: inset 0 0 0 1.5px rgba(255, 71, 87, 0.6);
    animation: recordingGlow 2s infinite;
}

@keyframes recordingGlow {
    0% {
        box-shadow: inset 0 0 0 1.5px rgba(255, 71, 87, 0.4), 0 0 8px rgba(255, 71, 87, 0.2);
    }

    50% {
        box-shadow: inset 0 0 0 2px rgba(255, 71, 87, 0.8), 0 0 15px rgba(255, 71, 87, 0.5);
    }

    100% {
        box-shadow: inset 0 0 0 1.5px rgba(255, 71, 87, 0.4), 0 0 8px rgba(255, 71, 87, 0.2);
    }
}

.recording-indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #ff4757;
    border-radius: 50%;
    margin-right: 4px;
    animation: blink 1s infinite;
    flex-shrink: 0;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.vm-frequency-pill {
    flex-grow: 1;
    background: transparent;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 0;
}

#voiceVisualizer {
    width: 100%;
    height: 24px;
    filter: drop-shadow(0 1px 2px rgba(255, 71, 87, 0.4));
}

/* =========================================
   FAQ PAGE STYLES
   ========================================= */

.faq-section {
    padding: 120px 20px 80px;
    /* Space for fixed navbar */
    min-height: 100vh;
    background: transparent;
    /* White background removed so assets show through */
    display: flex;
    justify-content: center;
}

.faq-container {
    width: 100%;
    max-width: 800px;
}

.faq-section .page-title {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    /* Bolder as per image */
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    /* Less rounded as per image */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    /* Subtler shadow */
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    /* Extra subtle border */
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: #1a202c;
    /* Darker text */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question ion-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height to fit content */
    padding: 0 24px 24px 24px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    font-size: 1.05rem;
}

#voiceVisualizer {
    width: 100%;
    height: 30px;
}

.vm-action-btn {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.vm-action-btn:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.05);
}

.pause-btn {
    font-size: 1.4rem;
    color: #4a5568;
}

.close-btn {
    font-size: 1.6rem;
    color: #ff4757;
    font-weight: 800;
}

.send-btn {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(26, 143, 255, 0.1);
}

.send-btn:hover {
    background: rgba(26, 143, 255, 0.2);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .nav-links {
        gap: 1.2rem;
    }

    .nav-link {
        font-size: 0.88rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.85rem 0;
    }

    .navbar.navbar-scrolled,
    .navbar.scrolled {
        top: 10px;
        width: calc(100% - 20px);
        padding: 0.55rem 0;
    }

    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 0.85rem !important;
        gap: 0.25rem !important;
    }

    .navbar.navbar-scrolled .nav-container,
    .navbar.scrolled .nav-container {
        padding: 0 0.75rem !important;
    }

    .nav-left {
        flex: 0 0 auto !important;
    }

    .nav-left .logo-img,
    .brand-logo .logo-img {
        height: 30px !important;
        width: auto !important;
    }

    .nav-right {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        flex-shrink: 0 !important;
    }

    /* Mobile icon cluster: search, bell, sign in / avatar */
    .mobile-nav-icons {
        display: flex !important;
        align-items: center !important;
        gap: 2px !important;
        margin-left: auto !important;
        margin-right: 2px !important;
        flex: 0 0 auto !important;
    }

    .mobile-nav-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: transparent;
        border: none;
        color: #042C53;
        font-size: 1.15rem;
        cursor: pointer;
        text-decoration: none;
        position: relative;
        transition: background 0.15s ease;
        flex-shrink: 0;
    }

    .mobile-nav-icon-btn:hover,
    .mobile-nav-icon-btn:active {
        background: rgba(55, 138, 221, 0.1);
    }

    /* Mobile bell badge dot */
    .mobile-bell-badge {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #EF4444;
        display: none;
        border: 1.5px solid white;
    }

    /* Mobile Avatar Pill Button (Logged In) */
    .mobile-avatar-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        display: none;
        align-items: center;
        justify-content: center;
    }

    .mobile-avatar-wrap {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #378ADD, #1C6EF2);
        color: #FFFFFF;
        font-weight: 700;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(55, 138, 221, 0.25);
        border: 1.5px solid #E2E8F0;
    }

    .mobile-avatar-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    /* Ensure Dropdown Menus render fixed above page on mobile view */
    .alerts-dropdown-menu.open {
        display: flex !important;
        position: fixed !important;
        top: 68px !important;
        right: 16px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 32px)) !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
    }

    .establishment-profile-menu.open {
        display: flex !important;
        position: fixed !important;
        top: 68px !important;
        right: 16px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 32px)) !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
    }

    /* Mobile Navbar Dropdown - Modern Floating Card with Zoom/Scale Animation */
    .nav-center {
        position: absolute;
        top: calc(100% + 10px);
        left: 0.5rem;
        right: 0.5rem;
        width: calc(100% - 1rem);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-radius: 20px;
        border: 1px solid rgba(230, 238, 247, 0.9);
        box-shadow: 0 20px 50px rgba(4, 44, 83, 0.15), 0 4px 16px rgba(55, 138, 221, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        pointer-events: none;
        transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 200ms ease-out;
        z-index: 999;
        box-sizing: border-box;
    }

    .nav-center.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        pointer-events: auto;
    }

    .nav-center .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-center .nav-dropdown-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .nav-center .nav-dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        background: #F1F7FD;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        margin: 4px 0 8px 0;
        width: 100%;
        box-sizing: border-box;
        display: none;
        flex-direction: column;
        padding: 8px;
        gap: 4px;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-center .nav-dropdown.open .nav-dropdown-menu {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-dropdown-chevron {
        transition: transform 0.25s ease !important;
    }

    .nav-dropdown.open .nav-dropdown-chevron {
        transform: rotate(180deg) !important;
    }

    .nav-center .nav-dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 14px !important;
        border-radius: 8px !important;
        color: #0f172a !important;
        text-decoration: none !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.92rem !important;
        font-weight: 500 !important;
        transition: background 0.15s ease, color 0.15s ease !important;
    }

    .nav-center .nav-dropdown-item:hover,
    .nav-center .nav-dropdown-item:active {
        background: #f1f5f9 !important;
        color: #000000 !important;
    }


    .nav-center .nav-link,
    .nav-center .btn-plan-route,
    .nav-center .btn-nav-auth {
        width: 100%;
        text-align: left;
        padding: 12px 18px !important;
        font-size: 1.02rem;
        font-weight: 700;
        color: #042C53 !important;
        border: none !important;
        border-radius: 14px;
        background: transparent;
        transition: all 0.2s ease;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-center .nav-link:hover,
    .nav-center .btn-plan-route:hover,
    .nav-center .nav-link:active {
        background: #F1F7FD !important;
        color: #378ADD !important;
        padding-left: 20px !important;
    }

    .nav-center .nav-link::after {
        display: none !important;
    }

    .hero-flat-shape {
        display: none !important;
    }

}

/* =============================================
   HERO SECTION — MOBILE LAYOUT (<768px)
   ============================================= */
@media (max-width: 767.98px) {
    .hero-section {
        overflow: hidden;
        padding: 72px 1.2rem 32px;
        min-height: calc(100vh - 70px);
        min-height: calc(100dvh - 70px);
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .hero-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        gap: 0;
        width: 100%;
        max-width: 100%;
        padding: 0 1.2rem;
        margin: 0 auto;
    }

    .hero-right-col {
        order: 1; /* Illustration stacked above text */
        width: 100%;
        max-width: 480px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .hero-graphic-wrap {
        width: calc(100% + 1.2rem);
        max-width: 460px;
        margin-left: -0.6rem;
        margin-right: -0.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .hero-illustration-img {
        width: clamp(285px, 94%, 440px);
        height: auto;
        max-width: 100%;
        max-height: none;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 14px 28px rgba(4, 44, 83, 0.1));
        animation: heroFadeIn 0.8s var(--ease) 0.2s both;
        user-select: none;
        pointer-events: none;
    }

    .hero-left-col {
        order: 2; /* Text & CTA below image */
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        z-index: 5;
        margin-top: -1.75rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
        text-align: center;
        white-space: normal;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        text-align: center;
        margin: 0 auto 1.5rem auto;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-cta-wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-get-started-btn {
        font-size: 0.95rem;
        padding: 11px 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-discover-btn {
        font-size: 0.95rem;
        padding: 11px 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* =============================================
   HERO SECTION — TABLET ADJUSTMENTS (768px - 1024px)
   ============================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .hero-left-col {
        flex: 1 1 50%;
        max-width: 500px;
    }

    .hero-right-col {
        flex: 0 1 50%;
        max-width: 480px;
    }

    .hero-graphic-wrap {
        max-width: 460px;
    }

    .hero-title {
        font-size: clamp(2rem, 3.4vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {

    .center-logo {
        width: 130px;
        height: 130px;
    }

    .features-grid {
        gap: 0.35rem;
        /* Slightly smaller gap */
        flex-wrap: nowrap;
        /* Force single line */
        justify-content: space-evenly;
        padding-bottom: 0;
        scrollbar-width: none;
        width: 100%;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        padding: 0.2rem 0.5rem;
        flex-shrink: 1;
        gap: 8px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
    }

    .feature-text strong {
        font-size: 0.9rem;
    }

    .feature-text span {
        font-size: 0.65rem;
    }

    .feature-divider {
        display: none;
    }

    .features-bar {
        padding: 0.4rem 0.8rem;
    }

    /* Mobile full-screen chat -> Floating Card */
    .chat-widget-container {
        bottom: 24px !important;
        /* Align with the features bar */
        right: 15px;
        gap: 0;
        overflow: visible !important;
        transition: bottom 0.3s ease, transform 0.3s ease;
    }

    .chat-toggle-pill {
        padding: 4px 2px !important;
    }

    .chat-pill-avatar {
        width: 52px !important;
        height: 52px !important;
        margin-right: -9px !important;
        margin-top: -2px !important;
    }

    .chat-pill-text-wrap {
        padding: 8px 14px 8px 14px !important;
        min-height: 34px !important;
    }

    .chat-label {
        display: block !important;
        font-size: 0.82rem !important;
        padding: 0 !important;
    }

    .chat-window {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        max-height: 550px;
        bottom: 15px !important;
        /* Sit exactly at bottom */
        right: 15px;
        border-radius: 18px;
        padding-top: 0;
    }

    /* Robust hiding logic for older iOS devices via JS classes */
    body.chat-active .features-bar,
    body.keyboard-open .features-bar {
        display: none !important;
    }

    body.chat-active .chat-widget-container,
    body.keyboard-open .chat-widget-container {
        bottom: 15px !important;
        /* Slide down when features bar is gone */
    }

    /* Back button on mobile — big and clearly visible */
    .close-chat-btn {
        background: rgba(255, 255, 255, 0.25);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        font-size: 1.5rem;
    }

    .close-chat-btn .back-icon {
        display: flex;
    }

    .close-chat-btn .close-icon {
        display: none;
    }
}

@media (max-width: 520px) {
    .hero-title {
        white-space: normal;
        font-size: 1.5rem;
    }

    .features-bar {
        padding: 0.3rem 0.6rem;
    }

    .features-grid {
        gap: 0.6rem 0.2rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }

    .feature-card {
        padding: 0.3rem 0.5rem;
        gap: 8px;
        width: 100%;
        justify-content: center;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .feature-text strong {
        font-size: 0.85rem;
    }

    .feature-text span {
        font-size: 0.6rem;
    }
}

/* =============================================
   ABOUT MODAL SECTION
   ============================================= */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    /* Above everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: modalFadeIn 0.3s var(--ease) forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 24px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalScaleUp 0.4s var(--ease) forwards;
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.9) translateY(20px);
    }

    to {
        transform: scale(1) translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-muted);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

.about-title,
.goal-title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.about-title {
    font-size: 2.5rem;
}

.goal-title {
    font-size: 2rem;
    margin-top: 30px;
}

.about-text {
    overflow-y: auto;
    padding-right: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.about-text::-webkit-scrollbar {
    width: 6px;
}

.about-text::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 20px;
    text-align: justify;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-height: 90vh;
    }

    .about-title {
        font-size: 2rem;
    }

    .goal-title {
        font-size: 1.7rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

/* =============================================
   SCROLLABLE CONTENT SECTIONS (About, News, Fare)
   ============================================= */
.scrollable-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 64px 120px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    background: transparent;
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .scrollable-content {
        padding-top: 110px;
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }
}

@media (max-width: 480px) {
    .scrollable-content {
        padding-top: 90px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

.about-card,
.news-section,
.fare-section {
    width: 100%;
}

/* We removed the white box background, so focus on the typography */
.section-header {
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 ion-icon {
    color: var(--primary);
    font-size: 2.2rem;
}

.header-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.info-section.about-card p strong {
    color: var(--primary);
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.news-card {
    background: transparent;
    border-radius: 0;
    padding: 16px 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateX(6px);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.news-tag {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.news-tag.closure {
    background: #fee2e2;
    color: #ef4444;
}

.news-tag.alert {
    background: #fef3c7;
    color: #f59e0b;
}

.news-tag.fare {
    background: #e0e7ff;
    color: #4f46e5;
}

.news-tag.announcement {
    background: #dcfce7;
    color: #16a34a;
}

.news-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    /* Pushes date to bottom */
}

.news-date {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

/* =============================================
   BRAND BLUE FOOTER SECTION (#378ADD)
   ============================================= */
.site-footer {
    background: #378ADD;
    color: #FFFFFF;
    padding: 60px 20px 28px;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}

.footer-logo-img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.brand-column p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-links a {
    color: #FFFFFF;
    font-size: 1.15rem;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #378ADD;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-column h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

.nav-column a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease, opacity 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-column a:hover {
    color: #FFFFFF;
    opacity: 1;
    text-decoration: underline;
}

.contact-column p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.contact-column p ion-icon {
    font-size: 1.2rem;
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 0.8rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-legal-divider {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* =============================================
   SPLIT-SCREEN AUTHENTICATION PAGE (Login & Register)
   ============================================= */
.auth-split-layout {
    height: 100vh;
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

/* Left Panel: Hero Landmarks Background with Dark Navy Overlay & Locked Centering */
.auth-brand-panel {
    flex: 0 0 46%;
    max-width: 46%;
    height: 100vh;
    position: sticky;
    top: 0;
    background-color: #0A2E4D;
    background-image: url('../assets/hero-places-bg.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    box-sizing: border-box;
    color: #FFFFFF;
    z-index: 1;
}

/* Semi-transparent dark navy overlay to ensure white text & logo remain highly legible */
.auth-brand-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 46, 77, 0.65);
    z-index: 0;
    pointer-events: none;
}

.auth-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 100%;
}

.auth-brand-logo {
    display: inline-block;
    margin-bottom: 34px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-brand-logo:hover {
    opacity: 0.92;
    transform: scale(1.02);
}

.auth-brand-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    display: block;
}

.auth-brand-headline {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin: 0 0 14px 0;
    text-align: left;
}

.auth-brand-subtext {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #B5D4F4;
    line-height: 1.55;
    margin: 0;
    text-align: left;
}

/* Right Panel: Independently Scrollable, Left-aligned, Vertically Centered */
.auth-form-panel {
    flex: 1 1 54%;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 30px;
    background: #FFFFFF;
    box-sizing: border-box;
}

.auth-form-container {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    background: #FFFFFF;
    border: 1px solid #E6EEF7;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    margin: auto 0;
}

.auth-step {
    display: none;
}

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

.auth-email-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.auth-email-text {
    font-weight: 500;
    word-break: break-all;
    color: var(--text-dark);
}

.btn-change-email {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--primary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-change-email:hover {
    color: var(--primary-dark);
}

.auth-input-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    text-align: left;
}

.auth-error-text {
    color: #ff4d4f;
    font-size: 0.8rem;
    margin: -4px 0 12px;
    display: none;
    text-align: left;
    line-height: 1.35;
}

.auth-content {
    position: relative;
    min-height: auto;
}

.auth-form {
    padding: 0;
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-align: left;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
    margin-bottom: 16px;
}

/* Responsive Stacking (Mobile & Tablets) */
@media (max-width: 860px) {
    .auth-split-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
    }

    .auth-brand-panel {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
        height: auto;
        position: relative;
        padding: 32px 24px 28px;
        min-height: auto;
    }

    .auth-brand-content {
        max-width: 100%;
    }

    .auth-brand-logo {
        margin-bottom: 16px;
    }

    .auth-brand-logo-img {
        height: 38px;
    }

    .auth-brand-headline {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .auth-brand-subtext {
        font-size: 12px;
        display: none; /* keep mobile compact */
    }

    .auth-form-panel {
        flex: 1 1 auto;
        width: 100%;
        height: auto;
        overflow-y: visible;
        padding: 20px 16px 36px;
        min-height: auto;
    }

    .auth-form-container {
        max-width: 100%;
        padding: 24px 18px;
        margin: 0;
    }
}

.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group ion-icon:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 143, 255, 0.15);
}

.input-group input::placeholder {
    color: #cbd5e1;
}

.btn-toggle-pass {
    position: absolute !important;
    left: auto !important;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    pointer-events: auto !important;
    color: #64748b !important;
    transition: color 0.2s;
    font-size: 1.2rem;
}

.btn-toggle-pass:hover {
    color: var(--text-dark) !important;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    cursor: pointer;
}

.remember-me a {
    color: var(--primary);
    text-decoration: none;
}

.remember-me a:hover {
    text-decoration: underline;
}

.forgot-pass {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.btn-auth-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: none;
    margin-bottom: 10px;
}

.btn-auth-primary:hover {
    background: var(--primary-dark);
}

.btn-auth-primary:active {
    background: var(--primary-dark);
}

.auth-legal-terms {
    font-family: 'Outfit', sans-serif;
    font-size: 0.73rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
    margin: 0 0 10px 0;
    padding: 0;
    background: none;
    border: none;
}

.auth-legal-terms a {
    color: #378ADD;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.auth-legal-terms a:hover {
    color: #256bb8;
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 15px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.btn-social-auth {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    padding: 9px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
}

.btn-social-auth:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-social-auth img,
.btn-social-auth svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.password-requirements {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all 0.3s;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.req-item ion-icon {
    font-size: 1.1rem;
    color: #9AA5B1;
}

.req-item.met {
    color: #2FA36B;
}

.req-item.met ion-icon {
    color: #2FA36B;
}

/* Security Trust Badge Assurance */
.security-assurance {
    background: none;
    padding: 10px 0 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    border: none;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.security-assurance ion-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--primary);
    background: none;
    border-radius: 0;
    padding: 0;
}

.guest-link {
    display: block;
    text-align: center;
    padding: 8px;
    background: #f8fafc;
    border-radius: 6px;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #cbd5e1;
    transition: color 0.2s ease, background 0.2s ease, text-decoration-color 0.2s ease;
}

.guest-link:hover {
    background: #f1f5f9;
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

/* =============================================
   LANGUAGE TOGGLE BUTTON
   ============================================= */
.lang-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 5px 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.navbar-white .lang-toggle-btn {
    background: rgba(26, 143, 255, 0.08);
    border-color: rgba(26, 143, 255, 0.3);
    color: var(--primary);
}

@media (max-width: 768px) {
    .lang-toggle-btn {
        display: none !important;
    }
}

.lang-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.04);
}

.navbar-white .lang-toggle-btn:hover {
    background: rgba(26, 143, 255, 0.15);
}

.lang-active {
    color: white;
    font-weight: 800;
}

.navbar-white .lang-active {
    color: var(--primary);
}

.lang-sep {
    opacity: 0.45;
    font-weight: 400;
}

.lang-other {
    opacity: 0.6;
}

/* =============================================
   LEGAL PAGES (Terms of Service & Privacy Policy)
   ============================================= */
.legal-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.legal-container {
    max-width: 1280px;
    width: 100%;
}

.legal-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #378ADD;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
    line-height: 1;
}

.legal-back-link:hover {
    opacity: 0.7;
}

.legal-badge {
    display: inline-block;
    color: #378ADD;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: none;
    padding: 0;
    border-radius: 0;
}

.legal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #042C53;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.legal-meta {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 20px;
}

.legal-capstone-note {
    background: none;
    border: none;
    border-left: 3px solid #378ADD;
    border-radius: 0;
    padding: 6px 0 6px 16px;
    margin-bottom: 28px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    color: #4A607A;
    line-height: 1.65;
    display: block;
}

.legal-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 28px 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #E2E8F0;
}

.legal-card:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 10px 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.section-num {
    display: inline;
    color: #94A3B8;
    font-size: 1.05rem;
    font-weight: 700;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    min-width: 0;
}

.section-num::after {
    content: '.';
}

.legal-card p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #4A607A;
    line-height: 1.75;
    margin: 0;
}

.legal-card p + p {
    margin-top: 10px;
}

.legal-card ul {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #4A607A;
    line-height: 1.75;
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.legal-card ul li {
    margin-bottom: 4px;
}

.legal-third-party-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    vertical-align: middle;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.legal-inline-link {
    color: #378ADD;
    font-weight: 600;
    text-decoration: none;
}

.legal-inline-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .legal-title {
        font-size: 1.8rem;
    }
}

/* Mobile Specific Toggle Row */
.mobile-lang-row {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 14px 10px 4px;
    border-top: 1px solid #E6EEF7;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .mobile-lang-row {
        display: flex;
    }
}

.mobile-lang-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #042C53;
}

.mobile-lang-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.mobile-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #EBF3FB;
    border: 1px solid #B5D4F4;
    border-radius: 20px;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #042C53;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: all 0.2s ease;
}

.mobile-lang-toggle .lang-flag {
    font-size: 0.95rem;
}

.mobile-lang-toggle .lang-active {
    color: #042C53;
    font-weight: 700;
}

.mobile-lang-toggle .lang-arrow {
    color: #378ADD;
    font-size: 0.85rem;
}

/* Language Dropdown Container & Menu */
.lang-dropdown-container {
    position: relative;
    display: inline-block;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: #FFFFFF;
    border: 1px solid rgba(55, 138, 221, 0.25);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(4, 44, 83, 0.18), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s;
    z-index: 1000;
}

.lang-dropdown-container.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown-container.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-toggle-btn .lang-arrow,
.mobile-lang-toggle .lang-arrow {
    transition: transform 0.25s ease;
}

.lang-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: #042C53;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-dropdown-item:hover {
    background: rgba(55, 138, 221, 0.08);
    color: #378ADD;
}

.lang-dropdown-item.active {
    background: #378ADD;
    color: #FFFFFF;
}

.lang-dropdown-item .lang-flag {
    font-size: 1.05rem;
}

.lang-dropdown-item .lang-name {
    flex: 1;
    font-weight: 600;
}

.lang-dropdown-item .lang-code {
    font-size: 0.75rem;
    opacity: 0.75;
    font-weight: 700;
}

.lang-dropdown-item .lang-check {
    font-size: 0.95rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.lang-dropdown-item.active .lang-check {
    opacity: 1;
    color: #FFFFFF;
}

/* =============================================
   PLACES PAGE - PREMIUM DISCOVER UI
   ============================================= */
.ref-hero {
    padding: 160px 20px 100px;
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ref-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(240, 246, 252, 0) 0%, rgba(240, 246, 252, 0) 60%, var(--bg) 100%),
        url('../assets/hero-places-bg.png') center/cover no-repeat;
    z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    pointer-events: none;
}

.ref-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -2px;
    line-height: 1.0;
    animation: heroFadeIn 1s var(--ease) both;
}

.ref-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    opacity: 0.9;
    animation: heroFadeIn 1s var(--ease) 0.2s both;
}

.places-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 115px 32px 140px;
    position: relative;
    z-index: 10;
}

/* Places Layout: Sidebar + Grid Container */
.places-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Persistent Left Sidebar */
.places-sidebar {
    width: 230px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    padding-right: 15px;
}

.sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.sidebar-category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #4b5563;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.category-tab:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.04);
}

.category-tab.active {
    font-weight: 700;
    color: #1a8fff;
    background: rgba(26, 143, 255, 0.08);
}

/* Right Content Area */
.places-content {
    flex: 1;
    min-width: 0;
}

.places-content .section-label {
    margin: 0 0 24px 0;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding-left: 18px;
    position: relative;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), #80c4ff);
    border-radius: 10px;
}

/* Content Search Input (Page Area, aligned with Categories header) */
.places-content-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 24px;
}

.content-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 8px 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: 240px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.content-search-wrap:focus-within {
    width: 280px;
    border-color: #1a8fff;
    box-shadow: 0 0 0 3px rgba(26, 143, 255, 0.15);
}

.content-search-icon {
    font-size: 1.1rem;
    color: #6b7280;
    margin-right: 10px;
    flex-shrink: 0;
}

.content-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #111827;
    width: 100%;
}

.content-search-input::placeholder {
    color: #9ca3af;
}

/* 4-Column Responsive Grid */
.places-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Nike-Style Card Design */
.ref-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 0.5px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.ref-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ref-img-container img,
.ref-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    user-select: none;
}

.img-placeholder ion-icon {
    font-size: 1.6rem;
    color: #9ca3af;
}

.img-placeholder span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: #9ca3af;
    letter-spacing: 0.02em;
}

.ref-card-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: flex-start;
}

.ref-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    padding: 0;
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 400;
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Empty State */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
    display: none;
}

.no-results ion-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.no-results p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Responsive Layout Breakpoints */
@media (max-width: 1200px) {
    .places-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .places-page {
        padding: 105px 24px 100px;
    }

    .places-layout {
        flex-direction: column;
        gap: 20px;
        margin-top: 0;
    }

    .places-sidebar {
        width: 100%;
        position: static;
        padding-right: 0;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 16px;
    }

    .sidebar-title {
        display: none;
    }

    .sidebar-category-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 8px;
        scrollbar-width: none;
    }

    .sidebar-category-list::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        width: auto;
        white-space: nowrap;
        padding: 6px 14px;
        font-size: 0.82rem;
        min-height: 36px;
        border-radius: 20px;
        background: #f3f4f6;
    }

    .category-tab.active {
        background: #1a8fff;
        color: #ffffff;
    }

    .places-content-header {
        justify-content: flex-end;
        margin-bottom: 16px;
    }

    .content-search-wrap {
        width: 220px;
        max-width: 100%;
    }

    .content-search-wrap:focus-within {
        width: 240px;
        max-width: 100%;
    }

    .places-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 600px) {
    .places-page {
        padding: 95px 16px 100px;
    }

    .places-content-header {
        justify-content: flex-end;
        margin-bottom: 14px;
    }

    .content-search-wrap {
        width: 200px;
        max-width: 100%;
        padding: 6px 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    }

    .content-search-wrap:focus-within {
        width: 220px;
        max-width: 100%;
    }

    .content-search-icon {
        font-size: 1rem;
        margin-right: 8px;
    }

    .content-search-input {
        font-size: 0.85rem;
    }

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

    .ref-card-body {
        padding: 12px 12px 14px;
    }

    .ref-card h3 {
        font-size: 0.92rem;
        line-height: 1.25;
        margin-bottom: 4px;
        min-height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .card-subtitle {
        font-size: 0.78rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .img-placeholder ion-icon {
        font-size: 1.3rem;
    }

    .img-placeholder span {
        font-size: 0.75rem;
    }
}

/* =============================================
   STEPS SECTION - FULL-WIDTH SOLID BLUE "LINE"
   ============================================= */
.steps-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background: #1a8fff;
    padding: 80px 0 100px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Inner content stays centered */
.steps-section .steps-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    position: relative;
    z-index: 2;
}

.steps-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 24px;
}

.steps-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

.steps-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    z-index: 1;
}

/* Connecting dashed horizontal line behind the three cards */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px; /* Aligns with center height of 56px step-icon badges */
    left: 12%;
    right: 12%;
    height: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.5);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .steps-grid::before {
        display: none;
    }
}

/* Step cards with interactive hover effects */
.step-card {
    background: white;
    border-radius: 28px;
    padding: 32px 28px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1.5px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: default;
}

.step-card:hover,
.steps-section.active .step-card:hover {
    transform: translateY(-4px) !important;
    border-color: #378ADD !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: rgba(26, 143, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.04);
}

.step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.step-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Steps CTA Button Wrap & Pill Button */
.steps-cta-wrap {
    margin-top: 48px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.steps-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #378ADD;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    text-decoration: none;
}

.steps-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    color: #1a73e8;
}

.steps-cta-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* Optional: mag‑add ng banayad na linya sa itaas/ibaba para maging "line" effect */
.steps-section::before,
.steps-section::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.steps-section::before {
    top: 0;
}

.steps-section::after {
    bottom: 0;
}

/* =============================================
   ABOUT PAGE CONTENT REDESIGN
   ============================================= */
.about-hero {
    padding: 130px 24px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.faq-section .page-title {
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
}

/* =============================================
   SCROLL ANIMATIONS & ENGAGING EFFECTS
   ============================================= */

/* ── 1. Enhanced reveal — slide from bottom + fade ── */
.reveal,
.reveal [class*="reveal-delay-"] {
    opacity: 0;
    transform: translateY(52px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.active,
.reveal.active [class*="reveal-delay-"] {
    opacity: 1;
    transform: translateY(0);
}

/* Slide-from-left variant */
.reveal-left {
    opacity: 0;
    transform: translateX(-48px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-from-right variant */
.reveal-right {
    opacity: 0;
    transform: translateX(48px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale-in variant for cards */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ── 2. Step cards — staggered scale-in & hover effects ── */
.steps-section .step-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.steps-section.active .step-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.05s;
}

.steps-section.active .step-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.18s;
}

.steps-section.active .step-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.31s;
}

.step-card:hover,
.steps-section .step-card:hover,
.steps-section.active .step-card:hover,
.steps-section.active .step-card:nth-child(1):hover,
.steps-section.active .step-card:nth-child(2):hover,
.steps-section.active .step-card:nth-child(3):hover {
    transform: translateY(-4px) scale(1) !important;
    border-color: #378ADD !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* ── 3. News cards — slide from left/right alternate ── */
.news-card {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s;
}

.news-card:nth-child(even) {
    transform: translateX(36px);
}

.news-section.active .news-card,
.fare-section.active .news-card {
    opacity: 1;
    transform: translateX(0);
}

.news-section.active .news-card:nth-child(1),
.fare-section.active .news-card:nth-child(1) {
    transition-delay: 0.1s;
}

.news-section.active .news-card:nth-child(2),
.fare-section.active .news-card:nth-child(2) {
    transition-delay: 0.25s;
}

/* ── 4. Features bar — count-up shimmer ── */
/* (Animation handled by script and transition) */

/* ── 5. Section header line — animate width ── */
.header-line {
    width: 0;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.reveal.active .header-line,
.news-section.active .header-line,
.fare-section.active .header-line {
    width: 60px;
}

/* ── 6. About card text — word highlight on reveal ── */
.about-card.active strong {
    background: linear-gradient(90deg, var(--primary) 0%, #0f6fd1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── 7. Parallax hero content ── */
.hero-content {
    will-change: transform;
}

/* ── 8. Scroll-progress indicator ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #60a5fa 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── 9. Floating section number badge ── */
.section-num {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(26, 143, 255, 0.1);
    border: 1px solid rgba(26, 143, 255, 0.2);
    border-radius: 99px;
    padding: 3px 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    width: fit-content;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease 0.05s, transform 0.5s ease 0.05s;
}

.reveal.active .section-num,
.news-section.active .section-num,
.fare-section.active .section-num {
    opacity: 1;
    transform: translateY(0);
}

/* ── 10. Hover lift for step cards ── */
.step-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 48px rgba(26, 143, 255, 0.13);
}

/* reduce motion override */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .news-card,
    .step-card,
    .features-bar {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .header-line {
        width: 60px !important;
    }

    .scroll-progress {
        display: none;
    }
}

/* =============================================
   ABOUT PAGE – ENHANCED
   ============================================= */
.about-hero-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.about-logo-img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.about-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 12px;
    letter-spacing: -0.3px;
}

/* =============================================
   ABOUT PAGE SECTIONS – METRICS, TRANSIT GRID & CTA
   ============================================= */

/* Dynamic Stats Counter Bar */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0 60px;
    padding: 0 10px;
}

.about-stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.95));
    border: 1px solid rgba(26, 143, 255, 0.15);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px -10px rgba(26, 143, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.about-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 143, 255, 0.4);
    box-shadow: 0 15px 30px -8px rgba(26, 143, 255, 0.18);
}

.stat-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(26, 143, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-circle ion-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.stat-num-large {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary) 0%, #1e3c72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-desc {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Transit Showcase Gallery Grid */
.transit-showcase {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(26, 143, 255, 0.15);
}

.transit-badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-top: 32px;
}

.transit-badge-item {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: default;
    transition: opacity 0.2s ease;
}

.transit-badge-item:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    opacity: 0.7;
}

.transit-badge-item .badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.transit-badge-item .badge-icon i {
    font-size: 24px;
    color: #378ADD;
    line-height: 1;
}

.transit-badge-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(51%) sepia(48%) saturate(1637%) hue-rotate(183deg) brightness(91%) contrast(90%);
    transition: opacity 0.2s ease;
}

.transit-badge-item span {
    font-family: 'Sora', 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A2E4A;
    letter-spacing: -0.01em;
}

/* Solid CTA Bottom Section */
.about-cta-section {
    margin: 96px 0 40px;
}

.about-cta-glass {
    background: #378ADD;
    border: none;
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-glass h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.about-cta-glass p {
    color: #DCEBFA;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.btn-cta-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #378ADD;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.btn-cta-glow ion-icon {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.btn-cta-glow:hover {
    background: #F0F7FF;
    color: #378ADD;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-cta-glow:hover ion-icon {
    transform: translateX(4px);
}

/* Responsive CTA & Stats */
@media (max-width: 480px) {
    .about-cta-glass {
        padding: 36px 20px;
        border-radius: 24px;
    }
    
    .about-cta-glass h2 {
        font-size: 1.6rem;
    }
    
    .btn-cta-glow {
        padding: 12px 26px;
        font-size: 0.95rem;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Why Calzada section */
.why-calzada {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(26, 143, 255, 0.2);
}

.why-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    border: 1px solid #E6EEF7;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-card:hover {
    transform: translateY(-2px);
    border-color: #378ADD;
    box-shadow: 0 6px 18px rgba(55, 138, 221, 0.14);
}

.why-card ion-icon {
    font-size: 2.4rem;
    color: #378ADD;
    margin-bottom: 16px;
}

.why-card i {
    font-size: 2.4rem;
    color: #378ADD;
    margin-bottom: 16px;
    display: block;
}

.why-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #042C53;
}

.why-card p {
    font-size: 0.9rem;
    color: #5F5E5A;
    line-height: 1.5;
}

/* Adjust existing about text spacing */
.about-text {
    margin-top: 20px;
}

.about-float-logo {
    float: right;
    width: 260px;
    margin: 6px 0 20px 35px;
    object-fit: contain;
}

.about-float-mockup {
    float: left;
    width: 290px;
    margin: 10px 35px 25px 0;
    background: transparent;
    border: none;
    padding: 0;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.08));
}

@media (max-width: 576px) {
    .about-float-logo {
        float: none;
        display: block;
        margin: 0 auto 20px;
        width: 180px;
    }
    .about-float-mockup {
        float: none;
        display: block;
        margin: 30px auto;
        width: 320px; /* Bold visibility for mobile */
        max-width: 100%;
    }
}

/* =============================================
/* =============================================
   ABOUT SECTION – CENTERED HEADER & STATIC 4-COLUMN ROW
   ============================================= */
.about-card {
    padding: 40px 0;
}

.about-centered-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #378ADD;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.about-header-centered {
    max-width: 600px;
    text-align: center;
    margin: 0 auto 36px auto;
}

.about-header-centered h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #042C53;
    margin-bottom: 12px;
    line-height: 1.2;
}

.about-header-centered p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #5F5E5A;
    line-height: 1.6;
    margin: 0;
}

.about-feature-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 36px;
}

.about-feature-card {
    background: #ffffff;
    border: 0.5px solid #E6EEF7;
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: none;
    /* Fully static — no hover effects */
}

.feature-card-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #E6F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #378ADD;
    font-size: 22px;
    flex-shrink: 0;
}

.feature-card-badge i,
.feature-card-badge ion-icon {
    font-size: 22px;
    color: #378ADD;
}

.feature-card-label {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 6px;
    line-height: 1.3;
}

.feature-card-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    color: #5F5E5A;
    line-height: 1.4;
    margin: 0;
}

.about-cta-center {
    text-align: center;
    width: 100%;
}

@media (max-width: 900px) {
    .about-feature-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .about-feature-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-centered-container {
        align-items: flex-start;
        text-align: left;
    }

    .about-header-centered {
        text-align: left;
        margin: 0 0 28px 0;
        max-width: 100%;
    }

    .about-eyebrow,
    .about-header-centered h2,
    .about-header-centered p {
        text-align: left;
    }

    .about-split {
        flex-direction: column;
        gap: 32px;
    }

    .about-split-text,
    .about-feature-grid {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }

    .about-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .about-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-feature-card {
        padding: 16px 12px;
    }

    .feature-card-label {
        font-size: 13.5px;
    }

    .feature-card-desc {
        font-size: 11.5px;
    }
}

/* =============================================
   PAGE TRANSITION OVERLAY – CUBE LOADER
   ============================================= */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #1a8fff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

#page-transition.fade-in {
    opacity: 1;
    pointer-events: all;
}

#page-transition .pt-cubes {
    --uib-size: 48px;
    --uib-color: white;
    --uib-speed: 1.75s;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: var(--uib-size);
    height: calc(var(--uib-size) * 0.6);
}

#page-transition .pt-cube {
    flex-shrink: 0;
    width: calc(var(--uib-size) * 0.2);
    height: calc(var(--uib-size) * 0.2);
    animation: ptJump var(--uib-speed) ease-in-out infinite;
}

#page-transition .pt-cube__inner {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 25%;
    background-color: var(--uib-color);
    transform-origin: center bottom;
    animation: ptMorph var(--uib-speed) ease-in-out infinite;
}

#page-transition .pt-cube:nth-child(2) {
    animation-delay: calc(var(--uib-speed) * -0.36);
}

#page-transition .pt-cube:nth-child(2) .pt-cube__inner {
    animation-delay: calc(var(--uib-speed) * -0.36);
}

#page-transition .pt-cube:nth-child(3) {
    animation-delay: calc(var(--uib-speed) * -0.2);
}

#page-transition .pt-cube:nth-child(3) .pt-cube__inner {
    animation-delay: calc(var(--uib-speed) * -0.2);
}

@keyframes ptJump {
    0% {
        transform: translateY(0px);
    }

    30% {
        transform: translateY(0px);
        animation-timing-function: ease-out;
    }

    50% {
        transform: translateY(-200%);
        animation-timing-function: ease-in;
    }

    75% {
        transform: translateY(0px);
        animation-timing-function: ease-in;
    }
}

@keyframes ptMorph {
    0% {
        transform: scaleY(1);
    }

    10% {
        transform: scaleY(1);
    }

    20%,
    25% {
        transform: scaleY(0.6) scaleX(1.3);
        animation-timing-function: ease-in-out;
    }

    30% {
        transform: scaleY(1.15) scaleX(0.9);
        animation-timing-function: ease-in-out;
    }

    40% {
        transform: scaleY(1);
    }

    70%,
    85%,
    100% {
        transform: scaleY(1);
    }

    75% {
        transform: scaleY(0.8) scaleX(1.2);
    }
}

#page-transition .pt-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =============================================
   RESPONSIVE AUDIT & MOBILE TWEAKS
   ============================================= */
body {
    overflow-x: hidden;
}

input#searchInput,
.search-input {
    font-size: 16px !important;
}

@media (max-width: 480px) {

    .hero-title,
    h1 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
    }

    .index-page .btn-learn-more {
        font-size: 0.78rem;
        padding: 7px 14px;
    }
}

@media (max-width: 768px) {
    .steps-section .steps-content {
        padding: 40px 16px;
    }

    .steps-section .steps-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .chat-widget-container {
        bottom: 24px;
        right: 16px;
    }

    .scrollable-content p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .scrollable-content h2 {
        font-size: clamp(1.3rem, 4vw, 2rem);
    }
}

/* =============================================
   ABOUT PAGE NEW SECTIONS (ROUTIE BANNER, CATEGORIES, TEAM)
   ============================================= */

/* --- Section vertical rhythm --- */
.transit-showcase,
.places-categories-showcase,
.why-calzada,
.team-section {
    margin-top: 80px;
}

.transit-showcase + .places-categories-showcase {
    margin-top: 96px;
}

/* --- Meet Routie Banner --- */
.routie-banner {
    background: #378ADD;
    border-radius: 10px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0 0;
    color: white;
}

.routie-banner-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.routie-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.routie-icon-badge img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.routie-icon-badge i {
    font-size: 1.5rem;
    color: #378ADD;
}

.routie-banner-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.routie-banner-info p {
    font-size: 0.95rem;
    color: #DCEBFA;
    line-height: 1.45;
    margin: 0;
}

.btn-routie-banner {
    background: white;
    color: #378ADD;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-routie-banner:hover {
    transform: translateY(-2px);
    background: #F0F7FF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* --- What You Can Find (Categories) --- */
.places-categories-showcase .why-title {
    margin-bottom: 36px;
}

.categories-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 40px;
    align-items: start;
    justify-items: center;
}

.category-badge-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: opacity 0.2s ease;
    cursor: default;
}

.category-badge-card:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    opacity: 0.7;
}

.cat-badge-icon {
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #378ADD !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px !important;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.category-badge-card:hover .cat-badge-icon {
    background: transparent !important;
    transform: scale(1.06);
    color: #378ADD !important;
}

.cat-badge-icon i {
    font-size: 30px !important;
    line-height: 1;
    color: #378ADD !important;
}

.category-badge-card span {
    font-family: 'Sora', 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1A2E4A;
    line-height: 1.3;
    text-align: center;
}

/* --- Made By (Team) --- */
.team-section .why-title {
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: stretch;
}

.team-card {
    background: white;
    border: 1px solid #E6EEF7;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
}

.team-card:hover {
    transform: translateY(-2px);
    border-color: #378ADD;
    box-shadow: 0 6px 16px rgba(55, 138, 221, 0.13);
}

.team-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #F0F7FF;
    border: 1px solid #D0E4F9;
    color: #378ADD;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.team-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 4px;
    line-height: 1.3;
}

.team-role {
    font-size: 0.83rem;
    color: #5F5E5A;
    font-weight: 500;
    margin-top: auto;
}

.team-caption {
    text-align: center;
    font-size: 0.88rem;
    color: #5F5E5A;
    margin-top: 20px;
    font-style: italic;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .routie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }

    .btn-routie-banner {
        width: 100%;
        text-align: center;
    }

    .transit-badge-grid {
        gap: 24px 32px;
    }

    .categories-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

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

    .team-card {
        padding: 18px 12px;
    }

    .team-name {
        font-size: 0.9rem;
    }

    .transit-showcase,
    .places-categories-showcase,
    .why-calzada,
    .team-section {
        margin-top: 60px;
    }

    .about-cta-section {
        margin-top: 60px;
    }
}

/* =============================================
   FAQ PAGE REDESIGN
   ============================================= */
.faq-section {
    position: relative;
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.faq-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    z-index: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.faq-header-hero {
    position: relative;
    padding-top: 10px;
    margin-bottom: 24px;
}

.faq-header-hero .page-title,
.faq-header-hero .faq-search-wrapper,
.faq-header-hero .faq-filter-pills {
    position: relative;
    z-index: 1;
}

.faq-bg-mark {
    position: fixed;
    bottom: -50px;
    left: -40px;
    font-family: 'Outfit', sans-serif;
    font-size: 400px;
    font-weight: 800;
    color: #B5D4F4;
    opacity: 0.55;
    line-height: 1;
    transform: rotate(-15deg);
    user-select: none;
    pointer-events: none;
    z-index: -1;
}

.faq-search-wrapper {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.faq-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748B;
    font-size: 1.2rem;
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #1E293B;
    background: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.faq-search-input:focus {
    border-color: #378ADD;
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
}

.faq-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.faq-pill {
    padding: 8px 18px;
    border-radius: 999px;
    border: none;
    background: #E6F1FB;
    color: #378ADD;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-pill:hover {
    background: #D0E4F7;
    transform: translateY(-1px);
}

.faq-pill.active {
    background: #378ADD;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.3);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #1E293B;
    transition: all 0.2s ease;
}

.faq-question:hover {
    background: #F8FAFC;
    color: #378ADD;
}

.faq-q-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-cat-icon {
    color: #378ADD;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #F8FAFC;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 16px 20px 20px;
    border-top: 1px solid #E2E8F0;
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
}

.faq-no-results {
    padding: 40px 20px;
    text-align: center;
    color: #64748B;
    font-size: 1rem;
    background: #F8FAFC;
    border-radius: 8px;
    border: 1px dashed #CBD5E1;
    margin-top: 10px;
}

.faq-routie-cta {
    background: #378ADD;
    border-radius: 10px;
    padding: 24px 32px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(55, 138, 221, 0.25);
}

.faq-routie-cta-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.faq-routie-cta-info p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.btn-faq-routie-cta {
    background: #FFFFFF;
    color: #378ADD;
    border: none;
    padding: 10px 24px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-faq-routie-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .faq-bg-mark {
        font-size: 150px;
        bottom: -25px;
        left: -25px;
        pointer-events: none;
    }
}

@media (max-width: 600px) {
    .faq-routie-cta {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .btn-faq-routie-cta {
        width: 100%;
    }
    .faq-bg-mark {
        font-size: 120px;
        bottom: -20px;
        left: -20px;
        pointer-events: none;
    }
}

/* ==========================================================================
   FEEDBACK PAGE STYLES (Flat Card Design & Watermark)
   ========================================================================== */
.feedback-section {
    padding: 110px 20px 70px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 75px);
    box-sizing: border-box;
}

.feedback-header {
    text-align: center;
    margin-bottom: 24px;
}

.feedback-header .page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #042C53;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.feedback-header .page-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #64748B;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.5;
}

.feedback-card {
    background: #FFFFFF;
    border: 0.5px solid #E6EEF7;
    border-radius: 14px;
    padding: 32px 36px;
    box-shadow: 0 10px 30px rgba(4, 44, 83, 0.05);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
}

/* Two-Column Form Layout (Desktop) */
.feedback-cols-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.feedback-col-left,
.feedback-col-right {
    flex: 1;
    min-width: 0;
}

.feedback-form .form-group {
    margin-bottom: 16px;
}

.feedback-form label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    color: #042C53;
    margin-bottom: 6px;
}

.feedback-form input[type="text"],
.feedback-form input[type="email"],
.feedback-form textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #1E293B;
    background: #FAFCFE;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: #378ADD;
    background: #FFFFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
}

.feedback-form textarea {
    resize: vertical;
    height: 95px;
}

/* Category Selection list on desktop */
@media (min-width: 769px) {
    .category-cards-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 4px;
        padding: 2px;
    }

    .category-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 10px 14px;
        background: #FFFFFF;
        border: 1.5px solid #E6EEF7;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.2s ease;
        user-select: none;
    }

    .category-card .cat-card-icon {
        font-size: 1.3rem;
        color: #9AA5B1;
        transition: color 0.2s ease;
    }

    .category-card .cat-card-label {
        font-family: 'Outfit', sans-serif;
        font-size: 0.88rem;
        font-weight: 500;
        color: #5F5E5A;
        transition: color 0.2s ease;
    }

    .category-card:hover {
        border-color: #B5D4F4;
    }

    .category-card.is-selected {
        background: #F1F7FD;
        border: 1.5px solid #378ADD;
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(55, 138, 221, 0.15);
    }

    .category-card.is-selected .cat-card-icon {
        color: #378ADD;
    }

    .category-card.is-selected .cat-card-label {
        color: #042C53;
        font-weight: 700;
    }
}

.category-helper-text {
    font-style: italic;
    font-size: 11px;
    color: #378ADD;
    margin-top: 6px;
    min-height: 15px;
    font-family: 'Inter', sans-serif;
}

/* Emoji Rating Scale */
.emoji-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 280px;
    margin: 6px 0 2px;
    padding: 2px 0;
}

.emoji-option {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.35;
    transition: all 0.2s ease;
    user-select: none;
}

.emoji-option:hover {
    opacity: 0.7;
}

.emoji-option .emoji-char {
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.emoji-option.is-selected {
    opacity: 1;
    background: #E6F1FB;
}

.emoji-option.is-selected .emoji-char {
    transform: scale(1.2);
}

.emoji-selected-label {
    text-align: left;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #378ADD;
    min-height: 18px;
    margin-top: 2px;
}

/* Input group with icon */
.feedback-form .input-group {
    position: relative;
    width: 100%;
}

.feedback-form .input-group ion-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 1.15rem;
    pointer-events: none;
}

.feedback-form .input-group input {
    padding-left: 38px !important;
}

/* Character Counter */
.char-counter-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 2px;
}

.char-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #64748B;
}

.feedback-error-notice {
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Feedback Auth Gate (Inline Unauthenticated State) */
.feedback-auth-gate {
    display: none;
    text-align: center;
    padding: 36px 20px 24px;
    max-width: 480px;
    margin: 0 auto;
}

.feedback-auth-gate .auth-gate-icon {
    font-size: 2.8rem;
    color: #378ADD;
    margin-bottom: 12px;
    display: inline-block;
}

.feedback-auth-gate h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 8px;
}

.feedback-auth-gate p {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 24px;
}

.btn-feedback-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #378ADD;
    color: #FFFFFF;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.15s ease;
}

.btn-feedback-signin:hover {
    background: #256BBD;
}

.feedback-form input.is-readonly,
.feedback-form input[readonly] {
    background-color: #F1F5F9 !important;
    color: #64748B !important;
    cursor: default;
    border-color: #E2E8F0 !important;
}

.btn-submit-feedback {
    width: 100%;
    background: #378ADD;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.btn-submit-feedback:hover {
    background: #256BBD;
    box-shadow: 0 4px 14px rgba(55, 138, 221, 0.3);
}

.btn-submit-feedback:active {
    transform: scale(0.98);
}

/* Feedback Confirmation State */
.feedback-confirmation {
    display: none;
    text-align: center;
    padding: 56px 40px;
    max-width: 580px;
    margin: 0 auto;
}

.feedback-confirmation.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feedback-success-icon {
    font-size: 3.8rem;
    color: #10B981;
    margin-bottom: 16px;
}

.feedback-confirmation-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #042C53;
    margin-bottom: 10px;
}

.feedback-confirmation-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 24px;
}

.feedback-actions-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.btn-feedback-reset {
    background: #378ADD;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.2);
}

.btn-feedback-reset:hover {
    background: #256BBD;
    box-shadow: 0 6px 16px rgba(55, 138, 221, 0.3);
    transform: translateY(-1px);
}

.btn-feedback-reset:active {
    transform: scale(0.98);
}

.btn-feedback-home {
    background: transparent;
    color: #378ADD;
    border: 1.5px solid #378ADD;
    border-radius: 8px;
    padding: 10px 22px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-feedback-home:hover {
    background: #F1F7FD;
    color: #256BBD;
    border-color: #256BBD;
    transform: translateY(-1px);
}

.btn-feedback-home:active {
    transform: scale(0.98);
}

/* Decorative Background Icon */
.feedback-bg-mark {
    position: fixed;
    bottom: -30px;
    right: -30px;
    font-size: 280px;
    width: 280px;
    height: 280px;
    line-height: 1;
    display: block;
    color: #378ADD;
    opacity: 0.14;
    transform: rotate(-10deg);
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

/* Mobile Responsiveness (Compact 1-column layout) */
@media (max-width: 768px) {
    .feedback-section {
        padding: 90px 14px 30px;
        min-height: auto;
    }
    .feedback-card {
        padding: 20px 16px;
        max-width: 100%;
        border-radius: 16px;
        box-sizing: border-box;
    }
    .feedback-cols-wrapper {
        flex-direction: column;
        gap: 14px;
        width: 100%;
    }
    .feedback-col-left,
    .feedback-col-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        box-sizing: border-box;
    }
    .feedback-form .form-group {
        width: 100% !important;
        box-sizing: border-box;
    }
    .feedback-form input[type="text"],
    .feedback-form input[type="email"],
    .feedback-form textarea,
    .feedback-form .input-group {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .category-cards-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px;
        margin-top: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    .category-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 10px 4px;
        background: #FFFFFF;
        border: 1.5px solid #E6EEF7;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
    }
    .category-card .cat-card-icon {
        font-size: 1.25rem;
        color: #9AA5B1;
    }
    .category-card .cat-card-label {
        font-family: 'Outfit', sans-serif;
        font-size: 0.78rem;
        color: #5F5E5A;
        font-weight: 600;
        white-space: nowrap;
    }
    .category-card.is-selected {
        background: #F1F7FD;
        border: 1.5px solid #378ADD;
        transform: scale(1.02);
    }
    .category-card.is-selected .cat-card-icon {
        color: #378ADD;
    }
    .category-card.is-selected .cat-card-label {
        color: #042C53;
        font-weight: 700;
    }
    .emoji-rating-row {
        max-width: 100%;
        margin: 4px 0;
        justify-content: space-between;
        gap: 6px;
    }
    .emoji-option {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    .emoji-selected-label {
        text-align: center;
        font-size: 0.78rem;
    }
    .feedback-bg-mark {
        font-size: 140px;
        width: 140px;
        height: 140px;
        bottom: -20px;
        right: -20px;
        opacity: 0.08;
    }
}

@media (max-width: 500px) {
    .feedback-actions-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-feedback-reset,
    .btn-feedback-home {
        width: 100%;
        box-sizing: border-box;
    }
    .category-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .emoji-rating-row {
        max-width: 100%;
        justify-content: space-between;
    }
}


/* Feedback Submission Loader Overlay */

.feedback-form {
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.feedback-form.is-loading {
    filter: blur(4px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.feedback-loader-wrapper {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 10;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    pointer-events: all;
    box-sizing: border-box;
}
.loader {
    width: 60px;
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
}
.ball {
    list-style: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #378ADD;
}
.ball:nth-child(1) {
    animation: bounce-1 2.1s ease-in-out infinite;
}
@keyframes bounce-1 {
    50% {
        transform: translateY(-18px);
        background-color: #85B7EB;
    }
}
.ball:nth-child(2) {
    animation: bounce-2 2.1s ease-in-out 0.3s infinite;
}
@keyframes bounce-2 {
    50% {
        transform: translateY(-18px);
        background-color: #85B7EB;
    }
}
.ball:nth-child(3) {
    animation: bounce-3 2.1s ease-in-out 0.6s infinite;
}
@keyframes bounce-3 {
    50% {
        transform: translateY(-18px);
        background-color: #85B7EB;
    }
}


/* Animated Hamburger-to-X Menu Toggle Icon */
.menu-toggle-icon {
    transition: transform 500ms ease-in-out;
    display: block;
}
.menu-toggle-icon.open {
    transform: rotate(-45deg);
}
.menu-toggle-morph {
    stroke-dasharray: 12 63;
    transition: stroke-dasharray 500ms ease-in-out, stroke-dashoffset 500ms ease-in-out;
}
.menu-toggle-icon.open .menu-toggle-morph {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42px;
}

/* =============================================
   REVISED HOMEPAGE COMPONENTS
   ============================================= */

/* User Profile Nav & Avatar */
.user-profile-nav {
    display: flex;
    align-items: center;
    position: relative;
}

.user-avatar-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px 4px 6px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(4, 44, 83, 0.06);
    user-select: none;
}

.user-avatar-pill:hover {
    border-color: #378ADD;
    background: #F0F7FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(55, 138, 221, 0.18);
}

.user-avatar-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #378ADD, #1C6EF2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.user-badge-counter {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #EF4444;
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.user-name-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.user-display-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #042C53;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-saved-home-icon {
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.user-dropdown-arrow {
    font-size: 0.8rem;
    color: #64748B;
    transition: transform 0.2s ease;
}

/* =============================================
   ESTABLISHMENT FOCUS PROFILE DROPDOWN (280px)
   ============================================= */
.establishment-profile-menu,
.user-profile-menu {
    position: absolute !important;
    top: 64px;
    right: 20px;
    width: 280px !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.20), 0 2px 10px rgba(0, 0, 0, 0.08) !important;
    display: none;
    flex-direction: column !important;
    z-index: 2000 !important;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box !important;
}

.establishment-profile-menu.open,
.user-profile-menu.open {
    display: flex !important;
    animation: userMenuFade 0.2s ease forwards;
}

@keyframes userMenuFade {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-header-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F1F5F9;
}

.profile-header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #378ADD;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(55, 138, 221, 0.25);
}

.profile-header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header-details {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #042C53;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.profile-email {
    font-size: 0.78rem;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* Stats Section */
.exploration-stats-section {
    padding: 10px 0 6px;
}

.stats-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    text-align: left;
}

.exploration-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 6px 8px;
}

.stat-pill-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 8px;
    transition: all 0.15s ease;
    flex: 1;
}

.stat-pill-btn:hover {
    background: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.stat-value {
    font-size: 0.9rem;
    font-weight: 800;
    color: #042C53;
    line-height: 1.1;
    margin-top: 2px;
}

.stat-name {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748B;
}

.stat-divider {
    width: 1px;
    height: 28px;
    background: #E2E8F0;
}

.anon-profile-banner {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.75rem;
    color: #92400E;
    margin: 8px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.anon-signup-link {
    color: #B45309;
    font-weight: 700;
    text-decoration: underline;
}

.profile-menu-divider {
    height: 1px;
    background: #F1F5F9;
    margin: 8px 0;
}

/* Nav Menu Items (Heroicons Outline) */
.profile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #1E293B;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.profile-nav-btn:hover {
    background: #F1F5F9;
    color: #378ADD;
}

.nav-btn-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748B;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.nav-btn-icon svg {
    width: 20px;
    height: 20px;
}

.profile-nav-btn:hover .nav-btn-icon {
    color: #378ADD;
}

.nav-btn-title {
    flex: 1;
}

.saved-count-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: #378ADD;
    background: #EFF6FF;
    padding: 2px 7px;
    border-radius: 999px;
}

.profile-nav-btn.logout-btn {
    color: #DC2626;
}

.profile-nav-btn.logout-btn .nav-btn-icon {
    color: #DC2626;
}

.profile-nav-btn.logout-btn:hover {
    background: #FEF2F2;
    color: #B91C1C;
}

.profile-nav-btn.logout-btn:hover .nav-btn-icon {
    color: #B91C1C;
}

/* Global SVG & Utility Size Caps */
.w-5 {
    width: 20px !important;
    max-width: 20px !important;
}

.h-5 {
    height: 20px !important;
    max-height: 20px !important;
}

.nav-btn-icon svg,
.profile-nav-btn svg,
.stat-icon svg,
.stat-pill-btn svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.user-profile-menu svg,
.establishment-profile-menu svg {
    max-width: 24px !important;
    max-height: 24px !important;
}


/* ==========================================================================
   CALZADA UNIFIED MODAL & CARD DESIGN SYSTEM
   Standard visual language for Saved Establishments, Achievements, Visits, & Settings:
   - Single Brand Blue accent (#378ADD)
   - Zero colored pill backgrounds for metadata/status (plain typography only)
   - Solid fill reserved exclusively for primary actions (e.g. Route pill)
   - Sora font (700 weight) for all primary titles
   - Two-line text pattern (Title + Subtitle)
   - Plain SVGs without colored background containers
   - Consistent card chips (#F8F9FC, 14px radius, 16px 20px padding)
   ========================================================================== */

.profile-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 44, 83, 0.55);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.profile-modal-overlay.active {
    display: flex;
    animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Modal Window Shell - Blueprint Texture & Soft Gradient */
.profile-modal-box,
.saved-places-modal-box,
.settings-box {
    background-color: #FFFFFF;
    background-image: 
        radial-gradient(circle, rgba(55, 138, 221, 0.07) 1px, transparent 1px),
        linear-gradient(145deg, #FFFFFF 0%, #FAFCFF 55%, #F4F8FC 100%);
    background-size: 24px 24px, 100% 100%;
    border-radius: 24px;
    max-width: 680px;
    width: 92%;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(4, 44, 83, 0.22), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.95);
    font-family: 'Outfit', sans-serif;
    position: relative;
}

/* Modal Header - Frosted Blur, Sora 700 Title, Soft Brand Blue Icon Circle */
.profile-modal-header,
.saved-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px 20px 28px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.modal-header-title,
.saved-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.modal-header-icon-box,
.saved-header-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(55, 138, 221, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #378ADD;
    box-shadow: inset 0 0 0 1px rgba(55, 138, 221, 0.15);
}

.modal-header-heading,
.saved-modal-heading,
.modal-header-title h3 {
    margin: 0;
    font-family: 'Sora', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #042C53 !important;
    letter-spacing: -0.01em;
}

.modal-close-btn {
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.modal-close-btn:hover {
    background: #E2E8F0;
    color: #042C53;
}

/* Modal Body */
.profile-modal-body,
.saved-modal-body {
    padding: 24px 28px 28px 28px;
    overflow-y: auto;
}

.modal-subtitle,
.saved-modal-subtitle {
    margin: 0 0 22px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────────────────────
   UNIFIED CARD CHIP SYSTEM (Saved Stops, Visits, Achievements)
   ───────────────────────────────────────────────────────────────────────────── */

.visits-list-wrap,
.achievements-list-wrap,
.saved-timeline-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base List Card Styling */
.visit-item-card,
.achievement-card,
.saved-stop-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #F8F9FC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    transition: all 150ms cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    gap: 16px;
    text-align: left;
}

.visit-item-card:hover,
.achievement-card:hover,
.saved-stop-card:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Two-Line Text Hierarchy: Title (Sora 700) + Subtitle (Outfit regular gray) */
.visit-item-info,
.achievement-info,
.saved-stop-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.visit-item-name,
.achievement-title,
.saved-stop-name {
    font-family: 'Sora', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #042C53 !important;
    margin: 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.visit-item-subtitle,
.achievement-subtitle,
.saved-stop-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #64748B;
    line-height: 1.35;
    margin: 0;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
   EXPLORATION ACHIEVEMENTS SPECIFIC RULES
   ───────────────────────────────────────────────────────────────────────────── */

.achievement-card.locked {
    opacity: 0.72;
}

/* Plain icon without background container */
.achievement-icon-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #378ADD;
    background: transparent !important;
    border: none !important;
    transition: all 150ms ease;
}

.achievement-icon-wrap.locked {
    color: #94A3B8;
}

/* Plain typography status (Zero badge/pill backgrounds) */
.achievement-status-wrap {
    flex-shrink: 0;
}

.achievement-status {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    line-height: 1;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.achievement-status.unlocked {
    color: #378ADD;
    font-weight: 700;
}

.achievement-status.locked {
    color: #94A3B8;
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────────────────────
   SAVED ESTABLISHMENTS TRANSIT TRACK SPECIFICS
   ───────────────────────────────────────────────────────────────────────────── */

.saved-timeline-track-wrap {
    position: relative;
    padding-left: 28px;
}

.saved-timeline-track {
    position: absolute;
    left: 8px;
    top: 18px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, #378ADD 0%, rgba(55, 138, 221, 0.45) 70%, rgba(203, 213, 225, 0.4) 100%);
    border-radius: 999px;
}

.saved-stop-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    transition: opacity 180ms ease, transform 180ms ease, max-height 200ms ease, margin 200ms ease;
    max-height: 140px;
    opacity: 1;
}

.saved-stop-node-wrap {
    position: absolute;
    left: -28px;
    top: 24px;
    width: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.saved-stop-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #378ADD;
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.18);
    transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.saved-stop-row:hover .saved-stop-node {
    transform: scale(1.3);
    background: #378ADD;
    border-color: #FFFFFF;
    box-shadow: 0 0 0 5px rgba(55, 138, 221, 0.32);
}

.saved-stop-row.removing {
    opacity: 0 !important;
    transform: scale(0.94) translateX(-10px) !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    transition: opacity 180ms ease, transform 180ms ease, max-height 200ms ease, margin 200ms ease !important;
}

/* Actions Section */
.visit-item-actions,
.saved-stop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Primary Action: Solid Brand Blue Pill ("Route") */
.saved-route-pill-btn {
    background: linear-gradient(135deg, #378ADD 0%, #256bb8 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(55, 138, 221, 0.32);
    transition: all 150ms ease;
    line-height: 1;
}

.saved-route-pill-btn:hover {
    background: linear-gradient(135deg, #256bb8 0%, #1d528f 100%);
    box-shadow: 0 5px 14px rgba(55, 138, 221, 0.42);
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

.saved-route-pill-btn:active {
    transform: translateY(0);
}

.calzada-route-arrow {
    transition: transform 150ms ease;
}

.saved-route-pill-btn:hover .calzada-route-arrow {
    transform: translate(1.5px, -1.5px);
}

/* Secondary Action: Low-Emphasis Gray Icon ("Remove" X) */
.saved-remove-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94A3B8;
    transition: all 150ms ease;
    flex-shrink: 0;
    padding: 0;
}

.saved-remove-btn:hover {
    background: #FEE2E2;
    color: #EF4444;
}

/* Empty State */
.saved-empty-state {
    padding: 48px 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    border: 1.5px dashed #CBD5E1;
    margin: 8px 0;
}

.saved-empty-icon-box {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #378ADD;
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.15);
}

.saved-empty-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 8px 0;
}

.saved-empty-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: #64748B;
    max-width: 340px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

.saved-empty-explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #378ADD 0%, #256bb8 100%);
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(55, 138, 221, 0.32);
    transition: all 150ms ease;
}

.saved-empty-explore-btn:hover {
    background: linear-gradient(135deg, #256bb8 0%, #1d528f 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(55, 138, 221, 0.42);
    color: #FFFFFF !important;
}

.saved-empty-explore-btn:hover .calzada-route-arrow {
    transform: translate(1.5px, -1.5px);
}

@media (max-width: 640px) {
    .profile-modal-box,
    .saved-places-modal-box,
    .settings-box {
        width: 95%;
        max-height: 90vh;
    }
    .profile-modal-header,
    .saved-modal-header {
        padding: 18px 20px;
    }
    .profile-modal-body,
    .saved-modal-body {
        padding: 18px 16px 22px 16px;
    }
    .saved-timeline-track-wrap {
        padding-left: 22px;
    }
    .saved-timeline-track {
        left: 6px;
    }
    .saved-stop-node-wrap {
        left: -22px;
    }
    .visit-item-card,
    .achievement-card,
    .saved-stop-card {
        padding: 14px 14px;
        gap: 12px;
    }
    .saved-route-pill-btn {
        padding: 7px 14px;
        font-size: 0.8rem;
    }
}

/* Settings Box - Polished Functional States & Micro-UI */
.settings-box .modal-header-heading {
    font-family: 'Sora', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #042C53 !important;
}

.settings-profile-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.settings-avatar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.settings-avatar-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.settings-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #378ADD;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.settings-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
}

.settings-camera-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #FFFFFF;
    color: #64748B;
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.settings-camera-badge:hover {
    color: #378ADD;
    border-color: #378ADD;
}

.settings-avatar-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.settings-change-photo-btn {
    display: inline-block;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    color: #378ADD;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    transition: color 0.15s ease, text-decoration 0.15s ease;
    user-select: none;
}

.settings-change-photo-btn:hover {
    text-decoration: underline;
}

.settings-photo-sep {
    font-size: 0.75rem;
    color: #94A3B8;
    user-select: none;
    line-height: 1.2;
}

.settings-remove-photo-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    color: #64748B;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.15s ease, text-decoration 0.15s ease;
    user-select: none;
}

.settings-remove-photo-btn:hover:not(:disabled) {
    color: #378ADD;
    text-decoration: underline;
}

.settings-remove-photo-btn:disabled {
    color: #94A3B8;
    cursor: not-allowed;
    text-decoration: none;
    opacity: 0.7;
}

.settings-remove-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 4px;
    font-family: 'Sora', sans-serif;
    font-size: 0.72rem;
    color: #64748B;
}

.settings-confirm-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 600;
    color: #378ADD;
    cursor: pointer;
    text-decoration: underline;
}

.settings-confirm-btn:hover {
    color: #256bb8;
}

.settings-user-meta {
    flex: 1;
    min-width: 0;
}

.settings-name-text {
    margin: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #042C53;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-email-text {
    margin: 3px 0 0;
    font-size: 0.82rem;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-form-group {
    margin-bottom: 16px;
    text-align: left;
}

.settings-form-group.settings-security-group {
    margin-bottom: 18px;
}

.settings-label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #042C53;
    margin-bottom: 6px;
}

.settings-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #CBD5E1;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
    background: #FFFFFF;
    color: #042C53;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.settings-input:focus {
    outline: none;
    border-color: #378ADD;
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
}

.settings-reset-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Password reset button - Plain text-link style (brand blue #378ADD, no border/box, no pills) */
.settings-text-link {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 500;
    color: #378ADD;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.15s ease, text-decoration 0.15s ease;
}

.settings-text-link:hover:not(:disabled) {
    text-decoration: underline;
}

.settings-text-link:disabled {
    color: #64748B;
    cursor: not-allowed;
    text-decoration: none;
    opacity: 0.7;
}

/* Footer layout tightening & 1px subtle divider */
.settings-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

/* Save Changes button - No pills, no drop shadows, clean brand blue */
.settings-save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 8px;
    background: #378ADD;
    color: #FFFFFF;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.settings-save-btn:hover:not(:disabled) {
    background: #256bb8;
}

.settings-save-btn:active:not(:disabled) {
    background: #1e5a9c;
    transform: scale(0.98);
}

.settings-save-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    background: #378ADD;
    color: #FFFFFF;
    pointer-events: none;
}

/* Inline micro-spinner for saving state */
.settings-btn-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: settingsSpin 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

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

/* Inline minimal feedback error text */
.settings-inline-error {
    font-size: 0.8rem;
    color: #DC2626;
    margin-top: 6px;
    line-height: 1.4;
}

/* Hybrid Search Bar & Actions */
.hybrid-search-bar {
    padding: 6px 6px 6px 20px;
    position: relative;
}

.search-actions-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.search-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: #F1F5F9;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.search-action-btn:hover {
    background: #E2E8F0;
    color: #378ADD;
    transform: scale(1.05);
}

.search-action-btn.listening {
    background: #FEF2F2;
    color: #EF4444;
    border-color: #EF4444;
}

.voice-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #EF4444;
    opacity: 0;
    pointer-events: none;
}

.search-action-btn.listening .voice-pulse-ring {
    opacity: 1;
    animation: voicePulse 1.2s infinite ease-out;
}

@keyframes voicePulse {
    0% { transform: scale(0.9); opacity: 0.9; }
    100% { transform: scale(1.4); opacity: 0; }
}

.search-action-btn.loading ion-icon {
    animation: spinIcon 1s linear infinite;
}

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Quick-Category Pills Below Search */
.hero-category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    z-index: 10;
    position: relative;
}

.hero-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(55, 138, 221, 0.16);
    border-radius: 999px;
    text-decoration: none;
    color: #1E293B;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(4, 44, 83, 0.05);
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
}

.hero-cat-pill:hover {
    background: #FFFFFF;
    border-color: #378ADD;
    color: #1C6EF2;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(55, 138, 221, 0.18);
}

.cat-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.hero-cat-pill:hover .cat-pill-icon {
    transform: scale(1.12);
}

.mall-icon {
    background: #EFF6FF;
    color: #2563EB;
}

.eatery-icon {
    background: #FFF7ED;
    color: #EA580C;
}

.school-icon {
    background: #F0FDF4;
    color: #16A34A;
}

.cat-pill-label {
    letter-spacing: -0.2px;
}

/* Explore Dropdown in Navbar */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-chevron {
    font-size: 0.82rem;
    color: #0f172a;
    transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    min-width: 210px;
    padding: 6px;
    display: none;
    flex-direction: column;
    z-index: 250;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: flex;
    transform: translateX(-50%) translateY(0);
    animation: dropFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dropFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(6px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item:hover {
    background: #f1f5f9;
    color: #000000;
    transform: none;
}

.nav-drop-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    color: #0f172a;
    transition: transform 0.2s ease;
}

.nav-drop-icon svg {
    stroke: #0f172a;
}

.icon-mall,
.icon-eatery,
.icon-school,
.icon-terminal,
.icon-coffee,
.icon-building,
.icon-all {
    background: transparent !important;
    color: #0f172a !important;
}

.icon-mall svg,
.icon-eatery svg,
.icon-school svg,
.icon-terminal svg,
.icon-coffee svg,
.icon-building svg,
.icon-all svg {
    stroke: #0f172a !important;
}

.nav-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 4px;
}

.nav-dropdown-item.view-all {
    font-weight: 600;
    color: #0f172a;
}

.nav-dropdown-item.view-all svg {
    stroke: #0f172a;
}


/* Bell Notification Container & Active Badge (Requirement 3) */
.alerts-dropdown-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.bell-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    color: #042C53;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(4, 44, 83, 0.06);
    text-decoration: none;
}

.bell-container:hover {
    border-color: #378ADD;
    background: #F0F7FF;
    color: #378ADD;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.16);
}

.bell-container .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #D32F2F;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.alerts-dropdown-menu {
    position: absolute;
    top: 64px;
    right: 80px;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(4, 44, 83, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
    width: 320px;
    padding: 12px;
    display: none;
    flex-direction: column;
    z-index: 250;
}

@media (max-width: 768px) {
    .alerts-dropdown-menu {
        position: fixed !important;
        top: 68px !important;
        right: 16px !important;
        left: auto !important;
        width: min(320px, calc(100vw - 32px)) !important;
        max-height: 80vh;
        z-index: 9999 !important;
    }
}

.alerts-dropdown-menu.open {
    display: flex !important;
    animation: dropFadeInRight 0.2s ease forwards;
}

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

.alerts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 8px;
}

.alerts-header-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #042C53;
}

.alerts-count-tag {
    background: #FEF2F2;
    color: #DC2626;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #FECACA;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-item {
    padding: 8px 10px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

/* ── Activity Feed – Clear Button ── */
.alerts-clear-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748B;
    padding: 3px 8px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}
.alerts-clear-btn:hover {
    background: #F1F5F9;
    color: #2563EB;
}

/* ── Activity Feed Items ── */
.activity-feed-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #F1F5F9;
    transition: background 0.15s ease;
    animation: feedItemIn 0.2s ease both;
}
.activity-feed-item.unread {
    background: #EFF6FF;
    border-color: #BFDBFE;
}
.activity-feed-item:hover { background: #F1F5F9; }

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

.activity-feed-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}
.activity-feed-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.activity-feed-msg {
    font-size: 0.81rem;
    font-weight: 500;
    color: #1E293B;
    line-height: 1.35;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.activity-feed-time {
    font-size: 0.69rem;
    color: #94A3B8;
    font-weight: 500;
}
.activity-item-del-btn {
    background: none;
    border: none;
    font-size: 1.15rem;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 6px;
    opacity: 0.6;
    transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
    margin-left: 4px;
    align-self: center;
}
.activity-item-del-btn:hover {
    opacity: 1;
    color: #DC2626;
    background: #FEE2E2;
}
.activity-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    color: #94A3B8;
    text-align: center;
}
.activity-empty-state p {
    font-size: 0.79rem;
    color: #94A3B8;
    line-height: 1.5;
    margin: 0;
}


/* Plan Route CTA Button & Sign In Button */
.btn-plan-route {
    background: #378ADD;
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    color: #FFFFFF !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(55, 138, 221, 0.28);
    white-space: nowrap;
}

.btn-plan-route:hover {
    background: #256bb8;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(55, 138, 221, 0.4);
}

.btn-plan-route::after {
    display: none !important;
}

.btn-plan-route .plan-route-icon {
    font-size: 1rem;
}

.btn-nav-signin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    color: #042C53 !important;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(4, 44, 83, 0.06);
    white-space: nowrap;
}

.btn-nav-signin:hover {
    border-color: #378ADD;
    color: #378ADD !important;
    background: #F0F7FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(55, 138, 221, 0.15);
}

.btn-nav-signin::after {
    display: none !important;
}

.btn-nav-signin ion-icon {
    font-size: 1.05rem;
    color: #378ADD;
}

/* =============================================
   REVERTED CLEAN & MINIMAL FOOTER (Requirement 4)
   ============================================= */
.simple-footer {
    padding: 26px 20px;
    margin-top: 50px;
    border-top: 1px solid #E5E7EB;
    text-align: center;
    font-size: 0.82rem;
    color: #6B7280;
    background-color: transparent;
    font-family: 'Outfit', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.footer-links a {
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    margin: 0 4px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #378ADD;
    text-decoration: underline;
}

.footer-sep {
    color: #9CA3AF;
    user-select: none;
}

.footer-copy {
    margin: 0;
    font-size: 0.72rem;
    color: #9CA3AF;
}

@media (max-width: 640px) {
    .hero-category-pills {
        gap: 8px;
    }
    .hero-cat-pill {
        padding: 7px 14px;
        font-size: 0.86rem;
    }
    .cat-pill-icon {
        width: 24px;
        height: 24px;
    }
    .user-display-name {
        display: none;
    }
    .btn-plan-route span:not(.plan-route-icon) {
        display: none;
    }
    .btn-plan-route {
        padding: 8px 12px;
    }
}

/* =============================================
   SCROLL-DRIVEN 3D TILT REVEAL SECTION
   ============================================= */
.scroll-reveal-section {
    min-height: 110vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 20px 60px 20px;
    perspective: 1000px;
    position: relative;
    overflow: visible;
}

.scroll-reveal-header {
    text-align: center;
    max-width: 640px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}

.scroll-reveal-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--text-dark, #0F172A);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.scroll-reveal-header p {
    font-size: 1.05rem;
    color: var(--text-muted, #64748B);
    line-height: 1.6;
    margin: 0 auto;
}

.scroll-reveal-card {
    max-width: 960px;
    width: 100%;
    margin-top: 0;
    will-change: transform;
    transform-origin: center top;
    transition: transform 0.08s ease-out;
}

.scroll-reveal-card-inner {
    border: 4px solid #1a1a1a;
    border-radius: 24px;
    padding: 12px;
    background: #1a1a1a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.scroll-reveal-card-inner img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .scroll-reveal-section {
        min-height: 80vh;
        padding: 60px 16px 40px 16px;
    }
    .scroll-reveal-header h2 {
        font-size: 1.75rem;
    }
    .scroll-reveal-header p {
        font-size: 0.95rem;
    }
    /* Fix 4: Bigger card — fill most of screen width */
    .scroll-reveal-card {
        max-width: 96vw;
    }
    .scroll-reveal-card-inner {
        border-radius: 18px;
        padding: 8px;
        border-width: 3px;
    }
    .scroll-reveal-card-inner img {
        border-radius: 12px;
    }
}

/* =============================================
   FEATURED PLACES HOVER-EXPAND GALLERY
   ============================================= */
.featured-gallery {
    padding: 70px 20px 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.featured-gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.featured-gallery-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark, #0F172A);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.featured-gallery-header p {
    font-size: 1.05rem;
    color: var(--text-muted, #64748B);
    line-height: 1.5;
    margin: 0 auto;
}

.featured-gallery-row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 400px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.gallery-item {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    transition: flex 500ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 300ms ease !important;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    user-select: none;
    opacity: 1 !important;
    transform: none !important;
}

.gallery-item:hover {
    flex: 4.5 1 0%;
    box-shadow: 0 16px 36px rgba(4, 44, 83, 0.28);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px 16px;
    background: linear-gradient(transparent, rgba(4, 44, 83, 0.88));
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-label {
    opacity: 1;
}

.gallery-item-category {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: #B5D4F4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.gallery-item-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.featured-gallery-action {
    text-align: center;
    margin-top: 36px;
}

.gallery-view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #378ADD;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 8px 16px;
    border-radius: 999px;
}

.gallery-view-all-link:hover {
    color: #1A5FA0;
    transform: translateX(4px);
    text-decoration: underline;
}

/* Mobile swipeable/scrollable layout */
@media (max-width: 768px) {
    .featured-gallery {
        padding: 50px 16px 60px 16px;
    }
    .featured-gallery-header h2 {
        font-size: 1.75rem;
    }
    .featured-gallery-row {
        height: auto;
        padding: 8px 4px 20px 4px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        gap: 12px;
    }
    .gallery-item {
        flex: 0 0 240px !important;
        width: 240px !important;
        height: 320px;
        scroll-snap-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease !important;
        position: relative;
    }
    .gallery-item:hover {
        flex-grow: 0;
    }
    .gallery-item .gallery-item-label {
        opacity: 1;
        background: linear-gradient(transparent, rgba(4, 44, 83, 0.9));
    }
    .gallery-item.active-mobile {
        transform: scale(1.02);
        box-shadow: 0 16px 36px rgba(4, 44, 83, 0.35);
        outline: 3px solid #378ADD;
        outline-offset: -3px;
    }
    .gallery-item.active-mobile img {
        transform: scale(1.04);
    }
}

/* ==============================================
   MOBILE SEARCH OVERLAY (Fix 2)
   ============================================== */
.mobile-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9500;
    align-items: flex-start;
    justify-content: center;
}
.mobile-search-overlay.open { display: flex; }
.mobile-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 44, 83, 0.55);
    backdrop-filter: blur(4px);
}
.mobile-search-card {
    position: relative;
    z-index: 1;
    background: #fff;
    width: calc(100% - 24px);
    max-width: 480px;
    border-radius: 20px;
    margin-top: 72px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(4, 44, 83, 0.25);
    animation: overlaySlideIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes overlaySlideIn {
    from { opacity: 0; transform: translateY(-16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mobile-search-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.mobile-search-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #042C53;
}
.mobile-search-close {
    background: #F1F5F9;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748B;
    cursor: pointer;
}
.mobile-search-close:hover { background: #E2E8F0; }
.mobile-search-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 14px;
    padding: 8px 10px;
    transition: border-color 0.2s;
}
.mobile-search-input-wrap:focus-within { border-color: #378ADD; background: #fff; }
.mobile-search-prefix { font-size: 1.2rem; color: #94A3B8; flex-shrink: 0; }
.mobile-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #1E293B;
    outline: none;
    min-width: 0;
}
.mobile-search-input::placeholder { color: #94A3B8; }
.mobile-search-submit {
    background: #378ADD;
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
}
.mobile-search-submit:hover { background: #256bb8; }
#mobileSearchResults { margin-top: 8px; border-radius: 12px; overflow: hidden; }

/* ==============================================
   CLOSING CTA SECTION (Fix 6)
   ============================================== */
.closing-cta-section { padding: 48px 20px 72px; }
.closing-cta-card {
    background: #378ADD;
    border-radius: 16px;
    max-width: 700px;
    margin: 0 auto;
    padding: 52px 40px;
    text-align: center;
    color: #fff;
}
.closing-cta-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}
.closing-cta-card p {
    font-size: 1.05rem;
    opacity: 0.88;
    margin-bottom: 28px;
    font-family: 'Outfit', sans-serif;
}
.closing-cta-btn {
    display: inline-block;
    background: #fff;
    color: #378ADD;
    border-radius: 999px;
    padding: 12px 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.closing-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.18); }
@media (max-width: 768px) {
    .closing-cta-card { padding: 36px 24px; border-radius: 14px; }
    .closing-cta-card h2 { font-size: 1.5rem; }
    .closing-cta-card p { font-size: 0.95rem; }
    .closing-cta-btn { padding: 11px 28px; font-size: 0.95rem; }
}

/* ==============================================
   GALLERY .active-mobile tap label (Fix 5)
   ============================================== */
.gallery-item.active-mobile .gallery-item-label {
    opacity: 1 !important;
    background: linear-gradient(transparent, rgba(4, 44, 83, 0.92)) !important;
}
.gallery-item.active-mobile::after {
    content: 'Tap again to open';
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-family: 'Outfit', sans-serif;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    pointer-events: none;
    z-index: 3;
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 999px;
}

/* ==============================================
   FEATURES ZIGZAG SECTION (Alternating Row Layout)
   ============================================== */

.features-zigzag-section {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background-color: transparent;
    padding: 100px 0;
    overflow: hidden;
    box-sizing: border-box;
    border: none;
}

.features-zigzag-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 64px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.features-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 88px;
    background: transparent !important;
}

.features-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(28, 110, 242, 0.08);
    color: #1C6EF2;
    border: 1px solid rgba(28, 110, 242, 0.2);
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.features-header-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #042C53;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 16px;
}

.features-header-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Feature Rows & Alternating Zigzag Layout */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
    margin-bottom: 96px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

/* Text Block: Text-heavy focus */
.feature-text-block {
    flex: 1 1 50%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.feature-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #378ADD;
    text-transform: uppercase;
}

.feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: #042C53;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

.feature-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1C6EF2;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    width: fit-content;
    margin-top: 8px;
}

.feature-link-btn:hover {
    color: #0A2E4D;
    transform: translateX(4px);
}

/* Visual Block Containers (Outer Wrapper - Clean transparent container frame with no background, padding, border, or box-shadow) */
.feature-visual-block {
    flex: 1 1 50%;
    height: 380px;
    position: relative;
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    box-shadow: none !important;
}

/* Inner Visual Cards - Direct visible blue/dark rounded cards flush against section background */
.routie-mascot-card,
.geo-pattern-card,
.streetview-mascot-card,
.save-mascot-card,
.discover-mascot-card,
.navy-streetview-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.08);
}

/* Visual 1: Ask Routie Mascot Card */
.routie-mascot-card {
    background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.routie-halo {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(20px);
}

/* Visual 1: Ask Routie Animated Chat Preview (Reuses exact live widget styling) */
.routie-chat-preview {
    width: 90%;
    max-width: 480px;
    height: 90%;
    max-height: 346px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.22);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

.routie-chat-preview .chat-header {
    padding: 10px 16px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.routie-chat-preview .chat-messages {
    flex: 1;
    min-height: 0;
    padding: 10px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f7f9fc;
}

/* Custom sleek scrollbar for preview */
.routie-chat-preview .chat-messages::-webkit-scrollbar {
    width: 4px;
}

.routie-chat-preview .chat-messages::-webkit-scrollbar-thumb {
    background-color: rgba(203, 213, 225, 0.7);
    border-radius: 99px;
}

.routie-chat-preview .message-wrapper {
    margin-bottom: 6px;
    gap: 8px;
}

.routie-chat-preview .message {
    max-width: 88%;
    font-size: 0.88rem;
    line-height: 1.42;
    padding: 8px 12px;
}

.routie-chat-preview .bot-avatar {
    width: 30px;
    height: 30px;
    margin-bottom: 2px;
}

.routie-chat-preview .chat-input-area {
    margin: 4px 10px 8px;
    padding: 6px 12px;
    flex-shrink: 0;
    cursor: default;
}

.routie-chat-preview .chat-input {
    min-height: 20px;
    font-size: 0.9rem;
    pointer-events: none;
    user-select: none;
}

.routie-chat-preview .mic-btn,
.routie-chat-preview .chat-send-btn {
    pointer-events: none;
}

.routie-chat-preview .close-chat-btn {
    pointer-events: none;
    opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
    .routie-chat-preview .message-wrapper {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .routie-chat-preview .bot-avatar img,
    .routie-chat-preview .typing-indicator,
    .routie-chat-preview .typing-dot {
        animation: none !important;
    }
}

/* Visual 2, 4, 5: Geo Pattern Cards */
.geo-pattern-card {
    width: 100%;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.route-card {
    background: linear-gradient(135deg, #2A6BB0 0%, #0A2E4D 100%);
    color: #ffffff;
}

.route-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.route-card-header .card-mockup-badge {
    margin-bottom: 0;
}

.card-mockup-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.route-sample-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    letter-spacing: 0.01em;
    white-space: nowrap;
    user-select: none;
}

.mockup-route-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(4, 44, 83, 0.16), 0 2px 8px rgba(4, 44, 83, 0.08);
    border: none;
}

.route-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-badge.jeep {
    background: #378ADD;
    color: #ffffff;
}

.step-badge.trike {
    background: #38bdf8;
    color: #0f172a;
}

.step-badge.walk {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.step-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-name {
    font-family: 'Sora', 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #16233a;
    letter-spacing: -0.01em;
}

.step-fare {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: #667085;
    font-weight: 500;
}

.route-step-divider {
    height: 1px;
    background: #edeff2;
}

/* Visual 3: 360 Street View Mascot Card Frame (Matches Ask Routie blue card) */
.streetview-mascot-card {
    background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.08);
}

.streetview-halo {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

.navy-streetview-card,
.streetview-inner-viewer,
#panorama-viewer {
    width: 90% !important;
    max-width: 480px !important;
    height: 90% !important;
    max-height: 346px !important;
    display: block !important;
    background: #0A2E4D !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 0 !important;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    overflow: hidden !important;
    cursor: grab;
}

#panorama-viewer:active {
    cursor: grabbing;
}

#panorama-viewer .pnlm-container {
    border-radius: 20px !important;
    overflow: hidden !important;
}

/* ==============================================
   PANNELLUM 360 VIEWER UI OVERRIDES
   ============================================== */

/* Hide all on-screen control buttons and info badges */
.pnlm-panorama-info,
.pnlm-controls-container,
.pnlm-controls,
.pnlm-zoom-controls,
.pnlm-zoom-in,
.pnlm-zoom-out,
.pnlm-fullscreen-toggle-button {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

/* Custom Vector/Text Icons for Buttons */
.pnlm-zoom-in::after {
    content: '+' !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0A2E4D !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.pnlm-zoom-out::after {
    content: '−' !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #0A2E4D !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.pnlm-fullscreen-toggle-button::after {
    content: '⛶' !important;
    font-size: 1.1rem !important;
    color: #0A2E4D !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

/* Hover & Active States */
.pnlm-zoom-in:hover,
.pnlm-zoom-out:hover,
.pnlm-fullscreen-toggle-button:hover {
    background: #1C6EF2 !important;
    border-color: #1C6EF2 !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 18px rgba(28, 110, 242, 0.4) !important;
}

.pnlm-zoom-in:hover::after,
.pnlm-zoom-out:hover::after,
.pnlm-fullscreen-toggle-button:hover::after {
    color: #ffffff !important;
}

.pnlm-zoom-in:active,
.pnlm-zoom-out:active,
.pnlm-fullscreen-toggle-button:active {
    transform: translateY(0) scale(0.95) !important;
}

/* Hide raw Pannellum load boxes styling */
.pnlm-load-box {
    background: rgba(10, 46, 77, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
}

.streetview-deco-circle {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(55, 138, 221, 0.2);
    pointer-events: none;
}

.streetview-icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.streetview-preview-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.streetview-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #0A2E4D;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease, transform 0.2s ease;
}

.streetview-cta-btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

/* Visual 4: Save Mascot Card & Explore Place Panel Preview */
.save-mascot-card {
    background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.08);
}

.save-halo {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(20px);
    pointer-events: none;
    z-index: 1;
}

.save-panel-preview {
    width: 90%;
    max-width: 480px;
    height: 90%;
    max-height: 346px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(4, 44, 83, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: row; /* Real Explore panel side-by-side desktop layout */
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Left Column: Place Photo */
.save-panel-preview .panel-hero {
    width: 44%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #0f172a;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.save-panel-preview .carousel-container,
.save-panel-preview .carousel-slides {
    width: 100%;
    height: 100%;
}

.save-panel-preview .carousel-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Column: Details Body */
.save-panel-preview .panel-body {
    flex: 1;
    width: 56%;
    height: 100%;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    box-sizing: border-box;
    gap: 8px;
    min-width: 0;
}

.save-panel-preview .panel-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.save-panel-preview .panel-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.save-panel-preview .panel-place-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.015em;
    word-break: break-word;
}

.save-panel-preview .panel-place-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.73rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
}

/* Bookmark Icon in Top-Right of Details Area */
.save-panel-preview .panel-save-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    padding: 0;
    flex-shrink: 0;
}

.save-panel-preview .panel-save-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.save-panel-preview .panel-save-btn.saved {
    background: #eff6ff;
    border-color: #378ADD;
    color: #378ADD;
}

.save-panel-preview .panel-save-btn.saved svg {
    fill: #378ADD;
    stroke: #378ADD;
}

.save-panel-preview .panel-save-btn.animate-pop {
    animation: bookmarkPop 0.38s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.save-panel-preview .panel-info-block {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f1f5f9;
    padding-top: 7px;
    gap: 6px;
}

.save-panel-preview .panel-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    color: #475569;
    line-height: 1.3;
}

.save-panel-preview .panel-info-icon {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: #f1f5f9;
    color: #378ADD;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.save-panel-preview .panel-info-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #334155;
    font-size: 0.76rem;
}

.save-panel-preview .panel-open-tag {
    font-weight: 600;
    color: #16a34a;
}

.save-panel-preview .panel-bottom-section {
    margin-top: 4px;
    width: 100%;
}

.save-panel-preview .panel-cta-btn {
    width: 100%;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.78rem;
    padding: 8px 12px;
    border: none;
    border-radius: 7px;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    letter-spacing: 0.01em;
}

/* Visual 5: Discover Places Animated Preview Card */
.discover-mascot-card {
    background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.discover-halo {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    top: -40px;
    right: -40px;
}

.discover-stage {
    width: calc(100% - 36px);
    height: calc(100% - 36px);
    max-width: 440px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(10, 37, 64, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Stage Navigation Header: Clean Two-Element App Header */
.discover-top-bar {
    height: 44px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    flex-shrink: 0;
    user-select: none;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.mock-nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mock-logo-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mock-nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mock-nav-dropdown.active-nav {
    color: #185FA5;
    background: #e0f2fe;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: default;
    transition: background 0.15s ease, color 0.15s ease;
}

.discover-nav-chevron {
    stroke: #185FA5;
    transform: rotate(180deg);
}

/* Stage Viewport */
.discover-stage-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.discover-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* Scene A: Dropdown View */
.discover-scene-dropdown {
    opacity: 1;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
    background: #f8fafc;
}

.discover-dropdown-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    box-sizing: border-box;
}

.discover-preview-dropdown {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px;
    padding: 6px;
    background: #ffffff;
    box-sizing: border-box;
    user-select: none;
    z-index: 10 !important;
}

.discover-preview-dropdown .nav-dropdown-item {
    padding: 6px 10px;
    font-size: 0.82rem;
    cursor: default;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.discover-preview-dropdown .nav-drop-icon {
    width: 24px;
    height: 24px;
}

.discover-preview-dropdown .nav-drop-icon svg {
    width: 15px;
    height: 15px;
}

.discover-preview-dropdown .nav-dropdown-item.simulated-hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.discover-preview-dropdown .nav-dropdown-item.simulated-hover .nav-drop-icon svg {
    stroke: #1d4ed8 !important;
}

.discover-preview-dropdown .nav-dropdown-item.simulated-active {
    background: #dbeafe !important;
    transform: scale(0.98);
}

.discover-preview-dropdown .nav-dropdown-item.view-all {
    font-weight: 600;
    color: #0f172a;
}

/* Animated Cursor */
.discover-cursor {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999 !important;
    pointer-events: none;
    user-select: none;
    will-change: transform, opacity;
}

.discover-cursor svg {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
    transform-origin: top left;
    transition: transform 0.12s ease;
}

.discover-cursor.clicking svg {
    transform: scale(0.85);
}

.cursor-ripple {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.45);
    border: 1px solid rgba(59, 130, 246, 0.6);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.discover-cursor.clicking .cursor-ripple {
    animation: cursorRipplePulse 0.38s ease-out forwards;
}

@keyframes cursorRipplePulse {
    0% { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(4.5); opacity: 0; }
}

/* Scene B: Browsing View */
.discover-scene-browse {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 1;
    background: #f8fafc;
}

.discover-scene-browse.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.browse-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
}

.browse-search-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    color: #475569;
}

.browse-filter-pills {
    display: flex;
    gap: 5px;
}

.browse-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.browse-pill.active {
    background: #378ADD;
    color: #ffffff;
    border-color: #378ADD;
}

/* Scroll Viewport & Track */
.discover-scroll-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    background: #f8fafc;
}

.discover-scroll-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.discover-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Gray Placeholder Place Cards (Soft & Cohesive Skeleton Style) */
.preview-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.preview-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #f1f5f9 !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-img-placeholder svg {
    stroke: #cbd5e1 !important;
    opacity: 0.45;
}

.preview-img-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: previewShimmerPulse 2.4s infinite ease-in-out;
}

@keyframes previewShimmerPulse {
    0% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(100%); }
}

.preview-card-body {
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ffffff;
}

.sk-bar {
    border-radius: 4px;
    pointer-events: none;
}

.sk-bar.sk-title {
    height: 9px;
    background: #e2e8f0;
}

.sk-bar.sk-sub {
    height: 6px;
    background: #edf2f7;
}

/* Accessibility: Respect prefers-reduced-motion for Discover Preview */
@media (prefers-reduced-motion: reduce) {
    .discover-scene-dropdown {
        display: none !important;
    }
    .discover-scene-browse {
        display: flex !important;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
    .discover-scroll-track {
        transform: none !important;
        transition: none !important;
    }
    .discover-cursor {
        display: none !important;
    }
    .preview-img-placeholder::after {
        animation: none !important;
    }
}

/* Desktop Alternating Zigzag Layout */
@media (min-width: 901px) {
    .feature-row.reverse {
        flex-direction: row-reverse !important;
    }
}

/* Responsive Zigzag Layout (< 900px) */
@media (max-width: 900px) {
    .features-zigzag-section {
        padding: 60px 0;
    }

    .features-zigzag-container {
        padding: 0 24px;
    }

    .features-header {
        margin-bottom: 48px;
    }

    .feature-row, .feature-row.reverse {
        flex-direction: column !important;
        gap: 32px;
        margin-bottom: 64px;
    }

    .feature-text-block {
        max-width: 100%;
        flex: none !important;
    }

    .feature-visual-block {
        width: 100%;
        height: 300px;
        flex: none !important;
    }

    .feature-visual-block.streetview-visual,
    .feature-visual-block.routie-visual,
    .feature-visual-block.save-visual,
    .feature-visual-block.discover-visual {
        width: 100% !important;
        height: 350px !important;
        flex: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .routie-chat-preview,
    #panorama-viewer,
    .save-panel-preview,
    .discover-stage {
        width: calc(100% - 24px) !important;
        height: calc(100% - 24px) !important;
        max-height: none !important;
    }

    .discover-mascot-card {
        min-height: auto !important;
        height: 100% !important;
    }

    .save-panel-preview {
        flex-direction: column !important; /* Stacks photo on top, details on bottom on mobile */
    }

    .save-panel-preview .panel-hero {
        width: 100% !important;
        height: 135px !important;
    }

    .save-panel-preview .panel-body {
        width: 100% !important;
        flex: 1 !important;
        padding: 12px 14px !important;
        gap: 6px !important;
    }

    .save-panel-preview .panel-place-title {
        font-size: 0.94rem !important;
    }

    .save-panel-preview .panel-info-row {
        font-size: 0.76rem !important;
    }

    .discover-top-bar {
        padding: 0 14px;
    }

    .mock-logo-img {
        height: 20px;
    }

    .mock-nav-dropdown.active-nav {
        font-size: 0.76rem;
        padding: 4px 9px;
    }
}

@media (max-width: 480px) {
    .feature-visual-block.streetview-visual,
    .feature-visual-block.routie-visual,
    .feature-visual-block.save-visual,
    .feature-visual-block.discover-visual {
        height: 350px !important;
        min-height: auto !important;
        flex: none !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .geo-pattern-card {
        padding: 24px 18px;
    }

    .mockup-route-preview {
        padding: 16px 14px;
    }

    .step-name {
        font-size: 0.88rem;
    }

    .routie-chat-preview,
    #panorama-viewer,
    .save-panel-preview,
    .discover-stage {
        width: calc(100% - 16px) !important;
        height: calc(100% - 16px) !important;
        border-radius: 16px !important;
    }

    .discover-mascot-card {
        min-height: auto !important;
        height: 100% !important;
    }

    .discover-top-bar {
        padding: 0 12px;
        height: 38px;
    }

    .mock-logo-img {
        height: 18px;
    }

    .mock-nav-dropdown.active-nav {
        font-size: 0.72rem;
        padding: 3px 8px;
        border-radius: 6px;
        gap: 4px;
    }

    .discover-dropdown-wrapper {
        padding: 8px 10px !important;
    }

    .discover-preview-dropdown {
        max-width: 228px !important;
        padding: 4px !important;
        border-radius: 12px !important;
    }

    .discover-preview-dropdown .nav-dropdown-item {
        padding: 4px 8px !important;
        font-size: 0.74rem !important;
        border-radius: 6px !important;
    }

    .discover-preview-dropdown .nav-drop-icon {
        width: 20px !important;
        height: 20px !important;
    }

    .discover-preview-dropdown .nav-drop-icon svg {
        width: 13px !important;
        height: 13px !important;
    }

    .discover-preview-dropdown .nav-dropdown-divider {
        margin: 3px 0 !important;
    }

    .browse-header-bar {
        padding: 6px 10px !important;
    }

    .browse-search-chip {
        font-size: 0.68rem !important;
        padding: 3px 7px !important;
    }

    .browse-pill {
        font-size: 0.65rem !important;
        padding: 2px 7px !important;
    }

    .discover-scroll-viewport {
        padding: 8px !important;
    }

    .discover-card-grid {
        gap: 8px !important;
    }

    .preview-card-body {
        padding: 6px 8px 8px !important;
        gap: 4px !important;
    }

    .sk-bar.sk-title {
        height: 7px !important;
    }

    .sk-bar.sk-sub {
        height: 5px !important;
    }

    .save-panel-preview .panel-hero {
        height: 125px !important;
    }

    .save-panel-preview .panel-body {
        padding: 12px 14px 10px !important;
        gap: 6px !important;
        justify-content: flex-start !important;
    }

    .save-panel-preview .panel-place-title {
        font-size: 0.92rem !important;
    }

    .save-panel-preview .panel-info-block {
        gap: 6px !important;
        padding-top: 6px !important;
    }

    .save-panel-preview .panel-info-row {
        font-size: 0.75rem !important;
    }

    .save-panel-preview .panel-website-row {
        display: none !important;
    }

    .save-panel-preview .panel-bottom-section {
        margin-top: auto !important;
        display: block !important;
    }

    .save-panel-preview .panel-cta-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    #panorama-viewer .pnlm-container {
        border-radius: 16px !important;
    }

    .routie-chat-preview .chat-header {
        padding: 10px 14px;
    }

    .routie-chat-preview .chat-messages {
        padding: 10px 12px;
        gap: 8px;
    }

    .routie-chat-preview .chat-input-area {
        margin: 4px 8px 8px;
        padding: 6px 10px;
    }
}

/* ==============================================
   CONTAINER SCROLL ANIMATION (Aceternity UI)
   ============================================== */
.cs-container-section {
    min-height: 100vh;
    padding: 180px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    background: transparent;
}

.cs-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.cs-header {
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.cs-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    margin: 0;
}

.cs-sub-heading {
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 800;
    color: #1C6EF2;
    display: block;
    margin-top: 8px;
    line-height: 1.05;
    background: linear-gradient(to right, #1C6EF2, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sleek Tablet / Device Frame with Expanded Size & Solid Black Bezel */
.cs-card-3d {
    max-width: 1340px;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    margin: 0 auto;
    border: 1px solid #1a1a1a;
    padding: 14px;
    background: #000000;
    border-radius: 32px;
    box-shadow: 0 36px 80px rgba(4, 44, 83, 0.22), 0 12px 32px rgba(4, 44, 83, 0.09);
    position: relative;
    z-index: 5;
    transform-origin: top center;
    will-change: transform;
    transform: perspective(1000px) rotateX(20deg) scale(1.05);
    box-sizing: border-box;
}

.cs-screen-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #f1f5f9;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: -webkit-radial-gradient(white, black);
}

/* ==============================================
   PLANNER DEVICE SHOWCASE MOCK (Aceternity UI Device Screen)
   ============================================== */
.pmock-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #e8edf3;
    user-select: none;
    pointer-events: none;
    container-type: inline-size;
    container-name: pmock;
    font-family: 'Outfit', sans-serif;
}

/* 1. Map Canvas Background */
.pmock-map-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.pmock-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 !important;
    filter: saturate(1.03) contrast(1.01);
}

/* 2. Left Directions Panel */
.pmock-directions-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 25cqw;
    min-width: 100px;
    max-width: 350px;
    background: #ffffff;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.08);
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: clamp(12px, 1.8cqw, 24px) clamp(12px, 1.8cqw, 22px) clamp(14px, 2.0cqw, 24px);
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.pmock-brand-header {
    display: flex;
    align-items: center;
    margin-bottom: clamp(6px, 1.0cqw, 14px);
}

.pmock-brand-logo {
    height: clamp(18px, 2.6cqw, 34px);
    width: auto;
    object-fit: contain;
    display: block;
}

.pmock-ds-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(13px, 1.8cqw, 22px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 clamp(10px, 1.5cqw, 18px) 0;
    letter-spacing: -0.02em;
}

/* Origin Destination Block */
.pmock-od-block {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: clamp(10px, 1.2cqw, 15px);
    padding: clamp(10px, 1.3cqw, 16px);
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.0cqw, 14px);
    margin-bottom: clamp(10px, 1.4cqw, 16px);
    position: relative;
    box-sizing: border-box;
}

.pmock-od-connector {
    height: clamp(38px, 4.8cqw, 56px);
    width: auto;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.pmock-od-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: clamp(38px, 4.8cqw, 56px);
    min-width: 0;
}

.pmock-od-row {
    display: flex;
    align-items: center;
    height: 50%;
}

.pmock-od-field {
    font-size: clamp(9px, 1.15cqw, 14px);
    font-weight: 400;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.pmock-swap-btn {
    width: clamp(22px, 2.8cqw, 36px);
    height: clamp(22px, 2.8cqw, 36px);
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: clamp(2px, 0.5cqw, 8px);
}

.pmock-swap-btn svg {
    width: clamp(11px, 1.4cqw, 17px);
    height: clamp(11px, 1.4cqw, 17px);
    stroke: #378ADD;
}

/* Schedule Pill */
.pmock-schedule-pill {
    display: inline-flex;
    align-items: center;
    gap: clamp(4px, 0.5cqw, 6px);
    background: #f1f5f9;
    border: 1px solid transparent;
    padding: clamp(5px, 0.75cqw, 9px) clamp(10px, 1.2cqw, 15px);
    border-radius: 999px;
    font-size: clamp(8.5px, 1.1cqw, 13.5px);
    font-weight: 600;
    color: #0f172a;
    width: fit-content;
    margin-bottom: auto;
}

.pmock-schedule-pill svg {
    stroke: #64748b;
    width: clamp(8px, 0.9cqw, 11px);
    height: clamp(8px, 0.9cqw, 11px);
}

/* Panel Bottom */
.pmock-panel-bottom {
    margin-top: auto;
    padding-top: clamp(10px, 1.4cqw, 18px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 0.6cqw, 7px);
    width: 100%;
}

.pmock-start-btn {
    width: 100%;
    height: clamp(28px, 3.8cqw, 48px);
    background: #f3f4f6;
    border: 1.5px dashed #c9ced6 !important;
    border-radius: clamp(8px, 1.0cqw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 0.7cqw, 8px);
    color: #8a919c;
    font-size: clamp(8.5px, 1.12cqw, 14px);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-sizing: border-box;
}

.pmock-start-btn svg {
    width: clamp(11px, 1.3cqw, 15px);
    height: clamp(11px, 1.3cqw, 15px);
    stroke: #8a919c;
}

.pmock-start-helper {
    font-size: clamp(7.5px, 0.95cqw, 12px);
    color: #aeb4bd;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

/* 3. Top Category Filter Segmented Control Bar (Centered between left panel & right controls) */
.pmock-category-bar-wrapper {
    position: absolute;
    top: clamp(6px, 1.3cqw, 18px);
    left: calc(25cqw + clamp(8px, 1.2cqw, 16px));
    right: clamp(140px, 22cqw, 240px);
    z-index: 10;
    display: flex;
    justify-content: center;
    pointer-events: none;
    min-width: 0;
}

.pmock-category-container {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
    padding: clamp(2px, 0.35cqw, 5px);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.85);
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    pointer-events: auto;
    -webkit-overflow-scrolling: touch;
}

.pmock-category-container::-webkit-scrollbar {
    display: none;
}

.pmock-segmented-control {
    display: flex;
    align-items: center;
    gap: clamp(2px, 0.25cqw, 4px);
    flex-shrink: 0;
}

.pmock-cat-btn {
    padding: clamp(2px, 0.4cqw, 5px) clamp(5px, 0.75cqw, 11px);
    border-radius: 999px;
    font-size: clamp(6px, 0.82cqw, 11.5px);
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    flex-shrink: 0;
}

.pmock-cat-btn.active {
    background: #e0f2fe;
    color: #378ADD;
}

/* 4. Top-Right Controls */
.pmock-top-right {
    position: absolute;
    top: clamp(8px, 1.4cqw, 18px);
    right: clamp(8px, 1.4cqw, 20px);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: clamp(4px, 0.6cqw, 8px);
}

.pmock-pill {
    display: inline-flex;
    align-items: center;
    gap: clamp(3px, 0.5cqw, 6px);
    height: clamp(18px, 2.5cqw, 34px);
    padding: 0 clamp(6px, 1.0cqw, 13px);
    border-radius: 999px;
    font-size: clamp(6.5px, 0.88cqw, 11.5px);
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.pmock-reminders-pill {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.pmock-reminders-pill svg {
    width: clamp(9px, 1.1cqw, 13px);
    height: clamp(9px, 1.1cqw, 13px);
}

.pmock-signin-pill {
    background: #378ADD;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(55, 138, 221, 0.35);
}

.pmock-signin-pill svg {
    width: clamp(9px, 1.0cqw, 12px);
    height: clamp(9px, 1.0cqw, 12px);
}

.pmock-menu-btn {
    width: clamp(18px, 2.5cqw, 34px);
    height: clamp(18px, 2.5cqw, 34px);
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmock-menu-btn svg {
    width: clamp(10px, 1.2cqw, 16px);
    height: clamp(10px, 1.2cqw, 16px);
}

/* 5. Bottom-Right Map Controls */
.pmock-map-controls {
    position: absolute;
    bottom: clamp(14px, 2.0cqw, 26px);
    right: clamp(8px, 1.4cqw, 20px);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 0.6cqw, 9px);
}

.pmock-recenter-btn {
    width: clamp(18px, 2.5cqw, 36px);
    height: clamp(18px, 2.5cqw, 36px);
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pmock-recenter-btn svg {
    width: clamp(10px, 1.3cqw, 18px);
    height: clamp(10px, 1.3cqw, 18px);
}

.pmock-zoom-group {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: clamp(5px, 0.7cqw, 9px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pmock-zoom-btn {
    width: clamp(16px, 2.2cqw, 32px);
    height: clamp(15px, 2.0cqw, 28px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(9px, 1.2cqw, 17px);
    font-weight: 600;
    color: #334155;
    background: #ffffff;
}

.pmock-zoom-btn:first-child {
    border-bottom: 1px solid #f1f5f9;
}

/* Map Attribution */
.pmock-map-attribution {
    position: absolute;
    bottom: clamp(2px, 0.4cqw, 5px);
    right: clamp(8px, 1.4cqw, 20px);
    z-index: 10;
    background: rgba(255, 255, 255, 0.82);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: clamp(5px, 0.6cqw, 9px);
    color: #64748b;
    pointer-events: none;
}

/* Container query responsiveness for compact device screens */
@container pmock (max-width: 650px) {
    .pmock-reminders-pill {
        display: none;
    }
    .pmock-category-bar-wrapper {
        left: calc(36cqw + 6px);
        right: 76px;
        justify-content: flex-start;
    }
}

@container pmock (max-width: 520px) {
    .pmock-category-bar-wrapper {
        top: 6px;
        left: calc(36cqw + 5px);
        right: 84px;
        justify-content: flex-start;
    }
    .pmock-category-container {
        padding: 2px 4px;
        border-radius: 999px;
    }
    .pmock-segmented-control {
        gap: 2px;
    }
    .pmock-cat-btn {
        font-size: 7.5px;
        padding: 2px 6px;
    }
    .pmock-top-right {
        top: 6px;
        right: 6px;
        gap: 3px;
    }
    .pmock-signin-pill {
        height: 20px;
        padding: 0 7px;
        font-size: 7.5px;
        gap: 3px;
    }
    .pmock-signin-pill svg {
        width: 9px;
        height: 9px;
    }
    .pmock-menu-btn {
        width: 20px;
        height: 20px;
    }
    .pmock-menu-btn svg {
        width: 10px;
        height: 10px;
    }
    .pmock-directions-panel {
        width: 36cqw;
        min-width: 110px;
        max-width: 135px;
        padding: 8px 8px 9px;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
    .pmock-brand-logo {
        height: 15px;
    }
    .pmock-ds-title {
        font-size: 11px;
        margin-bottom: 5px;
    }
    .pmock-od-block {
        padding: 5px 6px;
        gap: 5px;
        margin-bottom: 5px;
        border-radius: 8px;
    }
    .pmock-od-connector {
        height: 30px;
    }
    .pmock-od-column {
        height: 30px;
    }
    .pmock-od-field {
        font-size: 8px;
    }
    .pmock-swap-btn {
        width: 17px;
        height: 17px;
    }
    .pmock-swap-btn svg {
        width: 9px;
        height: 9px;
    }
    .pmock-schedule-pill {
        font-size: 7.5px;
        padding: 2px 6px;
        margin-bottom: auto;
    }
    .pmock-start-btn {
        height: 22px;
        font-size: 7.5px;
        border-radius: 6px;
        gap: 4px;
    }
    .pmock-start-btn svg {
        width: 9px;
        height: 9px;
    }
    .pmock-start-helper {
        display: none;
    }
    .pmock-map-controls {
        bottom: 12px;
        right: 6px;
        gap: 4px;
    }
    .pmock-recenter-btn {
        width: 20px;
        height: 20px;
    }
    .pmock-recenter-btn svg {
        width: 11px;
        height: 11px;
    }
    .pmock-zoom-group {
        border-radius: 5px;
    }
    .pmock-zoom-btn {
        width: 18px;
        height: 16px;
        font-size: 10px;
    }
    .pmock-map-attribution {
        bottom: 2px;
        right: 6px;
        font-size: 5.5px;
        padding: 1px 3px;
    }
}

/* ==============================================
   STACKING & SCROLL RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .card {
        width: 92%;
        height: auto;
        min-height: 420px;
        padding: 28px;
        top: -5%;
    }
    .card-body {
        flex-direction: column;
        gap: 20px;
    }
    .card-text {
        width: 100%;
        top: 0;
    }
    .card-image {
        width: 100%;
        height: 200px;
    }
    .card-title {
        font-size: 1.35rem;
    }
    .cs-container-section {
        min-height: auto;
        padding: 50px 12px 60px;
    }
    .cs-header {
        margin-bottom: 20px;
    }
    .cs-card-3d {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        padding: 8px;
        border-radius: 20px;
        background: #000000;
        border: 1px solid #1a1a1a;
        box-shadow: 0 20px 48px rgba(4, 44, 83, 0.18);
        transform: none !important;
    }

    .cs-screen-inner {
        border-radius: 14px;
        background: #f1f5f9;
    }

    .cs-screen-inner img {
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
        min-height: 360px;
    }
    .card-image {
        height: 150px;
    }
    .card-title {
        font-size: 1.15rem;
    }
    .card-description {
        font-size: 0.85rem;
    }
    .cs-container-section {
        padding: 36px 2px 44px;
    }
    .cs-header {
        margin-bottom: 14px;
    }
    .cs-card-3d {
        padding: 6px;
        border-radius: 18px;
        box-shadow: 0 12px 32px rgba(4, 44, 83, 0.16);
    }
    .cs-screen-inner {
        border-radius: 12px;
    }
}

/* =============================================
   SIDE NAVIGATION DRAWER - CALZADA REDESIGN
   ============================================= */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 44, 83, 0.45) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 10400 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s !important;
}

.drawer-overlay.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 295px;
    max-width: 82vw;
    z-index: 10500 !important;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1) !important;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    background-image: 
        radial-gradient(circle, rgba(55, 138, 221, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, #FFFFFF 0%, #FAFCFF 100%);
    background-size: 20px 20px, 100% 100%;
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: -10px 0 36px rgba(4, 44, 83, 0.14), -2px 0 10px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .side-drawer {
        width: 310px;
    }
}

.side-drawer.open {
    transform: translateX(0) !important;
}

.drawer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 22px 18px 24px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.drawer-logo {
    height: 34px;
    max-width: 140px;
    object-fit: contain;
    display: block;
}

.drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748B;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.drawer-close:hover {
    background: #E2E8F0;
    color: #042C53;
}

.drawer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    overflow-y: auto;
}

.drawer-nav-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.drawer-links a,
.drawer-nav-item {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: #042C53;
    text-decoration: none;
    line-height: 1.3;
    letter-spacing: -0.01em;
    border-left: 3.5px solid transparent;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
    .drawer-links a:hover,
    .drawer-nav-item:hover {
        color: #378ADD;
        background: rgba(55, 138, 221, 0.05);
        border-left-color: #378ADD;
        padding-left: 28px;
    }
}

.drawer-links a:focus:not(.active),
.drawer-nav-item:focus:not(.active) {
    color: #042C53 !important;
    background: transparent !important;
    border-left-color: transparent !important;
    outline: none;
}

.drawer-links a.active,
.drawer-nav-item.active {
    color: #378ADD !important;
    font-weight: 700 !important;
    background: rgba(55, 138, 221, 0.08) !important;
    border-left-color: #378ADD !important;
}

.drawer-separator {
    height: 1px;
    background: rgba(226, 232, 240, 0.85);
    margin: 14px 24px;
}

.drawer-footer-text {
    padding: 18px 24px 24px 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    color: #94A3B8;
    text-align: left;
}
