
/* =========================================================================
   home.css
   Page-specific styles for index.html (Home — "Turn your ideas into
   execution" homepage). Re-platformed from page2.css: literal color values
   instead of var(), Bootstrap row/col used for the simple grids, custom CSS
   grid kept only where Bootstrap's 12-column grid can't express the layout
   (the spanning integration cell, the 3-column comparison table).
   ========================================================================= */

/* ---- Hero ---- */
.hero-ai {
    position: relative;
    margin-top: -84px;
    padding-top: calc(84px + clamp(40px, 6vw, 90px));
    padding-bottom: clamp(80px, 12vw, 160px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-ai .hero-inner {
    width: 100%;
}

.hero-ai h1 {
    color: #fff;
    font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4.8rem);
    margin-top: 60px;
}

.hero-ai p {
    color: #fff;
    max-width: 50ch;
    margin: 18px auto 32px;
}

.hero-ai .hero-actions {
    margin-bottom: clamp(48px, 7vw, 80px);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Logo strip ("Trusted by Brands") ---- */
.logo-strip {
    padding-top: 65px;
}

.logo-strip .section-head {
    margin-bottom: 32px;
}

.logo-track {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    opacity: 0.6;
    animation: logo-scroll 22s linear infinite;
}

.logo-track:hover .logo-row {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .logo-row {
        animation: none;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    .logo-row [aria-hidden="true"] {
        display: none;
    }
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.logo-placeholder {
    font-size: 1.1rem;
    color: #000000;
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: auto;
}

.logo-placeholder img {
    max-width: 100px;
    height: auto;
}

/* ---- Alternating feature blocks ---- */
.feature-block {
    padding: 60px;
    border-radius: 15px;
}

.feature-block-delivery {
    background-image: linear-gradient(135deg, rgb(68, 202, 201) 0%, rgb(252, 255, 114) 100%);
}

.feature-block-booking {
    background: linear-gradient(0deg, rgb(113, 136, 223), rgb(17, 213, 207));
}

.feature-block-ecommerce {
    background-image: linear-gradient(260deg, rgb(112, 95, 206) 0%, rgb(176, 89, 219) 100%);
}

.feature-block+.feature-block {
    margin-top: clamp(48px, 7vw, 18px);
}

.feature-copy h3 {
    margin-bottom: 12px;
    font-size: 30px;
    color: #ffffff;
}

.feature-copy p {
    margin-bottom: 18px;
    font-size: 14px;
    color: #fff;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ffffff;
    font-size: 14px;
}

.feature-list svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
    margin-top: 3px;
    flex-shrink: 0;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    margin-top: 25px;
    color: #ffffff;
    gap: 8px;
    background: #000;
    padding: 10px 20px;
    text-align: center;
    border-radius: 50px;
    transition: background 0.2s ease, color 0.2s ease;
}

.explore-link:hover {
    color: #000000;
    background: #ffffff;
}

.explore-link svg {
    width: 16px;
    height: 16px;
}

.feature-visual img {
    border-radius: 12px;
    width: 100%;
}

/* ---- Results / Stats ---- */
.results-copy h2 {
    text-align: left;
}

.stat-cells {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px);
}

.stat-big {
    font-size: clamp(2.4rem, 2rem + 2vw, 3.75rem);
    font-weight: 800;
    color: #12181a;
    line-height: 1;
    display: flex;
    align-items: flex-start;
}

.stat-big span {
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 4px;
    align-self: flex-start;
    margin-top: 6px;
}

.stat-cell p {
    font-size: 0.875rem;
    margin-top: 6px;
    max-width: 20ch;
}

/* ---- Why One Platform ---- */
.why-platform-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: clamp(28px, 4vw, 40px);
}

.why-platform-head h2 {
    text-align: left;
}

.why-platform-head p {
    max-width: 40%;
    font-size: 0.875rem;
    text-align: right;
}

.why-step-card {
    background: #f8f8f8;
    border-radius: 14px;
    padding: clamp(20px, 3vw, 26px);
    height: 100%;
}

.why-step-index {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.why-step-index i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #eb5a20;
    display: inline-block;
}

.why-step-card h4 {
    margin-bottom: 6px;
}

.why-step-card p {
    font-size: 0.875rem;
}

/* ---- Trusted-by logo grid with center CTA cell ---- */
.integration-grid-section .container-custom {
    max-width: 1280px;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    gap: 1px;
    background: #e4e7e5;
    border: 1px solid #e4e7e5;
    border-radius: 14px;
    overflow: hidden;
}

.integration-cell {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.integration-cell .logo-placeholder {
    font-size: 1.05rem;
    opacity: 0.85;
    height: auto;
}

/* Center CTA cell: column 3, spanning rows 2–3 */
.integration-cell-text {
    grid-column: 2 / span 2;
    grid-row: 2;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 30px;
}

.integration-cell-text h3 {
    font-size: clamp(1.2rem, 1vw + 1rem, 1.5rem);
}

.integration-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #12181a;
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.integration-book-btn:hover {
    background: #063b2c;
    transform: translateY(-2px);
    color: #fff;
}

.integration-book-btn svg {
    width: 16px;
    height: 16px;
}

/* ---- Why us / comparison table ---- */
.why-us-table {
    border: 1px solid #e4e7e5;
    overflow: hidden;
    border-radius: 14px;
}

.why-us-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.why-us-table th:nth-child(1),
.why-us-table td:nth-child(1) {
    width: 23%;
}

.why-us-table th:nth-child(2),
.why-us-table td:nth-child(2),
.why-us-table th:nth-child(3),
.why-us-table td:nth-child(3) {
    width: 38.5%;
}

.why-us-table th,
.why-us-table td {
    padding: 30px 20px;
    font-size: 0.875rem;
    text-align: left;
}

.why-us-table tr:first-child {
    background:
        radial-gradient(circle, rgba(255, 255, 255, .18) 1.5px, transparent 1.5px) 0 0 / 20px 20px,
        linear-gradient(145deg, rgba(232, 87, 237, .12) 0%, rgba(109, 137, 69, .08) 100%),
        conic-gradient(from 210deg, #00F1B5 0deg, #00E8BC 30deg, #00DCC2 60deg, #12CFC1 90deg,
            #1EBEC0 120deg, #218AB8 150deg, #3C79C2 180deg, #655FD3 210deg, #9158DF 240deg,
            #B656E7 270deg, #D956EB 300deg, #E857ED 330deg, #00F1B5 360deg);
}

.why-us-table th {
    color: #FFFFFF;
    font-weight: 700;
}

.why-us-table tr:not(:first-child) td:first-child {
    color: #12181A;
    font-weight: 600;
}

.why-us-table tr:not(:first-child):not(:last-child) td {
    border-bottom: 1px solid #E4E7E5;
}

.compare-row {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr;
    align-items: center;
}

.compare-row>div {
    padding: 30px 20px;
    font-size: 0.875rem;
}

.compare-row.head {
    font-weight: 700;
    color: #ffffff;
}

.compare-row:not(.head)>div:first-child {
    color: #12181a;
    font-weight: 600;
}

.compare-row:not(.head):not(:last-child) {
    border-bottom: 1px solid #e4e7e5;
}

/* ---- Awards ---- */
.awards-grid {
    text-align: center;
}

.award-card {
    border: 1px solid #e4e7e5;
    border-radius: 14px;
    padding: clamp(24px, 3vw, 32px) 20px;
    height: 100%;
}

.award-badge {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    background: #e7f7ee;
    color: #0c5a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.award-badge svg, .award-badge img {
    width: 100%;
    height: auto;
}

.award-card .stars {
    justify-content: center;
    display: flex;
    margin-bottom: 10px;
    color: #f4b740;
    font-size: 0.85rem;
}

.award-card h4 {
    margin-bottom: 2px;
}

.award-card p {
    font-size: 0.875rem;
    color: #6b7876;
}

/* ---- FAQ accordion ("Got questions?") ---- */
.faq-section h2 {
    text-align: left;
}

.faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid #e4e7e5;
    border-radius: 0;
}

.faq-accordion .accordion-button {
    padding-block: 18px;
    font-weight: 700;
    color: #12181a;
    font-size: 1rem;
    background: transparent;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #12181a;
    box-shadow: none;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

/* Custom plus/minus icon replacing Bootstrap's default chevron */
.faq-accordion .accordion-button::after {
    background-image: none;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-accordion .accordion-button::before,
.faq-accordion .accordion-button::after {
    content: "";
    position: absolute;
    right: 0;
    background: #0c5a3e;
    border-radius: 2px;
}

.faq-accordion .accordion-button {
    position: relative;
    padding-right: 30px;
}

.faq-accordion .accordion-button::before {
    width: 14px;
    height: 2px;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
}

.faq-accordion .accordion-button::after {
    width: 2px;
    height: 14px;
    top: 50%;
    right: 9px;
    transform: translateY(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
}

.faq-accordion .accordion-body {
    padding: 0 0 18px;
    font-size: 0.875rem;
    color: #6b7876;
    max-width: 68ch;
}

/* ---- Final CTA ("Automate your business with AI-powered solutions") ---- */
.final-cta {
    background: #000;
    text-align: center;
}

.final-cta h2,
.final-cta p {
    color: #fff;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 46ch;
    margin: 12px auto 28px;
}

/* ===== Responsive breakpoints: 320-480 / 480-768 / 768-1024 / 1024-1280 / 1280+ ===== */
@media (max-width: 1024px) {
    .why-platform-head p {
        text-align: left;
        max-width: 100%;
    }

    .compare-row {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

}

@media(max-width: 991px) {
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .integration-cell-text {
        grid-column: span 2;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .stat-cells {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .stat-cell {
        text-align: center;
    }

    .stat-big {
        justify-content: center;
        font-weight:600;
        font-size:29px;
    }
    .results-copy h2 {
    text-align: center;
    }
}
@media (max-width: 640px) {
    .compare-row {
        grid-template-columns: 1fr;
        text-align: left;
        min-width: 0;
    }

    .compare-row>div {
        border-bottom: 1px solid #e4e7e5;
        padding: 16px 20px;
    }

    .compare-row>div:last-child {
        border-bottom: none;
    }
     .why-us-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .why-us-table th:nth-child(1), .why-us-table td:nth-child(1) {
    width: 13%;
    }
   .section-head p{
        margin-bottom: 56px;
    }
    .why-platform-head p{
        margin-top:-12px;
    }
    .feature-block+.feature-block {
    margin-top: clamp(19px, 7vw, 18px);
    }
}
@media(max-width: 576px) {
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .integration-cell-text {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero-actions .btn-custom {
        width: 100%;
    }

    .stat-cells {
        grid-template-columns: 1fr 1fr;
    }

    .feature-block {
        padding: 32px 24px;
    }
    .hero-ai h1 {
        margin-top: 15px;
    }
    .hero-ai .hero-actions {
        margin-bottom: 0;
    }
}