
/* ===== Laravel build additions: spacing, compact cards, compact footer, social hub/feed, auth, background elements ===== */

/* --- Part 4: tighter spacing --- */
.section {
    padding: 4.2rem 0;
}

.section-head {
    margin-bottom: 2.1rem;
}

.section.tinted::before {
    height: 40px;
}

.page-hero {
    padding-bottom: 2.8rem;
}

.page-hero:first-child {
    padding-top: 7.2rem;
}

.cta-final {
    padding: 3.8rem 0;
}

.cta-final p {
    margin: .5rem 0 1.5rem;
}

.split {
    gap: 2rem;
}

.steps {
    gap: 1rem;
}

.demo-banner {
    margin-top: 1.6rem;
}

/* --- Part 5: compact ERP module cards --- */
.mod-grid {
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: .75rem;
}

.mod-card {
    padding: .8rem .9rem;
    border-radius: 16px;
}

.mod-card .mi {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin-bottom: .5rem;
}

.mod-card b {
    font-size: .88rem;
    line-height: 1.25;
}

.mod-card small {
    font-size: .72rem;
}

.mod-card:hover {
    transform: translateY(-5px) rotateX(2deg);
}

.img-card .img-body,
.img-card .ic-body {
    padding: 1rem 1.1rem;
}

/* --- Part 9: smaller, better aligned footer --- */
.site-footer {
    padding: 2.8rem 0 1.1rem;
}

.footer-grid {
    grid-template-columns: minmax(240px, 1.4fr) repeat(4, minmax(0, 1fr));
    gap: 1.6rem 2rem;
}

.foot-brand {
    gap: .7rem;
}

.foot-logo {
    width: 92px;
    padding: .5rem;
    border-radius: 14px;
}

.foot-desc {
    font-size: .84rem;
    line-height: 1.6;
    max-width: 320px;
}

.site-footer .foot-col h5 {
    margin-bottom: .7rem;
    font-size: .72rem;
}

.site-footer .foot-col a {
    padding: .2rem 0;
    font-size: .85rem;
}

.foot-contact-bar {
    margin-top: 1.6rem;
    padding: .8rem 1.1rem;
    border-radius: 18px;
}

.foot-contact-bar .foot-contact {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .6rem;
}

.foot-bottom {
    margin-top: 1.3rem;
    padding-top: .9rem;
    font-size: .8rem;
    align-items: center;
}

@media (max-width: 720px) {
    .site-footer {
        padding-top: 2.4rem;
    }

    .footer-grid {
        gap: 1.4rem 1rem;
    }
}

/* --- Your Privacy Choices button --- */
.privacy-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font: 600 .8rem/1.2 inherit;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(
        135deg,
        rgba(178, 75, 255, .35),
        rgba(147, 6, 224, .35)
    );
    border: 1px solid rgba(233, 182, 255, .45);
    border-radius: 999px;
    padding: .5rem .95rem;
    cursor: pointer;
    transition: transform .25s, background .25s, box-shadow .25s;
}

.privacy-btn::before {
    content: "";
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    background: currentColor;
    opacity: .9;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.4-8 11-4.6-1.6-8-6-8-11V5z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.privacy-btn:hover {
    background: linear-gradient(135deg, #B24BFF, #9306E0);
    box-shadow: 0 6px 18px rgba(147, 6, 224, .45);
    transform: translateY(-1px);
}

.site-footer .foot-col .privacy-btn {
    margin: .35rem 0 0;
    align-self: flex-start;
}

.site-footer .foot-legal .privacy-btn {
    padding: .38rem .8rem;
    font-size: .76rem;
}

/* --- Part 3: floating logos / geometric background --- */
.float-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-layer .fl {
    position: absolute;
    opacity: .07;
    animation: flDrift var(--t, 28s) ease-in-out infinite alternate;
    animation-delay: var(--dl, 0s);
}

.float-layer img.fl {
    width: var(--s, 70px);
    height: auto;
    filter: saturate(1.1);
}

.float-layer .gx {
    border: 2px solid var(--violet, #9306E0);
    border-radius: var(--r, 18%);
    width: var(--s, 40px);
    height: var(--s, 40px);
    opacity: .09;
}

.float-layer .gx.dot {
    border: 0;
    background: var(--violet, #9306E0);
    border-radius: 50%;
    opacity: .10;
}

@keyframes flDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0);
    }

    50% {
        transform: translate3d(30px, -46px, 0) rotate(12deg);
    }

    100% {
        transform: translate3d(-24px, 34px, 0) rotate(-10deg);
    }
}

main,
.site-header,
.site-footer {
    position: relative;
}

main {
    z-index: 1;
}

/* --- Part 6: social media hub --- */
.hub-wrap {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 2.4rem;
    align-items: center;
}

.hub-copy .section-head {
    text-align: left;
    margin: 0 0 1.3rem;
    max-width: none;
}

.hub-copy .section-head p {
    margin-left: 0;
}

.hub-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.4rem;
}

.hub-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    width: 84px;
    padding: .6rem .3rem;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: .72rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.hub-chip svg {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

a.hub-chip:hover {
    transform: translateY(-5px);
    border-color: var(--violet);
    box-shadow: var(--shadow-lg);
}

.hub-chip.off {
    opacity: .6;
    cursor: default;
}

.hub-orbit {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
}

.orbit-ring {
    position: absolute;
    border: 1.5px dashed rgba(147, 6, 224, .35);
    border-radius: 50%;
    animation: spin 60s linear infinite;
}

.orbit-ring.r1 {
    inset: 13%;
}

.orbit-ring.r2 {
    inset: 3%;
    border-style: solid;
    border-color: rgba(147, 6, 224, .14);
    animation-direction: reverse;
    animation-duration: 90s;
}

.orbit-glow {
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(178, 75, 255, .35),
        transparent 70%
    );
    filter: blur(24px);
    animation: pulse 5s ease-in-out infinite;
}

.orbit-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.orbit-lines line {
    stroke: var(--violet, #9306E0);
    stroke-opacity: .35;
    stroke-width: .35;
    stroke-dasharray: 1.2 1.6;
    animation: dash 3s linear infinite;
    vector-effect: non-scaling-stroke;
}

@keyframes dash {
    to {
        stroke-dashoffset: -14;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    50% {
        opacity: .55;
        transform: scale(1.08);
    }
}

.orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: .15rem;
    text-align: center;
    box-shadow:
        0 0 0 8px rgba(147, 6, 224, .10),
        0 0 0 18px rgba(147, 6, 224, .06),
        0 18px 50px rgba(88, 28, 135, .28);
    animation: coreFloat 6s ease-in-out infinite;
}

.orbit-core img {
    width: 52%;
    height: auto;
}

.orbit-core b {
    font-size: clamp(.8rem, 1.9vw, 1.15rem);
    color: #1b0a33;
    line-height: 1;
}

.orbit-core b em {
    font-style: normal;
    color: var(--violet, #9306E0);
}

@keyframes coreFloat {
    50% {
        translate: -50% calc(-50% - 6px);
    }
}

.orbit-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    translate: -50% -50%;
    z-index: 2;
    animation: nodeFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * -1.2s);
}

@keyframes nodeFloat {
    50% {
        transform: translateY(-8px);
    }
}

.on-card {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .5rem;
    border-radius: 18px;
    background: var(--card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
}

.orbit-node:hover .on-card {
    transform: scale(1.06);
    border-color: var(--violet);
    box-shadow: var(--shadow-lg), var(--glow);
}

.on-ic svg {
    display: block;
    width: clamp(34px, 6.4vw, 46px);
    height: clamp(34px, 6.4vw, 46px);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.on-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.on-txt small {
    font-size: .62rem;
    color: var(--muted);
}

.on-txt b {
    font-size: .84rem;
}

.on-txt em {
    display: none;
    font-style: normal;
    font-size: .62rem;
    color: var(--muted);
    max-width: 130px;
}

.on-go {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--violet, #9306E0);
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    flex: none;
    transition: transform .25s;
}

.on-go.off {
    background: var(--border);
    color: var(--muted);
}

a.on-go:hover {
    transform: translateX(3px);
}

@media (min-width: 1100px) {
    .on-txt em {
        display: block;
    }
}

@media (max-width: 900px) {
    .hub-wrap {
        grid-template-columns: 1fr;
    }

    .hub-orbit {
        max-width: 520px;
    }
}

@media (max-width: 520px) {
    .on-txt small,
    .on-go {
        display: none;
    }

    .on-card {
        padding: .3rem .45rem;
    }

    .on-txt b {
        font-size: .74rem;
    }
}

/* --- Part 7: live social feed --- */
.feed-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
    margin: 0 0 1.6rem;
}

.feed-pill {
    padding: .45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--card);
    font-size: .84rem;
    font-weight: 600;
    color: inherit;
    text-decoration: none;
    transition: all .25s;
}

.feed-pill:hover {
    border-color: var(--violet);
}

.feed-pill.on {
    background: var(--violet, #9306E0);
    border-color: var(--violet, #9306E0);
    color: #fff;
    box-shadow: var(--glow);
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.1rem;
}

.feed-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease, ease), box-shadow .35s, border-color .35s;
}

.feed-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--violet);
}

.feed-card[hidden] {
    display: none;
}

.fc-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(
        135deg,
        var(--mist, #f3e8ff),
        var(--bg-2, #fff)
    );
    overflow: hidden;
}

.fc-media img,
.fc-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform .5s var(--ease, ease);
}

.feed-card:hover .fc-media img {
    transform: scale(1.06);
}

.fc-media.noimg {
    display: grid;
    place-items: center;
}

.fc-fallback svg {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    opacity: .9;
}

.fc-badge {
    position: absolute;
    left: .6rem;
    top: .6rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .55rem .2rem .25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #1b0a33;
    font-size: .7rem;
    font-weight: 700;
}

.fc-badge svg {
    width: 18px;
    height: 18px;
    border-radius: 6px;
}

.fc-feat {
    position: absolute;
    right: .6rem;
    top: .6rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--violet, #9306E0);
    color: #fff;
    font-size: .66rem;
    font-weight: 700;
}

.fc-play {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background: rgba(147, 6, 224, .92);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    transition: transform .25s;
}

.fc-play i {
    position: absolute;
    left: 23px;
    top: 18px;
    border-left: 18px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.fc-play:hover {
    transform: scale(1.1);
}

.fc-body {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    padding: 1rem 1.1rem 1.1rem;
    flex: 1;
}

.fc-body time {
    font-size: .74rem;
    color: var(--muted);
}

.fc-body h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

.fc-body p {
    font-size: .86rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.fc-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.feed-empty {
    max-width: 560px;
    margin: 1rem auto 0;
    text-align: center;
    padding: 2.2rem 1.5rem;
    border-radius: 22px;
    border: 1px dashed var(--border);
    background: var(--card);
}

.feed-empty .fe-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    background: var(--mist, #f3e8ff);
    color: var(--violet, #9306E0);
}

.feed-empty h3 {
    margin: .2rem 0 .4rem;
}

.feed-empty p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.feed-pager {
    margin-top: 1.6rem;
}

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn.disabled {
    opacity: .45;
    pointer-events: none;
}

.feed-bare {
    padding-top: 1.5rem;
}

/* --- Auth / account / contact form --- */
.auth {
    padding: 7.5rem 0 4rem;
}

.auth-card.auth-wide {
    max-width: 720px;
}

.auth-card .form-alert.ok {
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .4);
    color: #047857;
}

.auth-card .f-err,
.cf-grid .f-err {
    display: block;
    color: #dc2626;
    font-size: .8rem;
    margin-top: .25rem;
}

.auth-card form[method="post"] {
    margin: 0;
}

.auth-card .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.2rem;
}

.trial-box {
    display: grid;
    gap: 1rem;
    margin: 1.2rem 0;
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(147, 6, 224, .10),
        rgba(178, 75, 255, .05)
    );
    border: 1px solid var(--border);
}

.trial-box h2 {
    margin: .2rem 0 0;
    font-size: 1.6rem;
}

.trial-box.expired h2 {
    color: #dc2626;
}

.trial-box dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin: 0;
}

.trial-box dt {
    font-size: .72rem;
    color: var(--muted);
}

.trial-box dd {
    margin: 0;
    font-weight: 600;
}

.contact-form-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.8rem;
}

.cf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.cf-full {
    grid-column: 1 / -1;
}

.cf-grid textarea,
.cf-grid input {
    width: 100%;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .cf-grid {
        grid-template-columns: 1fr;
    }

    .trial-box dl {
        grid-template-columns: 1fr;
    }
}

/* --- Accessibility: reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .float-layer,
    .orbit-ring,
    .orbit-glow,
    .orbit-core,
    .orbit-node,
    .orbit-lines line,
    .fl {
        animation: none !important;
    }

    .feed-card,
    .on-card,
    .hub-chip {
        transition: none;
    }
}
