/* ===================================
   Landing Page Styles - AECS4U Real Estate Platform
   Modern, Premium Design with Advanced Interactions
   =================================== */

:root {
    /* Enhanced Gradient System */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --info-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --dark-gradient: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);

    /* Hero Overlays */
    --hero-overlay: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.92) 100%);
    --hero-pattern:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);

    /* Color Palette */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --accent-color: #f5576c;

    /* Text Colors */
    --text-dark: #1a202c;
    --text-medium: #2d3748;
    --text-muted: #718096;
    --text-light: #a0aec0;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f7fafc;
    --bg-lighter: #edf2f7;
    --bg-dark: #1a202c;

    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #edf2f7;
    --border-focus: rgba(102, 126, 234, 0.4);

    /* Enhanced Shadow System */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 40px 100px rgba(0, 0, 0, 0.25);
    --shadow-colored: 0 20px 60px rgba(102, 126, 234, 0.3);

    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(16px);

    /* Transitions */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
}

/* ===================================
   Global Styles
   =================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Enhanced Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
    text-shadow: none;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-gradient);
    background-image:
        var(--hero-pattern),
        linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.92) 100%),
        url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1920&q=80');
    background-size: cover, cover, cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

/* Animated Background Particles */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 200%;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0); opacity: 1; }
    50% { transform: translate(50px, 50px); opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 1.1rem 2.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-lg);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-cta .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-cta .btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: #f8f9fa;
    color: var(--primary-dark);
}

.hero-cta .btn-outline-light {
    border: 2px solid white;
    background: transparent;
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline-light:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* Quick Stats Bar */
.quick-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all var(--transition-smooth);
    cursor: default;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-item i {
    font-size: 2.25rem;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1;
    margin-top: 0.25rem;
}

/* Hero Image with Floating Cards */
.hero-image {
    position: relative;
    height: 550px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.floating-card {
    position: absolute;
    background: white;
    color: var(--primary-color);
    padding: 1.75rem 2.25rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-smooth);
}

.floating-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-2xl);
}

.floating-card i {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.2));
}

.floating-card span {
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.card-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-25px) scale(1.03);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 1s ease-out 1s backwards;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: white;
    font-size: 1.75rem;
    animation: bounce 2s infinite;
    transition: all var(--transition-smooth);
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.scroll-down:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

/* ===================================
   Section Styles
   =================================== */

.workflows-section,
.features-section,
.featured-section,
.how-it-works-section,
.cta-section,
.stats-section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4.5rem;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 3px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 70px;
        opacity: 1;
    }
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 1.75rem auto 0;
    line-height: 1.7;
}

/* ===================================
   Workflow Cards
   =================================== */

.workflow-card {
    background: white;
    border-radius: 28px;
    padding: 3rem;
    height: 100%;
    transition: all var(--transition-smooth);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.workflow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.workflow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(102, 126, 234, 0.03), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.workflow-card.card-primary::before {
    background: var(--primary-gradient);
}

.workflow-card.card-warning::before {
    background: var(--warning-gradient);
}

.workflow-card.card-success::before {
    background: var(--success-gradient);
}

.workflow-card.card-info::before {
    background: var(--info-gradient);
}

.workflow-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.15);
}

.workflow-card:hover::before,
.workflow-card:hover::after {
    opacity: 1;
}

.workflow-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2.25rem;
    background: var(--primary-gradient);
    color: white;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-colored);
    position: relative;
}

.workflow-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 26px;
    background: var(--primary-gradient);
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
    transition: opacity var(--transition-base);
}

.workflow-card:hover .workflow-icon {
    transform: scale(1.15) rotate(8deg);
}

.workflow-card:hover .workflow-icon::before {
    opacity: 0.6;
}

.card-primary .workflow-icon {
    background: var(--primary-gradient);
}

.card-warning .workflow-icon {
    background: var(--warning-gradient);
}

.card-success .workflow-icon {
    background: var(--success-gradient);
}

.card-info .workflow-icon {
    background: var(--info-gradient);
}

.workflow-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.workflow-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.workflow-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.workflow-features li {
    padding: 0.85rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 1.05rem;
    transition: all var(--transition-base);
}

.workflow-features li:hover {
    transform: translateX(5px);
    color: var(--text-dark);
}

.workflow-features i {
    color: #48bb78;
    font-size: 1.3rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(72, 187, 120, 0.3));
}

.workflow-btn {
    border-radius: 100px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: all var(--transition-smooth);
    font-size: 1.05rem;
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.workflow-btn:hover::before {
    width: 300px;
    height: 300px;
}

.workflow-btn:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.workflow-btn i {
    transition: transform var(--transition-base);
}

.workflow-btn:hover i {
    transform: translateX(5px);
}

/* ===================================
   How It Works Timeline
   =================================== */

.steps-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4.5rem;
    position: relative;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-colored);
    position: relative;
    z-index: 2;
    transition: all var(--transition-smooth);
}

.step-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0.2;
    filter: blur(10px);
    z-index: -1;
}

.step-item:hover .step-icon {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-xl);
}

.step-content {
    flex: 1;
    background: white;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.step-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(15px);
    border-color: rgba(102, 126, 234, 0.2);
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.step-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

.step-connector {
    position: absolute;
    left: 50px;
    top: 100px;
    width: 4px;
    height: calc(100% + 4.5rem);
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0.4), rgba(102, 126, 234, 0.1), transparent);
    border-radius: 2px;
}

/* ===================================
   Feature Cards
   =================================== */

.feature-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(102, 126, 234, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 85px;
    height: 85px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: var(--primary-color);
    margin: 0 auto 2rem;
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-8deg);
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
}

.feature-title {
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 1.15rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    background: var(--primary-gradient);
    color: white;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaFloat 15s ease-in-out infinite;
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    opacity: 0.95;
    line-height: 1.6;
}

/* ===================================
   Stats Counter Section
   =================================== */

.stats-section {
    background: var(--dark-gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.stat-counter {
    padding: 2.5rem 1rem;
    text-align: center;
    transition: transform var(--transition-smooth);
}

.stat-counter:hover {
    transform: scale(1.05);
}

.stat-counter i {
    font-size: 4rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.counter {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-counter .stat-label {
    font-size: 1.05rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* ===================================
   Featured Properties Carousel
   =================================== */

.featured-property-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border-light);
}

.featured-property-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.property-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-property-card:hover .property-image {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #f56565 0%, #ed8936 100%);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(245, 101, 101, 0.4);
    backdrop-filter: blur(10px);
}

.property-content {
    padding: 2.5rem;
}

.property-title {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.property-location {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
}

.property-location i {
    color: var(--primary-color);
}

.property-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.property-details {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.property-detail {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
}

.property-detail i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .workflow-card,
    .feature-card {
        padding: 2.5rem;
    }
}

@media (max-width: 992px) {
    :root {
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3.5rem;
        --spacing-3xl: 5rem;
    }

    .hero-section {
        min-height: auto;
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-image {
        height: 450px;
        margin-top: 3rem;
    }

    .quick-stats {
        justify-content: center;
    }

    .workflows-section,
    .features-section,
    .featured-section,
    .how-it-works-section {
        padding: 5rem 0;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .step-connector {
        display: none;
    }

    .step-content:hover {
        transform: translateY(-8px);
    }

    .workflow-icon {
        width: 80px;
        height: 80px;
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1.05rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 150px;
        padding: 1.25rem 1.5rem;
    }

    .workflow-card,
    .feature-card {
        margin-bottom: 2rem;
        padding: 2.25rem;
    }

    .section-header {
        margin-bottom: 3.5rem;
    }

    .workflows-section,
    .features-section,
    .how-it-works-section,
    .featured-section {
        padding: 4rem 0;
    }

    .floating-card {
        padding: 1.25rem 1.75rem;
    }

    .floating-card i {
        font-size: 1.75rem;
    }

    .floating-card span {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .step-content {
        padding: 2rem 2.25rem;
    }
}

@media (max-width: 576px) {
    .stat-item {
        flex: 1 1 100%;
    }

    .counter {
        font-size: 3rem;
    }

    .stat-counter i {
        font-size: 3rem;
    }

    .property-details {
        gap: 1.25rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 2.25rem;
    }

    .workflow-icon,
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .workflow-card,
    .feature-card {
        padding: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Improved focus states for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--border-focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Remove focus outline when not using keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .workflow-card,
    .feature-card,
    .step-content {
        border: 2px solid var(--text-dark);
    }
}

/* Dark mode support (if implemented) */
@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
}
