/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

input, select, textarea {
    font-family: inherit;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary-color: #2d5016;
    --primary-light: #4a7c23;
    --primary-dark: #1a3009;
    --secondary-color: #8b4513;
    --secondary-light: #cd853f;
    --accent-color: #ff6b35;
    --accent-light: #ff8c69;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Success/Error */
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 24px;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-color: var(--primary-dark);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--gray-300);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 80, 22, 0.1), transparent);
    transition: left 0.5s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.btn-full {
    width: 100%;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-2px);
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.header-fixed {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-minimal {
    position: relative;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.header-dashboard {
    position: relative;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.navbar {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-login {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.btn-login::after {
    display: none;
}

.nav-link.btn-primary {
    color: var(--white) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin: 0;
    padding: 0;
    min-height: 600px;
    background: #000;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.badge-icon {
    font-size: 20px;
}

.badge-text {
    font-weight: 500;
    font-size: 14px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    padding: 60px 0;
    background: var(--gray-50);
    margin-top: -60px;
    position: relative;
    z-index: 3;
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    max-width: 900px;
    margin: 0 auto;
}

.search-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 32px;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: var(--gray-700);
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--white);
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.btn-search {
    height: 48px;
    font-weight: 600;
}

.search-icon {
    font-size: 16px;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

/* ===== FEATURED PROPERTIES ===== */
.featured-properties {
    padding: var(--section-padding);
    background: var(--white);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.property-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

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

.property-image {
    position: relative;
    height: 240px;
    background: var(--gray-200);
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.property-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.property-price {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 18px;
}

.property-content {
    padding: 24px;
}

.property-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-features {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--gray-600);
}

.property-actions {
    display: flex;
    gap: 12px;
}

.btn-view {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
}

.btn-contact {
    padding: 10px 16px;
    font-size: 14px;
    background: var(--accent-color);
    color: var(--white);
}

.btn-contact:hover {
    background: var(--accent-light);
}

/* ===== WHY CHOOSE US ===== */
.why-choose-us {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-highlight {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.highlight-text {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-light);
}

.highlight-subtext {
    font-size: 14px;
    opacity: 0.8;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-contact p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
}

.footer-disclaimer {
    margin-top: 8px;
    font-weight: 600;
    color: var(--accent-light);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    opacity: 0.6;
}

/* ===== FILTERS SECTION ===== */
.filters-section {
    padding: 40px 0;
    background: var(--gray-50);
}

.filters-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.filters-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
}

.filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
}

.toggle-icon {
    transition: var(--transition-normal);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-actions {
    display: flex;
    gap: 12px;
}

/* ===== RESULTS SECTION ===== */
.results-section {
    padding: 40px 0 80px;
    background: var(--white);
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.results-count {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-900);
}

.results-subtitle {
    color: var(--gray-600);
    margin-top: 4px;
}

.view-toggle {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 8px 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-600);
    transition: var(--transition-normal);
}

.view-btn.active,
.view-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 8px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-normal);
}

.pagination-btn:hover,
.pagination-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== TAX HIGHLIGHT ===== */
.tax-highlight {
    padding: 60px 0;
    background: var(--accent-color);
}

.tax-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.tax-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.tax-content {
    flex: 1;
}

.tax-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.tax-description {
    color: var(--gray-600);
    line-height: 1.6;
}

.tax-action {
    flex-shrink: 0;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-body {
    background: var(--gray-50);
}

.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
}

.dashboard-sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 24px 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-nav {
    padding: 0 24px;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 4px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
}

.menu-link:hover,
.menu-item.active .menu-link {
    background: var(--primary-color);
    color: var(--white);
}

.menu-icon {
    font-size: 20px;
}

.menu-badge {
    background: var(--accent-color);
    color: var(--white);
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.sidebar-card {
    margin: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    text-align: center;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.card-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
}

.dashboard-main {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-header {
    margin-bottom: 32px;
}

.section-header .section-title {
    font-size: 32px;
    text-align: left;
    margin-bottom: 8px;
}

.section-header .section-subtitle {
    text-align: left;
    margin: 0;
}

/* ===== STATS GRID ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray-600);
    font-size: 14px;
}

/* ===== DASHBOARD GRID ===== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.dashboard-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    text-align: left;
}

.card-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    margin-top: 16px;
    display: inline-block;
}

.card-link:hover {
    color: var(--primary-dark);
}

/* ===== PROPERTY FORM ===== */
.property-form {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-200);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 0 16px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition-normal);
}

.step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
}

.step-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    text-align: center;
}

.step.active .step-title {
    color: var(--primary-color);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--white);
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

/* ===== UPLOAD SECTION ===== */
.upload-section {
    text-align: center;
}

.upload-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.upload-subtitle {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    background: var(--gray-50);
    transition: var(--transition-normal);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(45, 80, 22, 0.05);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: var(--gray-400);
}

.upload-area h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.upload-area p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.photos-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.photo-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-200);
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

/* ===== FORM NAVIGATION ===== */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

/* ===== REVIEW SECTION ===== */
.review-section {
    text-align: left;
}

.review-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.review-subtitle {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.review-content {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.tax-info {
    margin-top: 24px;
}

.tax-highlight-box {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
}

.tax-highlight-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tax-highlight-box p {
    opacity: 0.9;
    line-height: 1.5;
}

/* ===== AUTH STYLES ===== */
.auth-body {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    min-height: 100vh;
}

.auth-container {
    display: flex;
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
    height: fit-content;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--gray-600);
}

.auth-form {
    margin-bottom: 24px;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray-300);
    border-radius: 3px;
    position: relative;
}

input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 1px;
    color: var(--white);
    font-size: 12px;
}

.forgot-link {
    color: var(--primary-color);
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
    color: var(--gray-500);
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    background: var(--white);
    padding: 0 16px;
    position: relative;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    justify-content: flex-start;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
}

.btn-social:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.social-icon {
    font-size: 18px;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--gray-600);
}

.register-link,
.login-link {
    color: var(--primary-color);
    font-weight: 600;
}

.register-link:hover,
.login-link:hover {
    text-decoration: underline;
}

.auth-benefits {
    flex: 1;
    max-width: 400px;
    color: var(--white);
    padding: 40px;
}

.benefits-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

.benefits-list {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.benefit-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.benefit-content p {
    opacity: 0.9;
    line-height: 1.5;
}

.tax-reminder {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 16px;
}

.reminder-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.reminder-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.reminder-content p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* ===== USER MENU ===== */
.nav-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-greeting {
    color: var(--gray-700);
    font-size: 14px;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    z-index: 1000;
    display: none;
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: var(--gray-700);
    font-size: 14px;
    transition: var(--transition-normal);
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .sidebar-nav {
        padding: 16px 24px;
    }
    
    .sidebar-menu {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .menu-item {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .menu-link {
        white-space: nowrap;
        padding: 8px 16px;
    }
    
    .sidebar-card {
        display: none;
    }
    
    .auth-container {
        flex-direction: column;
        align-items: center;
    }
    
    .auth-benefits {
        order: -1;
        max-width: 600px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 7vw, 2.6rem);
        margin-bottom: 12px;
        line-height: 1.1;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 5vw, 1.3rem);
        margin-bottom: 20px;
        line-height: 1.3;
        opacity: 0.95;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .feature-badge {
        padding: 9px 16px;
        font-size: 0.85rem;
        gap: 4px;
        border-radius: 20px;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .badge-icon {
        font-size: 17px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 15px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 260px;
        padding: 15px 22px;
        font-size: 14px;
        border-radius: 25px;
        font-weight: 600;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .btn-large:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .filters-toggle {
        display: flex;
    }
    
    .filters-form {
        display: none;
    }
    
    .filters-form.show {
        display: block;
        margin-top: 20px;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tax-card {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-steps {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .auth-card {
        max-width: 100%;
    }
    
    .benefits-list {
        margin-bottom: 24px;
    }
    
    .benefit-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        min-height: 450px;
        padding: 15px 0;
    }
    
    .hero-content {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7.5vw, 2.2rem);
        margin-bottom: 10px;
        line-height: 1.1;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 5vw, 1.2rem);
        margin-bottom: 16px;
        line-height: 1.3;
        opacity: 0.95;
    }
    
    .hero-features {
        gap: 8px;
        margin-bottom: 20px;
    }
    
    .feature-badge {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 18px;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.25);
    }
    
    .hero-actions {
        gap: 8px;
        padding: 0 10px;
    }
    
    .btn-large {
        padding: 13px 20px;
        font-size: 13px;
        max-width: 240px;
        border-radius: 22px;
        font-weight: 600;
        letter-spacing: 0.3px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .btn-large:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .search-card {
        padding: 24px 20px;
    }
    
    .property-card {
        margin: 0 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .dashboard-main {
        padding: 20px 16px;
    }
    
    .property-form {
        padding: 24px 20px;
    }
    
    .auth-card {
        padding: 24px 20px;
    }
    
    .auth-container {
        padding: 20px 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    /* Modal mobile styles */
    .modal {
        padding: 10px;
    }
    
    .modal-container {
        max-width: 100%;
        margin: 0;
    }
    
    .modal-header {
        padding: 20px 20px 0 20px;
        margin-bottom: 20px;
    }
    
    .modal-content {
        padding: 0 20px 20px 20px;
    }
    
    .modal-form .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-benefits ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .modal-benefits {
        padding: 20px;
        margin: 20px 0;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-200: #000000;
        --gray-300: #000000;
        --shadow-md: 0 0 0 1px #000000;
        --shadow-lg: 0 0 0 2px #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 32px 0 32px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 32px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.modal-content {
    padding: 0 32px 32px 32px;
}

.modal-subtitle {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.modal-form {
    margin-bottom: 32px;
}

.modal-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form .form-group.full-width {
    grid-column: 1 / -1;
}

.modal-form .form-options {
    margin: 24px 0;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.modal-benefits {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 32px 0;
    border-left: 4px solid var(--primary-color);
}

.modal-benefits h4 {
    color: var(--primary-color);
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.modal-benefits ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-benefits li {
    color: var(--gray-700);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.modal-footer p {
    margin: 0;
    color: var(--gray-600);
    font-size: 14px;
}

.login-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link:hover {
    text-decoration: underline;
}

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

/* ===== PERFIL STYLES ===== */
.perfil-body {
    background: var(--gray-50);
}

.profile-section {
    padding: 40px 0;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 16px;
}

.avatar-icon-large {
    font-size: 64px;
    display: block;
    margin: 0 auto;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 8px 0;
    text-align: center;
}

.profile-email,
.profile-phone {
    color: var(--gray-600);
    margin: 4px 0;
    text-align: center;
    font-size: 14px;
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-nav {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

.nav-item:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.nav-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-icon {
    font-size: 18px;
}

.profile-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.profile-section-content {
    display: none;
    padding: 32px;
}

.profile-section-content.active {
    display: block;
}

.profile-section-content .section-header {
    margin-bottom: 32px;
}

.profile-section-content .section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 8px 0;
}

.profile-section-content .section-header p {
    color: var(--gray-600);
    margin: 0;
}

.profile-form {
    max-width: 600px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
}

/* Hide native radio and checkbox inputs but keep them functional */
input[type="radio"],
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    z-index: 1;
}

.checkbox-custom,
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-fast);
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.radio-custom {
    border-radius: 50%;
}

input[type="checkbox"]:checked + .checkbox-custom,
input[type="radio"]:checked + .radio-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
}

.upload-section {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 24px 0;
}

.upload-section h4 {
    margin: 0 0 8px 0;
    color: var(--gray-800);
}

.upload-section p {
    margin: 0 0 16px 0;
    color: var(--gray-600);
}

.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.upload-area h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.upload-area p {
    margin: 0;
    opacity: 0.8;
}

.photos-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.photo-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.photo-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.photo-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-info {
    padding: 8px;
    background: var(--white);
}

.photo-name {
    display: block;
    font-size: 12px;
    color: var(--gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-size {
    display: block;
    font-size: 10px;
    color: var(--gray-500);
}

/* Profile Photo Upload */
.profile-photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-photo-preview {
    width: 120px;
    height: 120px;
    border: 2px dashed var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    overflow: hidden;
    background: var(--gray-50);
}

.profile-photo-preview:hover {
    border-color: var(--primary-color);
    background: var(--gray-100);
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-photo-placeholder {
    text-align: center;
    color: var(--gray-500);
}

.profile-photo-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.profile-photo-placeholder p {
    font-size: 0.875rem;
    margin: 0;
}

.properties-list {
    display: grid;
    gap: 24px;
}

.property-item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.property-item .property-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.property-item .property-details h3 {
    margin: 0 0 8px 0;
    color: var(--gray-800);
}

.property-item .property-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 8px 0;
}

.property-item .property-location,
.property-item .property-area {
    color: var(--gray-600);
    margin: 4px 0;
}

.property-item .property-stats {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.property-item .stat {
    font-size: 12px;
    color: var(--gray-500);
}

.property-item .property-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.settings-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 24px;
}

.settings-card h3 {
    margin: 0 0 20px 0;
    color: var(--gray-800);
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: var(--transition-fast);
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--white);
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
}

.empty-state h4 {
    margin: 0 0 8px 0;
    color: var(--gray-800);
}

.empty-state p {
    color: var(--gray-600);
    margin: 0 0 24px 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .profile-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .profile-section-content {
        padding: 20px;
    }
    
    .property-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .photos-preview {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* ===== FRASES DE IMPACTO ===== */

.impact-quote {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.2);
}

.impact-quote .quote-text {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    font-style: italic;
}

.impact-quote-header {
    margin: 16px 0;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff8c42);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.2);
}

.impact-quote-header .quote-text {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    font-style: italic;
}

.impact-quote-sidebar {
    margin-top: 16px;
    padding: 12px;
    background: linear-gradient(135deg, var(--success-color), #34ce57);
    border-radius: 8px;
    text-align: center;
}

.impact-quote-sidebar .quote-text {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    font-style: italic;
}

/* ===== VERIFICAÇÃO DE TELEFONE ===== */

.phone-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.phone-input-group input {
    flex: 1;
}

.phone-verification-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
    min-width: auto;
}

.verification-icon {
    margin-right: 4px;
}

.form-help {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.phone-input-group input.verified {
    border-color: var(--success-color);
    background-color: rgba(40, 167, 69, 0.05);
}

/* ===== LOGIN POR TELEFONE ===== */

.code-input-group {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.code-input-group input {
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.code-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.2);
}

#userInfoGroup {
    background: rgba(44, 90, 160, 0.05);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid rgba(44, 90, 160, 0.1);
    margin-top: 16px;
}

#userInfoGroup label {
    font-weight: 600;
    color: var(--primary-color);
}

.phone-auth-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 0 16px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-300);
    z-index: 1;
}

.step.active:not(:last-child)::after {
    background: var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-300);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: var(--primary-color);
}

.step.completed .step-number {
    background: var(--success-color);
}

.step-label {
    font-size: 0.8rem;
    text-align: center;
    color: var(--gray-600);
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.step.completed .step-label {
    color: var(--success-color);
    font-weight: 600;
}

/* ===== GOOGLE SIGN-IN ===== */

.btn-google {
    background: #4285f4;
    color: white;
    border: 1px solid #4285f4;
}

.btn-google:hover {
    background: #3367d6;
    border-color: #3367d6;
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border: 1px solid #1877f2;
}

.btn-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
}

/* Responsividade para frases de impacto */
@media (max-width: 768px) {
    .impact-quote {
        margin-top: 16px;
        padding: 12px;
    }
    
    .impact-quote .quote-text {
        font-size: 0.9rem;
    }
    
    .impact-quote-header {
        margin: 12px 0;
        padding: 10px 16px;
    }
    
    .impact-quote-header .quote-text {
        font-size: 0.85rem;
    }
    
    .impact-quote-sidebar {
        margin-top: 12px;
        padding: 10px;
    }
    
    .impact-quote-sidebar .quote-text {
        font-size: 0.8rem;
    }
    
    .phone-input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .phone-verification-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .impact-quote {
        margin-top: 12px;
        padding: 10px;
    }
    
    .impact-quote .quote-text {
        font-size: 0.85rem;
    }
    
    .impact-quote-header {
        margin: 10px 0;
        padding: 8px 12px;
    }
    
    .impact-quote-header .quote-text {
        font-size: 0.8rem;
    }
    
    .impact-quote-sidebar {
        margin-top: 10px;
        padding: 8px;
    }
    
    .impact-quote-sidebar .quote-text {
        font-size: 0.75rem;
    }
}

/* ===== POPUP DE LOGIN ===== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    /* Permitir que popups do Google apareçam */
    pointer-events: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 700px;
    max-height: 80vh;
    width: 90%;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    /* Permitir que popups do Google apareçam */
    z-index: 1001;
}

.modal-overlay.active .login-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 0;
}

.social-login-btn {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.social-login-btn:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
}

.social-login-btn img {
    width: 20px;
    height: 20px;
}

.modal-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.modal-left {
    flex: 1;
    min-width: 0;
}

.modal-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-login-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.social-login-btn.phone {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.social-login-btn.phone:hover {
    background: #128c7e;
    border-color: #128c7e;
}

.modal-separator {
    text-align: center;
    margin: 8px 0;
    position: relative;
    color: #666;
    font-size: 11px;
}

.modal-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.modal-separator span {
    background: white;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.modal-form-group {
    margin-bottom: 12px;
}

.modal-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.modal-form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.modal-form-group input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.modal-form-group input::placeholder {
    color: #999;
}

.modal-submit-btn {
    width: 100%;
    padding: 12px 16px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 12px;
}

.modal-submit-btn:hover {
    background: #555;
}

.modal-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.modal-footer a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.modal-tabs {
    display: flex;
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-tab {
    flex: 1;
    padding: 8px;
    text-align: center;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.modal-tab.active {
    color: #2c5aa0;
    border-bottom-color: #2c5aa0;
}

.modal-tab:hover {
    color: #2c5aa0;
}

.modal-content {
    display: none;
}

.modal-content.active {
    display: block;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
        gap: 16px;
    }
    
    .modal-left,
    .modal-right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .login-modal {
        padding: 16px;
        margin: 12px;
        max-width: 320px;
        max-height: 80vh;
    }
    
    .modal-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .modal-layout {
        gap: 12px;
    }
    
    .social-login-container {
        flex-direction: column;
        gap: 6px;
    }
    
    .social-login-btn {
        width: 100%;
        padding: 6px 10px;
        font-size: 12px;
        margin-bottom: 0;
    }
    
    .modal-form-group input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .modal-submit-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .modal-tabs {
        margin-bottom: 12px;
    }
    
    .modal-tab {
        padding: 6px;
        font-size: 12px;
    }
    
    .modal-separator {
        margin: 8px 0;
        font-size: 11px;
    }
}

/* ===== ANIMAÇÕES ===== */

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-modal {
    animation: modalSlideIn 0.3s ease;
}

/* ===== ESTADOS DE CARREGAMENTO ===== */

.social-login-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.social-login-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

