/* Homeowners Page Specific Styles */

/* Header Styles - Matching Homepage */
.homeowner-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #fbf9f7;
    width: 100%;
    max-width: 100%;
}

.homeowner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.homeowner-logo {
    height: 48px;
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    padding: 0.5rem;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
}

.mobile-nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: #1e293b;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-start {
    background: #1e293b;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.homeowner-main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Screenshots */
.screenshots {
    padding: 4rem 0;
    background: #f8fafc;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.screenshot-image {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.screenshot-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    max-width: 40vw;
    max-height: 50vh;
    animation: zoomIn 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1001;
    line-height: 1;
    text-align: center;
    font-family: Arial, sans-serif;
}

.close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Trust and Security Sections */
.trust-hero {
    background: #ffffff;
    color: #1e293b;
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
    border: 1px solid #f1f5f9;
}

.trust-hero h2 {
    color: #1e293b;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.trust-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 16px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-text strong {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.badge-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Modern Process Flow */
.how-it-works {
    margin: 4rem 0;
    text-align: center;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
    position: relative;
}

.step-icon::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #e5f3ff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    color: #1e40af;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.process-step p {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-arrow {
    font-size: 2rem;
    color: #3b82f6;
    font-weight: bold;
    flex-shrink: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e3eafc;
    box-shadow: 0 2px 8px rgba(26,115,232,0.08);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #1a73e8;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Legal Protection Section */
.legal-protection {
    background: #f8faff;
    padding: 2.5rem 2rem;
    margin: 2rem -1rem;
    border-radius: 16px;
    border: 1px solid #e3eafc;
}

.legal-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.legal-text ul {
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.legal-text li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.regulatory-info {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e3eafc;
}

.regulatory-info h4 {
    color: #1a73e8;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.small-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

/* FAQ Section */
.faq {
    margin: 3rem 0;
}

.faq-container {
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border: 1px solid #e3eafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(26,115,232,0.06);
}

.faq-item h3 {
    color: #1a73e8;
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
}

/* Enhanced CTA */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #f8faff 0%, #e3eafc 100%);
    padding: 3rem 2rem;
    margin: 2rem -1rem 0 -1rem;
    border-radius: 20px 20px 0 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #1a73e8;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #1a73e8;
    color: white;
}

.cta-primary:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

.cta-secondary {
    background: white;
    color: #1a73e8;
}

.cta-secondary:hover {
    background: #1a73e8;
    color: white;
    transform: translateY(-2px);
}

.cta-guarantee {
    background: #e8f5e8;
    color: #2d5a2d;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    display: inline-block;
    border: 1px solid #c3e6c3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homeowner-header {
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .homeowner-main {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 90vw;
        max-height: 70vh;
    }
    
    .close {
        top: 10px;
        right: 10px;
        font-size: 18px;
        width: 30px;
        height: 30px;
        line-height: 1;
        text-align: center;
        font-family: Arial, sans-serif;
    }
    
    .trust-badges {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .trust-hero h2 {
        font-size: 2rem;
    }
    
    .legal-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-height: 600px) {
    .modal-content {
        max-height: 65vh;
    }
}
