/* Renter Concierge - Modern Default Stylesheet
 * Universal responsive design for index, admin, and renter interfaces
 * Fluid grid system that adapts to ANY window size
 */

/* ==================== COLOR PALETTE ==================== */
:root {
    /* Primary - Fresh & Professional */
    --primary-color: #4F46E5;        /* Indigo - modern, trustworthy */
    --primary-hover: #4338CA;
    --primary-light: #EEF2FF;
    
    /* Accent - Friendly & Inviting */
    --accent-color: #10B981;         /* Green - positive, welcoming */
    --accent-hover: #059669;
    
    /* Neutrals - Clean & Modern */
    --bg-color: #F9FAFB;            /* Very light gray - spacious */
    --surface-color: #FFFFFF;
    --text-primary: #111827;         /* Near black - high contrast */
    --text-secondary: #6B7280;       /* Medium gray */
    --border-color: #E5E7EB;
    
    /* Status colors */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
    --emergency-color: #EF4444;
    --info-color: #3B82F6;
    
    /* Shadows - Soft Duolingo-style */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 32px rgba(79, 70, 229, 0.15);
    
    /* Border radius - Friendly rounded */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Spacing - Fluid and responsive */
    --spacing-xs: clamp(6px, 1vw, 8px);
    --spacing-sm: clamp(10px, 1.5vw, 12px);
    --spacing-md: clamp(14px, 2vw, 16px);
    --spacing-lg: clamp(20px, 3vw, 24px);
    --spacing-xl: clamp(28px, 4vw, 32px);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

/* ==================== GLOBAL STYLES ==================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: var(--spacing-lg);
    min-height: 100vh;
}

/* ==================== WELCOME SCREEN ==================== */
.welcome-container {
    background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
}

#welcomeScreen.screen.active {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.welcome-content {
    background: var(--surface-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: clamp(32px, 5vw, 48px);
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.welcome-content h1,
.welcome-content h2 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm);
}

.welcome-content p {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-xl);
    line-height: 1.6;
}

.name-input {
    width: 100%;
    padding: clamp(12px, 2vw, 16px) clamp(16px, 3vw, 20px);
    font-size: clamp(14px, 2vw, 16px);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    transition: all 0.2s ease;
    font-family: var(--font-primary);
}

.name-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.continue-btn {
    width: 100%;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    font-size: clamp(14px, 2vw, 16px);
    font-weight: var(--font-weight-semibold);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-primary);
    box-shadow: var(--shadow-md);
}

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

.continue-btn:active {
    transform: translateY(0);
}

/* ==================== HEADER ==================== */
header,
.header {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
}

header h1,
.header h1 {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 4px;
}

header p,
.header p {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-secondary);
    margin: 0;
}

.renter-greeting {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-top: 8px;
}

/* ==================== BREADCRUMBS ==================== */
.breadcrumbs {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumbs.hidden {
    display: none;
}

.breadcrumb-item {
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    font-size: clamp(13px, 1.8vw, 15px);
}

.breadcrumb-item:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.breadcrumb-item:not(:last-child)::after {
    content: " › ";
    margin: 0 8px;
    color: var(--text-secondary);
}

/* ==================== SCREENS ==================== */
.screen {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.screen.active {
    display: block;
}

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

/* ==================== FLUID RESPONSIVE GRID - Works for ANY window size ==================== */
.grid-container,
.features-grid {
    display: grid;
    /* Fluid responsive: min 240px, fills available space, creates as many columns as fit */
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: clamp(12px, 2vw, 20px);
    margin-bottom: var(--spacing-xl);
}

/* Alternative grid for larger minimum tiles */
.grid-wide {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.grid-item,
.feature-card {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.grid-item:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.grid-item:active,
.feature-card:active {
    transform: translateY(-2px);
}

.grid-item.emergency,
.feature-card.emergency {
    border-color: var(--emergency-color);
}

.grid-item.emergency:hover,
.feature-card.emergency:hover {
    border-color: var(--emergency-color);
    background: #FEE2E2;
}

.icon,
.feature-icon {
    font-size: clamp(36px, 6vw, 48px);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.grid-item h3,
.feature-card h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs);
}

.grid-item p,
.feature-card p {
    font-size: clamp(12px, 1.8vw, 14px);
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ==================== CONTENT SECTIONS ==================== */
.content-area,
.content-section {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 32px);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.content-area h2,
.content-section h2 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-md);
}

.content-area h3,
.content-section h3 {
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.content-area p,
.content-section p {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 var(--spacing-md);
}

.content-area ul,
.content-area ol,
.content-section ul,
.content-section ol {
    padding-left: 24px;
    margin: 0 0 var(--spacing-md);
}

.content-area li,
.content-section li {
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 24px);
    font-size: clamp(13px, 2vw, 16px);
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

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

.btn-success {
    background: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-danger {
    background: var(--error-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-emergency {
    background: var(--emergency-color);
    color: white;
    font-size: clamp(14px, 2.2vw, 18px);
    padding: clamp(14px, 2vw, 18px) clamp(28px, 4vw, 36px);
    box-shadow: var(--shadow-md);
}

.btn-emergency:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-btn {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 24px);
    border-radius: var(--radius-md);
    font-size: clamp(13px, 2vw, 16px);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: var(--spacing-lg);
}

.back-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateX(-4px);
}

/* ==================== FORMS ==================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: clamp(12px, 1.8vw, 14px);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea,
.form-group select,
textarea {
    width: 100%;
    padding: clamp(10px, 1.5vw, 12px) clamp(14px, 2vw, 16px);
    font-size: clamp(13px, 2vw, 16px);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-group textarea,
textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==================== URGENCY SELECTOR ==================== */
.urgency-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.urgency-option,
.radio-label {
    padding: clamp(12px, 2vw, 16px);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background: var(--surface-color);
}

.urgency-option:hover,
.radio-label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.urgency-option.selected,
.radio-label.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.urgency-option.urgent.selected {
    border-color: var(--error-color);
    background: #FEE2E2;
}

.urgency-option.normal.selected {
    border-color: var(--warning-color);
    background: #FEF3C7;
}

.urgency-option.low.selected {
    border-color: var(--accent-color);
    background: #D1FAE5;
}

/* ==================== CATEGORIES ==================== */
.category-list,
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: clamp(12px, 2vw, 15px);
    margin-bottom: var(--spacing-xl);
}

.category-btn {
    padding: clamp(20px, 3vw, 30px);
    font-size: clamp(14px, 2.2vw, 18px);
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    font-weight: var(--font-weight-medium);
}

.category-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* ==================== RESOURCE CARDS ==================== */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.resource-card {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.resource-card .icon {
    font-size: clamp(40px, 6vw, 56px);
    margin-bottom: var(--spacing-md);
}

.resource-card h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: var(--spacing-xs);
}

/* ==================== EMERGENCY SCREEN ==================== */
.emergency-message {
    font-size: clamp(15px, 2.2vw, 18px);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

.emergency-list {
    list-style: none;
    padding: var(--spacing-lg);
    background: #FEE2E2;
    border-left: 4px solid var(--emergency-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
}

.emergency-list li {
    font-size: clamp(14px, 2vw, 16px);
    padding: 10px 0;
    color: var(--emergency-color);
}

.emergency-list li::before {
    content: "⚠️ ";
    margin-right: 10px;
}

.contact-options {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.emergency-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.emergency-actions .btn {
    width: 100%;
}

/* ==================== EMERGENCY CONTACT BUTTONS ==================== */
.emergency-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: clamp(14px, 2.5vw, 20px) clamp(20px, 3vw, 28px);
    margin: var(--spacing-sm) 0;
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: var(--font-weight-semibold, 600);
    text-align: center;
    text-decoration: none;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    min-height: 48px;
    font-family: var(--font-primary);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
}

.emergency-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.08);
}

.emergency-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.emergency-btn .icon {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 4px;
    line-height: 1;
}

.emergency-btn h3 {
    margin: 4px 0;
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: var(--font-weight-semibold, 600);
    color: white;
}

.emergency-btn p {
    margin: 2px 0 0;
    font-size: clamp(12px, 1.8vw, 14px);
    opacity: 0.9;
    color: white;
}

.emergency-btn.facetime {
    background: var(--accent-color, #10B981);
}

.emergency-btn.phone {
    background: var(--emergency-color, #EF4444);
}

.emergency-btn.sms {
    background: var(--info-color, #3B82F6);
}

.emergency-btn.email {
    background: var(--primary-color, #4F46E5);
}

/* ==================== TROUBLESHOOTING ==================== */
.troubleshooting {
    background: #EFF6FF;
    border: 2px solid var(--info-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 30px);
    margin-bottom: var(--spacing-xl);
}

.troubleshooting.hidden {
    display: none;
}

.troubleshooting h3 {
    color: var(--info-color);
    margin-bottom: var(--spacing-lg);
    font-size: clamp(16px, 2.5vw, 20px);
}

.troubleshooting-step {
    background: white;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--info-color);
}

.troubleshooting-step h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: clamp(14px, 2vw, 16px);
}

/* ==================== QR CODE SECTION ==================== */
.qr-section,
.qr-code-container {
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 32px);
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.qr-code-container.hidden {
    display: none;
}

.qr-section h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: var(--font-weight-semibold);
    color: var(--primary-color);
    margin: 0 0 var(--spacing-md);
}

.qr-code-display {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    display: inline-block;
    box-shadow: var(--shadow-md);
}

/* ==================== PHOTO UPLOAD ==================== */
.photo-upload-section {
    margin-bottom: var(--spacing-xl);
}

.photo-upload-section h4 {
    margin-bottom: var(--spacing-md);
    font-size: clamp(14px, 2vw, 16px);
}

.uploaded-files {
    margin-top: var(--spacing-md);
}

.uploaded-file {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm);
    background: #F0FDF4;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-xs);
}

.uploaded-file::before {
    content: "✓ ";
    color: var(--success-color);
    margin-right: 8px;
    font-weight: bold;
}

/* ==================== FEEDBACK SUCCESS ==================== */
.success-animation {
    text-align: center;
    padding: clamp(32px, 5vw, 48px);
}

.success-icon {
    font-size: clamp(60px, 10vw, 80px);
    margin-bottom: var(--spacing-lg);
    animation: bounce 0.6s ease;
}

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

/* ==================== LOADING STATES ==================== */
.loading,
.loading-text {
    text-align: center;
    color: var(--text-secondary);
    padding: clamp(20px, 4vw, 40px);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.grid-item {
    animation: fadeInUp 0.4s ease backwards;
}

.feature-card:nth-child(1), .grid-item:nth-child(1) { animation-delay: 0.05s; }
.feature-card:nth-child(2), .grid-item:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3), .grid-item:nth-child(3) { animation-delay: 0.15s; }
.feature-card:nth-child(4), .grid-item:nth-child(4) { animation-delay: 0.2s; }
.feature-card:nth-child(5), .grid-item:nth-child(5) { animation-delay: 0.25s; }
.feature-card:nth-child(6), .grid-item:nth-child(6) { animation-delay: 0.3s; }
.feature-card:nth-child(7), .grid-item:nth-child(7) { animation-delay: 0.35s; }
.feature-card:nth-child(8), .grid-item:nth-child(8) { animation-delay: 0.4s; }

/* ==================== CHECK-IN/CHECK-OUT STYLES ==================== */
.checkin-section {
    margin-bottom: clamp(30px, 5vw, 40px);
}

.checkin-section h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--border-color);
}

.info-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-color);
}

.info-card.highlight {
    background: var(--primary-light);
    border: 2px solid var(--primary-color);
}

.info-card h4 {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
}

.info-value {
    color: var(--text-secondary);
    line-height: 1.6;
    white-space: pre-wrap;
    font-size: clamp(13px, 1.8vw, 15px);
}

.checkout-info {
    background: var(--bg-color);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
}

.checklist-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-color);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    transition: all 0.2s;
}

.checklist-item.checked {
    background: #F0FDF4;
    border-color: #86EFAC;
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checklist-content {
    flex: 1;
}

.checklist-text {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 4px;
}

.checklist-item.checked .checklist-text {
    color: #166534;
}

.checklist-help {
    font-size: clamp(12px, 1.6vw, 13px);
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 4px;
}

/* WiFi Info */
.wifi-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.wifi-detail {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-md);
}

.wifi-detail .label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-secondary);
    min-width: 80px;
    font-size: clamp(12px, 1.8vw, 14px);
}

.wifi-detail .value {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: clamp(13px, 2vw, 16px);
    color: var(--text-primary);
}

.btn-copy {
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: clamp(11px, 1.5vw, 13px);
    cursor: pointer;
    transition: background 0.2s;
}

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

/* Emergency Contacts */
.contacts-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.contact-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: clamp(13px, 1.8vw, 15px);
}

.contact-phone {
    color: var(--primary-color);
    text-decoration: none;
    font-size: clamp(13px, 2vw, 16px);
}

/* ==================== SUBSCRIPTION TIERS ==================== */
.subscription-intro {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-secondary);
    margin-bottom: clamp(30px, 5vw, 40px);
    text-align: center;
}

.tier-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(20px, 3vw, 25px);
    margin: clamp(30px, 5vw, 40px) 0;
}

.tier-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 30px);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.tier-card.essential {
    border-color: var(--primary-color);
}

.tier-card.professional {
    border-color: var(--accent-color);
    border-width: 3px;
}

.tier-card.premium {
    border-color: var(--warning-color);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: clamp(11px, 1.5vw, 12px);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.tier-header h3 {
    font-size: clamp(20px, 3vw, 24px);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.tier-price {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.tier-price span {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: var(--font-weight-regular);
    color: var(--text-secondary);
}

.tier-features {
    list-style: none;
    padding: 0;
}

.tier-features li {
    padding: var(--spacing-sm) 0;
    font-size: clamp(13px, 1.8vw, 15px);
    color: var(--text-secondary);
    border-bottom: 1px solid var(--bg-color);
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 6px;
}

.subscription-footer {
    text-align: center;
    margin: clamp(30px, 5vw, 40px) 0;
    padding: clamp(24px, 4vw, 30px);
    background: var(--bg-color);
    border-radius: var(--radius-md);
}

.subscription-footer p {
    margin: 12px 0;
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-secondary);
}

.subscription-savings {
    color: var(--accent-color) !important;
    font-weight: var(--font-weight-semibold);
}

.powered-by-footer {
    margin-top: clamp(30px, 5vw, 40px);
    padding: var(--spacing-lg);
    text-align: center;
}

.powered-by-link {
    color: var(--text-secondary);
    font-size: clamp(12px, 1.6vw, 13px);
    text-decoration: none;
    transition: color 0.2s;
}

.powered-by-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==================== COMING SOON ==================== */
.coming-soon-card {
    background: #FEF3C7;
    border: 2px dashed var(--warning-color);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 25px);
    margin: clamp(24px, 4vw, 30px) 0;
    position: relative;
    text-align: center;
}

.coming-soon-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: clamp(11px, 1.5vw, 13px);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.coming-soon-card h4 {
    font-size: clamp(16px, 2.5vw, 18px);
    color: #92400E;
    margin-bottom: var(--spacing-sm);
}

.coming-soon-card p {
    color: #78350F;
    margin: 0;
    font-size: clamp(13px, 1.8vw, 14px);
}

/* ==================== UTILITY CLASSES ==================== */
.hidden {
    display: none !important;
}

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

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.container-fluid {
    max-width: 100%;
    padding: var(--spacing-md);
}

/* ==================== WINDOW-BASED RESPONSIVE (Not device-specific) ==================== */

/* Compact windows (narrow width) */
@media (max-width: 600px) {
    .grid-container,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .urgency-selector {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        flex-direction: column;
    }
    
    .wifi-detail {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Medium windows */
@media (min-width: 601px) and (max-width: 900px) {
    .grid-container,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    }
}

/* Large windows */
@media (min-width: 901px) {
    .grid-container,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    }
}

/* Extra-wide windows - limit max columns for readability */
@media (min-width: 1400px) {
    .grid-container,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================
   LANDING PAGE STYLES
   Clean minimal. Dark slate + sage green.
   ============================================ */

/* Landing-scoped CSS variables — don't pollute global :root */
.landing-page {
    --lp-slate-900: #111827;
    --lp-slate-800: #1e2d3d;
    --lp-slate-700: #2d3f52;
    --lp-slate-500: #5a6e82;
    --lp-slate-300: #94a8bc;
    --lp-slate-200: #dce4ec;
    --lp-slate-100: #f0f4f8;
    --lp-slate-50:  #f8fafc;
    --lp-green-700: #2d5a3d;
    --lp-green-600: #3a7050;
    --lp-green-500: #4a8862;
    --lp-green-100: #e6f0ea;
    --lp-green-50:  #f2f8f4;
    --lp-white: #ffffff;
    --lp-border: 1px solid var(--lp-slate-200);
    --lp-border-dark: 1px solid rgba(255,255,255,0.1);
    --lp-radius: 6px;
    --lp-font: -apple-system, 'Segoe UI', Helvetica Neue, Arial, sans-serif;

    font-family: var(--lp-font);
    color: var(--lp-slate-900);
    background: var(--lp-white);
    -webkit-font-smoothing: antialiased;
    /* Reset any body background bleed */
    min-height: 100vh;
}

.landing-page.hidden {
    display: none;
}

/* ---- HEADER: non-sticky shell ---- */
.landing-header {
    background: transparent;
}

/* ---- NAV: sticky on its own ---- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: var(--lp-border);
    max-width: 100%;
    padding: 0 40px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.landing-logo h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-slate-900);
    letter-spacing: -0.02em;
    margin: 0;
}

.btn-admin-login {
    background: transparent;
    border: 1px solid var(--lp-slate-200);
    color: var(--lp-slate-800);
    padding: 7px 18px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--lp-font);
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: border-color 0.15s, background 0.15s;
}

.btn-admin-login:hover {
    border-color: var(--lp-slate-500);
    background: var(--lp-slate-50);
}

/* ---- HERO: compact, dark, scrolls normally ---- */
.hero {
    background: var(--lp-slate-900);
    padding: 64px 40px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Ensure it's not inside a sticky/fixed context */
    max-width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(74,136,98,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-green-500);
    background: rgba(74,136,98,0.12);
    border: 1px solid rgba(74,136,98,0.28);
    padding: 5px 12px;
    border-radius: 3px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--lp-white);
    margin: 0 auto 20px;
    max-width: 760px;
    position: relative;
}

.hero h1 em {
    font-style: normal;
    color: var(--lp-green-500);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--lp-slate-300);
    line-height: 1.65;
    max-width: 540px;
    margin: 0 auto 40px;
    font-weight: 400;
    position: relative;
}

.hero-cta {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-primary-large {
    background: var(--lp-green-600);
    color: var(--lp-white);
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--lp-font);
    border: 1px solid var(--lp-green-700);
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: background 0.15s, transform 0.1s;
}

.btn-primary-large:hover {
    background: var(--lp-green-700);
    transform: translateY(-1px);
}

.btn-secondary-large {
    background: transparent;
    color: var(--lp-slate-300);
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--lp-font);
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.btn-secondary-large:hover {
    border-color: rgba(255,255,255,0.4);
    color: var(--lp-white);
}

/* ---- SECTION SHELL ---- */
.landing-section {
    padding: 72px 40px;
    background: var(--lp-white);
}

.section-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-green-600);
    margin-bottom: 14px;
    text-align: center;
}

.landing-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lp-slate-900);
    margin: 0 auto 14px;
    line-height: 1.15;
}

.section-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--lp-slate-500);
    max-width: 580px;
    margin: 0 auto 52px;
    line-height: 1.65;
}

/* ---- SAVINGS / COMPARISON ---- */
.savings-section {
    background: var(--lp-slate-50);
    border-top: var(--lp-border);
    border-bottom: var(--lp-border);
}

.comparison-grid {
    max-width: 920px;
    margin: 0 auto 52px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    gap: 20px;
}

.comparison-card {
    background: var(--lp-white);
    border: var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.comparison-card.renter-concierge {
    border-color: var(--lp-green-600);
}

.badge-savings {
    position: absolute;
    top: -11px;
    right: 18px;
    background: var(--lp-green-700);
    color: var(--lp-white);
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.comparison-card h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-slate-500);
    margin: 0 0 24px;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: var(--lp-border);
}

.cost-item span {
    font-size: 0.875rem;
    color: var(--lp-slate-500);
}

.cost-item strong {
    font-size: 0.9rem;
    color: var(--lp-slate-900);
    font-weight: 600;
}

.cost-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-top: 4px;
}

.cost-total span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--lp-slate-700);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cost-total.highlight strong {
    color: var(--lp-green-600);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.cost-total:not(.highlight) strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lp-slate-900);
    letter-spacing: -0.02em;
}

/* Stats row */
.savings-stats {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: var(--lp-border);
    border-radius: var(--lp-radius);
    background: var(--lp-white);
    overflow: hidden;
}

.savings-stats > div {
    padding: 28px 20px;
    text-align: center;
    border-right: var(--lp-border);
}

.savings-stats > div:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--lp-green-600);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--lp-slate-500);
    line-height: 1.5;
}

/* ---- FEATURES GRID ---- */
.features-section {
    background: var(--lp-white);
}

/* Landing feature cards — scoped so they don't affect renter grid cards */
.landing-page .features-grid {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
    gap: 1px;
    border: var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
    background: var(--lp-slate-200);
    /* Reset animation from renter grid */
    animation: none;
}

.landing-page .feature-card {
    background: var(--lp-white);
    padding: 32px 28px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    cursor: default;
    /* Reset renter hover transforms */
    transform: none !important;
    animation: none;
}

.landing-page .feature-card:hover {
    background: var(--lp-slate-50);
    transform: none !important;
    box-shadow: none;
    border-color: transparent;
}

.landing-page .feature-card::before {
    display: none;
}

.feature-icon {
    font-size: 1rem;
    margin-bottom: 14px;
    display: block;
    opacity: 0.45;
    filter: grayscale(0.3);
}

.landing-page .feature-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lp-slate-900);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.landing-page .feature-card p {
    font-size: 0.85rem;
    color: var(--lp-slate-500);
    line-height: 1.65;
    margin: 0;
}

/* ---- DEMO SECTION ---- */
.demo-section {
    background: var(--lp-slate-50);
    border-top: var(--lp-border);
    border-bottom: var(--lp-border);
}

.demo-container {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.demo-instructions h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--lp-slate-900);
    margin: 0 0 12px;
    line-height: 1.2;
}

.demo-instructions p {
    font-size: 0.875rem;
    color: var(--lp-slate-500);
    line-height: 1.65;
    margin: 0 0 24px;
}

.demo-instructions ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    border: var(--lp-border);
    border-radius: var(--lp-radius);
    overflow: hidden;
}

.demo-instructions li {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: var(--lp-slate-700);
    border-bottom: var(--lp-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-instructions li:last-child {
    border-bottom: none;
}

.demo-instructions li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lp-green-500);
    flex-shrink: 0;
}

.btn-demo {
    background: var(--lp-slate-900);
    color: var(--lp-white);
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--lp-font);
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
    transition: background 0.15s;
}

.btn-demo:hover {
    background: var(--lp-slate-700);
}

.demo-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(17,24,39,0.25);
    border: 6px solid var(--lp-slate-800);
}

/* ---- WHO IT'S FOR ---- */
.who-section {
    background: var(--lp-white);
}

.who-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    gap: 16px;
}

.who-card {
    border: var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 24px 20px;
    background: var(--lp-white);
    transition: border-color 0.15s;
}

.who-card:hover {
    border-color: var(--lp-green-500);
}

.who-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--lp-slate-900);
    letter-spacing: -0.01em;
    margin: 0 0 8px;
}

.who-card p {
    font-size: 0.82rem;
    color: var(--lp-slate-500);
    line-height: 1.6;
    margin: 0;
}

/* ---- CTA BAND ---- */
.cta-section {
    background: var(--lp-slate-900);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 72px 40px;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(74,136,98,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--lp-white) !important;
    position: relative;
}

.cta-section .section-subtitle {
    color: var(--lp-slate-300);
    position: relative;
}

.cta-section .btn-primary-large {
    position: relative;
}

.cta-note {
    font-size: 0.78rem;
    color: var(--lp-slate-500);
    margin-top: 14px;
    position: relative;
}

/* ---- FOOTER ---- */
.landing-footer {
    background: var(--lp-slate-900);
    color: var(--lp-white);
    padding: 0 40px;
    border-top: var(--lp-border-dark);
}

.footer-content {
    max-width: 1080px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
    border-bottom: var(--lp-border-dark);
}

.footer-brand h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 5px;
}

.footer-brand p {
    font-size: 0.8rem;
    color: var(--lp-slate-500);
    margin: 0;
    max-width: 240px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--lp-slate-500);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--lp-white);
}

.footer-bottom {
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 0;
    text-align: center;
    color: var(--lp-slate-500);
    font-size: 0.77rem;
}

/* ---- MODAL ---- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,24,39,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-sizing: border-box;
}

.modal.hidden {
    display: none !important;
}

.modal-content {
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #dce4ec;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(17,24,39,0.18);
}

.modal-header {
    padding: 24px 24px 18px;
    border-bottom: 1px solid #dce4ec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111827;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #5a6e82;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}

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

.modal-body {
    padding: 24px;
    color: #2d3f52;
    font-family: -apple-system, 'Segoe UI', Helvetica Neue, Arial, sans-serif;
}

/* Modal form groups — scoped to avoid breaking renter forms */
.modal-body .form-group {
    margin-bottom: 18px;
}

.modal-body .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d3f52;
    letter-spacing: 0.01em;
}

.modal-body .form-group input,
.modal-body .form-group select,
.modal-body .form-group textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #dce4ec;
    border-radius: 3px;
    font-size: 0.875rem;
    font-family: -apple-system, 'Segoe UI', Helvetica Neue, Arial, sans-serif;
    color: #111827;
    background: #ffffff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.modal-body .form-group input:focus,
.modal-body .form-group select:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: #4a8862;
    box-shadow: 0 0 0 3px rgba(74,136,98,0.1);
}

/* ID-level fallback — guarantees backdrop + centered card even if .modal
   gets overridden by another stylesheet or specificity conflict */
#requestAccessModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(17,24,39,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

#requestAccessModal.hidden {
    display: none !important;
}

#requestAccessModal > .modal-content {
    position: relative;
    z-index: 10001;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #dce4ec;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(17,24,39,0.18);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .landing-nav {
        padding: 0 20px;
    }

    .hero {
        padding: 52px 24px 48px;
    }

    .landing-section {
        padding: 56px 24px;
    }

    .cta-section {
        padding: 56px 24px;
    }

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

    .demo-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 300px;
    }

    .savings-stats {
        grid-template-columns: 1fr;
    }

    .savings-stats > div {
        border-right: none;
        border-bottom: var(--lp-border);
    }

    .savings-stats > div:last-child {
        border-bottom: none;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        gap: 14px;
    }

    .landing-footer {
        padding: 0 24px;
    }
}

/* ============================================
   UPGRADE PROMPTS (Admin Interface)
   ============================================ */

.upgrade-prompt {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.upgrade-icon {
    font-size: clamp(48px, 10vw, 72px);
    margin-bottom: 20px;
}

.upgrade-prompt h2 {
    font-size: clamp(22px, 4vw, 28px);
    margin-bottom: 15px;
    color: #2d3748;
}

.upgrade-description {
    font-size: clamp(14px, 2vw, 16px);
    color: #718096;
    margin-bottom: 30px;
}

.upgrade-benefits {
    background: #f7fafc;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.upgrade-benefits h3 {
    font-size: clamp(16px, 2.5vw, 18px);
    margin-bottom: 15px;
    color: #2d3748;
}

.upgrade-benefits ul {
    list-style: none;
    padding: 0;
}

.upgrade-benefits li {
    padding: 8px 0;
    font-size: clamp(13px, 2vw, 15px);
    color: #4a5568;
}

.upgrade-pricing {
    margin: 30px 0;
}

.upgrade-pricing .price {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 700;
    color: #4299e1;
}

.upgrade-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.upgrade-note {
    font-size: clamp(12px, 1.8vw, 14px);
    color: #718096;
    margin-top: 20px;
}

/* Nav Item Lock Indicators */
.nav-item.locked-feature {
    opacity: 0.6;
}

.nav-item .lock-icon {
    margin-left: auto;
    opacity: 0.5;
}

/* ==================== LOADING SPINNER ==================== */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color, #e2e8f0);
    border-top-color: var(--primary-color, #4F46E5);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface-color, #ffffff);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==================== ISSUE #36: INLINE ERROR MESSAGES ==================== */
.inline-error {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm, 6px);
    padding: 8px 12px;
    margin-top: 8px;
    font-size: 14px;
}

/* ==================== ISSUE #37: CHANGE NAME LINK ==================== */
.renter-greeting-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.change-name-link {
    font-size: 13px;
    color: var(--primary-color, #4F46E5);
    text-decoration: none;
    opacity: 0.8;
    cursor: pointer;
    white-space: nowrap;
}

.change-name-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ==================== ISSUE #38: FEEDBACK FORM ENHANCEMENTS ==================== */
.feedback-field {
    margin-bottom: 16px;
    text-align: left;
}

.feedback-label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary, #1e293b);
    font-size: 14px;
}

.feedback-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color, #d1d5db);
    border-radius: var(--radius-sm, 6px);
    font-size: 15px;
    background: var(--bg-color, #fff);
    color: var(--text-primary, #1e293b);
    appearance: auto;
}

.feedback-select:focus {
    outline: none;
    border-color: var(--primary-color, #4F46E5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.star-rating {
    display: flex;
    gap: 6px;
    font-size: 32px;
    cursor: pointer;
    user-select: none;
}

.star-rating .star {
    color: #d1d5db;
    transition: color 0.15s, transform 0.15s;
}

.star-rating .star:hover,
.star-rating .star.selected {
    color: #f59e0b;
    transform: scale(1.15);
}

.feedback-success {
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm, 6px);
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 14px;
}
