/* Applications Page Styles */

.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto;
}

.application-section {
    padding: 100px 0;
}

.application-section.alt {
    background: var(--bg-light);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.app-grid.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.app-grid.reverse .app-visual {
    order: 2;
}

.app-grid.reverse .app-content {
    order: 1;
}

.app-visual {
    height: 500px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.app-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.commercial-bg {
    background: linear-gradient(135deg, #1a4d8f 0%, #0d2847 100%);
}

.resorts-bg {
    background: linear-gradient(135deg, #2d7a4d 0%, #164228 100%);
}

.campuses-bg {
    background: linear-gradient(135deg, #8f4d1a 0%, #472817 100%);
}

.communities-bg {
    background: linear-gradient(135deg, #6d1a8f 0%, #350d47 100%);
}

.events-bg {
    background: linear-gradient(135deg, #8f1a3d 0%, #470d1e 100%);
}

.golf-bg {
    background: linear-gradient(135deg, #1a8f6d 0%, #0d4736 100%);
}

.app-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.badge-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
}

.badge-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.app-content h2 {
    margin-bottom: 40px;
}

.app-problem,
.app-solution {
    margin-bottom: 40px;
}

.app-problem h3,
.app-solution h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.app-problem p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-list li {
    padding-left: 32px;
    position: relative;
    color: var(--text-gray);
    line-height: 1.7;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.solution-list strong {
    color: var(--text-dark);
}

.app-use-cases {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.app-use-cases h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.use-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.use-case-tags span {
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.application-section.alt .use-case-tags span {
    background: white;
}

.app-note {
    margin-top: 32px;
    padding: 24px;
    background: #FFF8E7;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

.app-note p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.applications-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #1A1A1A 100%);
    text-align: center;
    color: var(--text-light);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .app-grid,
    .app-grid.reverse {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .app-grid.reverse .app-visual,
    .app-grid.reverse .app-content {
        order: 0;
    }
    
    .app-visual {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 80px;
    }
    
    .application-section {
        padding: 60px 0;
    }
    
    .app-visual {
        height: 300px;
    }
    
    .app-badge {
        top: 20px;
        right: 20px;
        padding: 16px 24px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
