/* Base Variables (Light Mode, Transparent, Baby Blue) */
:root {
    --bg-color: #f4f7fb;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    --accent-blue: #89CFF0; /* Baby Blue */
    --accent-blue-dark: #5baddb;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(137, 207, 240, 0.15);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* Soft gradient background */
    background: linear-gradient(135deg, #f4f7fb 0%, #e0eaf5 100%);
    min-height: 100vh;
}

/* Typography & Utilities */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}
.highlight {
    color: var(--accent-blue-dark);
}
.mt-2 {
    margin-top: 2rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(137, 207, 240, 0.4);
}
.btn-primary:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 207, 240, 0.6);
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
}
.logo span {
    color: var(--accent-blue-dark);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-blue-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
    position: relative;
}
.hero-content {
    max-width: 600px;
    z-index: 2;
}
.pill {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(137, 207, 240, 0.2);
    color: var(--accent-blue-dark);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}
.hero-graphics {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Decorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}
.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    top: -50px;
    right: -50px;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}
.blob-2 {
    width: 250px;
    height: 250px;
    background: #e0eaf5;
    bottom: -20px;
    left: -20px;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-stats {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}
.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-blue-dark);
}
.stat p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Factor Model Section */
.model-section {
    padding: 6rem 5%;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.factor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.factor-card {
    padding: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.factor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(137, 207, 240, 0.25);
}
.factor-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.factor-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}
.factor-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Track Record Section */
.track-record {
    padding: 6rem 5%;
}
.record-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    align-items: center;
}
.record-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.record-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.data-list {
    list-style: none;
}
.data-list li {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue);
}

.record-visual {
    width: 100%;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.chart-mockup {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100%;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 10px;
}
.bar {
    width: 60px;
    background: linear-gradient(180deg, var(--accent-blue-dark) 0%, var(--accent-blue) 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1s ease-out;
}
.bar:hover .tooltip {
    opacity: 1;
}
.tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    white-space: nowrap;
}
.bar-1 { height: 20%; }
.bar-2 { height: 40%; }
.bar-3 { height: 70%; }
.bar-4 { height: 100%; }

.chart-labels {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Opportunity Section */
.opportunity {
    padding: 6rem 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.opp-header {
    text-align: center;
    margin-bottom: 3rem;
}
.opp-header h2 {
    font-size: 2.5rem;
}
.opp-card {
    max-width: 800px;
    width: 100%;
    padding: 3rem;
}
.tags {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.tag {
    background: rgba(137, 207, 240, 0.2);
    color: var(--accent-blue-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.factor-bars {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.f-bar label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}
.progress {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    overflow: hidden;
}
.fill {
    height: 100%;
    background: var(--accent-blue);
    border-radius: 5px;
    transition: width 1.5s ease-out;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
    }
    .hero h1 { font-size: 3rem; }
    .hero-graphics { margin-top: 4rem; width: 100%; }
    .record-container { grid-template-columns: 1fr; }
}


/* Gallery Section */
.gallery-section {
    padding: 6rem 5%;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.property-card {
    overflow: hidden;
    padding: 0;
}
.property-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
}
.prop-details {
    padding: 1.5rem;
}
.prop-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}
.address {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


/* Property Overlay */
.property-card {
    position: relative;
    cursor: pointer;
}
.score-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 32, 44, 0.85);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.property-card:hover .score-overlay {
    opacity: 1;
}
.score-overlay h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
}
.score-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.score-overlay li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}
.score {
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.score.xh { background: #10B981; color: white; }
.score.h { background: #34D399; color: white; }
.score.m { background: #FBBF24; color: black; }
.score.l { background: #EF4444; color: white; }

/* Factor Report Card */
.factor-report {
    max-width: 900px !important;
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.report-header h3 {
    font-size: 1.5rem;
    margin: 0;
}
.headline-rep {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}
.factor-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}
.f-row {
    display: grid;
    grid-template-columns: 150px 150px 1fr;
    gap: 20px;
    align-items: center;
    font-size: 0.95rem;
}
.f-row.header {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 5px;
}
.report-verdict {
    background: rgba(137, 207, 240, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent-blue-dark);
}
.report-verdict p {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.report-verdict p:last-child {
    margin-bottom: 0;
}
