 /* Lumina Towers - Core Design System & Stylesheet */

/* Custom Properties (Design Tokens) */
:root {
    --bg-dark: #090a0f;
    --bg-surface: #12141c;
    --bg-surface-elevated: #1a1d29;
    --bg-card: rgba(22, 25, 38, 0.7);
    --bg-glass: rgba(18, 20, 28, 0.65);
    
    --color-primary: #d4af37;      /* Champagne Gold */
    --color-primary-hover: #bda030;
    --color-primary-light: rgba(212, 175, 55, 0.15);
    --color-primary-glow: rgba(212, 175, 55, 0.3);
    
    --color-text-main: #f1f3f9;
    --color-text-muted: #9ba1b4;
    --color-text-dark: #636a7e;
    
    --status-available: #10b981;    /* Vibrant Emerald */
    --status-available-glow: rgba(16, 185, 129, 0.2);
    --status-reserved: #f59e0b;     /* Warm Amber */
    --status-reserved-glow: rgba(245, 158, 11, 0.2);
    --status-sold: #ef4444;         /* Soft Crimson */
    --status-sold-glow: rgba(239, 68, 68, 0.2);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-active: rgba(212, 175, 55, 0.4);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.25);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* Reset & Base Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography & Accent styles */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #fce085 0%, var(--color-primary) 50%, #b39124 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.accent-text {
    color: var(--color-primary);
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 1px;
    background-color: var(--color-primary);
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 16px;
}

.hidden {
    display: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-full);
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    gap: 8px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 12px;
}

.btn-full {
    width: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: #000;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    color: var(--color-text-main);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Glass Card styling */
.card-glass {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(9, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
}

.header.scrolled .header-container {
    padding: 10px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-heading);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    background: var(--color-primary-light);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-normal);
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(9, 10, 15, 0.95);
    backdrop-filter: blur(16px);
    z-index: 999;
    overflow: hidden;
    transition: height var(--transition-normal);
    border-bottom: 0px solid var(--border-color);
}

.mobile-drawer.open {
    height: calc(100vh - 80px);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.mobile-nav-link:hover {
    color: var(--color-primary);
    padding-left: 8px;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('images/exterior.jpg');
    background-size: cover;
    background-position: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 10, 15, 0.8) 0%, rgba(9, 10, 15, 0.6) 40%, rgba(9, 10, 15, 0.95) 100%);
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.hero-text-content {
    max-width: 680px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 40px 0;
}

.hero-badge {
    display: inline-block;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(212, 175, 55, 0.08);
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Quick Stats Bar */
.hero-stats-bar {
    display: flex;
    align-items: center;
    background: rgba(18, 20, 28, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: var(--radius-md);
    margin-top: auto;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.hero-stats-bar .divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--color-text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    animation: scroll-anim 1.5s infinite;
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

@keyframes scroll-anim {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Floor Visualizer Layout */
.visualizer-section {
    background-color: #0c0d14;
    position: relative;
}

.visualizer-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 40px;
}

.panel-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Building Tower Selector */
.building-tower-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
}

.building-tower {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floor-btn {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.floor-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.floor-btn.active {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.floor-number {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    margin-right: 16px;
    transition: var(--transition-fast);
}

.floor-btn.active .floor-number {
    color: var(--color-primary);
}

.floor-info {
    display: flex;
    flex-direction: column;
}

.floor-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text-main);
}

.floor-stats {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Floor Plan Grid Layout */
.floor-plan-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.floor-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.floor-plan-header .panel-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.floor-plan-legend {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}

.status-dot, .legend-dot {
    display: inline-block;
}

.status-available { background-color: var(--status-available); }
.status-reserved { background-color: var(--status-reserved); }
.status-sold { background-color: var(--status-sold); }

/* The layout map of flats */
.floor-layout-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
    position: relative;
}

/* Floor layout corridor simulating actual floor plan */
.floor-layout-grid::after {
    content: 'CENTRAL LOBBY & ELEVATORS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    height: 40px;
    background: rgba(18, 20, 28, 0.9);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-text-dark);
    z-index: 1;
    pointer-events: none;
}

/* Adjust flat card padding to accommodate central hallway */
.flat-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}

/* Push flats on top and bottom rows around lobby */
.flat-card:nth-child(n+1):nth-child(-n+4) {
    margin-bottom: 28px;
}

.flat-card:nth-child(n+5):nth-child(-n+8) {
    margin-top: 28px;
}

.flat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary-glow);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.flat-card.active-selected {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.flat-card.state-available {
    border-left: 3px solid var(--status-available);
}
.flat-card.state-reserved {
    border-left: 3px solid var(--status-reserved);
}
.flat-card.state-sold {
    border-left: 3px solid var(--status-sold);
    cursor: not-allowed;
    opacity: 0.65;
}

.flat-card.state-sold:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.flat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flat-number-label {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-main);
}

.flat-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.flat-card.state-available .flat-tag {
    color: var(--status-available);
    background: var(--status-available-glow);
}

.flat-card.state-reserved .flat-tag {
    color: var(--status-reserved);
    background: var(--status-reserved-glow);
}

.flat-card.state-sold .flat-tag {
    color: var(--status-sold);
    background: var(--status-sold-glow);
}

.flat-card-body {
    margin-top: 16px;
}

.flat-type-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
}

.flat-price-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 4px;
}

/* Quick preview info panel styles */
.flat-preview-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 24px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    color: var(--color-text-dark);
    max-width: 500px;
}

.preview-placeholder p {
    font-size: 13px;
}

.preview-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fade-in-up 0.3s ease;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.preview-flat-id {
    font-size: 20px;
    font-family: var(--font-heading);
}

.preview-flat-type {
    font-size: 12px;
    color: var(--color-text-muted);
}

.preview-body-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.preview-stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
}

.preview-stat:last-child .stat-val {
    color: var(--color-primary);
}

.stat-lbl {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.status-badge.available { color: var(--status-available); background: var(--status-available-glow); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-badge.reserved { color: var(--status-reserved); background: var(--status-reserved-glow); border: 1px solid rgba(245, 158, 11, 0.3); }
.status-badge.sold { color: var(--status-sold); background: var(--status-sold-glow); border: 1px solid rgba(239, 68, 68, 0.3); }

.preview-action-row {
    display: flex;
    justify-content: flex-end;
}

/* Amenities Card Grid styling */
.amenities-section {
    background-color: var(--bg-surface);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.amenity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.amenity-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary-glow);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.amenity-image-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.amenity-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.amenity-card:hover .amenity-card-image {
    transform: scale(1.08);
}

.amenity-card-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.amenity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-fast);
}

.amenity-card:hover .amenity-icon {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.amenity-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.amenity-desc {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Mortgage Calculator styling */
.calculator-section {
    background-color: #0c0d14;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    margin-top: 40px;
    align-items: stretch;
}

.calculator-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.range-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
}

.range-value {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Sliders custom range bar styling */
.slider-bar {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    outline: none;
    transition: background var(--transition-fast);
}

.slider-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform var(--transition-fast);
}

.slider-bar::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--color-primary-glow);
}

.form-input {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 14px;
    color: var(--color-text-main);
    width: 100%;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}

/* Output stats calculator card styles */
.calculator-outputs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    border-color: var(--color-primary-glow);
}

.payment-circle-wrapper {
    margin: 10px 0 30px 0;
    display: flex;
    justify-content: center;
}

.payment-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid var(--color-primary);
    box-shadow: 0 0 25px var(--color-primary-glow), inset 0 0 20px var(--color-primary-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: pulse-ring 3s infinite alternate;
}

.monthly-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.monthly-value {
    font-size: 32px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-main);
    margin: 6px 0;
}

.monthly-note {
    font-size: 10px;
    color: var(--color-text-dark);
}

.output-stats-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.output-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.output-stat-item:last-child {
    border-bottom: none;
}

.output-stat-item .stat-label {
    color: var(--color-text-muted);
}

.output-stat-item .stat-value {
    font-weight: 700;
    color: var(--color-text-main);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }
    100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.5); }
}

/* Gallery Portfolio Section */
.gallery-section {
    background-color: var(--bg-surface);
}

.gallery-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.gallery-slides {
    display: flex;
    height: 520px;
    position: relative;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity var(--transition-slow) ease-in-out;
    z-index: 1;
}

.gallery-slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(9, 10, 15, 0.95) 0%, rgba(9, 10, 15, 0.6) 60%, transparent 100%);
    padding: 40px;
    z-index: 3;
}

.slide-caption h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.slide-caption p {
    color: var(--color-text-muted);
    font-size: 14px;
    max-width: 600px;
}

.slide-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(18, 20, 28, 0.6);
    border: 1px solid var(--border-color);
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.slide-nav-btn:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

.prev-btn { left: 24px; }
.next-btn { right: 24px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: var(--radius-full);
}

/* Contact Section & Form Styling */
.contact-section {
    background-color: #0c0d14;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info .section-badge {
    align-self: flex-start;
}

.contact-info .section-title {
    margin-bottom: 20px;
}

.contact-info .section-subtitle {
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.details-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.details-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--color-primary);
    flex-shrink: 0;
}

.details-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.details-item p {
    color: var(--color-text-muted);
    font-size: 14px;
}

.contact-form-wrapper {
    border-color: var(--border-color);
}

.form-title {
    font-size: 22px;
    margin-bottom: 28px;
    font-family: var(--font-heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Footer Styling */
.main-footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.brand-bio {
    color: var(--color-text-muted);
    font-size: 14px;
    margin-top: 20px;
}

.footer-links-group {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-column h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

.footer-links-column a {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-links-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 12px;
    color: var(--color-text-dark);
    flex-wrap: wrap;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    color: var(--color-text-muted);
}

.social-links a:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-color: var(--color-primary-glow);
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color-active);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 960px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    animation: modal-scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-scale {
    0% { transform: scale(0.9) translateY(20px); }
    100% { transform: scale(1) translateY(0); }
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: var(--color-primary);
    color: #000;
    border-color: var(--color-primary);
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 520px;
}

.modal-left {
    padding: 40px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-header {
    margin-bottom: 24px;
}

.modal-header .status-badge {
    display: inline-block;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 28px;
    margin-bottom: 4px;
}

.modal-subtitle {
    color: var(--color-text-muted);
    font-size: 13px;
}

.blueprint-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.blueprint-container svg {
    max-width: 100%;
    max-height: 100%;
}

.blueprint-controls {
    margin-top: 16px;
    text-align: center;
}

.blueprint-label {
    font-size: 11px;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-right {
    padding: 40px;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specs-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.modal-specs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    font-size: 13px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item .label {
    color: var(--color-text-muted);
}

.spec-item .val {
    font-weight: 600;
    color: var(--color-text-main);
}

.modal-cta-box {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.modal-cta-box .specs-heading {
    margin-bottom: 10px;
}

.modal-cta-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.modal-actions-row {
    display: flex;
    gap: 12px;
}

/* Toast Notifications styling */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 3000;
    background: #10b981;
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.toast-message {
    font-size: 13px;
    font-weight: 600;
}

/* Animation Utilities */
.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-in-slow { animation: fadeIn 1.5s ease forwards; }
.animate-slide-up { animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.animate-slide-up-delay { animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards; opacity: 0; }
.animate-slide-up-delay-2 { animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsiveness Adaptations */
@media (max-width: 1024px) {
    .visualizer-container {
        grid-template-columns: 1fr;
    }
    
    .building-tower-wrapper {
        order: 2;
    }
    
    .floor-plan-wrapper {
        order: 1;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-outputs {
        padding: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .hero-stats-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .hero-stats-bar .divider {
        width: 100%;
        height: 1px;
    }
    
    .nav-menu, .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .floor-layout-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Adjust floor lobby hallway layout in vertical stacks */
    .floor-layout-grid::after {
        display: none;
    }
    
    .flat-card:nth-child(n+1):nth-child(-n+4) {
        margin-bottom: 0;
    }

    .flat-card:nth-child(n+5):nth-child(-n+8) {
        margin-top: 0;
    }
    
    .preview-body-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slides {
        height: 360px;
    }
    
    .modal-content-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-left {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 24px;
    }
    
    .modal-right {
        padding: 24px;
    }
    
    .blueprint-container {
        height: 220px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
}
