/* Demo Pages Styling */

/* Demo Login Container */
.demo-section {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(135deg, rgba(244, 241, 232, 0.5) 0%, rgba(232, 245, 232, 0.5) 100%);
}

.demo-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: var(--spacing-xl) 0;
}

.demo-login-card {
    background: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 100%;
    text-align: center;
}

.demo-login-card h1 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.demo-subtitle {
    color: #666;
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
}

.demo-login-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.form-group label {
    font-weight: var(--font-weight-medium);
    color: var(--oasis-deep-green);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(0, 166, 147, 0.2);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--oasis-teal);
    box-shadow: 0 0 0 3px rgba(0, 166, 147, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    min-height: 20px;
    text-align: left;
}

.demo-login-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: var(--spacing-sm);
}

/* Demos Gallery */
.demos-gallery {
    padding: var(--spacing-xl) 0;
}

.demos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.demos-header h1 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.demo-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 166, 147, 0.1);
}

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

.demo-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 166, 147, 0.1) 0%, rgba(2, 119, 189, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-card-placeholder {
    color: var(--oasis-teal);
    opacity: 0.5;
}

.demo-card-content {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.demo-card-content h3 {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--oasis-deep-green);
    margin-bottom: var(--spacing-sm);
}

.demo-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.demo-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 166, 147, 0.1) 0%, rgba(2, 119, 189, 0.1) 100%);
    color: var(--oasis-teal);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
}

/* HVAC Specific Styles */
.hvac-header {
    background: white;
}

.hvac-logo {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hvac-header-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.hvac-phone-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.hvac-hero {
    background: var(--gradient-hero);
}

.hvac-hero-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.hvac-trust-badges {
    display: flex;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: white;
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
}

.trust-badge svg {
    flex-shrink: 0;
}

/* Responsive Design for Demos */
@media (max-width: 768px) {
    .demo-login-card {
        padding: var(--spacing-xl);
        margin: 0 var(--spacing-md);
    }

    .demos-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }

    .demos-header h1 {
        font-size: 2rem;
    }

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

    .hvac-header-actions {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hvac-phone-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .hvac-trust-badges {
        gap: var(--spacing-md);
    }

    .trust-badge {
        font-size: 0.85rem;
    }

    .hvac-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hvac-hero-actions .cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .demo-section {
        padding-top: 80px;
    }

    .demo-login-card h1 {
        font-size: 1.5rem;
    }

    .demo-subtitle {
        font-size: 0.9rem;
    }

    .form-group input {
        padding: 12px 14px;
    }
}
