/* HOAPOST Landing Page - Blue and White Professional Design */
/* User-focused HOA community platform */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e40af;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 2px solid #3b82f6;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -0.02em;
}

.motto {
    font-size: 0.875rem;
    color: #3b82f6;
    font-weight: 500;
    font-style: italic;
}

.header-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn {
    color: #1e40af;
    border: 2px solid #3b82f6;
    background: transparent;
}

.login-btn:hover {
    background: #3b82f6;
    color: white;
}

.join-btn {
    background: #1e40af;
    color: white;
    border: 2px solid #1e40af;
}

.join-btn:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    word-spacing: 0.05em;
}

.hero-description {
    font-size: 1.25rem;
    color: #1e40af;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.hero-manager-info {
    margin-top: 2rem;
    text-align: center;
}

.manager-text {
    color: #64748b;
    font-size: 0.875rem;
    font-style: italic;
}

.manager-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.manager-link:hover {
    border-bottom-color: #1e40af;
}

.cta-primary {
    background: #1e40af;
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: 3px solid #1e40af;
}

.cta-primary:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
}

.cta-secondary {
    color: #1e40af;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    border: 3px solid #3b82f6;
    background: white;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: #3b82f6;
    color: white;
}

/* Values Section */
.values {
    padding: 4rem 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    border: 3px solid #bfdbfe;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.value-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    position: relative;
}

.privacy-icon::before {
    content: '';
    width: 40px;
    height: 30px;
    border: 4px solid white;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 15px;
}

.privacy-icon::after {
    content: '';
    width: 48px;
    height: 20px;
    background: white;
    border-radius: 0 0 8px 8px;
    position: absolute;
    bottom: 15px;
}

.connect-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    position: relative;
}

.connect-icon::before {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 15px;
}

.connect-icon::after {
    content: '';
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    right: 15px;
}

.engage-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    position: relative;
}

.engage-icon::before {
    content: '';
    width: 30px;
    height: 20px;
    background: white;
    border-radius: 15px 15px 0 15px;
    position: absolute;
    top: 20px;
    left: 25px;
}

.engage-icon::after {
    content: '';
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 1rem;
}

.value-card p {
    color: #1e40af;
    font-size: 1rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: #dbeafe;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 3rem;
}

.benefits-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #bfdbfe;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.2);
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #1e40af;
    line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
    padding: 4rem 0;
    background: #1e40af;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-large {
    background: white;
    color: #1e40af;
    padding: 1.25rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 3px solid white;
}

.cta-large:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 3rem 0 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-style: italic;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .benefits h2 {
        font-size: 2rem;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .values {
        padding: 2rem 0;
    }
    
    .benefits {
        padding: 2rem 0;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    color: #1e40af;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info p,
.contact-form p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.contact-info li {
    margin-bottom: 1rem;
    padding-left: 0;
    color: #475569;
    line-height: 1.6;
}

.contact-info strong {
    color: #1e40af;
    font-weight: 600;
}

.contact-note {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.contact-note p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}