:root {
    /* Colors */
    --bg-dark: #08080a;
    --bg-surface: rgba(15, 15, 18, 0.7);
    --gold-primary: #c5a059;
    /* Royal Gold */
    --gold-light: #e6d5b8;
    --text-main: #ffffff;
    --text-muted: #949494;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-gap: 140px;
    --container-width: 1400px;
    --border-radius: 12px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold-primary);
    color: var(--bg-dark);
    padding: 10px 20px;
    z-index: 10000;
    transition: top 0.3s;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Accessibility Focus */
button:focus-visible,
a:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

span {
    color: var(--gold-primary);
    font-style: italic;
}

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

ul {
    list-style: none;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--gold-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    transition: transform 0.1s;
}

/* Glassmorphism panel */
.glass-panel {
    background: var(--bg-surface);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(197, 160, 89, 0.15);
    /* Tinted border */
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), #aa8b2c);
    color: var(--bg-dark);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    padding: 12px 28px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 28px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    /* Gives the container a consistent height to prevent the logo from collapsing it or overflowing strangely */
}

.logo {
    display: flex;
    align-items: center;
    height: 50px !important;
    width: auto;
}

.header-logo {
    height: 50px !important;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    /* aligns links with the logo centrally */
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    color: var(--text-muted);
}

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

.nav-link:hover {
    color: var(--gold-light);
}

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

/* Grand Hero Section */
.hero-grand {
    position: relative;
    height: 100vh;
    min-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 110%;
    /* Extra height for parallax */
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    animation: zoomOut 20s ease infinite alternate;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(10, 10, 12, 0.95) 0%,
            rgba(10, 10, 12, 0.7) 40%,
            rgba(10, 10, 12, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    padding-top: 100px;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 32px;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 6rem;
    line-height: 1.05;
    margin-bottom: 32px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 600px;
    margin-bottom: 56px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 300;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

.app-ticker-item {
    position: relative;
    min-width: 200px;
    overflow: hidden;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.live-indicator .dot {
    width: 6px;
    height: 6px;
    background-color: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3b30;
    animation: pulseRed 1.5s infinite;
}

.live-indicator .text {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.ticker-content {
    position: relative;
    height: 60px;
}

.ticker-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.ticker-slide.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseRed {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-divider {
    width: 1px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.15);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 48px;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.scroll-indicator i {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
    color: var(--gold-primary);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(12px);
    }

    60% {
        transform: translateY(6px);
    }
}

/* Common Section Styles */
.section-title {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-title span {
    display: block;
}

.center .section-title span {
    display: inline;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
}

.section-header.center p {
    margin: 0 auto;
}

/* The Legacy */
.legacy {
    padding: var(--section-gap) 0;
    position: relative;
    background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.05), transparent 50%),
        radial-gradient(circle at bottom left, rgba(197, 160, 89, 0.03), transparent 50%);
}

.legacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
}

.legacy-split {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 80px;
}

.legacy-card {
    width: 48%;
    padding: 60px;
    position: relative;
}

.legacy-card.list-left {
    align-self: flex-start;
}

.legacy-card.list-right {
    align-self: flex-end;
}

.gold-icon {
    font-size: 3.5rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.legacy-card h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.legacy-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Masterplan */
.masterplan {
    padding: var(--section-gap) 0;
    background-color: #0d0d10;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background-image: linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.masterplan-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.masterplan-image {
    position: relative;
    padding: 20px;
}

.masterplan-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
    filter: sepia(0.3) hue-rotate(-10deg) brightness(0.85);
}

.image-caption {
    position: absolute;
    bottom: 40px;
    right: -40px;
    background: var(--bg-dark);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.image-caption i {
    color: var(--gold-primary);
    font-size: 1.8rem;
}

.image-caption span {
    font-family: var(--font-body);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.masterplan-text>p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
}

.masterplan-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.masterplan-features li {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.masterplan-features i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    padding: 16px;
    border-radius: 50%;
}

.masterplan-features strong {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 8px;
}

.masterplan-features span {
    color: var(--text-muted);
    font-style: normal;
}

/* Phases & Sectors Carousel */
.phases {
    padding: var(--section-gap) 0;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: radial-gradient(circle at 100% 50%, rgba(197, 160, 89, 0.06), transparent 60%);
}

.phases .section-header {
    margin-bottom: 80px;
}

.phase-slider-container {
    position: relative;
    width: 100%;
}

.phase-slider {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
    padding-bottom: 40px;
    /* shadow room */
}

.phase-slider::-webkit-scrollbar {
    display: none;
    /* Chrome */
}

.phase-slide {
    min-width: 600px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.slide-img {
    position: relative;
    height: 400px;
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.slide-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--bg-dark);
    color: var(--gold-primary);
    padding: 8px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--gold-primary);
}

.slide-content {
    padding: 40px;
}

.slide-content h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.phase-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.phase-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.phase-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-style: normal;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 24px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Amenities Grand Grid */
.amenities-grand {
    padding: var(--section-gap) 0;
    background-color: #0d0d10;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background-image: radial-gradient(circle at top left, rgba(197, 160, 89, 0.05), transparent 40%);
}

.amenities-grand .section-header {
    margin-bottom: 80px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
}

.am-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.am-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-item:hover img {
    transform: scale(1.08);
}

.am-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.am-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.am-item:hover .am-overlay h3 {
    color: var(--gold-primary);
}

.am-large {
    grid-column: span 4;
    grid-row: span 2;
}

.am-large .am-overlay {
    padding: 60px;
}

.am-large .am-overlay h3 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.am-large .am-overlay p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 800px;
}

.am-item:not(.am-large) {
    grid-column: span 2;
}

/* Location Intelligence */
.location-intel {
    padding: var(--section-gap) 0;
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.loc-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 60px;
}

.loc-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.loc-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.loc-stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.loc-stat-box i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
}

.loc-stat-box h4 {
    font-family: var(--font-body);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.loc-stat-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.location-map {
    position: relative;
    padding: 16px;
    height: 700px;
    background: rgba(10, 10, 12, 0.8);
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
    opacity: 0.4;
    filter: invert(1) hue-rotate(180deg) brightness(0.5) contrast(1.2);
}

.map-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.node-project {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.node-itpark {
    top: 20%;
    left: 70%;
}

.node-highway {
    bottom: 30%;
    left: 30%;
}

.pulsing-dot {
    width: 24px;
    height: 24px;
    background-color: var(--gold-primary);
    border-radius: 50%;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--gold-primary);
    animation: pulse 2s infinite;
}

.static-dot {
    width: 16px;
    height: 16px;
    background-color: #fcfcfc;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.map-node span {
    background: rgba(10, 10, 12, 0.9);
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.node-project span {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Immersive Masonry Gallery */
.gallery {
    padding: var(--section-gap) 0;
    background-color: #0d0d10;
}

.masonry-grid {
    display: flex;
    gap: 24px;
    height: 800px;
    margin-top: 80px;
}

.masonry-item {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

.item-short {
    align-self: center;
    height: 60%;
}

.item-tall {
    align-self: center;
    height: 90%;
}

.item-short:nth-child(1) {
    align-self: flex-start;
}

.item-short:nth-child(5) {
    align-self: flex-end;
}

/* Grand Footer */
.footer {
    padding: 100px 0 40px;
    background-color: #050505;
}

.footer-cta {
    text-align: center;
    margin-bottom: 80px;
}

.footer-cta h2 {
    font-size: 3rem;
    margin-bottom: 32px;
}

.footer-line {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), transparent);
    margin-bottom: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-brand h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    letter-spacing: 3px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

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

.footer-contact p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.disclaimer {
    font-size: 0.8rem;
    margin-bottom: 24px;
    opacity: 0.6;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.modal-container {
    width: 100%;
    max-width: 600px;
    padding: 56px;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.4s ease;
}

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

.close-modal {
    position: absolute;
    top: 32px;
    right: 32px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--gold-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold-primary);
}

.w-100 {
    width: 100%;
}

/* Animations Triggered by JS */
.reveal,
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.right {
    transform: translateX(50px);
}

.scroll-reveal.left {
    transform: translateX(-50px);
}

.reveal.active,
.scroll-reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}


/* Mobile Layout Adjustments */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 5rem;
    }

    .masterplan-grid,
    .location-wrapper {
        gap: 40px;
    }

    .legacy-card {
        width: 100%;
    }

    .legacy-card.list-left,
    .legacy-card.list-right {
        align-self: center;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .am-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .masterplan-grid,
    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .am-item:not(.am-large),
    .am-large {
        grid-column: span 2;
    }

    .masonry-grid {
        flex-direction: column;
        height: auto;
    }

    .masonry-item {
        height: 300px;
        width: 100%;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phase-slide {
        min-width: 85vw;
    }
}

/* ------------------------------------- */
/* Floor Plans Integration */
/* ------------------------------------- */
.floorplan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 24px;
}

.fp-card {
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.fp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.fp-card h3 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.fp-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 15px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Della Collection Section */
.della-collection {
    padding: var(--section-gap) 0;
    background: linear-gradient(to bottom, #08080a, #0d0d10);
}

.della-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.della-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.della-feature-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.della-feature-item .gold-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.della-feature-item h4 {
    font-size: 1.5rem;
    color: var(--gold-light);
}

.della-feature-item p {
    color: var(--text-muted);
    max-width: 500px;
}

.della-visual {
    position: relative;
    padding: 12px;
    height: 650px;
}

.della-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 6px);
}

.visual-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(15px);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 8px;
}

.visual-stat h3 {
    font-size: 2.5rem;
    color: var(--gold-primary);
    line-height: 1;
}

.visual-stat p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .della-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .della-visual {
        height: 500px;
    }
}

/* ------------------------------------- */
/* Elite Market Dominance & Neighborhood CSS */
/* ------------------------------------- */

/* Connectivity Matrix */
.connectivity-matrix {
    grid-column: span 2;
    margin-top: 60px;
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--border-radius);
    background: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(20px);
}

.connectivity-matrix h3 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.matrix-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
    transition: background 0.3s ease;
}

.matrix-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.m-place {
    font-size: 0.95rem;
    color: var(--text-main);
}

.m-time {
    color: var(--gold-primary);
    font-weight: 500;
}

/* Infrastructure Guide */
.infrastructure-guide {
    grid-column: span 2;
    margin-top: 40px;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: var(--border-radius);
}

.infra-category h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.infra-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.infra-category li {
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

/* Future Connectivity */
.future-connectivity {
    grid-column: span 2;
    margin-top: 40px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.08), transparent);
    border-radius: var(--border-radius);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.future-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.future-header h3 {
    font-size: 2.5rem;
    font-family: var(--font-heading);
}

.future-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.future-item strong {
    display: block;
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

/* Brand Vision Parallax */
.brand-vision-parallax {
    position: relative;
    padding: 150px 0;
    background: url('public/everlyn/hero/hero_main_hq.jpeg') fixed center center/cover;
    text-align: center;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-dark), rgba(8, 8, 10, 0.7), var(--bg-dark));
}

.vision-content {
    position: relative;
    z-index: 2;
}

.vision-content h2 {
    font-size: 5rem;
    margin: 20px 0;
    font-family: var(--font-heading);
    line-height: 1.1;
}

.vision-points {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
}

.v-point strong {
    display: block;
    font-size: 3rem;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.v-point span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.float-whatsapp {
    background: #25d366;
    color: white;
}

.float-call {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    opacity: 0.7;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trust-item img {
    height: 30px;
    filter: brightness(0) invert(1);
}

@media (max-width: 992px) {

    .infrastructure-guide,
    .future-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .vision-content h2 {
        font-size: 3.5rem;
    }

    .vision-points {
        flex-direction: column;
        gap: 40px;
    }
}


/* ------------------------------------- */
/* Elite Market Dominance CSS */
/* ------------------------------------- */

/* Connectivity Matrix */
.connectivity-matrix {
    grid-column: span 2;
    margin-top: 60px;
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--border-radius);
    background: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(20px);
}

.connectivity-matrix h3 {
    font-size: 2.2rem;
    margin-bottom: 32px;
    font-family: var(--font-heading);
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.matrix-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
    transition: background 0.3s ease;
}

.matrix-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.m-place {
    font-size: 0.95rem;
    color: var(--text-main);
}

.m-time {
    color: var(--gold-primary);
    font-weight: 500;
}

/* Investment Vision */
.investment-vision {
    margin-top: 100px;
    padding: 60px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: var(--border-radius);
    background: rgba(8, 8, 10, 0.4);
    backdrop-filter: blur(20px);
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-text h3 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.vision-checks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vision-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.vision-checks li i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.chart-bar-container {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    height: 300px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    border-radius: 4px 4px 0 0;
    transition: height 1.5s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.chart-bar.highlight {
    background: linear-gradient(to top, var(--gold-primary), var(--gold-light));
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
}

.year {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.value {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-primary);
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, background 0.3s ease;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.float-whatsapp {
    background: #25d366;
    color: white;
}

.float-call {
    background: var(--gold-primary);
    color: var(--bg-dark);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.trust-item img {
    height: 35px;
    filter: brightness(0) invert(1) opacity(0.6);
}

.trust-item:hover {
    color: var(--gold-primary);
}

@media (max-width: 992px) {
    .matrix-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .chart-bar-container {
        gap: 20px;
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .trust-badges {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
}

/* ------------------------------------- */
/* Phase 7: Local Dominance & Utility Tools */
/* ------------------------------------- */

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.lang-toggle button {
    background: none;
    border: none;
    color: var(--text-main);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 15px;
    opacity: 0.5;
    transition: all 0.3s ease;
    min-height: 44px;
    /* A11y Touch Target */
    min-width: 44px;
}

.lang-toggle button.active {
    opacity: 1;
    background: var(--gold-primary);
    color: var(--bg-dark);
}

.lang-toggle .divider {
    display: none;
    /* Removed for cleaner button look */
}

.utility-tools {
    padding: 100px 0;
    background: radial-gradient(circle at top left, rgba(197, 160, 89, 0.05), transparent 60%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.calc-card {
    padding: 50px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    background: rgba(8, 8, 10, 0.6);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(197, 160, 89, 0.05);
}

.calc-card h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.6rem;
    margin-bottom: 35px;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.calc-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.input-group input[type="number"],
.input-group input[type="text"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 12px;
    border-radius: 4px;
    font-size: 1rem;
}

.input-group input[type="range"] {
    width: 100%;
    accent-color: var(--gold-primary);
}

.range-val {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--gold-light);
    margin-top: 5px;
}

.calc-result {
    margin-top: 20px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-result span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.calc-result h4 {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-top: 5px;
}

.testimonials {
    padding: 100px 0;
    background: radial-gradient(circle at bottom right, rgba(197, 160, 89, 0.06), transparent 70%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.test-card {
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.test-rating {
    color: var(--gold-primary);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.test-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-main);
}

.test-user strong {
    display: block;
    color: var(--gold-light);
    font-size: 1rem;
}

.test-user span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {

    .calculators-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Quiz Overlay Styles */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.quiz-overlay.active {
    display: flex;
}

.quiz-container {
    width: 90%;
    max-width: 900px;
    padding: 60px;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.close-quiz {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

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

.quiz-step h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

.quiz-step h2 span {
    color: var(--gold-primary);
}

.step-num {
    display: block;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quiz-opt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--text-main);
}

.quiz-opt:hover {
    background: rgba(197, 160, 89, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.quiz-opt .gold-icon {
    font-size: 2rem;
}

.quiz-opt strong {
    font-size: 1.1rem;
    color: var(--gold-light);
}

.quiz-opt span {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.quiz-progress {
    margin-top: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gold-primary);
    width: 33%;
    transition: width 0.5s ease;
}

.result-header h2 {
    font-size: 3rem;
    margin: 20px 0;
}

.result-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .quiz-options {
        grid-template-columns: 1fr;
    }

    .quiz-container {
        padding: 40px 20px;
    }
}

/* Transit Matrix Styles */
.transit-matrix {
    margin-top: 40px;
    padding: 40px;
    border: 1px solid rgba(197, 160, 89, 0.15);
}

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

.matrix-header h3 {
    font-size: 1.5rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.commute-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.commute-info strong {
    display: block;
    color: var(--gold-light);
    font-size: 0.95rem;
}

.commute-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.commute-time {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-primary);
    transition: color 0.5s ease;
}

.matrix-note {
    margin-top: 25px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .matrix-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* UTM Hidden Fields */
.enquiry-form .hidden-utm {
    display: none;
}

/* Inventory HUD Styles */
.inventory-hud {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(197, 160, 89, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 15px 25px;
    border-radius: 50px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.inventory-hud.active {
    transform: translateX(0);
}

.hud-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.9rem;
    white-space: nowrap;
}

.hud-content strong {
    color: var(--gold-primary);
}

@media (max-width: 768px) {
    .inventory-hud {
        bottom: 180px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

/* Phase 12: CRO & Lead Nurturing Styles */

/* Exit Intent Overlay */
.exit-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 10, 0.98);
    z-index: 3000;
    display: none;
    /* Controlled by JS */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(30px);
}

.exit-overlay.active {
    display: flex;
}

.exit-container {
    width: 90%;
    max-width: 600px;
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.3);
    position: relative;
    background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.1), transparent);
}

.close-exit {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-exit:hover {
    color: var(--gold-primary);
}

.exit-content h2 {
    font-size: 2.8rem;
    margin: 20px 0;
    line-height: 1.2;
}

.exit-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.exit-form {
    max-width: 400px;
    margin: 0 auto;
}

.exit-note {
    margin-top: 20px;
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* Social Proof Activity Ticker */
.activity-ticker {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.activity-ticker.active {
    transform: translateY(0);
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.ticker-content #tickerText {
    font-weight: 500;
}

/* Predictive Search for Hub (Preparation) */
.hub-search-container {
    margin-bottom: 40px;
    position: relative;
}

.hub-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 20px 60px 20px 25px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.hub-search-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.05);
}

.search-icon-btn {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gold-primary);
    font-size: 1.4rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .exit-container {
        padding: 40px 20px;
    }

    .exit-content h2 {
        font-size: 2rem;
    }

    .activity-ticker {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
}

/* Phase 13: Cinematic Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    animation: preloaderPulse 1.5s ease infinite alternate;
}

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--text-main);
    letter-spacing: 5px;
}

.preloader-logo span {
    color: var(--gold-primary);
    font-style: italic;
}

.preloader-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--gold-primary);
    animation: preloaderFill 2s ease-out forwards;
}

@keyframes preloaderFill {
    to {
        width: 100%;
    }
}

@keyframes preloaderPulse {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.02);
    }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* Lazy Loading Blur-Up Effect */
img[data-src] {
    filter: blur(15px);
    transition: filter 0.6s ease;
}

img[data-src].loaded,
img.loaded {
    filter: blur(0);
}

/* Phase 13: Enhanced Hover Micro-Animations */
.glass-panel {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}

.glass-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.4);
}

.btn-primary {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 30px rgba(197, 160, 89, 0.4);
}

.btn-outline {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: rgba(197, 160, 89, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.2);
    border-color: var(--gold-light);
}

.nav-link {
    position: relative;
}

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

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

/* Phase 14: FAQ Section */
.faq-section {
    padding: var(--section-gap) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.faq-item {
    padding: 25px 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item[open] {
    border-color: var(--gold-primary);
}

.faq-item summary {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--gold-primary);
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Phase 17: PWA Install Banner */
.install-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2000;
    max-width: 420px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(200%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.install-banner.active {
    transform: translateY(0);
}

.install-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.install-content .gold-icon {
    font-size: 1.5rem;
}

.install-content strong {
    display: block;
    font-size: 0.9rem;
}

.install-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.install-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Floating Share Button */
.floating-share {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--gold-primary);
    padding: 12px 20px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.floating-share:hover {
    background: rgba(197, 160, 89, 0.15);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .install-banner {
        bottom: 15px;
        right: 15px;
        left: 15px;
        max-width: none;
        flex-direction: column;
        align-items: stretch;
    }

    .install-actions {
        justify-content: flex-end;
    }

    .floating-share {
        bottom: 80px;
        right: 15px;
    }
}

/* Header Logo */
.header-logo {
    height: 50px !important;
    max-width: 250px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile Nav Styles & Overlaps Fixes */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--gold-primary);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }

    .logo {
        height: 35px !important;
        margin-right: auto;
    }

    .header-logo {
        height: 35px !important;
        max-width: 180px !important;
    }

    #registerBtn {
        display: none;
        /* Hide on small screens to prevent overlap */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        gap: 20px;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-grand {
        min-height: 100vh;
    }

    .install-banner {
        z-index: 900;
    }

    .exit-overlay,
    .floating-share {
        z-index: 900;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .inventory-hud {
        display: none !important;
        /* Hide floating banner on mobile */
    }

    .activity-ticker {
        display: none !important;
        /* Hide activity ticker on mobile to reduce clutter */
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
    }
}