/* Nextdoor-Style Landing Page CSS for Zoom America */

/* Hero Section with Background Image */
.nextdoor-hero {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5rem 0 3rem 0;
}

/* Default background - will be overridden by inline style */
.nextdoor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.nextdoor-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nextdoor-hero-signup {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.nextdoor-hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.nextdoor-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.nextdoor-social-btn:hover {
    background: #f8f9fa;
    border-color: #999;
    color: #333;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nextdoor-social-btn img,
.nextdoor-social-btn i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.nextdoor-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.nextdoor-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.nextdoor-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.nextdoor-form-group {
    margin-bottom: 1rem;
}

.nextdoor-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nextdoor-form-input:focus {
    outline: none;
    border-color: #5e5bed;
    box-shadow: 0 0 0 3px rgba(94, 91, 237, 0.1);
}

.nextdoor-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #5e5bed;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.nextdoor-submit-btn:hover {
    background: #4a47c7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 91, 237, 0.3);
}

.nextdoor-terms {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.nextdoor-terms a {
    color: #5e5bed;
    text-decoration: none;
}

.nextdoor-terms a:hover {
    text-decoration: underline;
}

.nextdoor-signin-link {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.nextdoor-signin-link a {
    color: #5e5bed;
    text-decoration: none;
    font-weight: 500;
}

.nextdoor-signin-link a:hover {
    text-decoration: underline;
}

/* Feature Cards Section */
.nextdoor-features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.nextdoor-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.nextdoor-feature-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nextdoor-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.nextdoor-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s ease;
}

.nextdoor-feature-card:hover::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
}

.nextdoor-feature-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.nextdoor-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.nextdoor-feature-description {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.95;
}

/* Join CTA Section */
.nextdoor-join-cta {
    background: linear-gradient(135deg, #5e5bed 0%, #7b78ff 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-top: 4rem;
}

.nextdoor-join-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.nextdoor-join-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.nextdoor-join-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #5e5bed;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nextdoor-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #4a47c7;
    text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nextdoor-hero {
        height: auto;
        min-height: 600px;
        padding: 3rem 0 2rem 0;
        margin: 0;
    }

    .nextdoor-hero-content {
        justify-content: center;
        padding: 0 1rem;
    }

    .nextdoor-hero-signup {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .nextdoor-hero-title {
        font-size: 1.5rem;
    }

    .nextdoor-features {
        padding: 0 1rem;
        margin: 2rem auto;
    }

    .nextdoor-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nextdoor-feature-card {
        height: 300px;
    }

    .nextdoor-feature-content {
        padding: 1.5rem;
    }

    .nextdoor-feature-title {
        font-size: 1.25rem;
    }

    .nextdoor-feature-description {
        font-size: 0.9rem;
    }

    .nextdoor-join-cta {
        padding: 3rem 1.5rem;
    }

    .nextdoor-join-cta h2 {
        font-size: 1.75rem;
    }

    .nextdoor-join-cta p {
        font-size: 1rem;
    }

    .nextdoor-join-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nextdoor-hero-signup {
        padding: 1.5rem 1rem;
    }

    .nextdoor-social-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .nextdoor-form-input {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .nextdoor-submit-btn {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .nextdoor-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nextdoor-hero {
        min-height: 650px;
        padding: 4rem 0 3rem 0;
    }
}

/* Facebook Login Button - Now Visible */
/* Facebook OAuth is configured and working properly */
