/* ========================================
   DESIGN SYSTEM & VARIABLES
   ======================================== */
:root {
    /* Multi-layered shadows variables (Match theme) */
    --saas-shadow-btn: 201, 168, 76;  /* Accent Gold/Bronze */
    --saas-shadow-img: 10, 10, 15;    /* Match the Dark Background */
    
    --color-bg: #0a0a0f;
    --color-bg-alt: #111118;
    --color-surface: #16161f;
    --color-surface-hover: #1e1e2a;
    --color-accent: #c9a84c;
    --color-accent-light: #e0c56e;
    --color-accent-dark: #a8882e;
    --color-text: #eaeaf0;
    --color-text-muted: #8b8ba0;
    --color-text-dim: #5a5a72;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-glass: rgba(16, 16, 25, 0.75);
    --color-glass-border: rgba(255, 255, 255, 0.08);
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --section-pad: 120px;
    --container-width: 1200px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-smooth);
}

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-pad) 0;
    position: relative;
    will-change: transform, opacity;
}

/* Section Divider Line (animated via GSAP) */
.section-divider-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    margin: 16px auto 0;
    max-width: 400px;
    will-change: width;
}

/* Section transition wrapper for morph transitions */
.section-transition-in {
    will-change: transform, opacity;
}

/* Typography Utilities */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 28px;
    height: 2px;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

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

.text-accent {
    color: var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-bg);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(201, 168, 76, 0.05);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 10px;
    color: var(--color-bg);
    font-size: 1rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}

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

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding: 4px 0;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger .bar {
    width: 28px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section (Cinematic Refinement) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
}

.hero-bg {
    position: absolute;
    inset: -5%; /* slightly larger for parallax */
    width: 110%;
    height: 110%;
    z-index: 0;
    will-change: transform;
}

.hero-image-mask {
    position: absolute;
    inset: 0;
    overflow: hidden;
    /* GSAP will animate this from inset(50% 30% 50% 30%) */
    clip-path: inset(100% 100% 100% 100%);
    will-change: clip-path;
}

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    /* Ken Burns slow zoom + perspective shift illusion */
    transform: scale(1.1) rotate(0.01deg);
    animation: livingScene 25s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
}

@keyframes livingScene {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-1%, 1%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.2) 0%,
        rgba(10, 10, 15, 0.0) 30%,
        rgba(10, 10, 15, 0.5) 70%,
        rgba(10, 10, 15, 0.95) 100%
    );
    z-index: 1;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(10, 10, 15, 0.95) 120%);
    pointer-events: none;
    z-index: 1;
    will-change: transform, opacity;
}

.hero-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.25;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-light {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    transition: opacity 1s ease;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        rgba(201, 168, 76, 0.12), 
        transparent 40%
    );
    will-change: background;
}

/* Floating Decorations */
.hero-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    will-change: transform;
}
.hero-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.3), transparent);
    height: 1px;
    width: 30vw;
    opacity: 0;
}
.hero-line-1 { top: 25%; left: -10vw; transform: rotate(35deg); }
.hero-line-2 { bottom: 30%; right: -5vw; transform: rotate(-25deg); width: 20vw; }

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    will-change: transform, opacity;
}

/* Enhanced Word/Character Split Animation CSS inside hero */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 24px;
    perspective: 1000px; /* needed for 3D rotate on chars */
}

/* Words act as inline blocks with hidden overflow locally, or just wrappers */
.word {
    display: inline-block;
    white-space: nowrap;
    margin-right: 0.15em;
    perspective: 1200px;
}

/* Individual letters */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(120%) rotateX(60deg);
    transform-origin: bottom center;
    filter: blur(8px);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: #f3f4f6;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
    margin-bottom: 40px;
    opacity: 0;
    will-change: transform, opacity;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Premium Button Styling (Spring scale on hover) */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-btn {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); /* Spring physics feel */
    will-change: transform, box-shadow;
}

.hero-btn:hover {
    transform: translateY(-4px) scale(1.03);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.scroll-indicator:hover .scroll-text {
    color: var(--color-accent);
}

.scroll-arrow {
    font-size: 1rem;
    color: var(--color-accent);
    animation: smoothBreath 3s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    will-change: transform, opacity;
}

@keyframes smoothBreath {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    50% { transform: translateY(10px) scale(1.1); opacity: 1; }
}

/* ===== ABOUT SECTION (PREMIUM SAAS) ===== */
.about-saas {
    background: linear-gradient(
        180deg,
        #0d0d14 0%,
        #0f1018 30%,
        #111320 60%,
        #0e0e16 100%
    );
    padding: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 0;
}

/* Subtle grain / noise overlay */
.about-saas-noise {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.035;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

.about-saas-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 24px 110px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Centered Text */
.about-saas-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 760px;
}

.saas-headline {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    font-style: italic;
    color: #eaeaf0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.saas-subtext {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.3vw, 1.05rem);
    color: #6b6b80;
    line-height: 1.75;
    margin: 0 auto;
    max-width: 580px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .about-saas-container {
        padding: 72px 20px 80px;
    }

    .saas-headline {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
        letter-spacing: -0.3px;
    }

    .saas-headline br {
        display: none;
    }

    .saas-subtext {
        font-size: 0.95rem;
        max-width: 440px;
    }
}



.badge-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Features Section */
.features {
    background: var(--color-bg-alt);
}

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

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    color: var(--color-accent);
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-bg);
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Gallery Section */
.gallery {
    background: var(--color-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-lg {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.35s var(--ease-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: var(--color-accent);
}

.gallery-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Timeline / Rental Process */
.process {
    background: var(--color-surface);
}

.process .section-title {
    color: var(--color-text);
}

.timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 58px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: var(--color-border);
    border-radius: 2px;
}

/* New GSAP Controllable Fill Element */
.timeline-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Starting point, GSAP will animate this */
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 2px;
}

.timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-dot {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    border-radius: 50%;
    margin-bottom: 24px;
    transition: all 0.4s var(--ease-out);
}

.timeline-step.active .step-dot {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* Consolidated Step Card */
.step-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    max-width: 250px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(201, 168, 76, 0.2);
}

.step-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.step-card h3:hover {
    color: var(--color-accent);
}

.step-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}
/* Neighborhood */
.neighborhood {
    background: var(--color-bg);
}

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

.poi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.poi-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-smooth);
}

.poi-item:hover {
    border-color: rgba(201, 168, 76, 0.15);
    transform: translateX(8px);
}

.poi-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: 12px;
    color: var(--color-accent);
    font-size: 1.1rem;
}

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

.poi-item p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.neighborhood-map {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

/* CTA */
.cta {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 140px 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(10, 10, 15, 1) 40%, rgba(10, 10, 15, 1) 60%, rgba(201, 168, 76, 0.06) 100%);
    animation: ctaGradient 8s ease-in-out infinite alternate;
}

@keyframes ctaGradient {
    0% {
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.08) 0%, rgba(10, 10, 15, 1) 40%, rgba(10, 10, 15, 1) 60%, rgba(201, 168, 76, 0.06) 100%);
    }

    100% {
        background: linear-gradient(225deg, rgba(201, 168, 76, 0.1) 0%, rgba(10, 10, 15, 1) 40%, rgba(10, 10, 15, 1) 60%, rgba(201, 168, 76, 0.04) 100%);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-bg-alt);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-smooth);
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

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

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

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

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

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

.footer-contact li i {
    color: var(--color-accent);
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--color-text-dim);
}

/* ========================================
   SECTION 2: FEATURED STUDENT HOUSING
   ======================================== */
.section-housing {
    background: #F6F8FB;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.housing-cursor-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 136, 46, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: left 0.3s ease, top 0.3s ease;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-title-modern {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle-modern {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.housing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.housing-card {
    background: var(--color-surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
    perspective: 1000px;
    cursor: pointer;
}

.housing-card:hover {
    box-shadow: 0 20px 48px rgba(168, 136, 46, 0.12);
}

.housing-card-img {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.housing-card:hover .housing-card-img img {
    transform: scale(1.08);
}

.housing-card-body {
    padding: 20px;
}

.housing-card-title {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 6px;
}

.housing-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.housing-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.housing-distance {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.housing-distance i {
    color: var(--color-accent-light);
    font-size: 0.75rem;
}

.housing-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent);
}

.housing-price small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.housing-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.housing-btn:hover {
    background: var(--color-bg-alt);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 136, 46, 0.3);
}

.housing-btn i {
    transition: transform 0.3s ease;
}

.housing-btn:hover i {
    transform: translateX(4px);
}

/* ========================================
   SECTION 3: STUDENT AMENITIES (SaaS Style)
   ======================================== */
.section-amenities {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.amenities-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.amenities-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.amenities-blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: -100px;
    right: -100px;
    animation: blobFloat 12s ease-in-out infinite alternate;
}

.amenities-blob-2 {
    width: 350px;
    height: 350px;
    background: var(--color-accent-light);
    bottom: -80px;
    left: -80px;
    animation: blobFloat 15s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

.amenities-bg-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.amenities-header {
    text-align: center;
    margin-bottom: 72px;
    position: relative;
    z-index: 1;
}

.amenities-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.amenities-accent {
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-style: italic;
}

.amenities-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.amenity-card {
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface) 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(201, 168, 76, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    will-change: transform;
    cursor: default;
    overflow: hidden;
}

.amenity-card:hover {
    box-shadow: 0 20px 50px rgba(168, 136, 46, 0.12), 0 0 0 1px rgba(201, 168, 76, 0.08);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface) 100%);
}

.amenity-glow {
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(224, 197, 110, 0.15));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}

.amenity-card:hover .amenity-glow {
    opacity: 1;
}

/* Icon Wrap */
.amenity-icon-wrap {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(168, 136, 46, 0.08), rgba(224, 197, 110, 0.06));
    border-radius: 18px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.amenity-icon-anim {
    font-size: 1.6rem;
    color: var(--color-accent);
    transition: all 0.4s ease;
}

.amenity-card:hover .amenity-icon-wrap {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    transform: scale(1.1);
}

.amenity-card:hover .amenity-icon-anim {
    color: #fff;
    transform: scale(1.15);
}

/* Icon Micro-Animations */
.amenity-wifi-anim i {
    animation: wifiPulse 2.5s ease-in-out infinite;
}

@keyframes wifiPulse {

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

    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.amenity-book-anim i {
    animation: bookHover 3s ease-in-out infinite;
}

@keyframes bookHover {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-3px) rotate(2deg);
    }
}

.amenity-bed-anim i {
    animation: bedBounce 4s ease-in-out infinite;
}

@keyframes bedBounce {

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

    50% {
        transform: translateY(-4px);
    }
}

.amenity-bolt-anim i {
    animation: boltFlash 3s ease-in-out infinite;
}

@keyframes boltFlash {

    0%,
    90%,
    100% {
        opacity: 0.8;
    }

    95% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.amenity-shield-anim i {
    animation: shieldGlow 3s ease-in-out infinite;
}

@keyframes shieldGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 0px rgba(168, 136, 46, 0));
    }

    50% {
        filter: drop-shadow(0 0 8px rgba(168, 136, 46, 0.3));
    }
}

.amenity-laundry-anim i {
    animation: laundrySpin 4s linear infinite;
}

@keyframes laundrySpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.amenity-card-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.amenity-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   PROPERTY PREVIEW MODULE (Floating 3D Cards)
   ======================================== */
.section-property-preview {
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.pp-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.pp-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.pp-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-accent), transparent 70%);
    top: -150px;
    left: -100px;
    animation: shapeFloat 18s ease-in-out infinite alternate;
}

.pp-shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-light), transparent 70%);
    bottom: -100px;
    right: -80px;
    animation: shapeFloat 14s ease-in-out infinite alternate-reverse;
}

.pp-shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-accent), transparent 70%);
    top: 40%;
    left: 50%;
    animation: shapeFloat 20s ease-in-out infinite alternate;
}

@keyframes shapeFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.15);
    }
}

/* Header */
.pp-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.pp-headline {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.pp-accent {
    color: var(--color-accent);
    font-style: italic;
    font-family: var(--font-heading);
}

.pp-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Glassmorphism Filter Bar */
.glass-filter-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 64px auto;
    flex-wrap: wrap;
    position: sticky;
    top: 90px;
    z-index: 100;
    
    /* Dark frosted-glass effect */
    background: rgba(22, 22, 31, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 100px;
    padding: 16px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: fit-content;
}

.glass-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.glass-filter-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 12px;
}

.glass-select {
    appearance: none;
    -webkit-appearance: none;
    padding: 10px 48px 10px 20px;
    background: rgba(30, 30, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b8ba0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.glass-select:hover,
.glass-select:focus {
    background: rgba(30, 30, 42, 1);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.glass-select option {
    background: #16161f;
    color: #eaeaf0;
}

/* Floating Property Cards Area */
.pp-floating-area {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
    perspective: 1200px;
}

/* Individual Property Card */
.pp-property-card {
    background: var(--color-surface);
    border-radius: 16px;
    /* Soft, multi-layered default box-shadow */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 
                0 10px 15px -3px rgba(0, 0, 0, 0.05), 
                0 20px 25px -5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.4s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.pp-property-card .js-tilt-glare {
    border-radius: 16px;
}

/* Staggered floating offsets */
.pp-property-card[data-pp-card="0"] {
    transform: translateY(0px) rotate(-0.5deg);
}

.pp-property-card[data-pp-card="1"] {
    transform: translateY(-20px) rotate(0.8deg);
}

.pp-property-card[data-pp-card="2"] {
    transform: translateY(15px) rotate(-0.6deg);
}

.pp-property-card[data-pp-card="3"] {
    transform: translateY(-10px) rotate(0.4deg);
}

.pp-property-card:hover {
    /* Deepen shadow on hover to enhance the 3D pop */
    box-shadow: 0 10px 15px -3px rgba(168, 136, 46, 0.1), 
                0 25px 50px -12px rgba(168, 136, 46, 0.25), 
                0 0 0 1px rgba(201, 168, 76, 0.1);
    z-index: 10;
}

/* Property Image */
.pp-prop-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    /* Make image slightly pop */
    transform: translateZ(20px);
    transform-style: preserve-3d;
}

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

.pp-property-card:hover .pp-prop-img img {
    transform: scale(1.08);
}

.pp-prop-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pp-property-card:hover .pp-prop-img-overlay {
    opacity: 1;
}

.pp-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.pp-property-card:hover .pp-view-btn {
    transform: translateY(0);
}

.pp-view-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Property Body */
.pp-prop-body {
    padding: 20px;
    /* Inner text floats above card during tilt */
    transform: translateZ(30px);
    transform-style: preserve-3d;
}

.pp-prop-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.pp-prop-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.pp-prop-location {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pp-prop-location i {
    color: var(--color-accent-light);
    font-size: 0.75rem;
}

.pp-prop-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-prop-details span {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: var(--color-surface);
    border-radius: 8px;
}

.pp-prop-details span i {
    font-size: 0.7rem;
    color: var(--color-accent);
}

/* ========================================
   SECTION 4: HOUSING LANDING
   ======================================== */
.section-housing-landing {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.housing-landing-bg-decor {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 24px;
    opacity: 0.06;
    font-size: 2rem;
    color: var(--color-text);
    z-index: 0;
}

.housing-landing-grid {
    display: grid;
    grid-template-columns: 280px 1fr 340px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left Content */
.housing-landing-headline {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hl-accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0;
}

.hl-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: #1F2937;
    color: var(--color-white);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hl-badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FBBF24;
    display: inline-block;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

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

    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.hl-sub-headline {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 28px;
}

.hl-sub-headline strong {
    color: var(--color-text);
    font-weight: 700;
}

.hl-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 24px rgba(168, 136, 46, 0.25);
}

.hl-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(168, 136, 46, 0.4);
    background: var(--color-bg-alt);
}

.hl-cta-btn i {
    transition: transform 0.3s ease;
}

.hl-cta-btn:hover i {
    transform: translateX(5px);
}

/* Central Mosaic */
.housing-mosaic-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.housing-mosaic-svg {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.orbit-ring {
    transform-origin: center;
}

.orbit-1 {
    animation: orbitSpin 25s linear infinite;
}

.orbit-2 {
    animation: orbitSpin 18s linear infinite reverse;
}

.orbit-3 {
    animation: orbitSpin 30s linear infinite;
}

@keyframes orbitSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.mosaic-spark {
    animation: sparkle 2s ease-in-out infinite;
}

.mosaic-spark:nth-child(2) {
    animation-delay: 0.3s;
}

.mosaic-spark:nth-child(3) {
    animation-delay: 0.6s;
}

.mosaic-spark:nth-child(4) {
    animation-delay: 0.9s;
}

.mosaic-spark:nth-child(5) {
    animation-delay: 1.2s;
}

.mosaic-spark-big {
    animation: sparkleBig 3s ease-in-out infinite;
}

/* Housing Plan Card */
.housing-plan-card-wrap {
    display: flex;
    justify-content: center;
}

.housing-plan-card {
    background: #1F2937;
    border-radius: 24px;
    padding: 36px 32px;
    color: var(--color-white);
    width: 100%;
    max-width: 340px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
}

.housing-plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.hpc-corner-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.hpc-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.hpc-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.hpc-badge {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.hpc-divider {
    border-bottom: 2px dashed rgba(255, 255, 255, 0.12);
    margin-bottom: 20px;
}

.hpc-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 24px;
}

.hpc-currency {
    font-size: 1.6rem;
    font-weight: 700;
}

.hpc-amount {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}

.hpc-period {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.hpc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hpc-features li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.hpc-features li i {
    color: #4ADE80;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.hpc-btn {
    width: 100%;
    padding: 14px 24px;
    background: #374151;
    color: var(--color-white);
    border: none;
    border-radius: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hpc-btn:hover {
    background: #4B5563;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-pad: 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .gallery-item-lg {
        grid-column: span 1;
    }

    .timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 0;
    }

    .timeline-line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 3px;
        height: 100%;
    }

    .timeline-line-fill {
        width: 100% !important; /* Fixed width */
        height: 0%; /* GSAP animates height vertically on mobile */
    }

    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding-left: 56px;
        margin-bottom: 32px;
    }

    .step-dot {
        position: absolute;
        left: 0;
        margin-bottom: 0;
    }

    .step-card {
        max-width: 100%;
    }

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

    .housing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .living-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Housing landing responsive */
    .housing-landing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .housing-mosaic-wrap {
        display: none;
    }

    /* Property preview responsive */
    .pp-grid {
        gap: 48px;
    }

    .pp-card-stack {
        width: 340px;
        height: 420px;
    }

    .pp-card {
        width: 240px;
        height: 300px;
    }

    .pp-card-stack.expanded .pp-card {
        width: 155px;
        height: 185px;
    }

    .pp-card-stack.expanded .pp-card[data-index="1"] {
        transform: translate(168px, 0) rotate(0deg) scale(1);
    }

    .pp-card-stack.expanded .pp-card[data-index="3"] {
        transform: translate(168px, 198px) rotate(0deg) scale(1);
    }

    .pp-card-stack.expanded .pp-card[data-index="4"] {
        transform: translate(84px, 99px) rotate(0deg) scale(1);
    }

    .pp-card-stack.expanded .pp-card[data-index="5"] {
        transform: translate(84px, 297px) rotate(0deg) scale(1);
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 64px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: var(--color-glass);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--color-glass-border);
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right 0.4s var(--ease-out);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-media {
        order: -1;
    }

    .media-wrapper img {
        height: 360px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

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

    .neighborhood-map {
        height: 320px;
    }

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

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
    }

    .housing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

    /* Housing landing mobile */
    .housing-landing-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .housing-mosaic-wrap {
        display: none;
    }

    .housing-plan-card {
        padding: 28px 24px;
        max-width: 100%;
    }

    /* Property preview mobile */
    .pp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .pp-desc {
        max-width: 100%;
    }

    .pp-card-stack {
        width: 100%;
        max-width: 360px;
        height: 300px;
    }

    .pp-card-stack.expanded .pp-card,
    .pp-card {
        width: 140px;
        height: 170px;
    }

    .pp-stack-container {
        min-height: 360px;
    }

    /* Show grid directly on mobile */
    .pp-card-stack {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        height: auto;
    }

    .pp-card {
        position: relative;
        width: 100%;
        height: 120px;
        transform: none !important;
    }
}

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

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
    }

    .pp-card-stack {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Logo Sizing Edit */
.nav-logo img { height: 120px !important; transition: transform 0.3s ease; }
.nav-logo img:hover { transform: scale(1.05); }

/* Explore Button Active State */
.hero-buttons .btn-primary:active, 
.hero-buttons .btn-primary:focus {
    background-color: #000 !important;
    border-color: #000 !important;
    color: var(--color-white) !important;
}

/* ========================================
   SaaS Multi-Layered Shadows
   ======================================== */

/* CTA Button */
.saas-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--color-accent-dark); /* Deep royal blue */
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 999px; /* Pill-shaped */
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Prominent multi-layered shadow with the glowing RGB */
    box-shadow: 
        0 2px 4px -1px rgba(var(--saas-shadow-btn), 0.2),
        0 4px 6px -1px rgba(var(--saas-shadow-btn), 0.15),
        0 10px 15px -3px rgba(var(--saas-shadow-btn), 0.1),
        0 20px 25px -5px rgba(var(--saas-shadow-btn), 0.05);
}

.saas-btn-primary:hover {
    /* Lift up */
    transform: translateY(-2px);
    /* Expand and soften shadow */
    box-shadow: 
        0 4px 6px -1px rgba(var(--saas-shadow-btn), 0.25),
        0 10px 15px -3px rgba(var(--saas-shadow-btn), 0.2),
        0 20px 25px -5px rgba(var(--saas-shadow-btn), 0.15),
        0 25px 50px -12px rgba(var(--saas-shadow-btn), 0.1);
}

.saas-btn-primary:active {
    /* Push down */
    transform: translateY(1px);
    /* Tight, dark shadow */
    box-shadow: 
        0 1px 2px 0 rgba(var(--saas-shadow-btn), 0.3),
        0 2px 4px -1px rgba(var(--saas-shadow-btn), 0.2);
}

/* Golden CTA Button */
.saas-btn-golden {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--color-accent); /* Golden */
    color: var(--color-text); /* Dark text for contrast */
    font-weight: 700;
    font-size: 1rem;
    border-radius: 999px; /* Pill-shaped */
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Prominent multi-layered shadow with the glowing RGB */
    box-shadow: 
        0 2px 4px -1px rgba(var(--saas-shadow-btn), 0.2),
        0 4px 6px -1px rgba(var(--saas-shadow-btn), 0.15),
        0 10px 15px -3px rgba(var(--saas-shadow-btn), 0.1),
        0 20px 25px -5px rgba(var(--saas-shadow-btn), 0.05);
}

.saas-btn-golden:hover {
    /* Lift up */
    transform: translateY(-2px);
    /* Expand and soften shadow */
    box-shadow: 
        0 4px 6px -1px rgba(var(--saas-shadow-btn), 0.25),
        0 10px 15px -3px rgba(var(--saas-shadow-btn), 0.2),
        0 20px 25px -5px rgba(var(--saas-shadow-btn), 0.15),
        0 25px 50px -12px rgba(var(--saas-shadow-btn), 0.1);
}

.saas-btn-golden:active {
    /* Push down */
    transform: translateY(1px);
    /* Tight, dark shadow */
    box-shadow: 
        0 1px 2px 0 rgba(var(--saas-shadow-btn), 0.3),
        0 2px 4px -1px rgba(var(--saas-shadow-btn), 0.2);
}

/* Property Image */
.saas-property-img {
    border-radius: 12px; /* Smooth rounded corners */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Subtle inner/rim light to simulate thickness */
    border: 1px solid rgba(255, 255, 255, 0.1); 
    
    /* Slightly softer, wider multi-layered shadow than button */
    box-shadow: 
        0 4px 6px -1px rgba(var(--saas-shadow-img), 0.1),
        0 10px 15px -3px rgba(var(--saas-shadow-img), 0.08),
        0 20px 25px -5px rgba(var(--saas-shadow-img), 0.05),
        0 30px 40px -10px rgba(var(--saas-shadow-img), 0.03);
}

.saas-property-img:hover {
    /* Subtle lift */
    transform: translateY(-4px);
    /* Intensified, larger shadow */
    box-shadow: 
        0 10px 15px -3px rgba(var(--saas-shadow-img), 0.15),
        0 20px 25px -5px rgba(var(--saas-shadow-img), 0.1),
        0 30px 40px -10px rgba(var(--saas-shadow-img), 0.08),
        0 40px 50px -15px rgba(var(--saas-shadow-img), 0.05);
}

/* ========================================
   Glassmorphism Auth & Onboarding UI
   ======================================== */
.glass-auth-container {
    background: rgba(22, 22, 31, 0.9); /* Dark glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.glass-input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 16px;
    background: var(--color-surface); /* Solid white */
    border: 1px solid var(--color-border); /* Light border */
    border-radius: 12px;
    color: var(--color-text); /* Dark text */
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.glass-input::placeholder { color: #9ca3af; }

.glass-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

/* Role Selection Grid */
.role-selection-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.role-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 24px;
    padding: 48px 32px;
    width: 300px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 10px 25px rgba(0,0,0,0.03);
}

.role-card .role-icon {
    font-size: 3.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    transition: transform 0.4s ease;
}

.role-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--color-accent);
    box-shadow: 0 20px 30px -5px rgba(0,0,0,0.08), 0 0 30px rgba(201,168,76,0.18);
}

.role-card:active { transform: translateY(2px) scale(0.99); }

/* ========================================
   Dashboard Shared Layout
   ======================================== */
.dashboard-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
}

.dash-sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--color-surface);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 32px 20px;
    gap: 6px;
    overflow-y: auto;
}

.dash-sidebar .sidebar-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    padding: 0 12px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 12px 6px;
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-nav-link i { width: 18px; text-align: center; font-size: 0.85rem; }

.dash-nav-link:hover { background: rgba(255,255,255,0.06); color: white; }
.dash-nav-link.active { background: rgba(201,168,76,0.12); color: var(--color-accent); }

.dash-main {
    flex: 1;
    overflow-y: auto;
    padding: 40px 48px;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 36px;
}

.dash-topbar h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.dash-topbar .user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}

.dash-topbar .user-chip .avatar {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark, #a07c28));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.stat-card .stat-icon {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.stat-card .stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* Listing Table */
.dash-table-wrap {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}

.dash-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.dash-table-wrap th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
}

.dash-table-wrap td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.75);
    vertical-align: middle;
}

.dash-table-wrap tr:last-child td { border-bottom: none; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-green { background: rgba(52,211,153,0.15); color: #34D399; }
.badge-yellow { background: rgba(251,191,36,0.15); color: #FBBF24; }
.badge-gray { background: rgba(107,114,128,0.15); color: var(--color-text-muted); }

/* Student Explore Layout overrides */
.student-map-area {
    height: 260px;
    background: linear-gradient(135deg, #1e2235, #16161f);
    border-radius: 16px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
}

.student-map-area iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.7) saturate(0.5);
}

.dash-section-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.property-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.property-mini-card {
    background: var(--color-surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.3);
}

.property-mini-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.property-mini-body {
    padding: 16px;
}

.property-mini-body h4 {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.property-mini-body .price {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1rem;
}

.property-mini-body .meta {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 4px;
}

/* ===== NEW SECTIONS & SPECIFIC UI UPDATES ===== */

/* Trust Section */
.trust-section { background-color: #0b0b0f; padding: 80px 0; color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.trust-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 40px; }
.trust-stat { display: flex; flex-direction: column; align-items: center; }
.trust-number { font-size: 2.5rem; font-weight: 700; color: var(--color-accent); }
.trust-label { font-size: 1.1rem; color: #8b8ba0; margin-top: 8px; }

/* How It Works Section */
.how-it-works-section { background-color: var(--color-surface); padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.hiw-steps { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.hiw-step { flex: 1; min-width: 220px; max-width: 260px; text-align: center; background: #1a1a22; padding: 40px 24px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,0.05); transition: transform 0.4s var(--ease-out); }
.hiw-step:hover { transform: translateY(-8px); border-color: var(--color-accent); }
.hiw-icon-wrap { width: 64px; height: 64px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; background: rgba(201,168,76,0.1); border-radius: 50%; color: var(--color-accent); font-size: 1.8rem; }
.hiw-step h3 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 600; margin-bottom: 12px; }
.hiw-step p { color: #8b8ba0; font-size: 0.95rem; line-height: 1.6; }

/* Pricing Section */
.pricing-section { background: #0b0b0f; padding: 100px 0; }
.pricing-card { background: #1a1a22; padding: 48px; border-radius: var(--radius-xl); display: inline-flex; flex-direction: column; align-items: center; border: 1px solid rgba(255, 255, 255, 0.05); margin: 0 auto; max-width: 500px; }
.pricing-price { font-size: 3rem; color: var(--color-accent); font-weight: 700; margin-bottom: 16px; }
.pricing-price span { font-size: 1.2rem; color: #8b8ba0; font-weight: 400; }
.pricing-desc { color: #8b8ba0; font-size: 1.1rem; margin-bottom: 32px; text-align: center; }
.pricing-btn { padding: 16px 48px; font-size: 1.1rem; border-radius: var(--radius-md); }

/* Premium Property Card (New Style) */
.premium-prop-card { background: #1a1a22; padding: 16px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); border: 1px solid rgba(255, 255, 255, 0.05); transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out); width: 100%; text-align: left; transform-style: preserve-3d; will-change: transform; }
.premium-prop-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.8); border-color: rgba(201,168,76,0.3); z-index: 10; cursor: pointer; }
.premium-prop-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.premium-prop-head { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 4px; }
.premium-prop-price { font-size: 1.2rem; font-weight: 600; color: #fff; }
.premium-prop-price span { font-size: 0.9rem; color: #8b8ba0; font-weight: 400; }
.premium-prop-location { color: #8b8ba0; font-size: 0.95rem; margin-bottom: 16px; }
.premium-prop-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px; }
.premium-verified { color: #4ade80; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.premium-view-btn { color: var(--color-accent); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color 0.3s ease; }
.premium-view-btn:hover { color: #fff; }

/* ========================================
   NEW SECTIONS: Hero Badge, Problem, Solution,
   Testimonials, Trust, Contact, Scroll Reveal
   ======================================== */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 24px;
    opacity: 0;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

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

.problem-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.08);
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    color: #ef4444;
    transition: all 0.4s var(--ease-out);
}

.problem-card:hover .problem-icon {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

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

.solution-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.1);
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(201, 168, 76, 0.06);
    line-height: 1;
}

.solution-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.05));
    border-radius: var(--radius-md);
    font-size: 1.6rem;
    color: var(--color-accent);
    transition: all 0.4s var(--ease-out);
}

.solution-card:hover .solution-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-bg);
    transform: scale(1.1) rotate(5deg);
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ===== HOW IT WORKS — Enhancements ===== */
.hiw-step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: var(--color-bg);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.hiw-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(201, 168, 76, 0.25);
    font-size: 1rem;
    padding-top: 40px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.testimonial-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.15);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-featured {
    border-color: rgba(201, 168, 76, 0.2);
    background: linear-gradient(145deg, var(--color-surface), rgba(201, 168, 76, 0.03));
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: 0.85rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-bg);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.78rem;
    color: var(--color-text-dim);
}

/* ===== TRUST SECTION — Enhancements ===== */
.trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 48px;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.trust-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-left: 2px;
}

.trust-label {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.trust-badge-item i {
    color: var(--color-accent);
    font-size: 0.85rem;
}

.trust-badge-item:hover {
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--color-text);
    transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info .section-title {
    text-align: left;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 12px;
    color: var(--color-accent);
    font-size: 1.1rem;
}

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

.contact-detail-item p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    text-align: center;
    padding: 24px;
    margin-top: 16px;
    background: rgba(201, 168, 76, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.form-success i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    display: block;
}

.form-success p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* ===== NO RESULTS ===== */
.pp-no-results {
    text-align: center;
    padding: 60px 20px;
}

.pp-no-results i {
    font-size: 2.5rem;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

.pp-no-results p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* ===== SCROLL REVEAL UTILITY ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE: New Sections ===== */
@media (max-width: 1024px) {
    .problem-grid,
    .solution-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hiw-connector { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .problem-grid,
    .solution-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .pp-floating-area {
        grid-template-columns: repeat(2, 1fr);
    }
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hiw-steps {
        gap: 20px;
    }
    .hiw-step {
        min-width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .trust-stats {
        gap: 32px;
    }
    .trust-number {
        font-size: 2.2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .pp-floating-area {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* =============================================
   NEW INTERACTIVE ELEMENTS
   ============================================= */

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    transform: scale(1.02);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.08);
}

.hero-slide-progress {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s ease;
}

.slide-dot.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
    transform: scale(1.2);
}

/* ===== PROBLEM STAT BARS ===== */
.problem-stat {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.problem-stat-bar {
    width: 100%;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin-bottom: 8px;
}

.problem-stat-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-accent), #e8c547);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.problem-stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== SOLUTION METRIC RING ===== */
.solution-metric {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-metric-ring {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.metric-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.metric-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 3;
}

.metric-fill {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.metric-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-accent);
}

.solution-metric-label {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* ===== SOLUTION COMPARISON CARD ===== */
.solution-compare {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-item {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.compare-item:hover {
    transform: translateY(-2px);
}

.compare-bad {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.compare-good {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.compare-label {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.compare-bad .compare-value {
    color: #ef4444;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.compare-good .compare-value {
    color: #22c55e;
    font-weight: 800;
    font-size: 1.1rem;
}

.compare-vs {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

/* ===== SOLUTION TIMELINE BAR ===== */
.solution-timeline {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-bar {
    width: 100%;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

.timeline-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-accent), #22c55e);
    width: 0%;
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.timeline-labels span:last-child {
    color: #22c55e;
    font-weight: 700;
}

/* ===== AGGREGATE RATING ===== */
.aggregate-rating {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 28px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.aggregate-score {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    font-family: var(--font-heading);
}

.aggregate-details {
    text-align: left;
}

.aggregate-stars {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 4px;
}

.aggregate-stars i {
    margin-right: 2px;
}

.aggregate-count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.rating-bars {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: var(--color-text-muted);
}

.rating-bar-row span:first-child {
    width: 28px;
    text-align: right;
    flex-shrink: 0;
}

.rating-bar-row span:last-child {
    width: 30px;
    text-align: right;
    flex-shrink: 0;
}

.rating-bar-track {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--color-accent);
    width: 0%;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== TESTIMONIAL PHOTO AVATAR ===== */
.testimonial-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(201, 168, 76, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover .testimonial-avatar-img {
    transform: scale(1.1);
    border-color: var(--color-accent);
}

/* Testimonial Badge */
.testimonial-badge {
    position: absolute;
    top: -1px;
    right: 16px;
    background: linear-gradient(135deg, var(--color-accent), #e8c547);
    color: var(--color-bg);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Helpful Button */
.testimonial-helpful {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.helpful-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.helpful-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(201, 168, 76, 0.06);
}

.helpful-btn.liked {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(201, 168, 76, 0.1);
}

.helpful-btn.liked i {
    font-weight: 900;
}

.helpful-count {
    font-weight: 600;
}

/* ===== VERIFICATION TIMELINE ===== */
.verification-timeline {
    margin-top: 48px;
    text-align: center;
}

.verification-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 32px;
    font-weight: 600;
}

.v-timeline {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.v-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    position: relative;
    padding: 0 12px;
}

/* Connector line between steps */
.v-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -10%;
    width: 70%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), rgba(201, 168, 76, 0.2));
    z-index: 0;
}

.v-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    border: 2px solid rgba(201, 168, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.v-step:hover .v-step-icon {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--color-accent);
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.v-step-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.v-step-content p {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Responsive for verification timeline */
@media (max-width: 768px) {
    .v-timeline {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .v-step {
        flex-direction: row;
        min-width: 100%;
        max-width: 100%;
        text-align: left;
        gap: 16px;
    }
    .v-step-icon {
        margin-bottom: 0;
    }
    .v-step:not(:last-child)::after {
        display: none;
    }
    .aggregate-rating {
        flex-direction: column;
        text-align: center;
    }
    .aggregate-details {
        text-align: center;
    }
}

/* ===== DECORATIVE BACKGROUND SHAPES ===== */
.problem-bg-shapes, .solution-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.problem-section .container, .solution-section .container {
    position: relative;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

/* Circle Shape */
.shape-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    opacity: 0.05;
}

/* Grid Pattern Shape */
.shape-grid {
    width: 400px;
    height: 400px;
    bottom: -50px;
    right: -100px;
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom left, rgba(0,0,0,1), rgba(0,0,0,0));
    -webkit-mask-image: linear-gradient(to bottom left, rgba(0,0,0,1), rgba(0,0,0,0));
    opacity: 0.15;
}

/* Blob Shape */
.shape-blob {
    width: 500px;
    height: 500px;
    background: var(--color-accent);
    filter: blur(80px);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: 50%;
    right: -250px;
    transform: translateY(-50%);
    opacity: 0.03;
    animation: blobMorph 15s ease-in-out infinite alternate;
}

/* Dots Pattern Shape */
.shape-dots {
    width: 300px;
    height: 300px;
    top: 100px;
    left: -50px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
    opacity: 0.3;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ===== PROBLEM SECTION STYLES ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.problem-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #e8c547);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: rgba(201, 168, 76, 0.3);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(201, 168, 76, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.problem-card h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 16px;
    font-weight: 600;
}

.problem-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

/* ===== SOLUTION SECTION STYLES ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.solution-card {
    background: linear-gradient(145deg, var(--color-surface), var(--color-bg-alt));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    border-color: var(--color-accent);
}

.solution-number {
    position: absolute;
    top: -20px;
    right: 10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    z-index: 0;
    user-select: none;
    transition: color 0.4s ease;
}

.solution-card:hover .solution-number {
    color: rgba(201, 168, 76, 0.05);
}

.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 168, 76, 0.3);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
}

.solution-card h3 {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.solution-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    position: relative;
    z-index: 1;
}

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

/* =============================================
   AUTHENTICATION PAGE (Split Layout & Glassmorphism)
   ============================================= */

/* Navbar on Auth Page */
.auth-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 32px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
}

.auth-back-btn {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Split Layout Container */
.auth-split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: var(--color-bg);
    overflow: hidden;
}

/* Left side: Banner Image */
.auth-banner {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 64px 48px;
    overflow: hidden;
}

.auth-banner-img {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-1.jpg'); /* Relying on hero-1.jpg from previous pages */
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* Slight scale for potential slow zoom animation */
    z-index: 1;
}

.auth-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--color-bg) 0%, rgba(10, 10, 15, 0.7) 40%, rgba(10, 10, 15, 0.4) 100%);
    z-index: 2;
}

.auth-banner-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
}

.auth-banner-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 20px;
}

.auth-banner-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}

.auth-features {
    display: flex;
    gap: 24px;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.auth-feature-item i {
    color: var(--color-accent);
    background: rgba(201, 168, 76, 0.15);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

/* Right side: Login Panel */
.auth-panel {
    width: 100%;
    max-width: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    position: relative;
    z-index: 4;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-wrapper {
    width: 100%;
    padding: 40px;
}

/* The Glassmorphic Auth Card */
.glass-auth-container {
    background: linear-gradient(135deg, rgba(22, 22, 31, 0.8), rgba(16, 16, 25, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

/* Subtle glow behind the form */
.glass-auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.auth-submarine {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.auth-form {
    position: relative;
    z-index: 1;
}

/* Floating Input Groups */
.floating-input-group {
    position: relative;
    margin-bottom: 24px;
}

.floating-input {
    width: 100%;
    background: rgba(10, 10, 15, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 16px 8px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.floating-input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(10, 10, 15, 0.7);
}

.floating-input:focus {
    border-color: var(--color-accent);
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

/* Floating label logic */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 12px;
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 500;
}

.input-glow {
    position: absolute;
    bottom: -1px;
    left: 5%;
    width: 90%;
    height: 1px;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 -2px 10px var(--color-accent);
}

.floating-input:focus ~ .input-glow {
    opacity: 1;
}

/* Auth Buttons */
.auth-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    margin-top: 8px;
    border-radius: 12px;
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    color: var(--color-text-dim);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0 16px;
}

.btn-social {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    padding: 14px;
    border-radius: 12px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-social i {
    color: #fff;
    font-size: 1.1rem;
}

.auth-footer-text {
    text-align: center;
    margin-top: 32px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.auth-link {
    color: var(--color-accent);
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: var(--color-accent-light);
    text-decoration: underline;
}

/* Onboarding Overrides for Login */
.onboarding-wrapper .glass-auth-container {
    width: 100%;
}

.role-selection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.role-card {
    background: rgba(10, 10, 15, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.role-card:hover {
    border-color: var(--color-accent);
    background: rgba(201, 168, 76, 0.05);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.role-card .role-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: all 0.3s ease;
}

.role-card:hover .role-icon {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.1);
}

.role-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.role-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive auth */
@media (max-width: 992px) {
    .auth-banner {
        display: none;
    }
    .auth-panel {
        max-width: 100%;
        border-left: none;
    }
}

@media (max-width: 600px) {
    .auth-navbar {
        padding: 24px;
    }
    .glass-auth-container {
        padding: 40px 24px;
    }
    .role-selection-grid {
        grid-template-columns: 1fr;
    }
}

/* Auth Mode Toggle Styling */
.auth-mode-toggle {
    display: flex;
    background: rgba(10, 10, 15, 0.6);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mode-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.mode-btn:hover {
    color: var(--color-text);
}

.mode-btn.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============================================
   HERO SECTION MISSING VIGNETTE STYLES
   ============================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* 
  DARK OVERLAY TO MAKE THE GOLD TEXT POP
  Crucial for readability across varied image backgrounds
*/
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        rgba(10, 10, 15, 0.7) 0%, 
        rgba(10, 10, 15, 0.5) 40%, 
        rgba(10, 10, 15, 0.8) 100%
    );
    z-index: 2;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
    margin-top: 60px;
}
