/* =====================================================
   MAKE Vision Home Page - Clean Structured CSS
   Theme: white + #00adee + soft light colors
===================================================== */

/* ---------------- Hero ---------------- */
.hero-section {
    position: relative;
    padding: 72px 0 42px;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 22%, rgba(0, 173, 238, 0.16), transparent 26%),
        radial-gradient(circle at 12% 82%, rgba(17, 119, 255, 0.10), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    margin: 18px 0 18px;
    max-width: 670px;
    color: var(--navy);
    font-size: clamp(42px, 5.1vw, 78px);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -2.4px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    max-width: 680px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 30px;
}

.mini-feature-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.mini-feature {
    min-height: 76px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 12px 28px rgba(10, 35, 66, 0.05);
}

.mini-feature i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--accent-soft, var(--soft-blue));
    color: var(--accent, var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-feature span {
    color: var(--navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.hero-visual {
    min-height: 610px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orbit {
    position: absolute;
    width: 610px;
    height: 610px;
    border-radius: 50%;
    border: 1px solid rgba(0, 173, 238, 0.18);
    background: radial-gradient(circle, rgba(0, 173, 238, 0.10), transparent 66%);
}

.hero-orbit::before,
.hero-orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 173, 238, 0.18);
}

.hero-orbit::before { inset: 44px; }
.hero-orbit::after { inset: 105px; }

.hero-robot-image {
    position: relative;
    z-index: 2;
    width: min(100%, 530px);
    max-height: 620px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 28px 36px rgba(8, 24, 41, 0.20));
}

.hero-floating-card {
    position: absolute;
    right: 18px;
    bottom: 90px;
    z-index: 4;
    width: 265px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: var(--shadow);
}

.hero-floating-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: var(--soft-blue);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hero-floating-card h5 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
}

.hero-floating-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

/* ---------------- CTA ---------------- */
.journey-cta-section {
    padding: 72px 0 78px;
    background: #ffffff;
    border-top: 1px solid #edf6fb;
}

.journey-cta-box {
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}

.journey-cta-box h2 {
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 900;
    letter-spacing: -0.8px;
}

.journey-cta-box p {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.journey-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------------- Accent variables only ---------------- */
.accent-blue { --accent: var(--primary); --accent-soft: var(--soft-blue); }
.accent-green { --accent: var(--green); --accent-soft: var(--soft-green); }
.accent-amber { --accent: var(--amber); --accent-soft: var(--soft-amber); }
.accent-pink { --accent: var(--pink); --accent-soft: var(--soft-pink); }
.accent-coral { --accent: var(--coral); --accent-soft: var(--soft-coral); }
.accent-rose { --accent: #ff7d7d; --accent-soft: #fff2f2; }

/* ---------------- Small MakeLabs-style cards ---------------- */
.small-ml-card,
.testimonial-mini-card,
.client-color-card,
.stat-card,
.vslider-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(10, 35, 66, 0.08);
    transition: all 0.3s ease;
}

.small-ml-card:hover,
.testimonial-mini-card:hover,
.client-color-card:hover,
.stat-card:hover,
.vslider-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0, 173, 238, 0.14);
}

.service-card.small-ml-card,
.use-card.small-ml-card,
.home-info-card.small-ml-card {
    height: 100%;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.service-card.small-ml-card::before,
.use-card.small-ml-card::before,
.home-info-card.small-ml-card::before,
.testimonial-mini-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent, var(--primary));
}

.service-card.small-ml-card .icon-bubble,
.use-card.small-ml-card .icon-bubble,
.home-info-card.small-ml-card .icon-bubble {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--accent-soft, var(--soft-blue));
    color: var(--accent, var(--primary));
    border: 1.5px solid var(--accent, var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.service-card.small-ml-card h3,
.use-card.small-ml-card h4,
.home-info-card.small-ml-card h4 {
    color: var(--navy);
    font-size: 21px;
    font-weight: 800;
    margin: 0 0 12px;
}

.service-card.small-ml-card p,
.use-card.small-ml-card p,
.home-info-card.small-ml-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    min-height: auto;
}

.service-card.small-ml-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--accent, var(--primary));
    font-weight: 800;
}

/* ---------------- Stats ---------------- */
.stats-section {
    padding: 72px 0;
    background: #ffffff;
}

.stats-panel {
    border-radius: 30px;
    padding: 24px;
    background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
    border: 1px solid var(--border);
    box-shadow: 0 24px 55px rgba(10, 35, 66, 0.07);
}

.stat-card {
    height: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-card .stat-icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft, var(--soft-blue));
    color: var(--accent, var(--primary));
    font-size: 24px;
    flex-shrink: 0;
}

.stat-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 38px;
    font-weight: 900;
}

.stat-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-weight: 700;
}

/* ---------------- Testimonials ---------------- */
.feedback-section {
    background: #ffffff;
}

.testimonial-grid {
    margin-top: 18px;
}

.testimonial-mini-card {
    height: 100%;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
}

.testimonial-mini-card .quote-mark {
    color: var(--accent, var(--primary));
    font-size: 36px;
    margin-bottom: 14px;
}

.testimonial-mini-card p {
    color: #334155;
    font-size: 15px;
    line-height: 1.8;
    min-height: 120px;
    margin-bottom: 24px;
}

.testimonial-mini-card .testimonial-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-mini-card .user-avatar {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: var(--accent-soft, var(--soft-blue));
    color: var(--accent, var(--primary));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
}

.testimonial-mini-card h5 {
    color: var(--navy);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
}

.testimonial-mini-card span {
    color: #64748b;
    font-size: 14px;
}

/* ---------------- Clients ---------------- */
.clients-section {
    background: #f4fbff;
}

.client-color-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.client-color-card {
    min-height: 140px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-color-card img,
.clients-section img {
    width: auto;
    max-width: 180px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    transform: none;
    transition: 0.3s ease;
}

.client-color-card:hover img {
    filter: grayscale(0%);
}

.client-blue { background: #eef8ff; }
.client-green { background: #eefaf3; }
.client-pink { background: #fff1f7; }
.client-rose { background: #fff3f1; }

/* ---------------- Process ---------------- */
.process-section {
    background: #ffffff;
}

.process-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.process-row::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 9%;
    right: 9%;
    border-top: 2px dashed rgba(0, 173, 238, 0.35);
}

.process-item {
    position: relative;
    z-index: 1;
    text-align: center;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--accent-soft, var(--soft-blue));
    color: var(--accent, var(--primary));
    border: 2px solid var(--accent, var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.process-item h5 {
    margin: 0 0 7px;
    color: var(--accent, var(--primary));
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 900;
}

.process-item p {
    margin: 0;
    color: var(--navy);
    font-weight: 800;
    line-height: 1.35;
}

/* ---------------- Videos from MAKE Labs DB ---------------- */
.videos-section {
    background: #f4fbff;
    overflow: hidden;
}

.video-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.vslider-track-outer {
    overflow: hidden;
    width: 100%;
}

.vslider-track {
    display: flex;
    gap: 18px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.vslider-card {
    flex: 0 0 calc(25% - 14px);
    min-width: 0;
    overflow: hidden;
}

.vcard-thumb-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 58%;
    background: var(--dark);
    overflow: hidden;
}

.vcard-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 24, 41, 0.10), rgba(8, 24, 41, 0.45));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.vcard-play-btn {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--primary);
    font-size: 22px;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.20);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vcard-play-btn:hover {
    transform: scale(1.08);
}

.vcard-body {
    padding: 18px 18px 20px;
}

.vcard-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.vcard-title {
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vcard-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vslider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 12px 28px rgba(10, 35, 66, 0.08);
    transition: 0.3s ease;
}

.vslider-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.vslider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1199.98px) {
    .hero-content h1 {
        font-size: 58px;
    }

    .hero-visual {
        min-height: 560px;
    }

    .hero-floating-card {
        right: 0;
        bottom: 72px;
    }

    .mini-feature-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .process-row::before {
        display: none;
    }

    .client-color-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vslider-card {
        flex: 0 0 calc(33.333% - 12px);
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 56px 0 35px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: auto;
        padding-top: 20px;
    }

    .hero-orbit {
        width: 500px;
        height: 500px;
    }

    .hero-robot-image {
        width: min(100%, 420px);
    }

    .hero-floating-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -24px auto 0;
    }

    .section-title {
        text-align: center !important;
    }

    .vslider-card {
        flex: 0 0 calc(50% - 9px);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 45px 0 35px;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 42px;
        line-height: 1.08;
        letter-spacing: -1.2px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .mv-btn {
        width: 100%;
    }

    .mini-feature-strip,
    .client-color-row {
        grid-template-columns: 1fr;
    }

    .mini-feature {
        width: 100%;
        padding: 18px 20px;
    }

    .hero-visual {
        min-height: auto;
        margin-top: 35px;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero-orbit {
        width: 430px;
        height: 430px;
    }

    .hero-robot-image {
        max-height: 520px;
        width: 100%;
        max-width: 420px;
        object-fit: contain;
        margin: 0 auto;
    }

    .hero-floating-card {
        width: 100%;
        max-width: 100%;
        margin-top: -20px;
        padding: 18px;
    }

    .process-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-mini-card p {
        min-height: auto;
    }

    .client-color-card {
        min-height: 120px;
    }

    .client-color-card img,
    .clients-section img {
        max-width: 160px;
        max-height: 60px;
    }

    .video-slider-wrapper {
        gap: 10px;
    }

    .vslider-card {
        flex: 0 0 86%;
    }

    .vslider-btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .process-row {
        grid-template-columns: 1fr;
    }
}
