/* ========================= PropyBot Frontpage ========================= */

/* Hero slider */
.hero-slider {
    position: relative;
    height: 92vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(70, 65, 48, 0.78) 0%, rgba(5, 90, 240, 0.55) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    max-width: 720px;
    padding: 0 2rem;
}
.hero-content .section-label { color: #EFBF04; }
.hero-content h1 {
    color: #ffffff;
    font-family: 'Ovo', serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-content h1 span { color: #EFBF04; }
.hero-content .lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 560px;
    line-height: 1.6;
}
.hero-dots {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 0.6rem; z-index: 3;
}
.hero-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s;
}
.hero-dot.active {
    background: #EFBF04;
    border-color: #EFBF04;
    width: 28px;
    border-radius: 5px;
}

/* CTA buttons */
.btn-hero-primary {
    background: #EFBF04;
    color: #464130;
    border: none;
    padding: 0.9rem 2.2rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: #F0A405;
    color: #464130;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 191, 4, 0.4);
}
.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 0.85rem 2.2rem;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-hero-secondary:hover {
    background: #fff;
    color: #464130;
}

/* Section base */
.fp-section {
    padding: 6rem 0;
    position: relative;
}
.fp-section.bg-light { background: #f8f9fa; }
.fp-section.bg-dark-brand { background: #464130; color: #fff; }
.fp-section h2 {
    font-family: 'Ovo', serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.fp-section .section-label {
    display: inline-block;
    color: #055AF0;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}
.fp-section .section-label-gold { color: #EFBF04; }
.fp-section .section-intro {
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto 3rem;
}
.fp-section .section-intro-inverse { color: rgba(255,255,255,0.75); }

/* Parallax strips */
.parallax-strip {
    height: 70vh;
    min-height: 400px;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.parallax-strip::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(70, 65, 48, 0.55) 0%, rgba(5, 90, 240, 0.35) 100%);
}
.parallax-strip .parallax-content {
    position: relative; z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
}
.parallax-strip h3 {
    font-family: 'Ovo', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    max-width: 800px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
@media (max-width: 768px) { .parallax-strip { background-attachment: scroll; } }

/* Feature cards */
.feature-card {
    background: #fff;
    border: none;
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    text-align: left;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.feature-card .feature-icon {
    width: 60px; height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #EFBF04 0%, #F0A405 100%);
    color: #464130;
}
.feature-card h5 { font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: #6c757d; margin-bottom: 0; line-height: 1.65; }

/* Audience cards */
.audience-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
    height: 100%;
}
.audience-card:hover {
    border-color: #EFBF04;
    transform: translateY(-3px);
}
.audience-card i {
    font-size: 2rem;
    color: #055AF0;
    margin-bottom: 1rem;
}
.audience-card h6 { font-weight: 700; margin-bottom: 0.5rem; }
.audience-card small { color: #6c757d; }

/* Pricing */
.price-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.25s;
    position: relative;
    text-align: left;
}
.price-card.featured {
    border-color: #EFBF04;
    transform: scale(1.03);
    box-shadow: 0 16px 40px rgba(239, 191, 4, 0.15);
}
.price-card .price-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: #EFBF04;
    color: #464130;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.price-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.price-card .price {
    font-family: 'Ovo', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #464130;
    margin: 1rem 0;
    line-height: 1;
}
.price-card .price small { font-size: 1rem; color: #6c757d; }
.price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; }
.price-card ul li { padding: 0.5rem 0; color: #495057; }
.price-card ul li i { color: #198754; margin-right: 0.5rem; }

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.testimonial-card .quote {
    font-size: 1.05rem;
    color: #495057;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.testimonial-card .quote::before {
    content: '"';
    font-family: 'Ovo', serif;
    font-size: 3rem;
    color: #EFBF04;
    line-height: 0.5;
    display: block;
    margin-bottom: 0.5rem;
}
.testimonial-person { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-person strong { display: block; color: #464130; }
.testimonial-person small { color: #6c757d; }
.stars { color: #EFBF04; margin-bottom: 0.75rem; font-size: 0.9rem; }

/* White headings on dark sections / parallax strips */
.fp-section h2.light,
.fp-section h3.light,
.parallax-strip h2.light,
.parallax-strip h3.light {
    color: #ffffff !important;
}

/* Partner logos — infinite marquee slider */
.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 0;
    /* Fade edges so logos appear to slide in/out of view */
    mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}
.logo-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: logo-scroll 50s linear infinite;
}
.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}
@keyframes logo-scroll {
    from { transform: translateX(0); }
    /* -50% because we duplicate the logos, so after scrolling
       half the track the second copy is exactly where the first started */
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 60px;
    min-width: 170px;
    filter: grayscale(100%) opacity(0.55);
    transition: all 0.3s;
}
.logo-placeholder:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}
.logo-placeholder svg {
    max-height: 44px;
    width: 100%;
    max-width: 160px;
}

/* Navbar over the hero slider — stronger contrast to stay readable */
.navbar-app .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.navbar-app .nav-link:hover,
.navbar-app .nav-link:focus {
    color: #EFBF04 !important;
}
.navbar-app .dropdown-menu {
    background: #fff;
}
.navbar-app .dropdown-menu .dropdown-item {
    color: #464130;
    text-shadow: none;
}

/* Scroll-to-top */
#scroll-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #EFBF04;
    color: #464130;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
#scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { background: #F0A405; transform: translateY(-3px); }

/* Scrollspy */
.scrollspy-nav {
    position: fixed;
    right: 1.5rem; top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: none;
}
@media (min-width: 1200px) { .scrollspy-nav { display: flex; flex-direction: column; gap: 0.75rem; } }
.scrollspy-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(70, 65, 48, 0.25);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.scrollspy-dot:hover { background: #EFBF04; }
.scrollspy-dot.active {
    background: #EFBF04;
    border-color: #EFBF04;
    transform: scale(1.3);
}
.scrollspy-dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px; top: 50%;
    transform: translateY(-50%);
    background: #464130;
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}
.scrollspy-dot:hover::before { opacity: 1; }

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Capability tiles */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    text-align: left;
}
.capability-tile {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s;
}
.capability-tile:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(239,191,4,0.4);
}
.capability-tile i {
    color: #EFBF04;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.capability-tile h6 { font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.capability-tile p { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin: 0; line-height: 1.55; }

/* FAQ Accordion */
.faq-accordion .accordion-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.faq-accordion .accordion-button {
    background: #fff;
    color: #464130;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1.1rem 1.5rem;
    box-shadow: none;
    border-radius: 12px !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: #fff8e0;
    color: #464130;
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(239,191,4,0.25);
    border-color: transparent;
}
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23464130'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: #495057;
    line-height: 1.7;
    font-size: 0.98rem;
}
.faq-accordion .accordion-body a {
    color: #055AF0;
}
