/* Property Guru AI - Global Styles */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06d6a0;
    --accent-dark: #05b88a;
    --warm: #f59e0b;
    --cyan: #22d3ee;
    --dark-bg: #0f172a;
    --darker-bg: #080c14;
    --card-bg: #1e293b;
    --card-bg-hover: #263348;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-subtle: rgba(255,255,255,0.06);
    --border-light: rgba(255,255,255,0.1);
    --glow-primary: rgba(99,102,241,0.25);
    --glow-accent: rgba(6,214,160,0.2);
}

/* Global */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* Navbar */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 16px 0;
    z-index: 1000;
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(8, 12, 20, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}
.navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    transition: color 0.2s;
    padding: 8px 16px !important;
}
.navbar .nav-link:hover {
    color: #fff !important;
}
.navbar .btn-outline-light {
    border-color: rgba(255,255,255,0.15);
    font-size: 0.85rem;
    padding: 6px 14px;
}
.navbar .btn-outline-light:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
}
.navbar .btn-nav-signup {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}
.navbar .btn-nav-signup:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--glow-primary);
}

/* Brand byline */
.brand-byline {
    font-size: 0.7em;
    font-weight: 400;
    opacity: 0.5;
    vertical-align: middle;
    margin-left: 2px;
}
#mainNav .navbar-brand:hover .brand-byline {
    opacity: 0.8;
}
.footer-logo .brand-byline {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background: var(--darker-bg);
    padding: 80px 0 32px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
}
.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.footer-logo {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}
.footer-logo .brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #fff;
}
.footer-logo:hover { color: #fff; }
.footer-tagline {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 320px;
    line-height: 1.6;
    margin-top: 12px;
}
.footer-links {
    display: flex;
    gap: 64px;
}
.footer-col h6 {
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #475569;
}

@media (max-width: 768px) {
    .footer-top { flex-direction: column; gap: 32px; }
    .footer-links { gap: 40px; }
}
