/* ============================================
   ApartmanOS - Homepage Styles
   ============================================ */

/* ---------- Hero Section ---------- */
.hero-section {
    background: #0762c8;
    min-height: 90vh;
}
.min-vh-90 {
    min-height: 90vh;
}
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: white;
}
.shape-1 {
    width: 500px;
    height: 500px;
    top: -10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}
.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -5%;
    animation: float 10s ease-in-out infinite reverse;
}
.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    right: 20%;
    animation: float 12s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}
.backdrop-blur {
    backdrop-filter: blur(10px);
}
.text-white-75 {
    color: rgba(255,255,255,0.85) !important;
}
.hero-title {
    animation: fadeInUp 0.8s ease-out;
}
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Dashboard Preview ---------- */
.hero-dashboard-preview {
    perspective: 1000px;
}
.dashboard-card {
    background: white;
    border-radius: 16px;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: floatCard 6s ease-in-out infinite;
}
.dashboard-card:hover {
    transform: rotateY(-4deg) rotateX(2deg) scale(1.02);
}
@keyframes floatCard {
    0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(5deg) translateY(-15px); }
}
.card-header-sim {
    background: #f8f9fa;
    border-radius: 16px 16px 0 0;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mini-stat {
    transition: transform 0.2s;
}
.mini-stat:hover {
    transform: translateY(-2px);
}
.bar {
    transition: height 0.5s ease;
}
.floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    animation: floatCard2 5s ease-in-out infinite;
}
.card-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}
.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 1s;
    animation-duration: 7s;
}
@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: auto;
}

/* ---------- Hover Effects ---------- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}
.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
}
.transition-all {
    transition: all 0.3s ease;
}

/* ---------- Feature & Pricing Cards ---------- */
.feature-icon {
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}
.pricing-card {
    transition: transform 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-8px);
}
.popular-badge {
    font-size: 0.75rem;
}

/* ---------- CTA Box ---------- */
.cta-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
}
.cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}
.cta-1 {
    width: 400px;
    height: 400px;
    top: -50%;
    left: -10%;
}
.cta-2 {
    width: 300px;
    height: 300px;
    bottom: -30%;
    right: -5%;
}

/* ---------- Spacing ---------- */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
@media (min-width: 992px) {
    .py-6 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}
