/* Global Reset and Variables */
:root {
    --primary-color: #31135D;
    --primary-hover: #251047;
    --text-dark: #1a1a1a;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-purple: #31135D;
    --bg-purple-dark: #251047;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --max-width: 1280px;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Global Scroll Optimizations */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 0; /* Removed header offset */
}

* {
    /* Enable hardware acceleration for better scroll performance */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

body {
    /* iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    overscroll-behavior-y: contain;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-dark: #f7fafc;
    --text-gray: #cbd5e0;
    --bg-light: #2d3748;
    --bg-white: #1a202c;
    --border-color: #4a5568;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] body {
    background: #0f1419;
    color: var(--text-dark);
}

[data-theme="dark"] .main-header {
    background: #1a202c;
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

[data-theme="dark"] .listing-card,
[data-theme="dark"] .schedule-card,
[data-theme="dark"] .support-card,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu {
    background: var(--bg-white);
    color: var(--text-dark);
}

[data-theme="dark"] .cookie-consent {
    background: #2d3748;
    color: var(--text-dark);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea {
    background: #2d3748;
    color: var(--text-dark);
    border-color: var(--border-color);
}

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

body {
    font-family: var(--font-inter);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Header Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #31135D;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    white-space: nowrap;
}

/* Hide logo text on mobile */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }
}

.nav-center {
    display: flex;
    gap: 2rem;
}

/* Text visibility for mobile/desktop */
.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0.5rem;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(91, 33, 182, 0.05);
}

.dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.dropdown-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.3;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider {
    color: rgba(255, 255, 255, 0.5);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(20deg);
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 650px;
    margin-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Static waterfall gradient effect */
    background: linear-gradient(180deg, 
        #E8E3F5 0%, 
        #EDE9F7 20%,
        #F2EFF9 40%,
        #F5F3FA 60%,
        #F8F7FB 80%,
        #FAFAFC 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-illustration {
    position: absolute;
    opacity: 0.8;
    object-fit: contain;
}

.hero-illustration-left {
    left: 15%;
    bottom: 5%;
    width: 480px;
    height: auto;
}

.hero-illustration-right {
    right: 15%;
    bottom: 0%;
    width: 624px;
    height: auto;
}

.bridge-illustration,
.building-illustration {
    width: 100%;
    height: 100%;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.98) 50%,
        rgba(252, 251, 254, 1) 100%);
    border-radius: 0 0 20px 20px;
    box-shadow: 
        0 2px 4px rgba(49, 19, 93, 0.05),
        0 4px 8px rgba(49, 19, 93, 0.08),
        0 8px 16px rgba(49, 19, 93, 0.10),
        0 16px 32px rgba(49, 19, 93, 0.12),
        0 24px 48px rgba(49, 19, 93, 0.14);
    padding: 3rem;
    /* Static waterfall/cascade visual effect - no animation */
    transform: translateY(0) scale(1);
    transform-origin: top center;
    /* Subtle depth effect */
    border: 1px solid rgba(232, 227, 245, 0.3);
}

/* Static waterfall/cascade effect - removed animations */
/* Visual hierarchy maintained through layering and shadows */

/* Waterfall cascade visual effect using pseudo-elements */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 40%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 60%,
        rgba(255, 255, 255, 0.1) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(232, 227, 245, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-cta-button {
    background: white;
    color: #31135D;
    border: 2px solid #5B5FCF;
    padding: 0.875rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.hero-cta-button:hover {
    background: #31135D;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(91, 95, 207, 0.3);
}

.cta-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Day Selector */
.day-selector {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 0 0 2rem 0;
}

.day-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #E5E7EB;
    color: #9CA3AF;
    border: 2px solid transparent;
}

.day-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 95, 207, 0.15);
}

.day-badge.active {
    background: #31135D;
    color: white;
    border-color: #31135D;
    box-shadow: 0 2px 8px rgba(91, 95, 207, 0.25);
}

/* Check-in/Check-out Display */
.checkin-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.checkin-checkout .separator {
    color: #999;
    font-weight: normal;
}

.checkin-checkout strong {
    font-weight: 600;
}

#checkinDay, #checkoutDay {
    color: var(--bg-purple);
    font-weight: 600;
}

/* Value Propositions */
.value-props {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.value-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.value-icon span {
    font-size: 2.5rem;
    color: white;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

/* Schedule Section */
.schedule-section {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.schedule-header {
    text-align: center;
    margin-bottom: 3rem;
}

.schedule-header h2 {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.schedule-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0 auto;
}

/* Desktop layout - 3 columns horizontally */
@media (min-width: 1024px) {
    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1200px;
    }
}

.schedule-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.schedule-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.day-selector {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.day-badge {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.day-badge.active {
    background: #31135D;
    color: white;
}

.day-badge.inactive {
    background: #e5e7eb;
    color: #9ca3af;
}

.day-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(49, 19, 93, 0.3);
}

/* Schedule card specific hover effects to indicate group selection */
.schedule-card .day-badge {
    position: relative;
}

.schedule-card .day-badge:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

.schedule-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.control-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.explore-btn {
    display: block;
    margin: 0 auto;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--primary-color);
    color: white;
}

.explore-btn.primary {
    background: var(--primary-color);
    color: white;
}

/* Schedule Visual Styles */
.schedule-visual {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 12px;
}

.calendar-grid {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.lottie-container {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.calendar-header span {
    font-weight: 600;
    color: var(--text-gray);
    font-size: 0.875rem;
    padding: 0.5rem;
}

.calendar-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-week .day {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.calendar-week .day.active {
    background: rgba(91, 33, 182, 0.1);
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.2);
}

.calendar-week .day.active:hover {
    transform: scale(1.1);
    background: rgba(91, 33, 182, 0.15);
}

.schedule-info {
    width: 100%;
    padding: 0.5rem;
    display: block;
    text-align: center;
}

.schedule-tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.schedule-description {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .schedule-visual {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .calendar-grid {
        max-width: 100%;
    }
    
    .schedule-info {
        text-align: center;
    }
}

/* Force vertical layout for all screens above 770px */
@media (min-width: 770px) {
    .schedule-visual {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }
    
    .schedule-visual .calendar-grid {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }
    
    .schedule-visual .schedule-info {
        width: 100% !important;
        text-align: center !important;
        margin-top: 1rem !important;
    }
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
    text-align: center;
}

.benefits-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.benefits-list {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    text-align: left;
}

.benefit-icon {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.benefit-item p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* Listings Section */
.listings-section {
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 2rem auto 3rem;
    display: flex;
    gap: 1rem;
    position: relative;
}

.listing-search {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.listing-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.listing-card.hidden {
    display: none;
}

.no-results {
    grid-column: 1 / -1;
    padding: 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.listings-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.listing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Compare Checkbox */
.compare-checkbox {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: white;
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-checkbox input[type="checkbox"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.compare-checkbox label {
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.listing-card.selected {
    box-shadow: 0 0 0 3px var(--primary-color);
}

/* Compare Bar */
.compare-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 2rem;
    z-index: 999;
    transition: bottom 0.3s ease;
}

.compare-bar.show {
    bottom: 0;
}

.compare-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compare-count {
    font-weight: 600;
    color: var(--text-dark);
}

.compare-btn,
.clear-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compare-btn {
    background: var(--primary-color);
    color: white;
    margin: 0 1rem;
}

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

.clear-btn {
    background: #f3f4f6;
    color: var(--text-dark);
}

.clear-btn:hover {
    background: #e5e7eb;
}

.listing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.listing-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.listing-image-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-details {
    padding: 1.5rem;
}

.listing-location {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.listing-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.listing-details p {
    color: var(--text-gray);
}

.show-more-btn {
    display: block;
    margin: 2rem auto 0;
    background: var(--bg-light);
    color: var(--text-gray);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--border-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.testimonials-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
}

.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    min-height: 200px;
}

.testimonial-card {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
    content: '"';
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
}

.testimonial-quote::before {
    top: -1rem;
    left: -2rem;
}

.testimonial-quote::after {
    bottom: -2rem;
    right: -2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.9;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 5px;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Support Section */
.support-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
    text-align: center;
}

.support-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.support-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    min-width: 120px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.support-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.support-card p {
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.main-footer {
    background: #31135D;
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 1.5rem 1rem;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.4rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: white;
}

.footer-column a.emergency {
    color: #ef4444;
}

.referral-text {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.referral-options {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.referral-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.referral-input,
.import-input {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: 1rem;
}

.share-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.import-section {
    margin-top: 1rem;
}

.import-input {
    margin-bottom: 0.5rem;
}

.import-btn {
    width: 100%;
    background: white;
    color: var(--bg-purple);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.import-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* App Download Section */
.app-download-section {
    max-width: var(--max-width);
    margin: 1.5rem auto 1rem;
    padding: 0 1.5rem;
}

.app-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    gap: 2rem;
}

.app-content {
    flex: 1;
}

.app-tagline {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
}

.app-tagline em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.app-store-btn:hover {
    transform: scale(1.05);
}

.app-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

/* Alexa Card */
.alexa-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    gap: 2rem;
    margin-top: 1.5rem;
}

.alexa-content {
    flex: 1;
}

.alexa-tagline {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1.5rem;
}

.alexa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #00a8cc 0%, #0072ce 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.alexa-btn:hover {
    transform: scale(1.05);
}

.alexa-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* Floating Badge */
.floating-badge {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.badge-content {
    background: #31135D;
    color: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.badge-text-top {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-icon {
    font-size: 2rem;
    margin: 5px 0;
}

.badge-text-bottom {
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-expanded {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: var(--bg-purple);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-badge:hover .badge-expanded {
    opacity: 1;
    transform: translateY(-10px);
}

.floating-badge:hover {
    transform: scale(1.05);
}

/* Auth Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.auth-screen {
    display: none;
}

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

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    display: inline-flex;
    margin-bottom: 1rem;
}

.modal-logo .logo-placeholder {
    width: 60px;
    height: 60px;
    background: var(--bg-purple);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
}

.auth-subtitle {
    text-align: center;
    color: var(--bg-purple);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus {
    outline: none;
    border-color: var(--bg-purple);
    background: white;
    box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #666;
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-btn-primary {
    background: var(--bg-purple);
    color: white;
}

.auth-btn-primary:hover {
    background: var(--bg-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

.auth-btn-outline {
    background: white;
    color: var(--bg-purple);
    border: 2px solid var(--bg-purple);
}

.auth-btn-outline:hover {
    background: var(--bg-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
}

.form-note {
    font-size: 0.75rem;
    color: #999;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #666;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.auth-footer a {
    color: var(--bg-purple);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 0.75rem 1rem;
    }
    
    .hamburger-menu {
        display: none; /* Hide hamburger - using simplified nav instead */
    }
    
    /* Simplify navigation for mobile */
    .nav-center {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .nav-right {
        display: flex;
        position: static;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .nav-right .divider,
    .nav-right a:last-child {
        display: none; /* Hide divider and Sign Up on mobile */
    }
    
    /* Simplify dropdown buttons for mobile */
    .nav-dropdown {
        width: auto;
    }
    
    .dropdown-trigger {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        width: auto;
        justify-content: center;
    }
    
    /* Hide dropdown descriptions on mobile */
    .dropdown-trigger::after {
        content: none;
    }
    
    /* Show mobile text, hide desktop text on mobile */
    .mobile-text {
        display: inline;
    }
    
    .desktop-text {
        display: none;
    }
    
    .dropdown-menu {
        position: fixed;
        left: 10px;
        right: 10px;
        top: auto;
        transform: none;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        margin-top: 0.5rem;
    }
    
    .dropdown-item {
        padding: 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.15;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
    
    .hero-illustration-left {
        display: none;
    }
    
    .hero-illustration-right {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 350px;
        bottom: 5%;
    }
    
    .hero-content-wrapper {
        margin: 1rem;
        padding: 2rem 1.5rem;
        border-radius: 1rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        animation: waterfall 0.8s ease-out forwards;
        position: relative;
        z-index: 3;
    }

    .value-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
    }
    
    .value-card {
        padding: 1.5rem 0.75rem;
    }
    
    .value-card h3 {
        font-size: 0.85rem;
    }

    .day-selector {
        flex-wrap: nowrap;
        gap: 0.4rem;
        margin: 0 0 1.5rem 0;
    }
    
    .hero-section .day-badge {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .hero-cta-button {
        width: 100%;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .listings-grid {
        grid-template-columns: 1fr;
    }

    .support-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Schedule Section Mobile Fixes */
    .schedule-section {
        padding: 2rem 1rem;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .schedule-grid {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .schedule-card {
        margin: 0;
        padding: 1rem;
        border-radius: 1rem;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-width: 100%;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .schedule-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .schedule-visual {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .calendar-grid {
        width: 100%;
        max-width: 240px;
        padding: 0;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .calendar-header {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.125rem;
        margin-bottom: 0.5rem;
        text-align: center;
        font-size: 0.75rem;
        font-weight: 600;
        color: #666;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-header span {
        padding: 0.2rem 0;
        font-size: 0.7rem;
        min-width: 0;
    }
    
    .calendar-body {
        display: flex;
        flex-direction: column;
        gap: 0.125rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-week {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.125rem;
        width: 100%;
        box-sizing: border-box;
    }
    
        .calendar-week .day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
            border-radius: 0.25rem;
            background: #f8f9fa;
            min-width: 0;
            max-width: 25px;
            max-height: 25px;
            overflow: hidden;
            box-sizing: border-box;
            height: auto;
            width: 100%;
            line-height: 1;
            text-align: center;
            transform: scale(0.75);
        }
        
        .calendar-week .day.active {
            background: rgba(91, 33, 182, 0.1);
            border: 1px solid rgba(91, 33, 182, 0.3);
            transform: scale(0.75);
        }
        
        .calendar-week .day.active:hover {
            transform: scale(0.8);
        }
    
    .schedule-info {
        text-align: center;
        max-width: 100%;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .schedule-tagline {
        color: var(--bg-purple);
        font-weight: 600;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .schedule-description {
        color: #666;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .explore-btn {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem 1rem;
        margin: 0;
        display: block;
        box-sizing: border-box;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .footer-column {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }
    
    .footer-column:last-child {
        border-bottom: none;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-column a {
        display: block;
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    /* Mobile referral section */
    .referral-options {
        display: flex;
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .referral-options label {
        flex: 1;
        padding: 0.75rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.75rem;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.95rem;
        font-weight: 500;
    }
    
    .referral-options label:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .referral-options input[type="radio"] {
        display: none;
    }
    
    .referral-options input[type="radio"]:checked + label {
        background: var(--bg-purple);
        border-color: var(--bg-purple);
        color: white;
    }
    
    .referral-input,
    .import-input {
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        color: white;
        -webkit-appearance: none;
    }
    
    .referral-input:focus,
    .import-input:focus {
        outline: none;
        border-color: var(--bg-purple);
        background: rgba(255, 255, 255, 0.1);
    }
    
    .referral-input::placeholder,
    .import-input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
    
    .share-btn,
    .import-btn {
        width: 100%;
        padding: 0.85rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0.75rem;
        background: var(--bg-purple);
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .share-btn:active,
    .import-btn:active {
        transform: scale(0.98);
    }
    
    /* App download section on mobile */
    .app-download-section {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    
    .app-card,
    .alexa-card {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    
    .app-card .app-content,
    .alexa-card .alexa-content {
        order: 2;
        margin-top: 1rem;
    }
    
    .app-card img,
    .alexa-card img {
        order: 1;
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .app-tagline,
    .alexa-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .app-store-btn,
    .alexa-btn {
        display: inline-flex;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Floating badge adjustment for mobile */
    .floating-badge {
        bottom: 10px;
        right: 10px;
        width: 60px;
        height: 60px;
    }
    
    .badge-text-top {
        font-size: 0.5rem;
    }
    
    .badge-icon {
        font-size: 1.2rem;
    }
    
    .badge-text-bottom span {
        font-size: 0.45rem;
    }
    
    .badge-expanded {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Mobile modal adjustments */
    .modal-overlay {
        position: fixed;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90vw;
        max-width: 400px;
        max-height: 80vh;
        overflow-y: auto;
        border-radius: 1rem;
    }
    
    /* Mobile form fields */
    .form-group input,
    .auth-form input {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        border-radius: 0.75rem;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .form-group input:focus,
    .auth-form input:focus {
        outline: none;
        box-shadow: 0 0 0 2px var(--bg-purple);
    }
    
    .auth-btn {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0.75rem;
        min-height: 48px; /* Better touch target */
    }
    
    .auth-btn:active {
        transform: scale(0.98);
    }
    
    /* Touch-friendly navigation buttons */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0.5rem 0.75rem;
        border-radius: 0.5rem;
    }
    
    .dropdown-trigger {
        min-height: 44px;
        border-radius: 0.5rem;
    }
    
    .support-card {
        min-height: 80px;
        padding: 1rem;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

button.loading {
    color: transparent;
}

.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.inline-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
    will-change: opacity, transform;
}

/* Performance optimizations */
.listing-card,
.schedule-card,
.support-card {
    will-change: transform;
}

.listing-card:hover,
.schedule-card:hover,
.support-card:hover {
    will-change: auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: var(--text-dark);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-accept,
.cookie-decline {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-accept:hover {
    background: var(--primary-hover);
}

.cookie-decline {
    background: #f3f4f6;
    color: var(--text-dark);
}

.cookie-decline:hover {
    background: #e5e7eb;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 33, 182, 0.3);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(91, 33, 182, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.skeleton-text {
    width: 100%;
    height: 0.7rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.skeleton-text:last-child {
    width: 80%;
}

.listing-card.skeleton-card {
    pointer-events: none;
}

.listing-card.skeleton-card .listing-image-placeholder {
    animation: skeleton-loading 1s linear infinite alternate;
}

.listing-card.skeleton-card h3,
.listing-card.skeleton-card p {
    visibility: hidden;
    position: relative;
}

.listing-card.skeleton-card h3::after,
.listing-card.skeleton-card p::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1rem;
    border-radius: 0.25rem;
    animation: skeleton-loading 1s linear infinite alternate;
    visibility: visible;
}

.listing-card.skeleton-card p::after {
    height: 0.8rem;
    width: 90%;
}

.p-4 { padding: 2rem; }