/* =============================================================
   FieldCRM — Home Page  |  Light Theme
   ============================================================= */

/* ─────────────────────────────────────────
   HERO CAROUSEL
───────────────────────────────────────── */
.hero-carousel { position: relative; }

.carousel-item {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(15,23,42,.78) 0%,
        rgba(29,78,216,.55) 45%,
        rgba(249,115,22,.18) 100%
    );
    z-index: 1;
}

.carousel-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 8s ease;
}

.carousel-item.active .carousel-bg-img {
    transform: scale(1.05);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
}

.hero-slide-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(249,115,22,.18);
    border: 1.5px solid rgba(249,115,22,.45);
    color: #fed7aa;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
    margin-bottom: 1.4rem;
    backdrop-filter: blur(6px);
}

.hero-slide-tag .dot {
    width: 7px; height: 7px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .6; transform: scale(1.4); }
}

.hero-slide-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -.035em;
    margin-bottom: 1.25rem;
}

.hero-slide-title .hl-orange { color: var(--orange); }
.hero-slide-title .hl-blue   { color: #93c5fd; }

.hero-slide-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    font-weight: 400;
}

.hero-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    align-items: center;
}

.btn-hero-primary {
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 1rem;
    padding: .85rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-hero-primary:hover {
    background: var(--orange-dark);
    color: #fff;
    box-shadow: var(--shadow-orng);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 1rem;
    padding: .83rem 1.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}
.btn-hero-ghost:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
    border-color: rgba(255,255,255,.7);
}

/* Stat pills */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-stat-pill {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r-md);
    padding: .65rem 1.25rem;
    backdrop-filter: blur(8px);
    text-align: center;
}

.stat-num {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    display: block;
}

.stat-lbl {
    font-size: .72rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    margin-top: 2px;
    display: block;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.15);
    border: 1.5px solid rgba(255,255,255,.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: auto 1.5rem;
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.carousel-control-prev-icon,
.carousel-control-next-icon { width: 18px; height: 18px; }

.carousel-indicators {
    bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none;
    transition: var(--transition);
    margin: 0 4px;
}

.carousel-indicators .active {
    background: var(--orange);
    width: 28px;
    border-radius: 99px;
}

/* ─────────────────────────────────────────
   TRUSTED BY / INDUSTRIES
───────────────────────────────────────── */
.industries-section {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--clr-border);
}

.section-eyebrow {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: .9rem;
}

.industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 99px;
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
}

.industry-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-xlight);
}

.industries-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
}

/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */
.features-section {
    padding: 5.5rem 0;
    background: var(--gray-50);
}

.feature-card .feat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .4rem;
}

.feature-card .feat-desc {
    font-size: .875rem;
    color: var(--clr-muted);
    margin: 0;
    line-height: 1.65;
}

/* ─────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────── */
.how-section {
    padding: 5.5rem 0;
    background: var(--white);
}

.step-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--clr-border);
    background: var(--white);
    transition: var(--transition);
    margin-bottom: 1rem;
}

.step-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}

.step-num {
    min-width: 44px;
    height: 44px;
    background: var(--blue);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}

.step-card:nth-child(2) .step-num { background: var(--orange); }
.step-card:nth-child(3) .step-num { background: var(--blue-mid); }
.step-card:nth-child(4) .step-num { background: var(--orange-dark); }
.step-card:nth-child(5) .step-num { background: var(--blue-dark); }

.step-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: .25rem;
}

.step-desc {
    font-size: .85rem;
    color: var(--clr-muted);
    margin: 0;
    line-height: 1.6;
}

/* How it works image col */
.how-img-wrap {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.how-img-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.how-img-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.how-badge-icon {
    width: 44px;
    height: 44px;
    background: var(--orange-xlight);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--orange);
    flex-shrink: 0;
}

/* ─────────────────────────────────────────
   TESTIMONIALS / SOCIAL PROOF
───────────────────────────────────────── */
.social-section {
    padding: 5.5rem 0;
    background: var(--blue-dark);
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(249,115,22,.2) 0%, transparent 65%);
    pointer-events: none;
}

.testimonial-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(249,115,22,.4);
    transform: translateY(-4px);
}

.testimonial-stars { color: var(--orange); font-size: .9rem; margin-bottom: .75rem; }

.testimonial-text {
    font-size: .9rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange);
}

.testimonial-name {
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1px;
}

.testimonial-role {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
}

/* ─────────────────────────────────────────
   CTA STRIP
───────────────────────────────────────── */
.cta-section {
    padding: 5.5rem 0;
    background: var(--white);
}

.cta-inner {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
    border-radius: var(--r-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(249,115,22,.25) 0%, transparent 65%);
    pointer-events: none;
}

.cta-inner::after {
    content: '';
    position: absolute;
    top: -60px; left: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 65%);
    pointer-events: none;
}

@media (max-width: 767.98px) {
    .carousel-item { min-height: 100svh; }
    .hero-slide-title { font-size: 2.1rem; }
    .how-img-wrap img { height: 260px; }
    .cta-inner { padding: 2.5rem 1.5rem; }
}