/* 
  Horizonte Verde Elite Design System v3.0
  Luxury PropTech Aesthetics
*/

:root {
    --verde: #27AE60;
    --terra-hover: #2ECC71;
    --verde-glow: rgba(39, 174, 96, 0.4);
    --navy: #0F172A;
    --navy-light: #1E293B;
}

html {
    scroll-behavior: smooth;
    background-color: white;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Elite Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatSmooth {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.float-card {
    animation: floatSmooth 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px -10px rgba(15,23,42,0.1); }
    50% { transform: scale(1.03); box-shadow: 0 25px 50px -12px rgba(15,23,42,0.2); }
}
.breathe-card {
    animation: breathe 4s ease-in-out infinite;
}

@keyframes progressFill {
    from { width: 0; }
}
.progress-animate {
    animation: progressFill 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Nav Link Hover Underline */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover::after {
    width: 100%;
}

/* Typography Refinement */
h1, h2, h3, h4 {
    letter-spacing: -0.05em;
    line-height: 0.95;
}

/* Custom Scrollbar Elite */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #ffffff;
}
::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--verde);
}

/* Navigation Refinement */
#main-nav {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Luxury Property Cards */
.property-card {
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

.property-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 40px 80px -15px rgba(15, 23, 42, 0.15);
}

.property-card img {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.property-card:hover img {
    transform: scale(1.15);
}

/* Text Truncation Premium */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Glassmorphism Elite */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hero Dashboard Glow */
.stats-glow {
    text-shadow: 0 0 40px rgba(39, 174, 96, 0.05);
}

/* CTA Elite Animations */
.verde-gradient {
    background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
    position: relative;
    overflow: hidden;
}

.verde-gradient::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.verde-gradient:hover::after {
    opacity: 1;
}

/* Input Elite Focus */
input:focus {
    outline: none;
    background: white !important;
    box-shadow: 0 10px 40px -10px rgba(39, 174, 96, 0.15);
}

/* Modal Elite Transitions */
.animate-in {
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Testimonial Cards */
.glass-testimonial {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.glass-testimonial:hover {
    transform: translateY(-10px);
    background: white;
}

/* Mobile Responsiveness v3.0 */
@media (max-width: 768px) {
    h1 {
        font-size: 4rem !important;
        line-height: 0.9;
    }
    
    .hero-dashboard {
        display: none !important;
    }
    
    .py-32 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Tabular Numbers for Prices */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Dashboard Component Styles */
.hero-dashboard {
    perspective: 1000px;
}
