﻿/* Premium PropTech Design CSS */
:root {
    --bg-dark: #0a0f16;
    --primary: #10b981; /* Emerald/Teal for Property/Eco */
    --primary-hover: #059669;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Zen Kaku Gothic New', sans-serif;
}

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

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

/* Unique Animated Isometric Grid Background */
.animated-grid-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* Typography */
h1, h2, h3, .brand-title { font-family: var(--font-heading); }
a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary); }
.text-center { text-align: center; }

/* Components */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}
.btn-primary {
    display: inline-block; background: var(--primary); color: #000 !important;
    padding: 1.2rem 2.5rem; border-radius: 50px; font-weight: 700; font-family: var(--font-body);
    border: none; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); }
.btn-small { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.hero-badge {
    display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--primary);
    color: var(--primary); border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1.5rem;
}

/* Header */
.glass-header {
    position: fixed; width: 100%; top: 0; z-index: 100;
    background: rgba(10, 15, 22, 0.8); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border);
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 1.8rem; font-weight: 900; }
.accent-dot { color: var(--primary); }
nav { display: flex; gap: 2rem; }
nav a { font-weight: 500; font-size: 0.95rem; }

/* Sections */
section { padding: 8rem 0; }
.section-heading { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.5rem; font-weight: 800; line-height: 1.3; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 100px; }
.hero-inner { max-width: 800px; }
.hero-title { font-size: clamp(3rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* Features */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-bullets { list-style: none; margin-top: 2rem; }
.feature-bullets li { display: flex; gap: 15px; margin-bottom: 1.5rem; align-items: flex-start; }
.accent-icon { color: var(--primary); font-size: 1.5rem; margin-top: 5px; }
.image-wrapper { padding: 1rem; position: relative; }
.image-wrapper img { width: 100%; border-radius: 16px; display: block; opacity: 0.85; filter: grayscale(20%) contrast(1.2); }
.floating-badge {
    position: absolute; bottom: 30px; left: -20px;
    background: #0a0f16; border: 1px solid var(--primary); color: white;
    padding: 1rem 1.5rem; border-radius: 50px; font-weight: 700; display: flex; align-items: center; gap: 10px;
}
.pulse-dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }

/* Form Section */
.lead-container { max-width: 800px; margin: 0 auto; }
.form-box { padding: 4rem; }
.form-header { text-align: center; margin-bottom: 3rem; }
.input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.input-field { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%; padding: 1rem 1.2rem; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border);
    border-radius: 12px; color: white; font-family: var(--font-body); font-size: 1rem; transition: 0.3s;
}
input:focus { outline: none; border-color: var(--primary); }
.checkbox-wrapper { display: flex; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2rem; align-items: flex-start; }
.checkbox-wrapper input { margin-top: 3px; }
.checkbox-wrapper a { color: var(--primary); text-decoration: underline; }
.btn-submit { width: 100%; font-size: 1.1rem; }
.success-message { text-align: center; color: var(--primary); padding: 2rem; border: 1px solid var(--primary); border-radius: 12px; background: rgba(16, 185, 129, 0.1); margin-top: 1.5rem; }

/* About */
.about-card { padding: 4rem; }
.about-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; color: var(--text-muted); margin-top: 2rem; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; }
.process-step { text-align: center; padding: 2rem; }
.step-icon { width: 80px; height: 80px; background: rgba(16, 185, 129, 0.1); border: 1px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); margin: 0 auto 1.5rem; }
.process-step p { color: var(--text-muted); margin-top: 1rem; }

/* FAQ */
.faq-wrapper { max-width: 800px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 1.5rem; cursor: pointer; }
.faq-item summary { font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f067'; font-family: 'FontAwesome'; color: var(--primary); transition: 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-content { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--glass-border); color: var(--text-muted); }

/* Footer */
.main-footer { padding: 5rem 0 2rem; border-top: 1px solid var(--glass-border); background: #05080c; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.company-address { margin: 1.5rem 0; color: var(--text-muted); }
.contact-info p { margin-bottom: 0.5rem; color: var(--text-muted); }
.contact-info i { color: var(--primary); margin-right: 10px; }
.footer-links ul { list-style: none; margin-top: 1.5rem; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid var(--glass-border); color: #6b7280; font-size: 0.9rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 600px; padding: 1.5rem; z-index: 1000; display: none; }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cookie-content p { font-size: 0.85rem; margin: 0; color: var(--text-muted); }

/* Legal Pages Overrides */
.legal-main { padding-top: 120px; padding-bottom: 80px; }
.legal-container { max-width: 900px; margin: 0 auto; padding: 4rem; background: #ffffff; color: #111827; border-radius: 24px; }
.legal-container h1 { font-size: 2.2rem; border-bottom: 2px solid #e5e7eb; padding-bottom: 1rem; margin-bottom: 2rem; color: #111827; }
.legal-container h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 1rem; color: #10b981; }
.legal-container p, .legal-container li { color: #4b5563; margin-bottom: 1rem; }
.legal-container ul { margin-left: 2rem; margin-bottom: 1.5rem; }
.legal-container a { color: #10b981; }

/* Responsive */
@media (max-width: 992px) {
    .feature-grid, .about-text-grid, .footer-content { grid-template-columns: 1fr; }
    .input-grid { grid-template-columns: 1fr; }
    nav { display: none; }
    .form-box { padding: 2rem; }
    .legal-container { padding: 2rem; }
    .floating-badge { position: relative; bottom: auto; left: auto; margin-top: -20px; display: inline-flex; }
}
