/* ======================================================== */
/*                  SURENDRA SELECT DESIGN SYSTEM           */
/* ======================================================== */

/* Typography & Token Definitions - Visual Mockup Dark Theme */
:root {
    /* Color Palette - Aligned with the Dark Forest Green & Neon Lime Mockup */
    --brand-primary: #1b2618;      /* Deep Forest */
    --brand-primary-light: #2b3b26;
    --brand-secondary: #11150f;    /* Dark Charcoal Forest */
    --brand-accent: #b4e300;       /* Neon Lime Gold from Mockup */
    --brand-accent-hover: #96be00; /* Richer Lime Gold */
    --brand-sage-bg: #1e241d;      /* Dark Forest Gray */
    --brand-sage-light: #161a15;  /* Deep Charcoal Background */
    
    /* Neutrals - Dark Themed Client Experience */
    --text-primary: #FFFFFF;
    --text-secondary: #A0B2AB;     /* Subtle Sage Gray */
    --border-color: rgba(255, 255, 255, 0.08);
    --bg-white: #191a1f;           /* Dark Slate block */
    --glass-bg-light: rgba(255, 255, 255, 0.03);
    --glass-border-light: rgba(255, 255, 255, 0.06);

    /* Neutrals - Dark Mode (Dashboard Foundations) */
    --bg-dark-core: #0D1412;       /* Charcoal Forest */
    --bg-dark-panel: #14201C;      /* Slate Forest Panel */
    --bg-dark-block: #1B2D27;      /* Inner block dark */
    --text-dark-primary: #F0F4F2;
    --text-dark-secondary: #A0B2AB;
    --border-dark: #263C34;
    --glass-bg-dark: rgba(20, 32, 28, 0.85);

    /* Status Colors */
    --status-new: #3b82f6;          /* Blue */
    --status-contacted: #a855f7;    /* Purple */
    --status-interested: #f59e0b;   /* Amber */
    --status-booked: #06b6d4;       /* Cyan */
    --status-completed: #10b981;    /* Emerald */
    --status-nego: #f43f5e;         /* Rose */
    --status-closed: #16a34a;       /* Green */
    --status-no: #6b7280;           /* Gray */

    /* Typography */
    --font-heading: 'Cinzel', 'Playfair Display', serif; /* Elegant serif architecture headers */
    --font-body: 'Josefin Sans', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(180, 227, 0, 0.2);
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions & Easings */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    --transition-smooth: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    --transition-spring: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.25s ease;
}

/* ======================================================== */
/*                     PREMIUM LIGHT THEME SYSTEM           */
/* ======================================================== */
body.light-theme {
    --brand-primary: #0f4c3a;      /* Premium Deep Forest */
    --brand-primary-light: #eaf5f0;
    --brand-secondary: #f4fbf8;    /* Soft Clean Greenish White */
    --brand-accent: #0f4c3a;       /* Rich Green contrasting accent */
    --brand-accent-hover: #135e48;
    --brand-sage-bg: #f3f8f6;
    --brand-sage-light: #e4edf0;   /* Frosted Soft Sage */
    
    --text-primary: #11201a;       /* High readability dark charcoal green */
    --text-secondary: #4a665b;     /* Elegant slate green */
    --border-color: rgba(15, 76, 58, 0.08);
    --bg-white: #ffffff;           /* Pure white card panels */
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border-light: rgba(15, 76, 58, 0.08);
    
    --shadow-sm: 0 2px 8px rgba(15, 76, 58, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 76, 58, 0.06);
    --shadow-lg: 0 16px 40px rgba(15, 76, 58, 0.1);
}

body.light-theme .hero-watermark {
    background: linear-gradient(180deg, rgba(15, 76, 58, 0.12), rgba(15, 76, 58, 0.01)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-stroke: 0 !important;
    opacity: 0.5 !important;
}

body.light-theme .capsule-nav {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(15, 76, 58, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: var(--shadow-sm) !important;
}

body.light-theme .capsule-nav .nav-link {
    color: rgba(15, 76, 58, 0.7) !important;
}

body.light-theme .capsule-nav .nav-link:hover, 
body.light-theme .capsule-nav .nav-link.active {
    color: var(--brand-accent) !important;
    font-weight: 700;
}

body.light-theme .interactive-3d-section {
    background-color: var(--brand-secondary) !important;
    color: var(--text-primary) !important;
}

body.light-theme .interactive-3d-section h2,
body.light-theme .interactive-3d-section .section-desc,
body.light-theme .interactive-3d-section h4,
body.light-theme .interactive-3d-section p {
    color: var(--text-primary) !important;
}

body.light-theme .interactive-3d-section .canvas-3d-container {
    background: rgba(15, 76, 58, 0.02) !important;
    border: 1px solid rgba(15, 76, 58, 0.1) !important;
}

body.light-theme .booking-info-panel h2,
body.light-theme .booking-info-panel p,
body.light-theme .booking-info-panel .bullet-item {
    color: #ffffff !important; /* Keep the gradient info panel high contrast white */
}

body.light-theme .btn-glass {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

body.light-theme .btn-glass:hover {
    background-color: rgba(15, 76, 58, 0.05) !important;
}

body.light-theme .logo-main-mockup {
    color: var(--text-primary) !important;
}

body.light-theme .logo-svg-mockup path {
    fill: var(--brand-primary) !important;
}

body.light-theme .btn-circle-search {
    background: rgba(15, 76, 58, 0.05) !important;
    border: 1px solid rgba(15, 76, 58, 0.08) !important;
    color: var(--text-primary) !important;
}

body.light-theme .btn-circle-search:hover {
    background: rgba(15, 76, 58, 0.1) !important;
}

body.light-theme .btn-portal-toggle {
    background: rgba(15, 76, 58, 0.05) !important;
    border: 1px solid rgba(15, 76, 58, 0.08) !important;
    color: var(--text-primary) !important;
}

body.light-theme .btn-portal-toggle:hover {
    background: rgba(15, 76, 58, 0.1) !important;
}

body.light-theme .canvas-3d-footer .btn-glass {
    color: #ffffff !important; /* Keep 3d footer canvas buttons visible on dark canvas background */
}

body.light-theme .w3d-control-box {
    background: rgba(15, 76, 58, 0.02) !important;
    border: 1px solid rgba(15, 76, 58, 0.06) !important;
}

body.light-theme .w3d-control-box h4 {
    color: var(--text-primary) !important;
}

body.light-theme .w3d-control-box p {
    color: var(--text-secondary) !important;
}

body.light-theme .simulator-slider-wrapper span {
    color: var(--text-secondary) !important;
}

body.light-theme .simulator-slider-wrapper #simulator-time-label {
    color: var(--brand-primary) !important;
}

body.light-theme .style-chips-wrapper .btn-glass {
    color: var(--text-primary) !important;
    border-color: rgba(15, 76, 58, 0.15) !important;
}

body.light-theme .style-chips-wrapper .btn-glass:hover {
    background-color: rgba(15, 76, 58, 0.05) !important;
}

body.light-theme .booking-form-panel {
    background-color: var(--bg-white) !important;
}

body.light-theme .booking-card {
    background-color: var(--bg-white) !important;
}

body.light-theme .main-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(15, 76, 58, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 76, 58, 0.05), var(--shadow-sm) !important;
}


/* ======================================================== */
/*                     MOCKUP CUSTOM UI CLASSES             */
/* ======================================================== */

/* Giant outline watermark in the hero background */
.hero-watermark {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 11vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.035);
    letter-spacing: 0.1em;
    line-height: 1;
    pointer-events: none;
    z-index: 0;
    user-select: none;
    white-space: nowrap;
}

/* Capsule style navigation menu from mockup */
.capsule-nav {
    background: rgba(0, 0, 0, 0.35) !important;
    border-radius: 50px !important;
    padding: 8px 30px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
}

.capsule-nav .nav-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

.capsule-nav .nav-link:hover, .capsule-nav .nav-link.active {
    color: var(--brand-accent) !important;
}

.capsule-nav .nav-link::after {
    background-color: var(--brand-accent) !important;
}

/* Circle Search Button in Header */
.btn-circle-search {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-circle-search:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-accent);
    color: var(--brand-accent);
    transform: scale(1.05);
}

/* Round capsule action buttons */
.capsule-btn {
    border-radius: 50px !important;
    padding: 10px 24px !important;
}

.lime-btn {
    background-color: var(--brand-accent) !important;
    color: #111410 !important;
    border-color: var(--brand-accent) !important;
    font-weight: 700 !important;
}

.lime-btn:hover {
    background-color: var(--brand-accent-hover) !important;
    box-shadow: 0 4px 18px rgba(180, 227, 0, 0.45) !important;
    transform: translateY(-2px);
}

/* Headline from the mockup */
.mock-title {
    font-family: var(--font-heading) !important;
    font-size: 3.2rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.05em !important;
    color: #FFF !important;
    text-transform: uppercase;
}

/* Search Box container */
.mock-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50px;
    padding: 8px 10px 8px 24px;
    margin-top: 36px;
    margin-bottom: 20px;
    backdrop-filter: blur(16px);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.mock-search-box:focus-within {
    border-color: var(--brand-accent);
    box-shadow: 0 10px 30px rgba(180, 227, 0, 0.1);
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 12px;
}

.search-icon {
    color: rgba(255, 255, 255, 0.4);
}

.mock-search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFF;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
}

.mock-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.mic-icon {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-right: 12px;
}

.mic-icon:hover {
    color: var(--brand-accent);
}

.btn-search-go {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-accent);
    color: #111410;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-search-go:hover {
    background-color: var(--brand-accent-hover);
    transform: scale(1.05);
}

/* Recent Search Tag Chips */
.recent-searches {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    position: relative;
    z-index: 2;
}

.recent-lbl {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.search-chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.search-chip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--brand-accent);
    color: #FFF;
    transform: translateY(-1px);
}

/* Isometric visual card wrapper */
.hero-mockup-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mockup-isometric-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
    animation: floatIsometric 5s ease-in-out infinite;
}

.glow-backdrop {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 227, 0, 0.12) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

/* Transitional Properties Row at the base of the Hero section */
.transitional-properties-row {
    grid-column: span 2;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.transitional-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.trans-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trans-discover-title {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.25;
    color: #FFF;
    letter-spacing: -0.01em;
}

.draw-arrow-icon {
    color: rgba(255,255,255,0.3);
    animation: floatArrow 3s ease-in-out infinite;
}

.trans-right {
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trans-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.properties-nav-btn {
    align-self: flex-start;
}

/* Animations for premium details */
@keyframes floatIsometric {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes floatArrow {
    0% { transform: translate(0px, 0px); }
    50% { transform: translate(4px, 6px); }
    100% { transform: translate(0px, 0px); }
}

/* Styling for the property cards cut off at the bottom of the mockup */
.mockup-cards-row {
    grid-column: span 2;
    width: 100%;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.mockup-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
}

.mock-card {
    background: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.mock-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.m-card-img-wrapper {
    height: 180px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

/* Color thematic mockup images using gorgeous premium CSS visual styles */
.card-blue .m-card-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('card_pool.png');
}

.card-wood .m-card-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('card_wood.png');
}

.card-gold .m-card-img-wrapper {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.4)), url('card_gold.png');
}

.m-card-price {
    background: var(--brand-accent);
    color: #111410;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.m-card-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.m-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-accent);
    letter-spacing: 0.05em;
}

.m-card-details h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: #FFF;
    font-weight: 700;
    line-height: 1.3;
}

.m-card-loc {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.m-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 14px;
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .mockup-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}



.highlights-section {
    background-color: var(--brand-sage-light) !important;
}

.highlight-card {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.floor-plans-section {
    background-color: var(--brand-sage-bg) !important;
}

.floor-plan-canvas-card, .floor-plan-details-card {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.canvas-header {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

.btn-tab {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.6) !important;
}

.btn-tab.active {
    background-color: var(--brand-accent) !important;
    color: #111410 !important;
    border-color: var(--brand-accent) !important;
}

.room-details-box {
    background-color: var(--brand-sage-bg) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.unit-compare-mini {
    border-top-color: rgba(255,255,255,0.06) !important;
}

.comp-val {
    color: #FFF !important;
}

.amenities-section {
    background-color: var(--brand-sage-light) !important;
}

.amenity-card-fancy {
    background: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.amenity-tab::after {
    background-color: var(--brand-accent) !important;
}

.amenity-tab.active, .amenity-tab:hover {
    color: var(--brand-accent) !important;
}

.location-section {
    background-color: var(--brand-sage-bg) !important;
}

.accordion-item {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.accordion-item.active {
    border-color: var(--brand-accent) !important;
}

.accordion-item.active .accordion-content {
    background-color: var(--brand-sage-light) !important;
}

.luxury-map-mock {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.04) !important;
}

.booking-section {
    background-color: var(--brand-sage-light) !important;
}

.booking-card {
    border-color: rgba(255,255,255,0.04) !important;
}

.booking-form-panel {
    background-color: var(--bg-white) !important;
}

.booking-form-panel input, .booking-form-panel select {
    background-color: var(--brand-sage-bg) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #FFF !important;
}

.booking-form-panel input:focus, .booking-form-panel select:focus {
    border-color: var(--brand-accent) !important;
}

.modal-card {
    background-color: var(--bg-white) !important;
    border-color: rgba(255,255,255,0.06) !important;
}

.modal-body input, .modal-body select {
    background-color: var(--brand-sage-bg) !important;
    border-color: rgba(255,255,255,0.06) !important;
    color: #FFF !important;
}

.modal-body input:focus, .modal-body select:focus {
    border-color: var(--brand-accent) !important;
}


/* Base Reset & Core Configurations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--brand-sage-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: var(--font-body);
    border: none;
    outline: none;
    cursor: pointer;
    background: none;
}

input, select, textarea {
    font-family: var(--font-body);
}

.hidden {
    display: none !important;
}

/* ======================================================== */
/*                     TYPOGRAPHY UTILITIES                 */
/* ======================================================== */
.gold-text {
    color: var(--brand-accent) !important;
}

.green-text {
    color: var(--brand-primary) !important;
}

.bold {
    font-weight: 700;
}

/* ======================================================== */
/*                     BUTTONS & INTERACTIVES               */
/* ======================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    border: 1px solid var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

.btn-secondary:hover {
    background-color: rgba(15, 76, 58, 0.05);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-portal-toggle {
    background-color: var(--brand-accent);
    color: var(--brand-secondary);
    font-weight: 700;
    border: 1px solid var(--brand-accent);
    box-shadow: var(--shadow-gold);
}

.btn-portal-toggle:hover {
    background-color: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    color: #111410 !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ======================================================== */
/*                     HEADER & NAVIGATION                  */
/* ======================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    background: rgba(248, 250, 249, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border-light);
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-accent {
    color: var(--brand-accent);
}

.logo-main {
    color: var(--brand-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ======================================================== */
/*                     HERO LUXURY AREA                     */
/* ======================================================== */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 75% 35%, rgba(180, 227, 0, 0.15) 0%, #1e261a 55%, var(--brand-sage-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 80%, var(--brand-sage-light));
    pointer-events: none;
}

.hero-content-wrapper {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-block {
    display: flex;
    flex-direction: column;
}

.hero-tagline {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brand-accent-hover);
    margin-bottom: 16px;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-trust-badges {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.badge-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Featured Building Elevation Card */
.hero-featured-card {
    background: var(--glass-bg-light);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-smooth);
}

.hero-featured-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.featured-card-image {
    height: 320px;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rendering-fallback {
    text-align: center;
    color: var(--brand-accent);
}

.luxury-building-graphic {
    animation: floating 4s ease-in-out infinite;
}

.luxury-building-graphic svg {
    height: 200px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3));
}

.rendering-caption {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
    margin-top: 10px;
    text-transform: uppercase;
}

.featured-card-details {
    padding: 30px;
}

.featured-location {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-accent-hover);
    margin-bottom: 8px;
    display: block;
}

.featured-card-details h3 {
    font-size: 1.4rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
}

.featured-card-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.featured-amenities-mini {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ======================================================== */
/*                     SECTIONS SHARED ELEMENTS             */
/* ======================================================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--brand-accent-hover);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

/* ======================================================== */
/*                     PROJECT HIGHLIGHTS                   */
/* ======================================================== */
.highlights-section {
    background-color: var(--bg-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.highlight-card {
    padding: 40px 30px;
    background-color: var(--brand-sage-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-accent);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(180, 227, 0, 0.12); /* Beautiful high-contrast glowing neon outline */
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.highlight-card:hover .highlight-icon {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
}

.highlight-card h3 {
    font-size: 1.35rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.highlight-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ======================================================== */
/*                     INTERACTIVE FLOOR PLANS              */
/* ======================================================== */
.floor-plans-section {
    background-color: var(--brand-sage-light);
}

.floor-plan-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-tab {
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-secondary);
}

.btn-tab.active {
    background-color: var(--brand-primary);
    color: var(--bg-white);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

.floor-plan-interactive-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: stretch;
}

.floor-plan-canvas-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.canvas-title h4 {
    font-size: 1.4rem;
    color: var(--brand-primary);
}

.canvas-title p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.canvas-helper {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-accent-hover);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    animation: pulsing 1.5s infinite;
}

.canvas-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.interactive-floorplan-svg {
    width: 100%;
    max-height: 420px;
    height: auto;
}

/* Room group hover animations */
.room-group {
    cursor: pointer;
}

.room-rect {
    transition: var(--transition-smooth);
}

.room-text {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    fill: var(--brand-primary);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.room-text.gold-text {
    fill: var(--brand-accent-hover);
}

.room-text.small {
    font-size: 8px;
}

.room-size {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 500;
    fill: var(--text-secondary);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.room-group:hover .room-rect {
    fill: rgba(212, 175, 55, 0.2) !important;
    stroke: var(--brand-accent) !important;
    stroke-width: 2.5px;
}

.room-group:hover .room-text {
    fill: var(--brand-secondary);
    font-weight: 800;
}

.room-group:hover .room-size {
    fill: var(--brand-primary);
}

/* Floor plan details side card */
.floor-plan-details-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-panel-header {
    margin-bottom: 24px;
}

.tag-status {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 8px;
}

.green-status {
    background-color: rgba(22, 163, 74, 0.1);
    color: var(--status-closed);
}

.details-panel-header h3 {
    font-size: 1.7rem;
    color: var(--brand-primary);
}

.room-details-box {
    background-color: var(--brand-sage-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-state-hover {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.empty-state-hover h4 {
    font-size: 1.1rem;
    color: var(--brand-primary);
}

.empty-state-hover p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.room-inspect-detail h4 {
    font-size: 1.4rem;
    color: var(--brand-accent-hover);
    margin-bottom: 6px;
}

.room-inspect-size {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.room-inspect-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.unit-compare-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 30px;
}

.compare-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.comp-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comp-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.comp-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.panel-action-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ======================================================== */
/*                     AMENITIES AREA                       */
/* ======================================================== */
.amenities-section {
    background-color: var(--bg-white);
}

.amenity-tabs-nav {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 40px;
}

.amenity-tab {
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-smooth);
}

.amenity-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--brand-primary);
    transition: var(--transition-smooth);
}

.amenity-tab.active, .amenity-tab:hover {
    color: var(--brand-primary);
}

.amenity-tab.active::after {
    width: 100%;
}

.amenity-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease-out;
}

.amenity-card-fancy {
    background: var(--brand-sage-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.amenity-card-fancy:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-accent);
}

.amenity-visual-icon {
    height: 140px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
}

.amenity-visual-icon svg {
    height: 56px;
    width: 56px;
}

.amenity-info-block {
    padding: 24px;
}

.amenity-info-block h3 {
    font-size: 1.25rem;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.amenity-info-block p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ======================================================== */
/*                     LOCATION ADVANTAGE                   */
/* ======================================================== */
.location-section {
    background-color: var(--brand-sage-light);
}

.location-layout-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.location-accordion-card h3 {
    font-size: 1.8rem;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.loc-intro {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.accordion-item.active {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.accordion-title {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-primary);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    color: var(--brand-accent);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--brand-primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--brand-sage-light);
    border-top: 0 solid var(--border-color);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    border-top-width: 1px;
}

.accordion-content ul {
    padding: 18px 28px;
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.luxury-map-mock {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 24px;
    position: relative;
}

.map-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(rgba(15, 76, 58, 0.02) 2px, transparent 2px);
    background-size: 20px 20px;
    pointer-events: none;
}

.map-schematic {
    width: 100%;
    height: auto;
}

.map-lbl {
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 500;
    stroke: none !important;
    fill: var(--text-secondary) !important;
}

.map-lbl.bold {
    font-weight: 700;
    font-size: 10px;
    fill: var(--brand-accent) !important;
}

body.light-theme .map-lbl.bold {
    fill: var(--brand-primary) !important;
}

.map-lbl.sub {
    font-size: 7px;
    fill: #d4af37 !important;
}

.map-callout-overlay {
    margin-top: 16px;
    text-align: center;
    background-color: rgba(15, 76, 58, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* ======================================================== */
/*                     BOOKING SCHEDULER                    */
/* ======================================================== */
.booking-section {
    background-color: var(--bg-white);
}

.booking-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    background-color: var(--brand-sage-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.booking-info-panel {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    padding: 60px 40px;
    color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-info-panel .tagline {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--brand-accent);
    margin-bottom: 12px;
}

.booking-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.booking-info-panel p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.benefit-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.bullet-chk {
    color: var(--brand-accent);
    font-weight: 700;
}

.booking-form-panel {
    background-color: var(--bg-white);
    padding: 60px 50px;
}

.booking-form-panel h3 {
    font-size: 1.6rem;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

/* ======================================================== */
/*                     FORM CONTROL INTERACTION             */
/* ======================================================== */
.form-row {
    margin-bottom: 20px;
}

.split-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    background-color: var(--brand-sage-light);
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

/* ======================================================== */
/*                     MODALS INTERACTION AREA              */
/* ======================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 20, 18, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease-out;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    animation: scaleUp 0.3s var(--ease-out) forwards;
    transform-origin: center;
}

.modal-banner {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
    padding: 30px 24px;
    color: var(--bg-white);
}

.modal-banner h3 {
    font-size: 1.3rem;
    margin-top: 6px;
}

.modal-header-standard {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-standard h3 {
    font-size: 1.25rem;
    color: var(--brand-primary);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-header-standard .modal-close {
    color: var(--text-secondary);
    top: 24px;
}

.modal-close:hover {
    color: var(--brand-accent);
}

.modal-body {
    padding: 30px 24px;
}

.modal-helper {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ======================================================== */
/*                     WHATSAPP FLOATING WIDGET             */
/* ======================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
}

.whatsapp-launcher {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: var(--transition-smooth);
}

.whatsapp-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.launcher-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ripple 2s infinite;
}

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #EF4444;
    color: var(--bg-white);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-white);
}

.whatsapp-chatbox {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background-color: #E5DDD5; /* Classic WhatsApp beige background */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.15);
    animation: scaleUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.chatbox-header {
    background-color: #075E54;
    color: var(--bg-white);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.advisor-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-status {
    position: relative;
}

.status-online {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #4ADE80;
    border: 2px solid #075E54;
    border-radius: 50%;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--brand-accent);
    color: var(--brand-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.advisor-meta h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

.advisor-meta p {
    font-size: 0.7rem;
    opacity: 0.8;
}

.btn-chat-close {
    color: rgba(255,255,255,0.7);
    font-size: 1.6rem;
    line-height: 1;
}

.btn-chat-close:hover {
    color: var(--bg-white);
}

.chatbox-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* WhatsApp Message Bubbles */
.wa-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    position: relative;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-incoming {
    background-color: var(--bg-white);
    color: var(--text-primary);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-outgoing {
    background-color: #DCF8C6; /* Green bubble */
    color: var(--text-primary);
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-time {
    font-size: 0.65rem;
    color: rgba(0,0,0,0.45);
    text-align: right;
    margin-top: 4px;
}

.wa-bubble ul {
    list-style-type: none;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wa-bubble ul li {
    font-weight: 700;
    color: var(--brand-primary);
}

.chatbox-input-container {
    background-color: #F0F0F0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.chatbox-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wa-chip {
    background-color: var(--bg-white);
    color: var(--brand-primary);
    border: 1px solid rgba(15, 76, 58, 0.15);
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
}

.wa-chip:hover {
    background-color: var(--brand-primary);
    color: var(--bg-white);
}

.chatbox-keyboard {
    display: flex;
    gap: 8px;
}

.chatbox-keyboard input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 0.8rem;
    background-color: var(--bg-white);
}

.chatbox-keyboard input:focus {
    outline: none;
    border-color: var(--brand-primary);
}

.btn-wa-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #075E54;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-wa-send:hover {
    background-color: #128C7E;
}

/* ======================================================== */
/*                     SALES CRM VIEW AREA                  */
/* ======================================================== */

/* CRM Split Frame */
#crm-view {
    display: grid;
    grid-template-columns: 240px 1fr;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-dark-core);
    color: var(--text-dark-primary);
}

.crm-sidebar {
    background-color: var(--bg-dark-panel);
    border-right: 1px solid var(--border-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
}

.sidebar-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark-primary);
}

.version-tag {
    font-size: 0.65rem;
    background-color: var(--brand-accent);
    color: var(--brand-secondary);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
    flex: 1;
}

.sidebar-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark-secondary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: var(--bg-dark-block);
    color: var(--text-dark-primary);
}

.sidebar-link.active {
    border-left: 3px solid var(--brand-accent);
    padding-left: 13px;
}

/* CRM Content */
.crm-main-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.crm-header-bar {
    background-color: var(--bg-dark-panel);
    border-bottom: 1px solid var(--border-dark);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.crm-title-area h2 {
    font-size: 1.6rem;
    color: var(--text-dark-primary);
}

.crm-title-area p {
    font-size: 0.8rem;
    color: var(--text-dark-secondary);
}

.crm-action-group {
    display: flex;
    gap: 12px;
}

.crm-action-group .btn-secondary {
    border-color: var(--border-dark);
    color: var(--text-dark-primary);
}

.crm-action-group .btn-secondary:hover {
    background-color: var(--bg-dark-block);
}

.crm-scroll-container {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.crm-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.crm-tab-panel.active {
    display: block;
}

/* KPI Scorecard Grid */
.crm-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.crm-stat-card {
    background-color: var(--bg-dark-panel);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.stat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-dark-secondary);
    letter-spacing: 0.05em;
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-emerald { background-color: rgba(16, 185, 129, 0.1); }
.bg-bronze { background-color: rgba(212, 175, 55, 0.15); }
.bg-blue { background-color: rgba(59, 130, 246, 0.1); }
.bg-purple { background-color: rgba(168, 85, 247, 0.1); }

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
}

.text-green {
    color: #4ADE80;
}

/* CRM Analytical Visuals Grid */
.crm-analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.analytics-card {
    background-color: var(--bg-dark-panel);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.analytics-card h3 {
    font-size: 0.95rem;
    color: var(--text-dark-primary);
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 12px;
}

.chart-canvas-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.chart-legends {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
    font-size: 0.7rem;
    color: var(--text-dark-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

/* Site Visit Schedule List */
.visits-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 220px;
    overflow-y: auto;
}

.schedule-card {
    background-color: var(--bg-dark-block);
    border-left: 3px solid var(--brand-accent);
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-meta h5 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-dark-primary);
}

.schedule-meta p {
    font-size: 0.7rem;
    color: var(--text-dark-secondary);
}

.schedule-exec {
    font-size: 0.65rem;
    background-color: var(--border-dark);
    color: var(--brand-accent);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

/* ======================================================== */
/*                     STATUS KANBAN BOARD                  */
/* ======================================================== */
.kanban-helper-message {
    background-color: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 0.8rem;
    color: var(--brand-accent);
    margin-bottom: 20px;
}

.crm-kanban-board {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    align-items: start;
    min-height: calc(100vh - 240px);
    overflow-x: auto;
    padding-bottom: 20px;
}

.kanban-column {
    background-color: var(--bg-dark-panel);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 400px;
    min-width: 140px;
}

.kanban-col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 8px;
    margin-bottom: 4px;
}

.kanban-col-header h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dark-primary);
}

.kanban-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background-color: var(--bg-dark-block);
    padding: 1px 6px;
    border-radius: 10px;
    color: var(--text-dark-secondary);
}

.kanban-col-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.kanban-card {
    background-color: var(--bg-dark-block);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.kanban-card:hover {
    border-color: var(--brand-accent);
    transform: translateY(-2px);
}

.k-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark-primary);
    margin-bottom: 4px;
}

.k-card-meta {
    font-size: 0.65rem;
    color: var(--text-dark-secondary);
    display: flex;
    justify-content: space-between;
}

.k-card-tag {
    font-size: 0.6rem;
    color: var(--brand-accent);
    margin-top: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ======================================================== */
/*                     LEAD LIST MANAGEMENT TABLE           */
/* ======================================================== */
.crm-list-filter-bar {
    display: flex;
    gap: 16px;
    background-color: var(--bg-dark-panel);
    border: 1px solid var(--border-dark);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.filter-group input, .filter-group select {
    background-color: var(--bg-dark-block);
    border: 1px solid var(--border-dark);
    color: var(--text-dark-primary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.filter-group input {
    width: 250px;
}

.filter-group input:focus, .filter-group select:focus {
    border-color: var(--brand-accent);
    outline: none;
}

.table-container {
    background-color: var(--bg-dark-panel);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.crm-leads-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.8rem;
}

.crm-leads-table th {
    background-color: var(--bg-dark-block);
    color: var(--text-dark-secondary);
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-dark);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.crm-leads-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-dark-primary);
}

.crm-leads-table tbody tr:hover {
    background-color: var(--bg-dark-block);
}

.lead-cell-name {
    font-weight: 700;
    color: var(--text-dark-primary);
}

.lead-cell-phone {
    font-size: 0.72rem;
    color: var(--text-dark-secondary);
}

.badge-status {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-new { background-color: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-contacted { background-color: rgba(168, 85, 247, 0.15); color: #c084fc; }
.badge-interested { background-color: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-booked { background-color: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.badge-completed { background-color: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge-nego { background-color: rgba(244, 63, 94, 0.15); color: #fb7185; }
.badge-closed { background-color: rgba(22, 163, 74, 0.15); color: #4ade80; }
.badge-no { background-color: rgba(107, 114, 128, 0.15); color: #9ca3af; }

.crm-leads-table .btn {
    padding: 4px 10px;
    font-size: 0.7rem;
}

/* ======================================================== */
/*                  POPUP TOAST NOTIFICATIONS               */
/* ======================================================== */
.toast-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background-color: var(--brand-secondary);
    color: var(--bg-white);
    border: 1px solid var(--brand-accent);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: slideDown 0.3s ease-out;
}

/* ======================================================== */
/*                     CUSTOM DETAILED LEAD MODAL           */
/* ======================================================== */
.lead-status-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.l-view-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.l-view-header h4 {
    font-size: 1.4rem;
    color: var(--brand-primary);
}

.l-view-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.l-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    background-color: var(--brand-sage-light);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.l-view-col {
    display: flex;
    flex-direction: column;
}

.l-view-col label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.l-view-col span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
}

.l-action-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.l-action-card label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.l-action-card select {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--brand-sage-light);
}

/* ======================================================== */
/*                     DYNAMIC SYSTEM KEYFRAMES             */
/* ======================================================== */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulsing {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

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

/* ======================================================== */
/*                  RESPONSIVE COMPATIBILITY                */
/* ======================================================== */
@media (max-width: 1100px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-featured-card {
        transform: none !important;
        max-width: 550px;
        margin: 0 auto;
    }
    .floor-plan-interactive-grid {
        grid-template-columns: 1fr;
    }
    .location-layout-grid {
        grid-template-columns: 1fr;
    }
    .booking-card {
        grid-template-columns: 1fr;
    }
    .booking-info-panel {
        padding: 40px 30px;
    }
    .booking-form-panel {
        padding: 40px 30px;
    }
    .crm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .crm-analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile hamburger could go here, fallback to clean scrolling anchor links */
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .split-cols {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .whatsapp-chatbox {
        width: 320px;
        height: 420px;
        right: -10px;
    }
    #crm-view {
        grid-template-columns: 1fr;
    }
    .crm-sidebar {
        display: none; /* Hide sidebar in mobile CRM layout, toggle elements via quick action buttons */
    }
}

/* ======================================================== */
/*                  REFERENCE HOME SCREEN REFINEMENT        */
/* ======================================================== */
body {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.08), transparent 34%),
        radial-gradient(circle at 18% 82%, rgba(180, 227, 0, 0.08), transparent 26%),
        #11130f;
}

.main-header {
    top: 34px !important;
    left: 50% !important;
    right: auto !important;
    width: min(90vw, 1320px) !important;
    height: 74px !important;
    transform: translateX(-50%);
    background: rgba(17, 21, 15, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(180, 227, 0, 0.12) !important;
    border-radius: 50px !important; /* Perfect capsule pill design matching the nav menu */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), var(--shadow-gold) !important;
}

.header-container {
    width: 100%;
    padding: 0 28px;
}

.logo-area {
    font-size: 1.02rem;
    color: #fff;
}

.logo-main-mockup {
    color: #fff;
    letter-spacing: -0.03em;
}

.capsule-nav {
    padding: 6px !important;
    gap: 4px;
    background: rgba(0, 0, 0, 0.42) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.capsule-nav .nav-link {
    min-width: 78px;
    padding: 10px 14px !important;
    border-radius: 999px;
    font-size: 0.66rem;
    text-align: center;
    letter-spacing: 0;
    text-transform: none;
}

.capsule-nav .nav-link::after {
    display: none;
}

.capsule-nav .nav-link:hover,
.capsule-nav .nav-link.active {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08);
}

.header-actions {
    gap: 10px;
}

.btn-circle-search {
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.18);
}

.header-actions .btn-portal-toggle {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.header-actions .btn-portal-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.capsule-btn {
    padding: 10px 20px !important;
    font-size: 0.72rem;
    letter-spacing: 0;
}

.hero-section {
    width: min(90vw, 1320px);
    min-height: 860px;
    margin: 34px auto 0;
    padding: 104px 0 0;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 38%, transparent 39%),
        radial-gradient(circle at 78% 27%, rgba(231, 255, 193, 0.12), transparent 32%),
        linear-gradient(135deg, #334122 0%, #1b2615 54%, #11190f 100%);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 74px 28px auto;
    height: 545px;
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
        rgba(101, 112, 89, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.04);
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(to bottom, transparent 70%, rgba(17, 25, 15, 0.92));
}

.hero-watermark {
    top: 176px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: 'Bebas Neue', var(--font-body);
    font-size: clamp(7rem, 14.2vw, 15.6rem);
    font-weight: 400;
    letter-spacing: 0.015em;
    line-height: 0.85;
    color: transparent;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.08));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0;
    opacity: 0.82;
}

.hero-content-wrapper {
    width: calc(100% - 64px);
    max-width: none;
    min-height: 470px;
    grid-template-columns: 0.94fr 1.06fr;
    gap: 8px;
    align-items: end;
}

.hero-text-block {
    align-self: end;
    padding: 0 0 42px 10px;
    max-width: 610px;
    min-width: 0;
}

.mock-title {
    font-family: 'Bebas Neue', var(--font-body) !important;
    font-size: clamp(3rem, 4.8vw, 5.45rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.018em !important;
    line-height: 0.94 !important;
    max-width: 640px;
    margin-bottom: 0;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.mock-search-box {
    max-width: 455px;
    min-height: 58px;
    margin-top: 34px;
    margin-bottom: 10px;
    padding: 7px 8px 7px 18px;
    background: rgba(18, 23, 17, 0.32);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035), 0 16px 38px rgba(0, 0, 0, 0.18);
}

.mock-search-box input {
    font-size: 0.82rem;
}

.btn-search-go {
    width: 42px;
    height: 42px;
    box-shadow: 0 8px 20px rgba(180, 227, 0, 0.28);
}

.recent-searches {
    max-width: 520px;
    gap: 6px;
    margin-top: 0;
}

.recent-lbl {
    flex-basis: 100%;
    font-size: 0.65rem;
}

.search-chip-btn {
    padding: 4px 10px;
    font-size: 0.58rem;
    background: rgba(255, 255, 255, 0.08);
}

.hero-mockup-visual {
    align-self: end;
    justify-content: flex-end;
    margin-bottom: -6px;
    margin-right: 8px;
}

.mockup-isometric-img {
    max-width: min(620px, 50vw);
    filter: drop-shadow(0 30px 38px rgba(0, 0, 0, 0.58));
    animation: none;
}

.glow-backdrop {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(180, 227, 0, 0.14) 0%, transparent 68%);
}

.transitional-properties-row {
    width: calc(100% - 64px);
    margin: 34px auto 0;
    padding-top: 0;
    border-top: 0;
}

.transitional-container {
    min-height: 145px;
    align-items: flex-start;
}

.trans-left {
    align-items: flex-start;
}

.trans-discover-title {
    font-family: 'Bebas Neue', var(--font-body);
    font-size: clamp(2.8rem, 4.1vw, 4.75rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.02em;
}

.draw-arrow-icon {
    width: 118px;
    height: 76px;
    margin-top: 38px;
}

.draw-arrow-icon path {
    stroke-width: 1.5;
}

.trans-right {
    max-width: 460px;
    align-items: flex-start;
    padding-top: 24px;
}

.trans-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    text-align: left;
}

.properties-nav-btn {
    padding: 11px 22px !important;
    background: rgba(180, 227, 0, 0.72) !important;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.28) !important;
}

.mockup-cards-row {
    width: calc(100% - 248px);
    margin: 40px auto 0;
    height: auto;
    overflow: visible;
}

.mockup-cards-container {
    gap: 38px;
    transform: none;
}

.mock-card {
    min-height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.m-card-img-wrapper {
    height: 190px;
}

@media (max-width: 1100px) {
    .main-header {
        width: min(94vw, 1320px) !important;
    }

    .hero-section {
        width: min(94vw, 1320px);
        min-height: auto;
        padding-bottom: 34px;
    }

    .hero-section::before {
        height: 700px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text-block {
        order: 2;
        padding: 0 0 16px;
    }

    .hero-mockup-visual {
        order: 1;
        justify-content: center;
        margin: 0;
    }

    .mockup-isometric-img {
        max-width: min(560px, 82vw);
    }

    .transitional-container {
        flex-direction: column;
        gap: 18px;
    }

    .mockup-cards-row {
        width: calc(100% - 64px);
        height: auto;
        overflow: visible;
    }

    .mockup-cards-container {
        transform: none;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        top: 14px !important;
        height: auto !important;
        border-radius: 20px;
    }

    .header-container {
        padding: 12px 14px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .header-actions {
        margin-left: auto;
    }

    .header-actions .btn-portal-toggle {
        display: none;
    }

    .hero-section {
        margin-top: 14px;
        padding-top: 112px;
        border-radius: 22px;
    }

    .hero-section::before {
        inset: 92px 14px auto;
        height: 610px;
        border-radius: 22px;
    }

    .hero-watermark {
        top: 150px;
        font-size: 6.4rem;
    }

    .hero-content-wrapper,
    .transitional-properties-row,
    .mockup-cards-row {
        width: calc(100% - 32px);
    }

    .hero-text-block {
        width: 100%;
        padding-left: 0;
    }

    .mock-title {
        font-size: clamp(2.55rem, 13vw, 3rem) !important;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .mock-search-box {
        max-width: 100%;
    }

    .glow-backdrop {
        width: 230px;
        height: 230px;
    }

    .draw-arrow-icon {
        display: none;
    }

    .trans-discover-title {
        font-size: clamp(2.5rem, 13vw, 3.2rem);
    }

    .mockup-cards-row {
        display: none;
    }

    .amenity-tabs-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Reference correction pass: tighter desktop composition */
@media (min-width: 1101px) {
    .main-header {
        top: 36px !important;
        width: min(86vw, 1340px) !important;
        height: 72px !important;
    }

    .header-container {
        padding: 0 30px;
    }

    .logo-area {
        font-size: 0.95rem;
    }

    .capsule-nav {
        padding: 5px !important;
    }

    .capsule-nav .nav-link {
        min-width: 70px;
        padding: 9px 12px !important;
        font-size: 0.62rem;
    }

    .btn-circle-search {
        width: 36px;
        height: 36px;
    }

    .capsule-btn {
        min-height: 38px;
        padding: 9px 19px !important;
    }

    .hero-section {
        width: min(86vw, 1340px);
        min-height: 720px;
        margin-top: 36px;
        padding-top: 92px;
        overflow: hidden;
    }

    .hero-section::before {
        inset: 72px 28px auto;
        height: 486px;
        border-radius: 24px;
    }

    .hero-watermark {
        top: 142px;
        font-size: clamp(8.5rem, 13.2vw, 13.6rem);
        line-height: 0.78;
        opacity: 0.9;
    }

    .hero-content-wrapper {
        width: calc(100% - 68px);
        min-height: 438px;
        grid-template-columns: 0.48fr 0.52fr;
        align-items: end;
        gap: 0;
    }

    .hero-text-block {
        padding: 0 0 58px 2px;
        max-width: 540px;
        z-index: 3;
    }

    .mock-title {
        max-width: 520px;
        font-size: clamp(2.8rem, 3.05vw, 3.75rem) !important;
        line-height: 0.94 !important;
        color: #fff !important;
        text-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
    }

    .mock-search-box {
        max-width: 415px;
        min-height: 46px;
        margin-top: 22px;
        padding: 5px 6px 5px 14px;
    }

    .mock-search-box input {
        font-size: 0.68rem;
    }

    .search-input-wrapper {
        gap: 8px;
    }

    .search-icon,
    .mic-icon {
        width: 15px;
        height: 15px;
    }

    .btn-search-go {
        width: 34px;
        height: 34px;
    }

    .recent-lbl {
        font-size: 0.56rem;
    }

    .search-chip-btn {
        padding: 3px 8px;
        font-size: 0.5rem;
    }

    .hero-mockup-visual {
        align-self: center;
        justify-content: flex-end;
        margin: 0 -6px 4px -80px;
        z-index: 4;
        pointer-events: none;
    }

    .mockup-isometric-img {
        max-width: min(650px, 48vw);
        mix-blend-mode: screen;
        filter: contrast(1.08) saturate(1.08) drop-shadow(0 30px 34px rgba(0, 0, 0, 0.58));
    }

    .glow-backdrop {
        width: 410px;
        height: 300px;
        opacity: 0.75;
    }

    .transitional-properties-row {
        width: calc(100% - 68px);
        margin-top: 14px;
    }

    .transitional-container {
        min-height: 122px;
    }

    .trans-discover-title {
        font-size: clamp(2.65rem, 3.4vw, 3.8rem);
        line-height: 0.98;
    }

    .draw-arrow-icon {
        width: 92px;
        height: 58px;
        margin-top: 32px;
    }

    .trans-right {
        max-width: 420px;
        padding-top: 18px;
        align-items: flex-end;
    }

    .trans-desc {
        font-size: 0.76rem;
        text-align: right;
    }

    .properties-nav-btn {
        align-self: flex-end;
        min-height: 36px;
        padding: 8px 18px !important;
        font-size: 0.66rem;
    }

    .mockup-cards-row {
        width: calc(100% - 270px);
        height: auto;
        margin-top: 40px;
    }

    .mockup-cards-container {
        gap: 30px;
        transform: none;
    }

    .mock-card {
        min-height: auto;
        border-radius: 22px;
    }

    .m-card-img-wrapper {
        height: 160px;
    }
}

/* ======================================================== */
/*                  WHIMSY FLOATING CELEBRATIONS            */
/* ======================================================== */
.floating-emoji {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    user-select: none;
    will-change: transform, opacity;
    animation: floatUp 4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) rotate(45deg) scale(1.2);
    }
    50% {
        transform: translateY(-50vh) rotate(180deg) scale(1);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg) scale(0.6);
        opacity: 0;
    }
}

/* ======================================================== */
/*                     TEXTAREA STYLING                     */
/* ======================================================== */
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    background-color: var(--brand-sage-light);
    transition: var(--transition-smooth);
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

/* ======================================================== */
/*                     MAIN FOOTER STYLING                  */
/* ======================================================== */
.main-footer {
    background-color: var(--brand-sage-light);
    border-top: 1px solid var(--border-color);
    padding: 85px 0 50px 0;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-tag {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.footer-links-column h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-column ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links-column ul li a:hover {
    color: var(--brand-accent);
}

.footer-links-column p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-author-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    justify-content: flex-end;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 24px 24px 0 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin: 0;
}

/* Responsive Footer Layout */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-author-column {
        align-items: flex-start;
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ======================================================== */
/*            UI-UX-PRO PREMIUM LUXURY ACTIONS & STYLES     */
/* ======================================================== */

/* Premium Architectural Logo Branding */
.logo-main-mockup, .footer-logo {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
}

/* Tactile scale-on-press active feedback */
.btn:active, 
.btn-primary:active, 
.lime-btn:active, 
.btn-circle-search:active, 
.capsule-btn:active, 
.nav-link:active, 
.search-chip-btn:active, 
.btn-portal-toggle:active, 
.btn-tab:active,
.accordion-header:active,
.w3d-preset-btn:active,
.simulator-play-btn:active,
.chatbot-option-btn:active,
.chat-send-btn:active {
    transform: translateY(0) scale(0.96) !important;
    transition: var(--transition-spring) !important;
}

/* Fast Spring Transitions on Hover */
.btn, 
.btn-primary, 
.btn-secondary, 
.btn-glass, 
.btn-circle-search, 
.capsule-btn, 
.nav-link, 
.search-chip-btn, 
.btn-portal-toggle, 
.btn-tab,
.w3d-preset-btn,
.simulator-play-btn,
.chatbot-option-btn,
.chat-send-btn {
    transition: var(--transition-spring) !important;
}

/* Focused form input shadows (high focus visibility) */
input:focus, 
select:focus, 
textarea:focus {
    box-shadow: 0 0 0 3px rgba(180, 227, 0, 0.25) !important;
    border-color: var(--brand-accent) !important;
    transition: var(--transition-spring) !important;
}

/* Hover highlights for cards and items */
.highlight-card:hover, 
.amenity-card-fancy:hover,
.accordion-item:hover {
    border-color: rgba(180, 227, 0, 0.3) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
    transition: var(--transition-spring) !important;
}

/* Circle buttons scale hover */
.btn-circle-search:hover,
.btn-portal-toggle:hover,
.btn-search-go:hover {
    transform: translateY(-2px) scale(1.05);
}

/* ======================================================== */
/*                     4D VR & AR EXPERIENCE SECTION        */
/* ======================================================== */
.ar-vr-section {
    position: relative;
    z-index: 2;
}

.ar-vr-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.ar-viewer-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
}

.ar-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ar-telemetry-chips {
    display: flex;
    gap: 8px;
}

.ar-telemetry-chip {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(180, 227, 0, 0.12);
    border: 1px solid rgba(180, 227, 0, 0.2);
    color: var(--brand-accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-body);
}

.ar-viewport {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    height: 420px;
    background: #000;
    display: flex;
}

.ar-viewport video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.ar-viewport video.vr-only {
    display: none;
    width: 50%;
}

.ar-viewport.vr-split-mode video {
    width: 50% !important;
    display: block !important;
}

.ar-loader {
    position: absolute;
    inset: 0;
    background: rgba(19, 46, 39, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 10;
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
}

.ar-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(180, 227, 0, 0.1);
    border-top: 3px solid var(--brand-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.ar-scanning-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 2px solid var(--brand-accent);
}

.ar-viewport.ar-overlays-active .ar-scanning-grid {
    opacity: 1;
}

.ar-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-accent);
    box-shadow: 0 0 15px var(--brand-accent);
    animation: scanLine 3s ease-in-out infinite;
}

.ar-scan-reticle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(180, 227, 0, 0.5);
    border-radius: 50%;
}

.ar-scan-reticle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--brand-accent);
    border-radius: 50%;
}

.ar-bounding-box {
    position: absolute;
    border: 1px dashed var(--brand-accent);
    background: rgba(180, 227, 0, 0.05);
    box-shadow: 0 0 8px rgba(180, 227, 0, 0.1);
    color: var(--brand-accent);
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 2px 4px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 2px;
}

.ar-viewer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ar-control-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
}

.ar-panel-box {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition-smooth);
}

.ar-room-selectors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.room-tour-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-spring);
    font-family: var(--font-body);
}

.room-tour-btn:hover {
    border-color: var(--brand-accent);
    background: rgba(180, 227, 0, 0.05);
}

.room-tour-btn.active {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-accent) !important;
    font-weight: 700;
}

/* Mock Full Screen AR Mobile Scan Overlay */
.mock-ar-scanner-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-scanner-frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    background: radial-gradient(circle at center, #0f2b23 0%, #000 100%);
}

.ar-scanner-header {
    height: 60px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(180, 227, 0, 0.15);
    background: rgba(0,0,0,0.8);
    z-index: 10;
}

.ar-back-btn {
    font-size: 1.5rem;
    color: #FFF;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ar-back-btn:hover {
    color: var(--brand-accent);
}

.ar-scanner-title {
    font-family: var(--font-heading);
    color: var(--brand-accent);
    letter-spacing: 0.1em;
    font-weight: 700;
    font-size: 0.95rem;
}

.ar-scanner-overlay-cam {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-target-scan {
    width: 250px;
    height: 250px;
    border: 2px dashed var(--brand-accent);
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
}

.ar-target-scan::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--brand-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-accent);
}

.ar-scanner-logs {
    position: absolute;
    bottom: 120px;
    left: 24px;
    width: calc(100% - 48px);
    max-width: 450px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(180, 227, 0, 0.15);
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 0.72rem;
    color: #FFF;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.ar-log-item {
    opacity: 0.25;
    transition: opacity 0.3s ease;
}

.ar-log-item.active-log {
    opacity: 1;
    color: var(--brand-accent);
}

.ar-scan-loading-bar-wrapper {
    position: absolute;
    bottom: 40px;
    left: 24px;
    width: calc(100% - 48px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.ar-scan-loading-bar-wrapper span {
    font-size: 0.85rem;
    color: var(--brand-accent);
    font-family: var(--font-body);
    font-weight: 700;
}

.ar-scan-progress-container {
    width: 100%;
    max-width: 450px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(180, 227, 0, 0.1);
}

.ar-scan-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--brand-accent);
    box-shadow: 0 0 10px var(--brand-accent);
    border-radius: 4px;
    transition: width 0.1s linear;
}

/* Animations */
@keyframes scanLine {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

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

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

/* Light theme overrides for ARVR */
body.light-theme .ar-vr-section {
    border-top: 1px solid rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .ar-viewer-card {
    background: var(--bg-white) !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .ar-panel-box {
    background: var(--bg-white) !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .room-tour-btn {
    background: rgba(15, 76, 58, 0.02) !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
    color: var(--text-primary) !important;
}

body.light-theme .room-tour-btn:hover {
    border-color: var(--brand-primary) !important;
    background: rgba(15, 76, 58, 0.04) !important;
}

body.light-theme .room-tour-btn.active {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: var(--brand-accent) !important;
}

body.light-theme .ar-telemetry-chip {
    background: rgba(15, 76, 58, 0.05) !important;
    border-color: rgba(15, 76, 58, 0.1) !important;
    color: var(--brand-primary) !important;
}

/* Responsive AR/VR */
@media (max-width: 992px) {
    .ar-vr-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ======================================================== */
/*                     WHITE MODE OVERRIDES                 */
/* ======================================================== */

body.light-theme {
    background-color: var(--brand-sage-bg) !important;
    color: var(--text-primary) !important;
}

/* Hero Section Light Mode */
body.light-theme .hero-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02) 38%, transparent 39%),
        radial-gradient(circle at 78% 27%, rgba(15, 76, 58, 0.06), transparent 32%),
        linear-gradient(135deg, #e8f0ec 0%, #f4fbf8 54%, #f0f4f2 100%) !important;
    box-shadow: 0 34px 90px rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .hero-overlay {
    background: linear-gradient(to bottom, transparent 80%, var(--brand-sage-bg)) !important;
}

body.light-theme .hero-tagline {
    color: var(--brand-primary) !important;
}

body.light-theme .mock-title {
    color: var(--text-primary) !important;
}

body.light-theme .mock-search-box {
    background: #ffffff !important;
    border: 1px solid rgba(15, 76, 58, 0.15) !important;
    box-shadow: var(--shadow-sm) !important;
}

body.light-theme .mock-search-box input {
    color: var(--text-primary) !important;
}

body.light-theme .mock-search-box input::placeholder {
    color: rgba(15, 76, 58, 0.45) !important;
}

body.light-theme .mic-icon,
body.light-theme .search-icon {
    color: rgba(15, 76, 58, 0.5) !important;
}

body.light-theme .recent-lbl {
    color: var(--text-secondary) !important;
}

body.light-theme .search-chip-btn {
    background: rgba(15, 76, 58, 0.05) !important;
    border-color: rgba(15, 76, 58, 0.1) !important;
    color: var(--text-primary) !important;
}

body.light-theme .search-chip-btn:hover {
    background: rgba(15, 76, 58, 0.1) !important;
    border-color: var(--brand-primary) !important;
}

body.light-theme .trans-discover-title {
    color: var(--text-primary) !important;
}

body.light-theme .draw-arrow-icon {
    color: rgba(15, 76, 58, 0.25) !important;
}

/* Property Cards Light Mode */
body.light-theme .mock-card {
    background: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 76, 58, 0.04) !important;
}

body.light-theme .mock-card:hover {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 16px 40px rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .m-card-price {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
}

body.light-theme .m-card-details h4 {
    color: var(--text-primary) !important;
}

body.light-theme .m-card-meta {
    border-top-color: rgba(15, 76, 58, 0.08) !important;
    color: var(--text-secondary) !important;
}

/* Button & Action Contrast Fixes in Light Mode */
body.light-theme .lime-btn {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

body.light-theme .lime-btn:hover {
    background-color: #135e48 !important;
    box-shadow: 0 4px 18px rgba(15, 76, 58, 0.25) !important;
}

body.light-theme .btn-primary {
    background-color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #ffffff !important;
}

body.light-theme .btn-primary:hover {
    background-color: #135e48 !important;
}

body.light-theme .btn-secondary {
    color: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
}

body.light-theme .btn-secondary:hover {
    background-color: rgba(15, 76, 58, 0.04) !important;
}

/* About Section Light Mode */
body.light-theme .about-section {
    background-color: var(--brand-sage-bg) !important;
}

body.light-theme .about-desc-card {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .about-desc-card h3 {
    color: var(--text-primary) !important;
}

/* Amenities Tab Highlights in Light Mode */
body.light-theme .amenity-tab {
    color: var(--text-secondary) !important;
}

body.light-theme .amenity-tab.active {
    color: var(--brand-primary) !important;
}

body.light-theme .amenity-card-fancy {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .amenity-card-fancy h3 {
    color: var(--text-primary) !important;
}

/* Location accordion overrides in Light Mode */
body.light-theme .accordion-header {
    color: var(--text-primary) !important;
}

body.light-theme .accordion-item.active .accordion-header {
    color: var(--brand-primary) !important;
}

/* Form inputs styling in Light Mode */
body.light-theme .form-group input,
body.light-theme .form-group select,
body.light-theme .form-group textarea {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.15) !important;
    color: var(--text-primary) !important;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group select:focus,
body.light-theme .form-group textarea:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1) !important;
}

/* ======================================================== */
/*        CRM PORTAL — PREMIUM WHITE MODE OVERRIDES         */
/* ======================================================== */

/* CRM Layout Shell */
body.light-theme #crm-view {
    background-color: #f0f4f2 !important;
}

body.light-theme .crm-sidebar {
    background-color: #ffffff !important;
    border-right: 1px solid rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .sidebar-brand {
    color: var(--brand-primary) !important;
}

body.light-theme .sidebar-link {
    color: var(--text-secondary) !important;
}

body.light-theme .sidebar-link:hover,
body.light-theme .sidebar-link.active {
    background-color: rgba(15, 76, 58, 0.04) !important;
    color: var(--brand-primary) !important;
}

body.light-theme .sidebar-link.active {
    border-left-color: var(--brand-primary) !important;
}

/* CRM Header & Content Area */
body.light-theme .crm-main-content {
    background-color: #f0f4f2 !important;
}

body.light-theme .crm-header-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .crm-title-area h2 {
    color: var(--text-primary) !important;
}

body.light-theme .crm-title-area p {
    color: var(--text-secondary) !important;
}

body.light-theme .crm-action-group .btn-secondary {
    border-color: rgba(15, 76, 58, 0.15) !important;
    color: var(--text-primary) !important;
}

/* CRM Tab Buttons */
body.light-theme .crm-tab-btn {
    color: var(--text-secondary) !important;
    border-bottom-color: transparent !important;
}

body.light-theme .crm-tab-btn.active {
    color: var(--brand-primary) !important;
    border-bottom-color: var(--brand-primary) !important;
}

/* KPI Stat Cards */
body.light-theme .crm-stat-card {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
    box-shadow: 0 2px 12px rgba(15, 76, 58, 0.04) !important;
}

body.light-theme .stat-title {
    color: var(--text-secondary) !important;
}

body.light-theme .stat-value {
    color: var(--brand-primary) !important;
}

body.light-theme .stat-change {
    color: var(--text-secondary) !important;
}

/* Analytics Cards */
body.light-theme .analytics-card {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
    box-shadow: 0 2px 12px rgba(15, 76, 58, 0.04) !important;
}

body.light-theme .analytics-card h3 {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .chart-legends {
    color: var(--text-secondary) !important;
}

/* Schedule Cards */
body.light-theme .schedule-card {
    background-color: #ffffff !important;
    border-left-color: var(--brand-primary) !important;
}

body.light-theme .schedule-meta h5 {
    color: var(--text-primary) !important;
}

body.light-theme .schedule-meta p {
    color: var(--text-secondary) !important;
}

/* Kanban Board */
body.light-theme .kanban-column {
    background-color: rgba(15, 76, 58, 0.02) !important;
    border-color: rgba(15, 76, 58, 0.06) !important;
}

body.light-theme .kanban-col-header h4 {
    color: var(--text-primary) !important;
}

body.light-theme .kanban-card {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .k-card-title {
    color: var(--text-primary) !important;
}

body.light-theme .k-card-meta {
    color: var(--text-secondary) !important;
}

/* Lead List Table */
body.light-theme .crm-list-filter-bar {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .filter-group input,
body.light-theme .filter-group select {
    background-color: #f8faf9 !important;
    border-color: rgba(15, 76, 58, 0.12) !important;
    color: var(--text-primary) !important;
}

body.light-theme .table-container {
    background-color: #ffffff !important;
    border-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .crm-leads-table th {
    background-color: rgba(15, 76, 58, 0.03) !important;
    color: var(--text-secondary) !important;
    border-bottom-color: rgba(15, 76, 58, 0.08) !important;
}

body.light-theme .crm-leads-table td {
    color: var(--text-primary) !important;
    border-bottom-color: rgba(15, 76, 58, 0.06) !important;
}

body.light-theme .crm-leads-table tbody tr:hover {
    background-color: rgba(15, 76, 58, 0.02) !important;
}

body.light-theme .lead-cell-name {
    color: var(--text-primary) !important;
}

/* CRM Scroll Container */
body.light-theme .crm-scroll-container {
    background-color: #f0f4f2 !important;
}

/* Kanban Helper Message */
body.light-theme .kanban-helper-message {
    background-color: rgba(15, 76, 58, 0.04) !important;
    border-color: rgba(15, 76, 58, 0.1) !important;
    color: var(--brand-primary) !important;
}





