/* Ask and Be Found - Master Stylesheet (Real Estate Styling) */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== BRAND COLORS ===== */
:root {
    --brand-gold: #FFD700;
    --brand-orange: #FFA500;
    --brand-purple: #9333ea;
    --brand-purple-light: #a855f7;
    --brand-purple-dark: #7c3aed;
    --brand-blue: #6B46C1;
    --brand-blue-light: #4169E1;
    --text-white: #fff;
    --text-gray: #e2e8f0;
    --text-gray-light: #a0a0a0;
    --bg-black: #000;
    --bg-dark: #0f0f1e;
    --bg-card: #1a1a2e;
    --bg-card-alt: #2d1b69;
}

/* ===== MYSTICAL BACKGROUND ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 70, 193, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
    animation: drift 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

/* ===== NAVIGATION ===== */
nav {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--brand-gold), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-gold);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--brand-gold), var(--brand-purple), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(10deg) brightness(1.1); }
}

.hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 20px auto 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--brand-gold), var(--brand-orange));
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--brand-gold);
}

.content-section h3 {
    font-size: 1.8rem;
    margin: 30px 0 20px;
    color: rgba(255, 215, 0, 0.9);
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

/* ===== FEATURE CARDS ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 50px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(147, 51, 234, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.2);
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--brand-gold);
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: 50px 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--brand-gold);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--brand-gold);
    border: 3px solid var(--brand-purple);
    border-radius: 50%;
    top: 5px;
    left: 31px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 25px 30px;
}

.timeline-year {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--brand-gold);
    margin-bottom: 10px;
}

.timeline-text {
    color: var(--text-gray);
    line-height: 1.6;
}


/* ===== AI RESPONSE EXAMPLE ===== */
.ai-example {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--brand-gold);
    border-radius: 5px;
}

.ai-example-label {
    color: var(--brand-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-style: italic;
}

.ai-example-query {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.ai-example-response {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 5px;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: rgba(255, 215, 0, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--brand-gold);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--brand-gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* ===== FOOTER ===== */
footer {
    padding: 50px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--brand-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 21px;
    }

    .nav-links {
        display: none;
    }

    .faq-question {
        padding: 20px;
        font-size: 1.1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }

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

/* ===== LEGACY SUPPORT CLASSES ===== */
/* For pages that still use these class names */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(107, 70, 193, 0.3));
    border: 1px solid var(--brand-purple);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--brand-gold);
}

.shimmer {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-orange), var(--brand-gold));
    background-size: 200% 100%;
    animation: shimmer-bg 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer-bg {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.gradient-bg {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-dark));
}

.drift {
    animation: drift-small 6s ease-in-out infinite;
}

@keyframes drift-small {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.subheading {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.5;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button-primary {
    background: linear-gradient(45deg, var(--brand-gold), var(--brand-orange));
    color: var(--bg-black);
    border: none;
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid var(--brand-purple);
    color: var(--text-white);
}

.cta-button-secondary:hover {
    background: var(--brand-purple);
    border-color: var(--brand-purple);
}

/* AI Example Components */
.ai-example {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-alt));
    border: 1px solid var(--brand-purple);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.ai-chat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.ai-query {
    color: var(--brand-purple-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ai-response {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Service Grid Components */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-card));
    border: 1px solid var(--brand-purple);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
    border-color: var(--brand-gold);
}

.service-card h3 {
    color: var(--brand-purple-light);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Navigation structure support */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Utility classes */
.highlight {
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.text-center { text-align: center; }
.text-gold { color: var(--brand-gold); }
.text-purple { color: var(--brand-purple-light); }
.text-gray { color: var(--text-gray); }