/* Phúc Trí Enhancements - Harmonized with visual.css */

/* 1. Hero Status Pill (Tailored for Dark Hero #141411) */
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 100px;
    background: #ffffff12;
    border: 1px solid #ffffff20;
    box-shadow: 0 4px 20px #00000030;
    font-size: 11px;
    font-weight: 500;
    color: #ede9df;
    margin-bottom: 24px;
    backdrop-filter: blur(12px);
    width: fit-content;
}
.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: status-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes status-ping {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 2. Tech Stack Marquee (Infinite Ribbon) */
.tech-marquee-wrapper {
    background: #11110f;
    color: #ede7de;
    border-top: 1px solid #282722;
    border-bottom: 1px solid #282722;
    overflow: hidden;
    padding: 16px 0;
    position: relative;
    display: flex;
    user-select: none;
}
.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, #11110f, transparent);
}
.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, #11110f, transparent);
}
.tech-marquee-track {
    display: flex;
    gap: 36px;
    min-width: 100%;
    animation: marquee-scroll 30s linear infinite;
    align-items: center;
    flex-shrink: 0;
}
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.8px;
    font-weight: 500;
    color: #c9c0b3;
    padding: 6px 14px;
    background: #ffffff0a;
    border: 1px solid #ffffff12;
    border-radius: 100px;
    white-space: nowrap;
}
.tech-pill b {
    color: var(--orange);
    font-weight: 700;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* 3. Service Card CTA (Matches 3-column editorial grid in visual.css) */
.service-cta {
    grid-column: 2;
    grid-row: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 16px;
    background: transparent;
    color: var(--ink);
    border: 1px solid #ded9ce;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    width: fit-content;
}
.service-cta:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px #ff650030;
}

/* 4. Workflow Section */
.workflow {
    border-top: 1px solid #ded9ce;
    position: relative;
    padding: 100px 5%;
}
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}
.workflow-step {
    background: #fff;
    border: 1px solid #ded9ce;
    border-radius: 20px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease-out), border-color .3s, box-shadow .3s;
}
.workflow-step:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
    box-shadow: 0 16px 36px #29251f0c;
}
.step-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.step-number span {
    font-size: 12px;
    color: #a7a295;
    font-weight: 500;
    letter-spacing: 1px;
}
.workflow-step h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--ink);
    line-height: 1.4;
}
.workflow-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

/* 5. Floating Quick Action Contacts */
.floating-contact {
    position: fixed;
    right: 26px;
    bottom: 28px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.quick-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 100px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform .3s var(--ease-out), box-shadow .3s;
}
.quick-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.quick-btn.zalo {
    background: #0068ff;
}
.quick-btn.hotline {
    background: linear-gradient(135deg, #ff6500, #ff8c28);
}
.quick-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* 6. Footer Information Grid */
.footer-wrap {
    max-width: 1440px;
    margin: auto;
    width: 100%;
}
.footer-details {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    padding: 30px 0 15px;
    border-top: 1px solid #ded9ce;
    margin-top: 20px;
}
.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 14px;
}
.footer-col p, .footer-col a {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 8px;
    display: block;
}
.footer-col a:hover {
    color: var(--orange);
}

/* The general footer link rule must not turn the brand into a block layout. */
.footer-col .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    line-height: 1;
}
.footer-col .brand img {
    display: block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.footer-col .brand > span {
    display: block;
    font-size: 22px;
    line-height: 1;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .workflow-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-details {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 850px) {
    .service-cta {
        grid-column: 2;
        grid-row: 4;
        margin-top: 12px;
    }
}
@media (max-width: 700px) {
    .workflow {
        padding: 60px 6%;
    }
    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }
    .floating-contact {
        right: 16px;
        bottom: 20px;
    }
    .quick-btn span {
        display: none;
    }
    .quick-btn {
        padding: 12px;
        border-radius: 50%;
    }
    .footer-details {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px 0 10px;
    }
}
