:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --success-color: #4cc9f0;
    --warning-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Landing Page Styles */
.landing-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Hero Section */
.hero-section {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
                url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
}

.hero-image {
    position: relative;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: -20px;
    left: 50px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Apartment Cards */
.apartment-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.apartment-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.05);
}

.apartment-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.apartment-features .badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: normal;
}

.rating {
    background: rgba(255, 193, 7, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V1C1000,19.4,873.3,97.8,500,97z" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: cover;
}

/* Footer */
.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Animation Classes */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile App View Styles */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .floating-card {
        position: relative;
        margin: 10px auto;
        width: 200px;
        animation: none;
    }
    
    .apartment-image {
        height: 200px;
    }
}