/* Carousel Navigation Controls */
.trusted-carousel-container {
    position: relative;
}

/* Navigation Buttons Container */
.carousel-nav-buttons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    padding: 0 10px;
}

/* Individual Navigation Buttons */
.carousel-nav-btn {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    flex-shrink: 0;
    z-index: 100;
    outline: none;
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Left Button Positioning */
.carousel-nav-btn.left {
    margin-left: 0;
}

/* Right Button Positioning */
.carousel-nav-btn.right {
    margin-right: 0;
}

/* Arrow Icons using CSS */
.carousel-nav-btn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transition: border-color 0.3s ease;
}

.carousel-nav-btn.left::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.carousel-nav-btn.right::before {
    transform: rotate(45deg);
    margin-right: 4px;
}

.carousel-nav-btn:hover::before {
    border-color: #ff6b35;
}

/* Enhanced Hover Pause for Carousel */
.trusted-carousel-track {
    animation-play-state: running;
    will-change: transform;
}

.trusted-carousel-track:hover,
.trusted-carousel-container:hover .trusted-carousel-track {
    animation-play-state: paused !important;
}

/* Smooth transition when manually sliding */
.trusted-carousel-track.sliding {
    transition: transform 0.5s ease-in-out !important;
    animation: none !important;
}

/* State when carousel is in manual control mode */
.trusted-carousel-track.manual-control {
    animation: none !important;
}

.trusted-container {
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .carousel-nav-buttons {
        padding: 0 5px;
    }
    
    .carousel-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .carousel-nav-btn::before {
        width: 9px;
        height: 9px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .carousel-nav-buttons {
        padding: 0 2px;
    }
    
    .carousel-nav-btn {
        width: 28px;
        height: 28px;
    }
    
    .carousel-nav-btn::before {
        width: 7px;
        height: 7px;
        border-width: 2px;
    }
}

@media (max-width: 360px) {
    .carousel-nav-buttons {
        padding: 0;
    }
    
    .carousel-nav-btn {
        width: 24px;
        height: 24px;
    }
    
    .carousel-nav-btn::before {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }
}

/* Optional: Add subtle pulse animation to attract attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

.carousel-nav-btn:not(:hover) {
    animation: pulse 3s ease-in-out infinite;
}

/* Ensure carousel track doesn't interfere with navigation */
.trusted-carousel-track {
    pointer-events: none;
}

.trusted-brand-item {
    pointer-events: all;
}

/* ---------------------------------------------------------------
   CLS: intrinsic width/height attributes are set on <img> so the
   browser can reserve space before load. :where() carries ZERO
   specificity, so any existing rule that sets an explicit height
   still wins and images are never distorted.
   --------------------------------------------------------------- */
:where(img[width][height]) {
    height: auto;
}


/* ---------------------------------------------------------------
   "How the agent fleet works" homepage section.

   Self-contained on purpose. An earlier version reused the page's
   `challenges__title` classes, which supply a 66px heading, 70px of
   padding and NO max-width — so the copy ran the full viewport
   width and the CTA sat flush left. Content is now held by the
   site's own .block-max-width (970px) container and sized here.

   Sits on the dark #16181c .wrapper background, so all colours are
   set explicitly; the light-background defaults are unusable here.
   Legacy palette (#f16522) — type is Satoshi per the design system.
   --------------------------------------------------------------- */
.agentic-detail {
    padding: 90px 0 100px;
}

.agentic-intro {
    text-align: center;
    padding-bottom: 10px;
}

.agentic-intro h2 {
    font-family: "Satoshi", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 66px;
    line-height: 1.14;
    color: #ffffff;
    margin: 0 0 24px;
}

.agentic-intro h3 {
    font-family: "Satoshi", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 18px;
}

.agentic-intro p {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 auto;
    max-width: 760px;
}

.agentic-intro--tight {
    padding-top: 56px;
}

.agentic-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin: 46px 0 10px;
}

.agentic-stage {
    flex: 1 1 240px;
    border-top: 2px solid #f16522;
    padding-top: 18px;
}

.agentic-stage h3 {
    font-family: "Satoshi", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 21px;
    line-height: 1.3;
    color: #ffffff;
    margin: 0 0 10px;
}

.agentic-stage p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.agentic-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin: 56px 0 0;
}

.agentic-links__col {
    flex: 1 1 260px;
    border-top: 2px solid #f16522;
    padding-top: 18px;
}

.agentic-links__col h4 {
    font-family: "Satoshi", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #ffffff;
    margin: 0 0 14px;
}

.agentic-links__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agentic-links__col li {
    margin-bottom: 9px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.agentic-links__col a {
    font-size: 16px;
    color: #f16522;
}

.agentic-links__col a:hover,
.agentic-links__col a:focus {
    color: #ffffff;
}

.agentic-cta {
    text-align: center;
    padding-top: 56px;
}

@media only screen and (max-width: 767px) {
    .agentic-detail {
        padding: 55px 0 60px;
    }

    .agentic-intro h2 {
        font-size: 36px;
        line-height: 1.25;
    }

    .agentic-intro h3 {
        font-size: 24px;
    }

    .agentic-intro p {
        text-align: left;
    }

    .agentic-intro--tight {
        padding-top: 42px;
    }

    .agentic-stages {
        gap: 26px;
        margin: 34px 0 0;
    }

    .agentic-links {
        gap: 30px;
        margin-top: 38px;
    }

    .agentic-cta {
        padding-top: 38px;
    }
}

/* Hero subline: the longer copy reached within 2px of a 390px
   viewport edge. Give it the same gutter the h1 already has. */
@media only screen and (max-width: 767px) {
    .slogan .text_w p {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}
