:root {
    --primary-color: #FACC15; /* Yellow */
    --primary-hover: #EAB308;
    --dark-bg: #27272A;
    --darker-bg: #18181B;
    --light-bg: #F4F4F5;
    --text-main: #18181B;
    --text-muted: #71717A;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Oswald', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

/* Utilities */
.bg-light { background-color: var(--light-bg); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.bg-yellow { background-color: var(--primary-color); }
.text-white { color: var(--white); }
.text-dark { color: var(--text-main); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-main);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: #E4E4E7;
    color: var(--text-main);
}
.btn-secondary:hover {
    background-color: #D4D4D8;
}

.btn-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}
.btn-dark:hover {
    background-color: var(--darker-bg);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #E0E7FF;
    color: #4338CA;
    border-radius: 9999px;
    margin-bottom: 1rem;
}
.yellow-badge {
    background-color: rgba(250, 204, 21, 0.2);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher select {
    appearance: none;
    background: transparent;
    border: 1px solid #E4E4E7;
    border-radius: var(--radius-sm);
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' 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 0.7rem center;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--darker-bg);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: 600px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: 2rem;
    left: -2rem; /* offset outside slightly, but for now inside so it doesn't overflow */
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(-3deg);
}
.hero-floating-card {
    left: 2rem;
}

.fc-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.fc-text {
    display: flex;
    flex-direction: column;
}
.fc-text strong { font-size: 0.9rem; }
.fc-text span { font-size: 0.75rem; color: var(--text-muted); }

/* Command Center */
.command-center {
    padding: 6rem 5%;
}

.command-center h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.dashboard-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 1.5rem;
}

.dashboard-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.primary-status h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.primary-status .subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.progress-bar-container {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    position: relative;
}

.pb-header {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.pb-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.progress-track {
    height: 8px;
    background: #E4E4E7;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
}

.stats-row {
    display: flex;
    gap: 2rem;
}

.stat-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-col span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-col strong {
    font-size: 1.25rem;
}

.dashboard-cards-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.small-card {
    padding: 1.5rem;
}

.sc-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.icon-orange {
    background: #FFEDD5;
}

.small-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark-bg);
}

.floor-plan-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.floor-plan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Services */
.services {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.services-header h2 {
    font-size: 2.5rem;
}

.browse-link {
    font-weight: 500;
    color: var(--text-muted);
}
.browse-link:hover { color: var(--dark-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.service-card:hover img {
    transform: scale(1.05);
}

.service-label {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.icon-circle.small {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    background: var(--primary-color);
    color: black;
    text-shadow: none;
}

/* Budget */
.budget {
    padding: 8rem 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.budget-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.budget-desc {
    font-size: 1.125rem;
    color: #A1A1AA;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #A1A1AA;
    font-size: 0.9rem;
}

.budget-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.bc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.bc-header strong {
    font-size: 1.25rem;
}

.currency-badge {
    background: var(--light-bg);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.chart-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.doughnut-chart {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0% 75%, #E4E4E7 75% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-inner {
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.chart-value {
    font-size: 2rem;
    font-family: var(--font-serif);
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}
.yellow-dot { background: var(--primary-color); }
.grey-dot { background: #E4E4E7; }

hr {
    border: none;
    border-top: 1px solid #E4E4E7;
    margin: 2rem 0;
}

.breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.paid {
    background: #DCFCE7;
    color: #166534;
}
.pending {
    background: #FFEDD5;
    color: #C2410C;
}

/* Steps */
.steps {
    padding: 6rem 5%;
}

.steps h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.step-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

/* CTA */
.cta {
    padding: 6rem 5%;
    text-align: center;
    margin: 4rem 5% 0;
    border-radius: var(--radius-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.cta p {
    font-size: 1.125rem;
    color: rgba(39, 39, 42, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--light-bg);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-col strong {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}
.footer-col a:hover { color: var(--dark-bg); }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #E4E4E7;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

/* WhatsApp Button */
.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-whatsapp:hover {
    background-color: #1DA851;
    opacity: 1;
    transform: translateY(-1px);
}
.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background-color: var(--darker-bg);
    color: #fff;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, transform 0.15s ease;
}
.btn-whatsapp-cta:hover {
    background-color: #111;
    opacity: 1;
    transform: translateY(-1px);
}

/* Coming Soon Footer Labels */
.footer-col .coming-soon {
    display: block;
    color: #A1A1AA;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    cursor: default;
}
.footer-col .coming-soon em {
    font-style: normal;
    font-size: 0.75rem;
    color: #C4B5FD;
    font-weight: 500;
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    opacity: 1;
}
.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { height: 400px; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .floor-plan-card { grid-column: span 2; height: 300px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .mt-2 { margin-top: 0; }
    .budget { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .floor-plan-card { grid-column: 1; }
    .services-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .footer-content { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
}
