/* ==========================================================================
   Yash Colony 2 - CSS Variables & Global Styles
   ========================================================================== */

:root[data-theme="dark"] {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --card-bg: rgba(17, 24, 39, 0.65);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.25);
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --accent-glow: rgba(245, 158, 11, 0.25);
    --danger-color: #ef4444;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --road-bg: #1e293b;
    --road-stripe: #475569;
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-blur: blur(12px);
    
    --plot-avail-fill: rgba(16, 185, 129, 0.15);
    --plot-avail-stroke: #10b981;
    --plot-res-fill: rgba(245, 158, 11, 0.15);
    --plot-res-stroke: #f59e0b;
    --plot-sold-fill: rgba(107, 114, 128, 0.2);
    --plot-sold-stroke: #4b5563;
    --plot-select-fill: rgba(6, 182, 212, 0.35);
    --plot-select-stroke: #22d3ee;
}

:root[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --primary-color: #10b981;
    --primary-hover: #059669;
    --primary-glow: rgba(16, 185, 129, 0.15);
    --accent-color: #d97706;
    --accent-hover: #b45309;
    --accent-glow: rgba(217, 119, 6, 0.15);
    --danger-color: #dc2626;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-hover: rgba(15, 23, 42, 0.16);
    --road-bg: #e2e8f0;
    --road-stripe: #cbd5e1;
    --shadow-main: 0 10px 30px -10px rgba(148, 163, 184, 0.25);
    --shadow-inset: inset 0 2px 4px 0 rgba(148, 163, 184, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-blur: blur(8px);
    
    --plot-avail-fill: rgba(16, 185, 129, 0.08);
    --plot-avail-stroke: #059669;
    --plot-res-fill: rgba(245, 158, 11, 0.08);
    --plot-res-stroke: #d97706;
    --plot-sold-fill: rgba(203, 213, 225, 0.4);
    --plot-sold-stroke: #94a3b8;
    --plot-select-fill: rgba(6, 182, 212, 0.18);
    --plot-select-stroke: #0891b2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    z-index: 1100;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* ==========================================================================
   Typography & Sections
   ========================================================================== */

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

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-description {
    max-width: 600px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

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

.btn-micro {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 4px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-micro:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    background-color: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    height: 70px;
    box-shadow: var(--shadow-main);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

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

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

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

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn svg {
    width: 18px;
    height: 18px;
}

:root[data-theme="dark"] .icon-sun {
    display: none;
}

:root[data-theme="light"] .icon-moon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--text-primary);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) { top: 0px; }
.mobile-menu-toggle span:nth-child(2) { top: 10px; }
.mobile-menu-toggle span:nth-child(3) { top: 20px; }

.mobile-menu-toggle.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mobile-menu-toggle.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.open {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--text-primary);
}

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

.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    align-items: center;
    z-index: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--primary-glow);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #0f172a 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 0;
    transform: scale(0.95);
    animation: modalFade 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-stat-card {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-main);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    color: var(--bg-primary);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   Highlights Bar
   ========================================================================== */

.highlights-bar {
    background-color: var(--bg-secondary);
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}

.highlights-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.8rem;
}

.highlight-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.about-visual {
    position: relative;
    height: 480px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-main);
    border: 1px solid var(--border-color);
}

.offset-visual {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
}

.offset-visual h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.offset-visual p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.investment-box {
    margin-top: 32px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow-main);
}

.investment-title {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.bullet-list {
    margin-top: 16px;
    list-style: none;
}

.bullet-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.bullet-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* ==========================================================================
   Map & Layout Layout
   ========================================================================== */

.map-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.map-dashboard {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
    margin-top: 40px;
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-filter-group {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
}

.filter-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.legend-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.color-available { background-color: var(--plot-avail-fill); border: 1.5px solid var(--plot-avail-stroke); }
.color-reserved { background-color: var(--plot-res-fill); border: 1.5px solid var(--plot-res-stroke); }
.color-sold { background-color: var(--plot-sold-fill); border: 1.5px solid var(--plot-sold-stroke); }
.color-selected { background-color: var(--plot-select-fill); border: 2.5px solid var(--plot-select-stroke); }

.plot-details-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    flex-grow: 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.plot-details-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    color: var(--text-muted);
    padding: 20px 0;
}

.plot-details-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    stroke: var(--border-color);
}

.plot-details-placeholder p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.plot-details-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%;
}

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

.plot-details-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.available { background-color: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid #10b981; }
.badge.reserved { background-color: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid #f59e0b; }
.badge.sold { background-color: rgba(107, 114, 128, 0.15); color: #9ca3af; border: 1px solid #9ca3af; }

.details-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.detail-label {
    color: var(--text-secondary);
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

.font-highlight {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.total-cost-row {
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    margin-top: 6px;
}

.total-cost-row .detail-value {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 800;
}

.plot-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hidden {
    display: none !important;
}

/* Map Canvas Canvas */
.map-canvas-container {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    padding: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.canvas-title {
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.canvas-zoom-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.svg-wrapper {
    width: 100%;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #05070d;
    box-shadow: var(--shadow-inset);
    border: 1px solid var(--border-color);
}

:root[data-theme="light"] .svg-wrapper {
    background-color: #f1f5f9;
}

#plot-map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* SVG Map Interactive Elements */
.map-plot {
    cursor: pointer;
    transition: all 0.25s ease;
}

.map-plot.available {
    fill: var(--plot-avail-fill);
    stroke: var(--plot-avail-stroke);
}

.map-plot.reserved {
    fill: var(--plot-res-fill);
    stroke: var(--plot-res-stroke);
}

.map-plot.sold {
    fill: var(--plot-sold-fill);
    stroke: var(--plot-sold-stroke);
    cursor: not-allowed;
    opacity: 0.65;
}

.map-plot.available:hover {
    fill: rgba(16, 185, 129, 0.35);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
}

.map-plot.reserved:hover {
    fill: rgba(245, 158, 11, 0.35);
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.map-plot.selected {
    fill: var(--plot-select-fill) !important;
    stroke: var(--plot-select-stroke) !important;
    stroke-width: 3.5 !important;
    stroke-dasharray: none !important;
    filter: drop-shadow(0 0 8px var(--plot-select-stroke));
    animation: pulse-select 1.8s infinite;
}

.plot-label {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 11px;
    pointer-events: none;
    user-select: none;
    transition: fill 0.2s ease;
}

.plot-label.available { fill: #10b981; }
.plot-label.reserved { fill: #f59e0b; }
.plot-label.sold { fill: #6b7280; }
.plot-label.selected { fill: #22d3ee !important; font-size: 13px; }

.map-info-footer {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 16px;
}

.info-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bullet.res { background-color: var(--primary-color); }
.bullet.comm { background-color: var(--accent-color); }

@keyframes pulse-select {
    0% { stroke-opacity: 1; }
    50% { stroke-opacity: 0.4; }
    100% { stroke-opacity: 1; }
}

/* ==========================================================================
   Calculator Section
   ========================================================================== */

.calculator-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
    margin-top: 40px;
    align-items: stretch;
}

.calc-inputs-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-card-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 8px;
}

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

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

.slider-header label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.slider-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.rate-badge-wrapper {
    font-weight: 700;
    color: var(--accent-color);
}

.slider-value-currency {
    font-size: 0.9rem;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--border-color);
    outline: none;
    transition: background 0.3s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.1s, background-color 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#calc-rate::-webkit-slider-thumb {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-outputs-card {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1.5px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
    display: flex;
    flex-direction: column;
}

.out-main-price {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.out-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.out-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.out-ratio-bar {
    display: flex;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--border-color);
    margin: 16px 0 8px 0;
}

.ratio-segment {
    height: 100%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ratio-segment.downpayment { background-color: var(--accent-color); }
.ratio-segment.loan { background-color: var(--primary-color); }

.ratio-legend-inline {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.ratio-legend-inline .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.ratio-legend-inline .dot.down { background-color: var(--accent-color); }
.ratio-legend-inline .dot.loan { background-color: var(--primary-color); }

.emi-output-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.06) 0%, rgba(245,158,11,0.04) 100%);
    border: 1.5px solid var(--primary-color);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.emi-number-wrapper {
    color: var(--primary-color);
    margin-bottom: 6px;
}

.emi-currency {
    font-size: 1.3rem;
    font-weight: 700;
}

.emi-amount {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
}

.emi-period {
    font-size: 0.95rem;
    font-weight: 500;
}

.emi-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.bank-logos-group {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 24px;
}

.logos-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 12px;
}

.logos-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bank-logo-stub {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   Amenities Section
   ========================================================================== */

.amenities-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.amenity-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 28px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-main);
}

.amenity-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -10px var(--primary-glow);
}

.amenity-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-glow);
    color: var(--primary-color);
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.amenity-icon {
    width: 24px;
    height: 24px;
}

.amenity-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.amenity-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Connectivity Section
   ========================================================================== */

.connectivity-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.connectivity-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.proximity-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
}

.proximity-list::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--primary-color), var(--border-color));
}

.proximity-item {
    position: relative;
    display: flex;
    gap: 24px;
}

.proximity-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 2.5px solid var(--primary-color);
}

.proximity-distance {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    background-color: var(--primary-glow);
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    white-space: nowrap;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.proximity-details h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.proximity-details p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.map-visual-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.address-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-main);
}

.address-card h3 {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.address-text {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.badge-accent {
    background-color: var(--accent-glow);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    display: inline-block;
}

.metro-map-svg {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-main);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.contact-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.contact-details-box {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.detail-item h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.detail-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-form-card {
    background-color: var(--card-bg);
    border: 1.5px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-main);
}

.form-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

:root[data-theme="light"] .form-input {
    background-color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-glow);
}

.form-label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Floating Label Animation */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: var(--primary-color);
    background-color: var(--bg-secondary);
    padding: 0 6px;
    border-radius: 2px;
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-textarea {
    resize: none;
}

.form-error {
    display: none;
    color: var(--danger-color);
    font-size: 0.75rem;
    margin-top: 6px;
    padding-left: 4px;
}

.form-input.invalid {
    border-color: var(--danger-color);
}

.form-input.invalid ~ .form-error {
    display: block;
}

/* Submit Button Loading State */
#contact-submit {
    position: relative;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

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

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 280px;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.r-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    background-color: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    align-self: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.95rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-copyright {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    line-height: 1.5;
}

.footer-copyright a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    max-width: 480px;
    width: calc(100% - 40px);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-main);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    font-size: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
}

/* ==========================================================================
   Animations & Responsive Breakpoints
   ========================================================================== */

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

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tablet Layout */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 60px;
    }
    
    .hero-stats {
        margin-top: 30px;
    }
    
    .map-dashboard {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.1rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-tagline {
        font-size: 1.15rem;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-visual {
        height: 380px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .svg-wrapper {
        height: 320px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .highlights-container {
        flex-direction: column;
        gap: 12px;
    }
}
