:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --danger-color: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --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);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Typography Scale - Desktop */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --line-height-tight: 1.25;
    --line-height-snug: 1.375;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.625;
    --line-height-loose: 2;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 0.75rem;   /* 12px */
    --space-lg: 1rem;      /* 16px */
    --space-xl: 1.25rem;   /* 20px */
    --space-2xl: 1.5rem;   /* 24px */
    --space-3xl: 2rem;     /* 32px */
    --space-4xl: 2.5rem;   /* 40px */
    --space-5xl: 3rem;     /* 48px */
    --space-6xl: 4rem;     /* 64px */
    --space-7xl: 5rem;     /* 80px */
    --space-8xl: 6rem;     /* 96px */
}

/* Login Modal Styles */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.login-modal-content {
    background: var(--white);
    padding: var(--space-4xl);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
}

.login-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.login-header h3 i {
    color: var(--primary-color);
}

.login-description {
    color: var(--gray-600);
    margin-bottom: var(--space-3xl);
    line-height: var(--line-height-relaxed);
}

.login-form .form-group {
    margin-bottom: var(--space-xl);
}

.login-form label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.login-form input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: var(--font-size-base);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.login-submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: var(--space-lg) var(--space-xl);
    border-radius: 8px;
    font-size: var(--font-size-lg);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.login-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.login-submit-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.demo-note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    text-align: center;
}

.login-error {
    background: #fee2e2;
    color: #dc2626;
    padding: var(--space-md);
    border-radius: 6px;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    margin-right: 0.5rem;
}

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

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .login-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links .login-link:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    background: var(--primary-dark);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 25%, 
        var(--gray-800) 50%,
        var(--primary-dark) 75%,
        var(--primary-color) 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    padding: 8rem 0 6rem;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-cta-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #f59e0b 100%);
    color: var(--gray-900);
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(245, 158, 11, 0.4),
        0 8px 32px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 32px rgba(245, 158, 11, 0.5),
        0 16px 48px rgba(245, 158, 11, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

/* Hero Dashboard Preview */
.hero-preview {
    margin-top: 4rem;
    text-align: center;
}

.preview-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 8px 32px rgba(37, 99, 235, 0.2);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 12px 40px rgba(37, 99, 235, 0.3);
}

.dashboard-preview {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px rgba(245, 158, 11, 0.6);
}

.play-button i {
    color: var(--gray-900);
    font-size: 24px;
    margin-left: 4px; /* Optical centering for play icon */
}

.preview-caption {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin: 0;
    font-weight: 500;
}

.hero-cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.25rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-trust {
    margin-bottom: 3rem;
    text-align: center;
}

.trust-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge i {
    color: var(--accent-color);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-detail {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: var(--white);
}

.demo h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.demo p {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.demo-controls {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.property-selector, .date-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.property-selector label, .date-selector label {
    font-weight: 600;
    color: var(--gray-700);
}

.property-selector select, .date-selector input {
    padding: 0.75rem;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 1rem;
    min-width: 200px;
}

.demo-button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    min-height: 44px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.demo-button:hover {
    background: #059669;
}

.results {
    max-width: 600px;
    margin: 0 auto;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
    font-size: 1.1rem;
}

.loading i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.forecast-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

.forecast-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.forecast-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.forecast-header span {
    color: var(--gray-500);
    font-size: 1rem;
}

.forecast-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--gray-50);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.metric-icon.occupancy {
    background: var(--primary-color);
}

.metric-icon.price {
    background: var(--secondary-color);
}

.metric-icon.confidence {
    background: var(--accent-color);
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
}

.metric-label {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.forecast-insights {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
}

.forecast-insights h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.forecast-insights ul {
    list-style: none;
}

.forecast-insights li {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.forecast-insights li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Property Management Styles */
.properties {
    padding: 6rem 0;
    background: #f8fafc;
}

.property-management {
    max-width: 1000px;
    margin: 0 auto;
}

.add-property-section, .properties-list-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.property-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select {
    padding: 0.75rem;
    min-height: 44px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    touch-action: manipulation;
    box-sizing: border-box;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Enhanced focus states for accessibility */
.form-group input:focus-visible, .form-group select:focus-visible,
.cta-button:focus-visible, .demo-button:focus-visible,
.add-property-btn:focus-visible, .action-btn:focus-visible,
.pricing-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.add-property-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    min-height: 44px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-property-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.add-property-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.property-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.property-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.property-id {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.property-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.action-btn {
    padding: 0.75rem 1rem;
    min-height: 44px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.action-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.action-btn.delete:hover {
    background: #fef2f2;
    border-color: #f87171;
    color: #dc2626;
}

.empty-state, .loading-state {
    text-align: center;
    padding: 3rem;
    color: var(--gray-600);
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.loading-state i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-state {
    text-align: center;
    padding: 2rem;
    color: var(--gray-600);
}

.error-state i {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.property-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 500;
}

.property-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.property-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.property-channel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* CSV Import Styles */
.import-options {
    margin-bottom: 1.5rem;
}

.import-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
}

.csv-import {
    background: #f8fafc;
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.csv-import input[type="file"] {
    margin: 1rem 0;
    padding: 0.75rem;
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    background: var(--white);
    cursor: pointer;
    touch-action: manipulation;
    width: 100%;
    box-sizing: border-box;
}

.csv-help {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

/* Daily Breakdown Styles */
.daily-breakdown {
    margin-bottom: 2rem;
}

.daily-breakdown h4 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.daily-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

.daily-item.weekend {
    border-color: var(--accent-color);
    background: #fffbeb;
}

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

.daily-date {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.daily-date strong {
    color: var(--gray-900);
    font-size: 1rem;
}

.daily-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.daily-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.daily-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.daily-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    font-weight: 500;
}

/* Competitive Advantage Section */
.competitive-advantage {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.competitive-advantage h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-table {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--gray-900);
    color: var(--white);
    font-weight: 700;
}

.comparison-header > div {
    padding: 1.5rem 1rem;
    text-align: center;
}

.comparison-header .comparison-feature {
    text-align: left;
}

.comparison-header .price {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-top: 0.25rem;
}

.comparison-us .price {
    color: var(--accent-color) !important;
    font-weight: 700;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row > div {
    padding: 1.25rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comparison-feature {
    font-weight: 600;
    color: var(--gray-800);
    text-align: left !important;
    justify-content: flex-start !important;
}

.comparison-competitor {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.comparison-us {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--gray-900);
    font-weight: 600;
    border-left: 3px solid var(--accent-color);
}

/* Mobile responsive styles for comparison table */
@media (max-width: 768px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        font-size: 0.85rem;
    }
    
    .comparison-header > div,
    .comparison-row > div {
        padding: 1rem 0.5rem;
    }
    
    .comparison-table {
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
}

@media (max-width: 640px) {
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comparison-header .comparison-feature {
        text-align: center !important;
        justify-content: center !important;
    }
    
    .comparison-row .comparison-feature {
        text-align: center !important;
        justify-content: center !important;
        font-weight: 700;
        background: var(--gray-50);
        border-bottom: 1px solid var(--gray-300);
    }
    
    .comparison-header {
        display: none;
    }
    
    .comparison-row {
        margin-bottom: 2rem;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid var(--gray-200);
    }
    
    .comparison-row > div {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .comparison-row > div:last-child {
        border-bottom: none;
    }
}

/* CTA Modals */
.signup-modal,
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.signup-modal-content,
.demo-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.signup-header,
.demo-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.signup-header h3,
.demo-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.signup-body,
.demo-body {
    padding: 2rem;
}

.signup-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    text-align: center;
}

.signup-form .form-group {
    margin-bottom: 1.5rem;
}

.signup-form label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signup-benefits {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.signup-benefits .benefit {
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.signup-benefits .benefit:last-child {
    margin-bottom: 0;
}

.signup-submit-btn,
.schedule-submit-btn {
    width: 100%;
    background: var(--accent-color);
    color: var(--gray-900);
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.signup-submit-btn:hover,
.schedule-submit-btn:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.signup-disclaimer {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.5;
}

.signup-disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
}

.signup-disclaimer a:hover {
    text-decoration: underline;
}

.signup-success,
.schedule-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.signup-success h3,
.schedule-success h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.signup-success p,
.schedule-success p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1rem;
}

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

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

.secondary-btn {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.secondary-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.setup-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* Demo Modal Specific Styles */
.demo-video-placeholder {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px dashed var(--gray-300);
}

.video-thumbnail {
    color: var(--gray-600);
}

.video-thumbnail i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-thumbnail h4 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

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

.demo-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.demo-feature i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.demo-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.demo-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
    font-style: italic;
}

/* Schedule Form Styles */
.schedule-content {
    padding: 0;
}

.schedule-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.schedule-form {
    padding: 2rem;
}

.schedule-form .form-group {
    margin-bottom: 1.5rem;
}

.schedule-form label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.schedule-form input,
.schedule-form select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.schedule-form input:focus,
.schedule-form select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Mobile responsiveness for modals */
@media (max-width: 640px) {
    .signup-modal,
    .demo-modal {
        padding: 0.5rem;
    }
    
    .signup-modal-content,
    .demo-modal-content {
        margin: 0;
        border-radius: 12px;
    }
    
    .signup-header,
    .demo-header,
    .schedule-header {
        padding: 1.5rem;
    }
    
    .signup-body,
    .demo-body,
    .schedule-form {
        padding: 1.5rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    .demo-actions {
        flex-direction: column;
    }
}

/* Social Proof Section */
.social-proof {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.social-proof h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.social-proof-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.testimonial {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info strong {
    color: var(--gray-900);
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.author-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.author-stats span {
    background: var(--gray-100);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: block;
}

.metric-note {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-style: italic;
}

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

.trust-logos h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

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

.logo-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-item span {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

/* Mobile responsiveness for social proof */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .author-stats {
        align-items: flex-start;
        align-self: stretch;
    }
    
    .success-metrics {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1.5rem 1rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .trust-badge {
        justify-content: center;
    }
}

/* Features */
.features {
    padding: 6rem 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

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

.feature-highlight {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    position: relative;
}

.feature-icon.event {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.feature-icon.automation {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #059669 100%);
}

.feature-icon.sheets {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.feature-icon.calendar {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.feature-icon.portfolio {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.feature-icon.lightning {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d97706 100%);
}

.feature-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--gray-900);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-metrics .metric {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.feature-benefits {
    list-style: none;
    margin-top: 1rem;
}

.feature-benefits li {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-benefits li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.feature code {
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Pricing */
.pricing {
    padding: 6rem 0;
    background: var(--white);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--gray-200);
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    display: flex;
    align-items: center;
}

.pricing-features i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
}

.pricing-button {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
}

.pricing-button.primary {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pricing-button:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Disclaimers Section */
.disclaimers {
    background: var(--gray-100);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-200);
}

.disclaimer-content h4 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
}

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

.disclaimer-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.disclaimer-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin: 0;
}

.disclaimer-item strong {
    color: var(--gray-900);
    font-weight: 600;
}

.disclaimer-note {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-note p {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin: 0;
    font-style: italic;
}

/* Mobile responsiveness for disclaimers */
@media (max-width: 768px) {
    .disclaimers {
        padding: 2rem 0;
    }
    
    .disclaimer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .disclaimer-item {
        padding: 1rem;
    }
    
    .disclaimer-note {
        padding: 1rem;
    }
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-brand i {
    margin-right: 0.5rem;
}

.footer-content p {
    margin-bottom: 2rem;
    color: var(--gray-400);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    min-height: 44px;
    min-width: 44px;
    gap: 4px;
    touch-action: manipulation;
    align-items: center;
    justify-content: center;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Large (max-width: 768px) - Tablets and Large Phones */
@media (max-width: 768px) {
    :root {
        /* Mobile Typography Scale - Tablet/Large Phone */
        --font-size-xs: 0.75rem;     /* 12px */
        --font-size-sm: 0.875rem;    /* 14px */
        --font-size-base: 1rem;      /* 16px */
        --font-size-lg: 1.125rem;    /* 18px */
        --font-size-xl: 1.25rem;     /* 20px */
        --font-size-2xl: 1.5rem;     /* 24px */
        --font-size-3xl: 1.75rem;    /* 28px */
        --font-size-4xl: 2rem;       /* 32px */
        --font-size-5xl: 2.5rem;     /* 40px */
        --font-size-6xl: 3rem;       /* 48px */
        
        /* Mobile Line Heights - Optimized for readability */
        --line-height-tight: 1.3;
        --line-height-snug: 1.4;
        --line-height-normal: 1.6;
        --line-height-relaxed: 1.7;
        
        /* Mobile Spacing - Reduced for smaller screens */
        --space-xs: 0.25rem;   /* 4px */
        --space-sm: 0.5rem;    /* 8px */
        --space-md: 0.75rem;   /* 12px */
        --space-lg: 1rem;      /* 16px */
        --space-xl: 1.25rem;   /* 20px */
        --space-2xl: 1.5rem;   /* 24px */
        --space-3xl: 2rem;     /* 32px */
        --space-4xl: 2.5rem;   /* 40px */
        --space-5xl: 3rem;     /* 48px */
        --space-6xl: 4rem;     /* 64px */
    }
    
    /* Base Typography Improvements */
    body {
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
    }
    
    /* Container and Layout */
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Mobile Navigation */
    .nav {
        padding: var(--space-lg);
        position: relative;
    }
    
    .nav-brand {
        font-size: var(--font-size-xl);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 var(--space-lg);
        z-index: 200;
    }
    
    .nav-links.active {
        max-height: 400px;
        padding: var(--space-lg);
    }
    
    .nav-links a {
        padding: var(--space-lg) 0;
        border-bottom: 1px solid var(--gray-100);
        text-align: center;
        width: 100%;
        font-size: var(--font-size-lg);
        line-height: var(--line-height-normal);
    }
    
    .nav-links .cta-button {
        margin-top: var(--space-lg);
        width: 100%;
        padding: var(--space-lg);
        min-height: 48px;
        font-size: var(--font-size-lg);
        line-height: var(--line-height-tight);
    }
    
    /* Mobile hamburger animation */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Mobile Hero Section */
    .hero {
        padding: var(--space-6xl) 0;
    }
    
    .hero-content h1 {
        font-size: var(--font-size-4xl);  /* 32px */
        line-height: var(--line-height-tight);
        margin-bottom: var(--space-xl);
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content p {
        font-size: var(--font-size-lg);  /* 18px */
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-3xl);
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-2xl);
        margin-top: var(--space-3xl);
    }
    
    .stat {
        padding: var(--space-lg);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);  /* 28px */
        line-height: var(--line-height-tight);
        margin-bottom: var(--space-sm);
    }
    
    .stat-label {
        font-size: var(--font-size-sm);  /* 14px */
        line-height: var(--line-height-normal);
    }
    
    /* Mobile Typography Hierarchy */
    h1 {
        font-size: var(--font-size-4xl);  /* 32px */
        line-height: var(--line-height-tight);
        margin-bottom: var(--space-xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);  /* 28px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);  /* 24px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-lg);
    }
    
    h4 {
        font-size: var(--font-size-xl);  /* 20px */
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-md);
    }
    
    h5, h6 {
        font-size: var(--font-size-lg);  /* 18px */
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-md);
    }
    
    p {
        font-size: var(--font-size-base);  /* 16px */
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-lg);
    }
    
    /* Mobile Demo Section */
    .demo {
        padding: var(--space-6xl) 0;
    }
    
    .demo h2 {
        font-size: var(--font-size-3xl);
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-lg);
        padding: 0 var(--space-lg);
    }
    
    .demo p {
        font-size: var(--font-size-lg);
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-3xl);
        padding: 0 var(--space-lg);
    }
    
    /* Mobile Demo Controls */
    .demo-controls {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xl);
        max-width: 100%;
        padding: 0 var(--space-lg);
    }
    
    .property-selector label, 
    .date-selector label {
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-sm);
    }
    
    .property-selector select, 
    .date-selector input {
        min-width: 100%;
        padding: var(--space-lg);
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
        border-radius: 8px;
    }
    
    .demo-button {
        padding: var(--space-lg) var(--space-3xl);
        min-height: 48px;
        font-size: var(--font-size-lg);
        line-height: var(--line-height-normal);
        margin-top: var(--space-sm);
        border-radius: 8px;
    }
    
    /* Mobile Section Spacing */
    .properties, .features, .pricing {
        padding: var(--space-6xl) 0;
    }
    
    .footer {
        padding: var(--space-5xl) 0;
    }
    
    /* Mobile Form System */
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .form-group {
        margin-bottom: var(--space-xl);
    }
    
    .form-group label {
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-sm);
        font-weight: 600;
    }
    
    .form-group input,
    .form-group select {
        padding: var(--space-lg);
        min-height: 48px;
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
        border-radius: 8px;
        width: 100%;
    }
    
    .input-help {
        font-size: var(--font-size-sm);
        line-height: var(--line-height-relaxed);
        margin-top: var(--space-sm);
    }
    
    /* Mobile Button Typography */
    .add-property-btn, 
    .cta-button, 
    .demo-button, 
    .pricing-button {
        padding: var(--space-lg) var(--space-2xl);
        min-height: 48px;
        font-size: var(--font-size-base);
        line-height: var(--line-height-normal);
        font-weight: 600;
        border-radius: 8px;
        touch-action: manipulation;
    }
    
    .action-btn {
        padding: var(--space-md) var(--space-lg);
        min-height: 44px;
        font-size: var(--font-size-sm);
        line-height: var(--line-height-normal);
        border-radius: 6px;
    }
    
    /* Mobile Property Grid and Cards */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-card {
        padding: 1.25rem;
        margin-bottom: 0.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .property-card:hover {
        transform: none; /* Disable hover effects on mobile */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .property-header {
        margin-bottom: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .property-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }
    
    .property-id {
        font-size: 0.8rem;
        opacity: 0.8;
    }
    
    .property-details {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .property-detail {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        background: var(--gray-50);
        border-radius: 6px;
        border: 1px solid var(--gray-200);
    }
    
    .property-channel {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        background: var(--gray-50);
        border-radius: 6px;
        border: 1px solid var(--gray-200);
        align-self: flex-start;
    }
    
    .property-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    
    .action-btn {
        width: 100%;
        padding: 0.875rem 1rem;
        min-height: 48px;
        font-size: 0.9rem;
        border-radius: 8px;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .action-btn:first-child {
        background: var(--primary-color);
        color: var(--white);
        border-color: var(--primary-color);
    }
    
    .action-btn:first-child:hover {
        background: var(--primary-dark);
    }
    
    /* Mobile Empty States */
    .empty-state, .loading-state {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .empty-state i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .empty-state h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .empty-state p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .loading-state i {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Property Management Sections */
    .add-property-section, 
    .properties-list-section,
    .calendar-sync-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .add-property-section h3,
    .properties-list-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Calendar Sync Cards */
    .sync-setup-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .sync-instructions {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 8px;
    }
    
    .platform-guide {
        margin-bottom: 1.5rem;
    }
    
    .platform-guide:last-child {
        margin-bottom: 0;
    }
    
    .platform-guide strong {
        display: block;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .platform-guide ol {
        padding-left: 1.25rem;
    }
    
    .platform-guide li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }
    
    .sync-form {
        gap: 1.25rem;
    }
    
    .add-sync-btn {
        width: 100%;
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
    }
    
    /* Mobile Automation Cards */
    .automations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .automation-card {
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .automation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .automation-platform {
        font-size: 0.9rem;
    }
    
    .automation-status {
        align-self: flex-start;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .automation-details p {
        font-size: 0.85rem;
        margin: 0.4rem 0;
    }
    
    .automation-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .automation-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        min-height: 44px;
        font-size: 0.85rem;
        border-radius: 6px;
        justify-content: center;
    }
    
    /* Mobile Forecast Card */
    .forecast-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 12px;
    }
    
    .forecast-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .metric-value {
        font-size: 1.6rem;
    }
    
    .forecast-insights {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .forecast-insights li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    /* Mobile CSV Import */
    .csv-import {
        padding: 1.25rem;
        border-radius: 8px;
    }
    
    .csv-help {
        font-size: 0.8rem;
        line-height: 1.4;
        margin: 0.75rem 0;
    }
    
    #process-csv-btn {
        width: 100%;
        margin-top: 1rem;
    }
    
    /* Mobile Property Messages */
    .property-message {
        padding: 1rem;
        margin: 1rem 0;
        border-radius: 8px;
        font-size: 0.9rem;
    }
    
    /* Form Groups Mobile Enhancement */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .input-help {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-top: 0.4rem;
    }
    
    .form-group small {
        margin-top: 0.5rem;
        font-size: 0.875rem;
        line-height: 1.4;
    }
    
    .platform-instructions {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile Property Cards */
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .property-card {
        padding: 1.25rem;
    }
    
    .property-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-btn {
        padding: 0.875rem 1rem;
        min-height: 48px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    /* Mobile Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 1rem;
    }
    
    /* Mobile Section Padding */
    .demo, .properties, .features, .pricing {
        padding: 4rem 0;
    }
    
    /* Mobile Typography */
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Mobile Forecast Card */
    .forecast-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .forecast-metrics {
        gap: 1rem;
    }
    
    .metric {
        padding: 0.75rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    /* Mobile Calendar Sync */
    .sync-setup-card, .pricing-setup-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .platform-guide {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 8px;
    }
    
    .platform-guide ol {
        margin: 0.75rem 0;
        padding-left: 1.25rem;
    }
    
    .platform-guide li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }
    
    .sync-instructions {
        padding: 1rem;
    }
    
    /* Mobile Range Input */
    .range-group {
        margin: 1rem 0;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 8px;
    }
    
    .range-group input[type="range"] {
        margin: 1rem 0;
    }
    
    #buffer-display {
        font-size: 1.1rem;
        padding: 0.25rem 0.75rem;
        background: var(--primary-color);
        color: white;
        border-radius: 4px;
        min-width: 50px;
        text-align: center;
    }
    
    .pricing-actions {
        flex-direction: column;
        gap: 1.25rem;
        margin-top: 2rem;
    }
    
    .sync-form, .pricing-form {
        gap: 1.5rem;
    }
    
    .import-toggle {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
        background: var(--gray-50);
    }
    
    .import-toggle input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
        margin-right: 0.75rem;
    }
    
    .pricing-btn {
        padding: 1rem;
        min-height: 48px;
        font-size: 1rem;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    /* Mobile Footer */
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Enhanced Mobile Modal Responsiveness */
@media (max-width: 768px) {
    .pricing-preview {
        padding: 1rem;
        align-items: flex-start;
    }
    
    .preview-content {
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 8px 8px 0 0;
    }
    
    .preview-header {
        padding: 1rem;
        position: sticky;
        top: 0;
        background: white;
        z-index: 1;
    }
    
    .preview-actions {
        padding: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid var(--gray-200);
    }
    
    .preview-actions button {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Mobile Medium (max-width: 480px) - Standard Phones */
@media (max-width: 480px) {
    :root {
        /* Mobile Typography Scale - Standard Phone */
        --font-size-xs: 0.7rem;      /* 11px */
        --font-size-sm: 0.8rem;      /* 13px */
        --font-size-base: 0.9rem;    /* 14px */
        --font-size-lg: 1rem;        /* 16px */
        --font-size-xl: 1.125rem;    /* 18px */
        --font-size-2xl: 1.25rem;    /* 20px */
        --font-size-3xl: 1.5rem;     /* 24px */
        --font-size-4xl: 1.75rem;    /* 28px */
        --font-size-5xl: 2.25rem;    /* 36px */
        --font-size-6xl: 2.5rem;     /* 40px */
        
        /* Mobile Line Heights - Tighter for smaller screens */
        --line-height-tight: 1.25;
        --line-height-snug: 1.35;
        --line-height-normal: 1.5;
        --line-height-relaxed: 1.65;
        
        /* Tighter Mobile Spacing */
        --space-xs: 0.25rem;   /* 4px */
        --space-sm: 0.5rem;    /* 8px */
        --space-md: 0.625rem;  /* 10px */
        --space-lg: 0.875rem;  /* 14px */
        --space-xl: 1rem;      /* 16px */
        --space-2xl: 1.25rem;  /* 20px */
        --space-3xl: 1.75rem;  /* 28px */
        --space-4xl: 2.25rem;  /* 36px */
        --space-5xl: 2.75rem;  /* 44px */
        --space-6xl: 3.5rem;   /* 56px */
    }
    
    /* Container and Layout */
    .container {
        padding: 0 var(--space-lg);
    }
    
    /* Typography Hierarchy */
    .hero-content h1 {
        font-size: var(--font-size-4xl);  /* 28px */
        line-height: var(--line-height-tight);
        margin-bottom: var(--space-lg);
    }
    
    .hero-content p {
        font-size: var(--font-size-lg);  /* 16px */
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-3xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);  /* 24px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);  /* 20px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-lg);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);  /* 24px */
        line-height: var(--line-height-tight);
    }
    
    /* Cards and Components */
    .forecast-card {
        margin: 0 var(--space-sm);
        padding: var(--space-xl);
        border-radius: 10px;
    }
    
    .metric-value {
        font-size: var(--font-size-2xl);  /* 20px */
        line-height: var(--line-height-tight);
    }
    
    .metric-label {
        font-size: var(--font-size-xs);  /* 11px */
        line-height: var(--line-height-normal);
    }
    
    /* Property Cards and Forms */
    .property-card {
        padding: var(--space-xl);
        margin-bottom: var(--space-lg);
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
    
    .property-header {
        margin-bottom: var(--space-xl);
        gap: var(--space-sm);
    }
    
    .property-title {
        font-size: var(--font-size-lg);  /* 16px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-xs);
    }
    
    .property-id {
        font-size: var(--font-size-xs);  /* 11px */
        line-height: var(--line-height-normal);
        opacity: 0.75;
    }
    
    .property-details {
        gap: var(--space-sm);
        margin-bottom: var(--space-xl);
        flex-wrap: wrap;
    }
    
    .property-detail {
        font-size: var(--font-size-xs);  /* 11px */
        line-height: var(--line-height-normal);
        padding: var(--space-xs) var(--space-sm);
        border-radius: 4px;
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
    }
    
    .property-channel {
        font-size: var(--font-size-xs);  /* 11px */
        line-height: var(--line-height-normal);
        padding: var(--space-xs) var(--space-sm);
        margin-bottom: var(--space-lg);
    }
    
    .property-actions {
        gap: var(--space-md);
        margin-top: var(--space-xl);
        flex-direction: column;
    }
    
    .action-btn {
        padding: var(--space-md) var(--space-lg);
        min-height: 44px;
        font-size: var(--font-size-sm);  /* 13px */
        line-height: var(--line-height-normal);
        border-radius: 6px;
        width: 100%;
    }
    
    /* Forms and Inputs */
    .form-group {
        margin-bottom: var(--space-xl);
    }
    
    .form-group label {
        font-size: var(--font-size-sm);  /* 13px */
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-sm);
    }
    
    .form-group input,
    .form-group select {
        padding: var(--space-lg);
        min-height: 44px;
        font-size: var(--font-size-base);  /* 14px */
        line-height: var(--line-height-normal);
        border-radius: 8px;
    }
    
    .input-help {
        font-size: var(--font-size-xs);  /* 11px */
        line-height: var(--line-height-relaxed);
        margin-top: var(--space-xs);
    }
    
    /* Buttons */
    .add-property-btn, 
    .demo-button, 
    .cta-button {
        padding: var(--space-lg) var(--space-2xl);
        min-height: 44px;
        font-size: var(--font-size-base);  /* 14px */
        line-height: var(--line-height-normal);
        border-radius: 8px;
    }
    
    /* Section Spacing */
    .demo, .properties, .features, .pricing {
        padding: var(--space-6xl) 0;
    }
    
    .hero {
        padding: var(--space-5xl) 0;
    }
    
    /* Enhanced Empty and Loading States */
    .empty-state, .loading-state {
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .empty-state i {
        font-size: var(--font-size-3xl);  /* 24px */
        margin-bottom: var(--space-lg);
    }
    
    .empty-state h4 {
        font-size: var(--font-size-lg);  /* 16px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-sm);
    }
    
    .empty-state p {
        font-size: var(--font-size-sm);  /* 13px */
        line-height: var(--line-height-relaxed);
    }
    
    /* Enhanced Property Management Sections */
    .add-property-section, 
    .properties-list-section,
    .calendar-sync-section {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }
    
    .add-property-section h3,
    .properties-list-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    /* Enhanced Calendar Sync for Small Mobile */
    .sync-setup-card {
        padding: 1.25rem;
        border-radius: 10px;
    }
    
    .sync-instructions {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 6px;
    }
    
    .platform-guide strong {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .platform-guide li {
        font-size: 0.8rem;
        line-height: 1.35;
        margin-bottom: 0.3rem;
    }
    
    .add-sync-btn {
        padding: 0.9rem;
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    /* Enhanced Automation Cards for Small Mobile */
    .automation-card {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .automation-header {
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }
    
    .automation-platform {
        font-size: 0.85rem;
    }
    
    .automation-status {
        padding: 0.25rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .automation-details p {
        font-size: 0.8rem;
        margin: 0.3rem 0;
    }
    
    .automation-actions {
        gap: 0.6rem;
    }
    
    .automation-btn {
        padding: 0.7rem 0.9rem;
        min-height: 42px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    /* Enhanced Forecast Card for Small Mobile */
    .forecast-card {
        padding: 1.25rem;
        margin: 0 0.25rem;
        border-radius: 10px;
    }
    
    .forecast-header h3 {
        font-size: 1.2rem;
    }
    
    .forecast-header span {
        font-size: 0.9rem;
    }
    
    .metric {
        padding: 0.875rem;
        border-radius: 8px;
    }
    
    .metric-value {
        font-size: 1.4rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .forecast-insights {
        padding: 1rem;
        border-radius: 8px;
    }
    
    .forecast-insights h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .forecast-insights li {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }
    
    /* Enhanced Form Elements for Small Mobile */
    .form-group {
        margin-bottom: 0.875rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.875rem;
        min-height: 44px;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .input-help {
        font-size: 0.75rem;
        margin-top: 0.35rem;
    }
    
    .add-property-btn {
        padding: 0.9rem 1.5rem;
        min-height: 44px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    /* Enhanced Property Messages for Small Mobile */
    .property-message {
        padding: 0.875rem;
        margin: 0.75rem 0;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    /* Enhanced CSV Import for Small Mobile */
    .csv-import {
        padding: 1rem;
        border-radius: 6px;
    }
    
    .csv-help {
        font-size: 0.75rem;
        margin: 0.6rem 0;
    }
    
    #process-csv-btn {
        padding: 0.9rem;
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    .feature {
        padding: 1.25rem;
    }
    
    .pricing-card {
        padding: var(--space-2xl);
        border-radius: 10px;
    }
}

/* Mobile Small (max-width: 320px) - Very Small Phones */
@media (max-width: 320px) {
    :root {
        /* Mobile Typography Scale - Very Small Phone */
        --font-size-xs: 0.625rem;    /* 10px */
        --font-size-sm: 0.75rem;     /* 12px */
        --font-size-base: 0.875rem;  /* 14px */
        --font-size-lg: 0.95rem;     /* 15px */
        --font-size-xl: 1rem;        /* 16px */
        --font-size-2xl: 1.125rem;   /* 18px */
        --font-size-3xl: 1.375rem;   /* 22px */
        --font-size-4xl: 1.5rem;     /* 24px */
        --font-size-5xl: 2rem;       /* 32px */
        --font-size-6xl: 2.25rem;    /* 36px */
        
        /* Very Tight Line Heights for Small Screens */
        --line-height-tight: 1.2;
        --line-height-snug: 1.3;
        --line-height-normal: 1.45;
        --line-height-relaxed: 1.6;
        
        /* Minimal Spacing for Very Small Screens */
        --space-xs: 0.25rem;   /* 4px */
        --space-sm: 0.375rem;  /* 6px */
        --space-md: 0.5rem;    /* 8px */
        --space-lg: 0.75rem;   /* 12px */
        --space-xl: 0.875rem;  /* 14px */
        --space-2xl: 1rem;     /* 16px */
        --space-3xl: 1.5rem;   /* 24px */
        --space-4xl: 2rem;     /* 32px */
        --space-5xl: 2.5rem;   /* 40px */
        --space-6xl: 3rem;     /* 48px */
    }
    
    /* Very Compact Layout */
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Ultra-Compact Typography */
    .hero-content h1 {
        font-size: var(--font-size-4xl);  /* 24px */
        line-height: var(--line-height-tight);
        margin-bottom: var(--space-lg);
    }
    
    .hero-content p {
        font-size: var(--font-size-base);  /* 14px */
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-3xl);
        max-width: 95%;
    }
    
    h2 {
        font-size: var(--font-size-3xl);  /* 22px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-lg);
    }
    
    h3 {
        font-size: var(--font-size-xl);  /* 16px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-md);
    }
    
    p {
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-relaxed);
        margin-bottom: var(--space-lg);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);  /* 22px */
        line-height: var(--line-height-tight);
    }
    
    .stat-label {
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-normal);
    }
    
    /* Ultra-Compact Cards and Components */
    .forecast-card {
        margin: 0 var(--space-xs);
        padding: var(--space-lg);
        border-radius: 8px;
    }
    
    .forecast-header h3 {
        font-size: var(--font-size-xl);  /* 16px */
        line-height: var(--line-height-snug);
    }
    
    .forecast-header span {
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-normal);
    }
    
    .metric {
        padding: var(--space-md);
        border-radius: 6px;
    }
    
    .metric-value {
        font-size: var(--font-size-xl);  /* 16px */
        line-height: var(--line-height-tight);
    }
    
    .metric-label {
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-normal);
    }
    
    /* Ultra-Compact Property Cards */
    .property-card {
        padding: var(--space-lg);
        margin-bottom: var(--space-md);
        border-radius: 8px;
    }
    
    .property-header {
        margin-bottom: var(--space-lg);
        gap: var(--space-xs);
    }
    
    .property-title {
        font-size: var(--font-size-base);  /* 14px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-xs);
    }
    
    .property-id {
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-normal);
    }
    
    .property-detail,
    .property-channel {
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-normal);
        padding: var(--space-xs) var(--space-sm);
    }
    
    /* Ultra-Compact Forms */
    .form-group {
        margin-bottom: var(--space-lg);
    }
    
    .form-group label {
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-normal);
        margin-bottom: var(--space-xs);
    }
    
    .form-group input,
    .form-group select {
        padding: var(--space-md);
        min-height: 40px;
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-normal);
        border-radius: 6px;
    }
    
    .input-help {
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-relaxed);
        margin-top: var(--space-xs);
    }
    
    /* Ultra-Compact Buttons */
    .add-property-btn, 
    .demo-button, 
    .cta-button {
        padding: var(--space-md) var(--space-lg);
        min-height: 40px;
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-normal);
        border-radius: 6px;
    }
    
    .action-btn {
        padding: var(--space-sm) var(--space-md);
        min-height: 40px;
        font-size: var(--font-size-xs);  /* 10px */
        line-height: var(--line-height-normal);
        border-radius: 4px;
    }
    
    /* Ultra-Compact Section Spacing */
    .hero {
        padding: var(--space-4xl) 0;
    }
    
    .demo, .properties, .features, .pricing {
        padding: var(--space-5xl) 0;
    }
    
    .footer {
        padding: var(--space-4xl) 0;
    }
    
    /* Ultra-Compact Navigation */
    .nav {
        padding: var(--space-md);
    }
    
    .nav-brand {
        font-size: var(--font-size-lg);  /* 15px */
    }
    
    .nav-links a {
        font-size: var(--font-size-base);  /* 14px */
        padding: var(--space-md) 0;
    }
    
    /* Ultra-Compact Empty States */
    .empty-state, .loading-state {
        padding: var(--space-xl) var(--space-sm);
    }
    
    .empty-state i {
        font-size: var(--font-size-3xl);  /* 22px */
        margin-bottom: var(--space-md);
    }
    
    .empty-state h4 {
        font-size: var(--font-size-base);  /* 14px */
        line-height: var(--line-height-snug);
        margin-bottom: var(--space-xs);
    }
    
    .empty-state p {
        font-size: var(--font-size-sm);  /* 12px */
        line-height: var(--line-height-relaxed);
    }
}

/* Calendar Sync Styles */
.calendar-sync-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.calendar-sync-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.sync-setup-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #dee2e6;
}

.sync-instructions {
    background: #e7f3ff;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #007bff;
}

.platform-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.platform-guide {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.platform-guide strong {
    color: #495057;
    display: block;
    margin-bottom: 0.5rem;
}

.platform-guide ol {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
}

.platform-guide li {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.sync-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.add-sync-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-sync-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-sync-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.active-syncs-section {
    margin-top: 2rem;
}

.active-syncs-section h4 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.syncs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.sync-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sync-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sync-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sync-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-name {
    font-weight: 600;
    color: #495057;
}

.sync-status {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-success {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
}

.remove-sync-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-sync-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.sync-details {
    margin-bottom: 1rem;
}

.sync-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.error-text {
    color: #dc3545 !important;
    font-weight: 500;
}

.sync-actions {
    display: flex;
    gap: 0.5rem;
}

.sync-now-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.sync-now-btn:hover {
    background: #218838;
}

.sync-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#sync-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
}

#sync-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#sync-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#sync-message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Automated Pricing Sync Styles */
.pricing-automation-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-automation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.pricing-automation-section > * {
    position: relative;
    z-index: 2;
}

.pricing-automation-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border-left: 4px solid #ffd700;
}

.pricing-setup-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #495057;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #333;
}

.feature-highlight i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #7c3aed;
}

.feature-highlight strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pricing-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pricing-form .form-group {
    display: flex;
    flex-direction: column;
}

.pricing-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.pricing-form select,
.pricing-form input[type="number"] {
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.pricing-form select:focus,
.pricing-form input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.range-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.range-group input[type="range"] {
    flex: 1;
    height: 8px;
    min-height: 44px;
    background: #e9ecef;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    touch-action: manipulation;
    padding: 18px 0;
    box-sizing: border-box;
}

.range-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
}

#buffer-display {
    font-weight: 600;
    color: #667eea;
    min-width: 35px;
}

.pricing-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.pricing-btn {
    padding: 0.875rem 1.5rem;
    min-height: 44px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    touch-action: manipulation;
    box-sizing: border-box;
}

.pricing-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pricing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.pricing-btn.secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.pricing-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.pricing-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.preview-content {
    background: white;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.preview-header h4 {
    margin: 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.75rem;
    min-width: 44px;
    min-height: 44px;
    line-height: 1;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.close-btn:hover {
    color: #495057;
    background: var(--gray-100);
}

.preview-data {
    padding: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.preview-actions {
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.active-pricing-section {
    margin-top: 2rem;
}

.active-pricing-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.automations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1rem;
}

.automation-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1.5rem;
    color: #495057;
    transition: all 0.3s ease;
}

.automation-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.automation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.automation-platform {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.automation-status {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.automation-status.active {
    background: #d4edda;
    color: #155724;
}

.automation-status.paused {
    background: #fff3cd;
    color: #856404;
}

.automation-details {
    margin-bottom: 1rem;
}

.automation-details p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.automation-actions {
    display: flex;
    gap: 0.5rem;
}

.automation-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.automation-btn.preview {
    background: #17a2b8;
    color: white;
}

.automation-btn.preview:hover {
    background: #138496;
}

.automation-btn.remove {
    background: #dc3545;
    color: white;
}

.automation-btn.remove:hover {
    background: #c82333;
}

#pricing-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-weight: 500;
}

#pricing-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

#pricing-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

#pricing-message.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Comprehensive Mobile Modal System */
.pricing-preview {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.preview-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

/* Mobile Modal Enhancements */
@media (max-width: 768px) {
    .pricing-preview {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 2rem;
    }
    
    .preview-content {
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        border-radius: 12px 12px 0 0;
        position: relative;
        animation: slideUpMobile 0.3s ease-out;
    }
    
    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
    
    .preview-header {
        padding: 1rem 1rem 0.75rem 1rem;
        position: sticky;
        top: 0;
        background: white;
        z-index: 2;
        border-radius: 12px 12px 0 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .preview-header h4 {
        font-size: 1.125rem;
        font-weight: 600;
        margin: 0;
        color: var(--gray-900);
    }
    
    .close-btn {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        background: var(--gray-100);
        border: none;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 1.25rem;
        color: var(--gray-600);
        z-index: 3;
    }
    
    .close-btn:hover,
    .close-btn:focus {
        background: var(--gray-200);
        color: var(--gray-800);
        transform: scale(1.1);
    }
    
    .preview-data {
        padding: 1rem;
        overflow-y: auto;
        flex: 1;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Mobile-optimized content within modal */
    .preview-summary {
        margin-bottom: 1.5rem;
    }
    
    .preview-summary h5 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--gray-900);
    }
    
    .summary-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1rem 0;
    }
    
    .summary-stats .stat {
        text-align: center;
        padding: 0.875rem 0.5rem;
        background: var(--gray-50);
        border-radius: 8px;
        border: 1px solid var(--gray-200);
    }
    
    .summary-stats .stat strong {
        font-size: 1.125rem;
        font-weight: 700;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .summary-stats .stat span {
        font-size: 0.8rem;
        color: var(--gray-600);
        display: block;
    }
    
    /* Mobile change cards */
    .mobile-changes-list {
        margin-top: 1rem;
    }
    
    .change-card {
        background: white;
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 0.75rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        transition: all 0.2s ease;
    }
    
    .change-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }
    
    .platform-preview h6 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: var(--gray-900);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .preview-actions {
        padding: 1rem;
        gap: 0.75rem;
        flex-direction: column;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid var(--gray-200);
        border-radius: 0 0 12px 12px;
    }
    
    .preview-actions button {
        width: 100%;
        padding: 0.875rem 1rem;
        min-height: 44px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        touch-action: manipulation;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .preview-actions button:first-child {
        background: var(--primary-color);
        color: white;
    }
    
    .preview-actions button:first-child:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }
    
    .preview-actions button:last-child {
        background: var(--gray-100);
        color: var(--gray-700);
    }
    
    .preview-actions button:last-child:hover {
        background: var(--gray-200);
    }
}

/* Tablet Modal Adjustments (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .pricing-preview {
        padding: 1rem;
        align-items: center;
    }
    
    .preview-content {
        border-radius: 12px;
        max-height: 90vh;
    }
    
    .summary-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .summary-stats .stat {
        padding: 1rem 0.75rem;
    }
}

/* Phone Modal Adjustments (max-width: 480px) */
@media (max-width: 480px) {
    .pricing-preview {
        padding: 0;
        align-items: flex-end;
    }
    
    .preview-content {
        height: 95vh;
        max-height: none;
        border-radius: 16px 16px 0 0;
        margin: 0;
    }
    
    .preview-header {
        padding: 1rem;
        border-radius: 16px 16px 0 0;
    }
    
    .close-btn {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        font-size: 1.375rem;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .summary-stats .stat {
        padding: 0.75rem 0.5rem;
    }
    
    .summary-stats .stat strong {
        font-size: 1rem;
    }
    
    .summary-stats .stat span {
        font-size: 0.75rem;
    }
    
    .change-card {
        padding: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .platform-preview h6 {
        font-size: 0.9rem;
    }
    
    .preview-actions {
        padding: 0.875rem;
        gap: 0.5rem;
    }
    
    .preview-actions button {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

/* Very Small Phone Modal Adjustments (max-width: 320px) */
@media (max-width: 320px) {
    .preview-content {
        height: 98vh;
    }
    
    .preview-header {
        padding: 0.875rem;
    }
    
    .preview-header h4 {
        font-size: 1rem;
    }
    
    .close-btn {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }
    
    .preview-data {
        padding: 0.875rem;
    }
    
    .summary-stats .stat {
        padding: 0.625rem 0.375rem;
    }
    
    .summary-stats .stat strong {
        font-size: 0.9rem;
    }
    
    .summary-stats .stat span {
        font-size: 0.7rem;
    }
    
    .change-card {
        padding: 0.75rem;
    }
    
    .preview-actions {
        padding: 0.75rem;
    }
    
    .preview-actions button {
        padding: 0.75rem;
        font-size: 0.875rem;
        min-height: 40px;
    }
}

/* Modal Animation and Accessibility Enhancements */
.pricing-preview {
    transition: all 0.3s ease;
}

.pricing-preview.modal-entering {
    opacity: 0;
}

.pricing-preview.modal-entered {
    opacity: 1;
}

.pricing-preview.modal-exiting {
    opacity: 0;
}

/* Focus management for accessibility */
.preview-content:focus {
    outline: none;
}

.close-btn:focus-visible,
.preview-actions button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Table overflow handling on desktop */
.preview-data table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.preview-data .changes-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Calendar sync responsive adjustments */
@media (max-width: 768px) {
    .platform-instructions {
        grid-template-columns: 1fr;
    }
    
    .sync-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .syncs-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pricing-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .automations-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .automation-card {
        padding: 1.25rem;
    }
    
    .automation-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .automation-btn {
        width: 100%;
        padding: 0.75rem 1rem;
        min-height: 44px;
        font-size: 0.9rem;
        justify-content: center;
    }
}