/* ═══════════════════════════════════════
   ALLIANCE ESTATE — Dark Editorial UI
   PropTech Landing Page
   ═══════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    /* Dark palette */
    --bg-primary: #0A0A0F;
    --bg-secondary: #0F0F18;
    --bg-card: #141420;
    --bg-card-hover: #1A1A2A;
    --bg-elevated: #1E1E2E;
    /* Light palette */
    --bg-light: #FAF7F2;
    --bg-light-secondary: #F3EDE4;
    --bg-light-card: #FFFFFF;
    --bg-light-card-hover: #F9F6F1;
    --bg-light-elevated: #F5F0E8;
    --text-dark: #1A1A2A;
    --text-dark-secondary: #5A5670;
    --text-dark-muted: #8E8AA0;
    --border-light: rgba(26, 26, 42, 0.08);
    --border-light-hover: rgba(37, 99, 235, 0.25);
    --shadow-light-card: 0 4px 24px rgba(26, 26, 42, 0.06);
    --shadow-light-elevated: 0 12px 48px rgba(26, 26, 42, 0.1);
    /* Accent */
    --accent: #2563EB;
    --accent-light: #60A5FA;
    --accent-dark: #0050D8;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --accent-glow-light: rgba(37, 99, 235, 0.08);
    --gradient: linear-gradient(135deg, #E8F5FF, #93C5FD, #2563EB, #0050D8);
    --gradient-text: linear-gradient(90deg, #E8F5FF, #93C5FD, #2563EB, #0050D8);
    /* Shared */
    --text-primary: #EEEDF5;
    --text-secondary: #dcdae6;
    --text-muted: #6B6880;
    --border: rgba(37, 99, 235, 0.08);
    --border-hover: rgba(37, 99, 235, 0.3);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-elevated: 0 12px 48px rgba(0, 0, 0, 0.6);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1240px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input { font-family: inherit; }

/* ── Utilities ── */
.section-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* All display headings → uppercase */
.hero h1,
.section-header h2,
.listing-body h3,
.feature-card h3,
.testimonial-content blockquote,
.newsletter-left h2,
.footer-cta h2 {
    /*text-transform: uppercase;*/
    letter-spacing: -0.01em;
    font-weight: 300;
}
.lp-step-header h2,
.lp-review-card h3,
.lp-success h2 {
    letter-spacing: -0.01em;
    font-weight: 700;
}

/* ══════════════════════════════════
   TOP BANNER
   ══════════════════════════════════ */
.top-banner {
    background: var(--accent-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
}
.top-banner.hidden {
    display: none;
}
.banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.banner-badge {
    background: #d8d406;
    color: #000;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.banner-content strong { font-weight: 700; }
#countdown {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 120px;
}
.banner-close {
    position: absolute;
    right: 1.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    opacity: 0.85;
    transition: all var(--transition);
    line-height: 1;
    cursor: pointer;
}
.banner-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
}

/* ══════════════════════════════════
   NAVIGATION
   ══════════════════════════════════ */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 0;
    background: #000000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--border);
    transition: top 0.4s ease;
}
.navbar.banner-closed { top: 0; }
.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: -0.02em;
}
.nav-logo em {
    font-style: normal;
    color: inherit;
}
.nav-links {
    display: flex;
    gap: 2.2rem;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.btn-nav-outline {
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.66);
    transition: all var(--transition);
}
.btn-nav-outline:hover {
    border-color: #fff;
    color: #fff;
}
.btn-nav-solid {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
}
.btn-nav-solid:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4);
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10rem 2rem 2rem;
    z-index: 998;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .btn-nav-solid {
    color: #fff !important;
    font-weight: 600;
}
.mobile-menu .btn-nav-solid:hover {
    color: #fff !important;
    background: var(--accent-dark);
}

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
}
.hero-3d-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.55) 30%,
            rgba(0, 0, 0, 0.7) 60%,
            rgba(0, 0, 0, 0.95) 100%
        );
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}
.dot-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6.5rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin-bottom: 1.5rem;
}
.hero-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.25s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; }
.hero-line.accent {
    color: inherit;
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-cta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.65s both;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    border: none;
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}
/* Modal buttons — black solid */
.lp-modal .btn-primary {
    background: #0A0A0F;
    color: #fff;
}
.lp-modal .btn-primary:hover {
    background: #1A1A2A;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.login-modal .btn-primary {
    background: #0A0A0F;
    color: #fff;
}
.login-modal .btn-primary:hover {
    background: #1A1A2A;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    color: rgba(255, 255, 255, 0.66);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeInUp 0.8s ease 0.85s both;
}
.stat strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}
.stat span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ══════════════════════════════════
   PARTNER TICKER
   ══════════════════════════════════ */
.ticker-section {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-light);
    overflow: hidden;
}
.ticker-label {
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dark-muted);
    margin-bottom: 1.2rem;
}
.ticker-track {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.ticker-slide {
    display: flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
    width: max-content;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.ticker-item i {
    color: #9895A8;
    opacity: 0.5;
    font-size: 0.85rem;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   SECTIONS COMMON
   ══════════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}
.section-header h2 em {
    font-style: normal;
    color: inherit;
}
.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
}

/* ══════════════════════════════════
   LISTINGS
   ══════════════════════════════════ */
.listings-section {
    padding: 6rem 0;
}
.listing-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition);
    background: transparent;
}
.filter-btn:hover,
.filter-btn.active {
    background: #0A0A0F;
    color: #fff;
    border-color: transparent;
}
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.listing-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.listing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}
.listing-card.hidden {
    display: none;
}
.listing-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.listing-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.listing-card:hover .listing-img img {
    transform: scale(1.06);
}
.listing-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.listing-badge.new { background: #05a03e; }
.listing-badge.hot { background: #f87171; color: #fff; }
.listing-save {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: all var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}
.listing-save:hover {
    background: var(--accent);
    color: #fff;
}
.listing-save.liked i {
    font-weight: 900;
    color: #f87171;
}
.listing-body {
    padding: 1.25rem;
}
.listing-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.listing-location i { color: var(--accent); font-size: 0.7rem; }
.listing-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.listing-price {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.listing-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.listing-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.listing-meta i { font-size: 0.7rem; color: var(--text-muted); }
.listings-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}
.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.pagination-btn.active {
    background: var(--accent);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}
.pagination-btn.arrow {
    font-size: 1rem;
}
.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.light-section .pagination-btn {
    border-color: var(--border-light);
    color: var(--text-dark-secondary);
}
.light-section .pagination-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.light-section .pagination-btn.active {
    color: #fff;
    border-color: transparent;
}

/* ══════════════════════════════════
   FEATURES
   ══════════════════════════════════ */
.features-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

/* ── Service Split Layout ── */
.services-stack {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    min-height: 480px;
}
.service-row.reverse {
    direction: rtl;
}
.service-row.reverse > * {
    direction: ltr;
}
.service-img {
    position: relative;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-row:hover .service-img img {
    transform: scale(1.03);
}
.service-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.service-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}
.service-tag i {
    font-size: 0.8rem;
}
.service-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}
.service-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}
.service-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */
.testimonials-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}
.testi-split {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Slides */
.testi-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}
.testi-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}
.testi-slide.transitioning {
    z-index: 1;
}

/* Image */
.testi-image {
    position: relative;
    overflow: hidden;
}
.testi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}
.testi-slide.active .testi-image img {
    transform: scale(1.06);
}

/* Quote */
.testi-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    background: var(--bg-light);
    position: relative;
}
.testi-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

/* Attribution */
.testi-attribution {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.testi-dash {
    color: rgba(26, 26, 42, 0.25);
}
.testi-name {
    color: var(--text-dark);
    font-weight: 500;
}
.testi-role {
    color: var(--text-dark-muted);
    font-weight: 400;
}

/* Nav arrows — top of quote panel */
.testi-nav {
    position: absolute;
    top: 4rem;
    right: 4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}
.testi-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(26, 26, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-secondary);
    font-size: 0.85rem;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.15s ease;
}
.testi-arrow i {
    position: relative;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Solid fill circle that scales up from center on hover */
.testi-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--accent-dark);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 1;
}
/* Hover — fill + nudge icon in its direction */
.testi-arrow:hover {
    border-color: transparent;
    color: #fff;
}
.testi-arrow:hover::before {
    transform: scale(1);
    opacity: 1;
}
/* Left arrow nudges left */
#prevTestimonial:hover i {
    transform: translateX(-3px);
}
/* Right arrow nudges right */
#nextTestimonial:hover i {
    transform: translateX(3px);
}
/* Active press — scale down for tactile click feel */
.testi-arrow:active {
    transform: scale(0.88);
    transition: transform 0.08s ease;
}
.testi-arrow:active::before {
    transform: scale(1);
    opacity: 1;
}

/* Dot indicators — hidden on desktop, shown on mobile */
.testi-dots {
    display: none;
    align-items: center;
    gap: 6px;
    user-select: none;
}
.testi-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(26, 26, 42, 0.15);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.4s ease,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}
.testi-dot.active {
    width: 20px;
    border-radius: 3px;
    background: #1a1a2a;
}
/* Pulse on change */
@keyframes dotPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}
.testi-dot.pulse {
    animation: dotPulse 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Progress bar — desktop only, below nav arrows */
.testi-progress {
    display: block;
    position: absolute;
    top: 7.5rem;
    right: 4rem;
    left: auto;
    width: 112px;
    height: 2px;
    background: rgba(26, 26, 42, 0.1);
    z-index: 10;
    border-radius: 2px;
}
.testi-progress-bar {
    height: 100%;
    background: #1a1a2a;
    border-radius: 0 2px 2px 0;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    width: 20%; /* 1/5 default */
}

/* ══════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════ */
.newsletter-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}
.newsletter-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.newsletter-left { position: relative; z-index: 1; }
.newsletter-left h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.newsletter-left h2 em {
    font-style: normal;
    color: inherit;
}
.newsletter-left p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.newsletter-right { position: relative; z-index: 1; }
.input-group {
    display: flex;
    gap: 0.5rem;
}
.input-group input {
    flex: 1;
    padding: 0.85rem 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}
.input-group input::placeholder { color: var(--text-muted); }
.input-group input:focus { border-color: var(--accent); }
.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.newsletter-note i { color: var(--accent); font-size: 0.65rem; }
.newsletter-success {
    text-align: center;
    padding: 2rem;
}
.newsletter-success i {
    font-size: 2.5rem;
    color: #4ade80;
    margin-bottom: 1rem;
}
.newsletter-success p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ══════════════════════════════════
   FOOTER CTA
   ══════════════════════════════════ */
.footer-cta {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.footer-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.footer-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    min-height: 1.3em;
}
.typewriter {
    color: inherit;
}
.typewriter-cursor {
    color: var(--accent);
    animation: blink 0.8s infinite;
    font-weight: 300;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
.footer-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2.5rem;
}
.footer-cta .hero-cta-row {
    justify-content: center;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.site-footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-socials a,
.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.footer-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}
.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a,
.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-credit {
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.credit-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: 0.08em;
}
.credit-link:hover {
    color: var(--text-muted);
}
.credit-highlight {
    color: #E8352A;
}

/* ══════════════════════════════════
   CHATBOT
   ══════════════════════════════════ */
.chatbot-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1150;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
    transition: all var(--transition);
}
.chatbot-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.5);
}
.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #f87171;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chatbot-window {
    position: fixed;
    bottom: 6.5rem;
    right: 2rem;
    width: 380px;
    height: 520px;
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    z-index: 1200;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.12);
    animation: chatOpen 0.35s ease;
    /* Light theme overrides */
    --bg-primary: #FFFFFF;
    --bg-card: #FAFAFA;
    --bg-elevated: #F0EFF2;
    --text-primary: #1a1a2a;
    --text-secondary: #5a5870;
    --text-muted: #888697;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.18);
    --accent-glow: rgba(37, 99, 235, 0.1);
    color: #1a1a2a;
}
.chatbot-window.open {
    display: flex;
}
@keyframes chatOpen {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}
.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-header strong {
    display: block;
    font-size: 0.9rem;
}
.chat-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.dot-online {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
}
.chat-close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all var(--transition);
    line-height: 1;
    cursor: pointer;
}
.chat-close:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.chat-msg {
    display: flex;
    gap: 0.5rem;
    max-width: 85%;
}
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; }
.chat-msg-bubble {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.6;
}
.chat-msg.bot .chat-msg-bubble {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-msg-bubble {
    background: var(--accent-dark);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.chat-suggestion-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
}
.chat-suggestion-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}
.chat-footer {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
}
.chat-input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition);
}
.chat-input::placeholder { color: var(--text-muted); }
.chat-input:focus { border-color: var(--accent); }
.chat-send {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}
.chat-send:hover { opacity: 0.85; }

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

/* ══════════════════════════════════
   LIGHT SECTION OVERRIDES
   ══════════════════════════════════ */
.light-section {
    background: var(--bg-light) !important;
    color: var(--text-dark);
}

/* Section headers */
.light-section .section-tag {
    color: var(--accent-dark);
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.12);
}
.light-section .section-header h2 {
    color: var(--text-dark);
}
.light-section .section-header p {
    color: var(--text-dark-secondary);
}

/* Listing cards */
.light-section .listing-card {
    background: var(--bg-light-card);
    border-color: var(--border-light);
    box-shadow: var(--shadow-light-card);
}
.light-section .listing-card:hover {
    border-color: var(--border-light-hover);
    box-shadow: var(--shadow-light-elevated);
}
.light-section .listing-body h3 {
    color: var(--text-dark);
}
.light-section .listing-location {
    color: var(--text-dark-muted);
}
.light-section .listing-meta {
    color: var(--text-dark-muted);
}
.light-section .listing-meta i {
    color: var(--text-dark-muted);
}

/* Filter buttons */
.light-section .filter-btn {
    color: var(--text-dark-secondary);
    border-color: var(--border-light);
    border-width: 1.5px;
}
.light-section .filter-btn:hover,
.light-section .filter-btn.active {
    color: #fff;
    border-color: transparent;
}

/* Ghost & primary buttons in light */
.light-section .btn-ghost {
    color: var(--text-dark-secondary);
    border-color: rgba(26, 26, 42, 0.15);
}
.light-section .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Testimonials light */
.light-section .chat-status {
    color: var(--text-dark-muted);
}

/* Footer CTA light */
.light-section.footer-cta h2 {
    color: var(--text-dark);
}
.light-section.footer-cta p {
    color: var(--text-dark-secondary);
}
.light-section.footer-cta::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

/* Service rows in light (if ever needed) */
.light-section .service-row {
    background: var(--bg-light-card);
    border-color: var(--border-light);
    box-shadow: var(--shadow-light-card);
}
.light-section .service-content h3 {
    color: var(--text-dark);
}
.light-section .service-content p {
    color: var(--text-dark-secondary);
}

/* Dividers & borders in light */
.light-section .stat-divider {
    background: rgba(26, 26, 42, 0.1);
}
.light-section .hero-stats {
    border-top-color: rgba(26, 26, 42, 0.08);
}

/* ══════════════════════════════════
   LIST PROPERTY MODAL
   ══════════════════════════════════ */
.lp-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.lp-overlay.open {
    display: flex;
    opacity: 1;
}

.lp-modal {
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    animation: lpSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
    /* Light theme overrides */
    --bg-primary: #FFFFFF;
    --bg-card: #FAFAFA;
    --bg-card-hover: #F3F3F5;
    --bg-elevated: #F0EFF2;
    --text-primary: #1a1a2a;
    --text-secondary: #5a5870;
    --text-muted: #888697;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.18);
    --accent-glow: rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
}
.lp-modal::-webkit-scrollbar { width: 4px; }
.lp-modal::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); border-radius: 4px; }

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

.lp-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #888697;
    transition: all var(--transition);
    z-index: 10;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.lp-close:hover {
    color: #1a1a2a;
    border-color: rgba(0, 0, 0, 0.15);
}

/* Progress */
.lp-progress {
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    margin-bottom: 1.25rem;
    overflow: hidden;
}
.lp-progress-bar {
    height: 100%;
    width: 20%;
    background: var(--accent);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.lp-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}
.lp-step-dot.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
}
.lp-step-dot.done {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

/* Steps */
.lp-step {
    display: none;
}
.lp-step.active {
    display: block;
    animation: fadeInUp 0.4s ease both;
}

.lp-step-header {
    margin-bottom: 2rem;
    text-align: center;
}
.lp-step-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.6rem;
}
.lp-step-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}
.lp-step-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Step 1 — Type Selector */
.lp-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.lp-type-card {
    cursor: pointer;
}
.lp-type-card input { display: none; }
.lp-type-inner {
    padding: 1.5rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lp-type-inner i {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: block;
    transition: color var(--transition);
}
.lp-type-inner strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.lp-type-inner span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.lp-type-card input:checked + .lp-type-inner {
    border-color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 0 0 1px var(--accent);
}
.lp-type-card input:checked + .lp-type-inner i {
    color: var(--accent);
}
.lp-type-inner:hover {
    border-color: var(--border-hover);
    background: rgba(37, 99, 235, 0.04);
}

/* Step 2 — Form Fields */
.lp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.lp-field.full {
    grid-column: 1 / -1;
}
.lp-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.45rem;
}
.lp-field input,
.lp-field select,
.lp-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}
.lp-field input::placeholder,
.lp-field textarea::placeholder {
    color: var(--text-muted);
}
.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    border-color: var(--accent);
}
.lp-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}
.lp-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}
/* Date input — make calendar icon visible */
.lp-field input[type="date"] {
    color-scheme: light;
}
.lp-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}
.lp-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}
.lp-field.error input,
.lp-field.error select,
.lp-field.error textarea {
    border-color: #f87171;
}

/* Step 3 — Upload */
.lp-upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.lp-upload-zone:hover,
.lp-upload-zone.dragover {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.lp-upload-zone i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}
.lp-upload-zone strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.lp-upload-zone span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lp-upload-preview {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.lp-preview-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}
.lp-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-preview-remove {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #f87171;
    color: #fff;
    border-radius: 50%;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition);
}
.lp-preview-remove:hover { transform: scale(1.15); }

/* Step 4 — Amenities */
.lp-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.lp-amenity {
    cursor: pointer;
}
.lp-amenity input { display: none; }
.lp-amenity span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.lp-amenity span i {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.lp-amenity input:checked + span {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent);
}
.lp-amenity input:checked + span i {
    color: var(--accent);
}
.lp-amenity span:hover {
    border-color: var(--border-hover);
}

/* Step 5 — Review Card */
.lp-review-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.lp-review-img {
    height: 180px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.lp-review-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lp-review-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.lp-review-body {
    padding: 1.25rem;
}
.lp-review-row {
    margin-bottom: 0.3rem;
}
.lp-review-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.lp-review-location i { color: var(--accent); font-size: 0.7rem; }
.lp-review-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.lp-review-price {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.lp-review-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.lp-review-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.lp-review-meta i { font-size: 0.7rem; }
.lp-review-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.lp-review-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.lp-review-amenity-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 100px;
    font-weight: 500;
}

/* Success */
.lp-success {
    text-align: center;
    padding: 1.5rem 0;
}
.lp-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
}
.lp-success-icon svg {
    width: 100%;
    height: 100%;
}
.lp-check-path {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: lpCheckDraw 0.6s ease 0.3s forwards;
}
@keyframes lpCheckDraw {
    to { stroke-dashoffset: 0; }
}
.lp-success h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}
.lp-success p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.lp-success-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}
.lp-success-stat strong {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.2rem;
}
.lp-success-stat span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lp-done-btn {
    margin: 0 auto;
}

/* Navigation Buttons */
.lp-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.lp-btn-back {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition);
    order: 2;
    justify-content: center;
}
.lp-btn-back:hover { color: var(--text-primary); }
.lp-btn-back.hidden { display: none; }
.lp-btn-next {
    margin-left: 0;
    order: 1;
    justify-content: center;
    display: flex;
}
.lp-btn-next.publish {
    background: #0A0A0F;
}
.lp-btn-next.publish:hover {
    background: #1A1A2A;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

@keyframes lpShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* ══════════════════════════════════
   AI MATCH MODAL
   ══════════════════════════════════ */
.ai-step { display: none; }
.ai-step.active { display: block; }

/* Scanning animation */
.ai-result { text-align: center; padding: 2rem 0; }
.ai-scanning { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }

/* Radar */
.ai-radar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}
.ai-radar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ai-radar-ring--1 {
    width: 40px;
    height: 40px;
    opacity: 0.5;
}
.ai-radar-ring--2 {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}
.ai-radar-ring--3 {
    width: 120px;
    height: 120px;
    opacity: 0.15;
}
.ai-radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform-origin: 0 0;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        var(--accent-glow) 30deg,
        var(--accent) 1deg,
        transparent 1deg
    );
    border-radius: 0 100% 0 0;
    animation: radarSweep 2.4s linear infinite;
}
.ai-radar-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-glow);
}
@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-scanning h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-primary);
}
.ai-scanning p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.ai-scan-bar {
    width: 220px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}
.ai-scan-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Validation error note */
.ai-error-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.65rem 1rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-sm);
    color: #ef4444;
    font-size: 0.82rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.ai-error-note.visible {
    opacity: 1;
    transform: translateY(0);
}
.ai-error-note i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Matches result */
.ai-matches { text-align: center; }
.ai-matches h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}
.ai-matches p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════
   LEARN MORE MODAL
   ══════════════════════════════════ */
.lm-modal { max-width: 640px; }
.lm-content { display: flex; flex-direction: column; gap: 2rem; }

.lm-header { text-align: center; }
.lm-header h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 0.5rem 0;
}
.lm-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.lm-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.lm-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}
.lm-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.lm-feature-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.lm-feature-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.lm-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.lm-stat { text-align: center; }
.lm-stat strong {
    display: block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}
.lm-stat span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lm-cta-row {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.lm-close-btn {
    border: 1px solid rgba(26, 26, 42, 0.2) !important;
    color: var(--text-dark-secondary) !important;
}
.lm-close-btn:hover {
    border-color: rgba(26, 26, 42, 0.4) !important;
    color: var(--text-dark) !important;
}

/* Ghost buttons inside light-themed modals */
.lp-modal .btn-ghost {
    color: var(--text-dark-secondary);
    border-color: rgba(26, 26, 42, 0.2);
}
.lp-modal .btn-ghost:hover {
    color: var(--text-dark);
    border-color: rgba(26, 26, 42, 0.4);
}

/* ══════════════════════════════════
   ESCROW MODAL
   ══════════════════════════════════ */
.esc-step { display: none; }
.esc-step.active { display: block; }

/* Review card */
.esc-review {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.esc-review-group {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.esc-review-group h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.esc-review-group h4 i {
    font-size: 0.7rem;
    color: var(--accent);
}
.esc-review-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
}
.esc-review-row:last-child {
    border-bottom: none;
}
.esc-review-row span {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.esc-review-row strong {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: right;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.esc-agree {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color var(--transition);
}
.esc-agree:hover {
    border-color: var(--border-hover);
}
.esc-agree input {
    margin-top: 0.15rem;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.esc-agree span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.esc-agree span strong {
    color: var(--accent);
    font-weight: 500;
}

/* ══════════════════════════════════
   BOOK A DEMO MODAL
   ══════════════════════════════════ */
.demo-datetime-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.demo-interests {
    grid-template-columns: repeat(3, 1fr) !important;
}
.demo-success {
    text-align: center;
}
.demo-success h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin: 1rem 0 0.5rem;
}
.demo-success p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* ══════════════════════════════════
   GET STARTED MODAL
   ══════════════════════════════════ */
.gs-step { display: none; }
.gs-step.active { display: block; }


/* ══════════════════════════════════
   LOGIN MODAL
   ══════════════════════════════════ */
.login-modal {
    max-width: 440px;
}
.login-view {
    display: none;
}
.login-view.active {
    display: block;
}
.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.login-logo {
    justify-content: center;
    margin-bottom: 1rem;
}
.login-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.login-header p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login-remember {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.login-remember input {
    accent-color: var(--accent);
}
.login-forgot-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.82rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: opacity var(--transition);
}
.login-forgot-link:hover {
    opacity: 0.8;
}
.login-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}
.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}
.login-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    cursor: pointer;
    transition: border-color var(--transition);
}
.login-social:hover {
    border-color: var(--border-hover);
}
.login-signup-prompt {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}
.login-signup-link {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: opacity var(--transition);
}
.login-signup-link:hover {
    opacity: 0.8;
}
.login-back-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    transition: color var(--transition);
}
.login-back-link:hover {
    color: var(--text-primary);
}

