:root {
    --text-color: #ffffff;
    --accent-color: #00E5FF;
    /* Cyan neon */
    --bg-overlay: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text-color);
    overflow: hidden;
    /* Prevent scroll for hero demo */
    background-color: #050505;
}

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* AI/Tech themed background image */
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

/* Ensure content is above overlay */
.logo,
.content,
.bottom-nav,
.scroll-indicator,
.floating-object {
    position: relative;
    z-index: 2;
}

/* Logo Positioning */
.logo {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

/* Main Content */
.content {
    margin-top: -50px;
    /* Slight optical adjustment */
    max-width: 800px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 400;
    /* Regular weight like in the image */
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.cta-link {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 5px;
    transition: color 0.3s, border-color 0.3s;
}

.cta-link:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Navigation */
.bottom-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
}

.bottom-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.bottom-nav a:hover {
    opacity: 1;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Floating 3D Element */
.floating-object {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero-robot {
    max-width: 650px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.3));
    /* Note: For best results, use a transparent PNG */
    border-radius: 20px;
    /* Soften edges if it has a background */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) translateY(0);
    }

    50% {
        transform: translateY(-50%) translateY(-20px);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .bottom-nav {
        display: none;
        /* Hide bottom nav on mobile for simplicity */
    }

    .floating-object {
        opacity: 0.5;
        right: -20px;
    }

    .hero-robot {
        max-width: 250px;
    }
}

/* ==========================================
   OLX AI AGENT PAGE STYLES (Consolidated)
   ========================================== */

/* Override body properties to allow scrolling for this page only */
body.olx-agent-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background-color: #050505;
}

body.olx-agent-page html {
    scroll-behavior: smooth;
}

/* Common Layout Adjustments */
.container-scroll {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5vw;
}

/* Sections Styling */
.details-section {
    background-color: #070707;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: #888888;
    line-height: 1.6;
}

/* Minimalist Grid and Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.card-minimal {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px;
    border-radius: 12px;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.card-minimal:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.card-minimal h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}

.card-minimal p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #ffffff;
    display: block;
}

/* Chat Parser Graphic/Mockup (Minimalist) */
.parser-showcase {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.mockup-pane {
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.mockup-pane-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888888;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-pane-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #888888;
}

.mockup-pane-status.active {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Chat bubbles styling */
.chat-bubble {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 85%;
}

.chat-bubble.incoming {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-bubble.outgoing {
    background: #ffffff;
    color: #000000;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-bubble blockquote {
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 10px;
    margin: 10px 0 0 0;
    color: #888888;
    font-style: italic;
}

/* Structured data list styling */
.data-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.9rem;
}

.data-row:last-child {
    border-bottom: none;
}

.data-label {
    color: #888888;
}

.data-value {
    color: #ffffff;
    font-weight: 500;
}

.data-value.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.parser-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888888;
    font-size: 2rem;
}

/* Target Audience List */
.target-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.target-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: border-color 0.3s;
}

.target-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.target-num {
    font-size: 1.5rem;
    font-weight: 300;
    color: #888888;
}

.target-text {
    font-size: 1rem;
    color: #d0d0d0;
}

/* Timeline Flow */
.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.flow-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.flow-step-circle {
    width: 50px;
    height: 50px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    transition: background 0.3s, border-color 0.3s;
}

.flow-step:hover .flow-step-circle {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.flow-step h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ffffff;
}

.flow-step p {
    font-size: 0.85rem;
    color: #888888;
    line-height: 1.5;
}

/* Call to Action Section */
.cta-section {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 100px 5vw;
}

.cta-box h2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.1rem;
    color: #888888;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #050505;
    text-decoration: none;
    padding: 15px 35px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Footer Nav */
.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5vw;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav-links {
    display: flex;
    gap: 30px;
}

.footer-nav-links a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav-links a:hover {
    color: #ffffff;
}

.footer-copy {
    font-size: 0.85rem;
    color: #555555;
}

/* Responsive adjustments for agent page */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .section-header h2, .cta-box h2 {
        font-size: 2.2rem;
    }
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }
    .flow-steps::before {
        display: none;
    }
    .footer-nav-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px 30px;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    list-style: none; /* Hide default triangle on Chrome */
    position: relative;
    padding-right: 30px;
}

/* Custom indicator icon */
.faq-question::-webkit-details-marker {
    display: none; /* Hide Chrome arrow */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #888888;
    transition: transform 0.3s, color 0.3s;
}

.faq-item[open] .faq-question::after {
    content: '−';
    color: #ffffff;
}

.faq-answer {
    padding-top: 15px;
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}