/* SaaS showcase carousel — sits under the hero email in #featured .description */
.saas {
    margin-top: 6px;
    width: 100%;
    max-width: 466px;
    text-align: left;
}
.saas-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.saas-label {
    font-family: 'ColaborateThinRegular', Helvetica, Arial, sans-serif;   /* same as "Hello" */
    font-size: 20px;
    color: #6b6b6b;
}
.saas-nav button {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    border: 1px solid #d6d6d6;
    border-radius: 50%;
    background: #fff;
    color: #555;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.saas-nav button:hover { border-color: #2f7fe0; color: #2f7fe0; }
.saas-nav button:focus-visible,
.saas-dots button:focus-visible,
.saas-card a:focus-visible { outline: 2px solid #2f7fe0; outline-offset: 2px; }

/* floating: the card drifts up and down, its ground shadow shrinks as it rises */
.saas-stage {
    position: relative;
}
.saas-stage::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -22px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(40, 60, 90, .22), transparent 70%);
    animation: saas-shadow 6s ease-in-out infinite;
}
.saas-viewport {
    position: relative;
    z-index: 1;
    animation: saas-float 6s ease-in-out infinite;
}
@keyframes saas-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes saas-shadow {
    0%, 100% { transform: scaleX(1);   opacity: 1; }
    50%      { transform: scaleX(.82); opacity: .55; }
}
/* cards are stacked in one grid cell and crossfade, so nothing has to be
   clipped and the shadow floats freely */
.saas-track {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}
.saas-card {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translateX(14px);
    transition: opacity .6s ease, transform .6s ease, visibility 0s .6s;
    box-sizing: border-box;
    display: flex;
    gap: 16px;
    align-items: center;   /* cards share the tallest card's height — keep shorter ones balanced */
    padding: 18px 20px;
    min-height: 128px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 32px -18px rgba(40, 60, 90, .38);
}
.saas-card.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .6s ease, transform .6s ease, visibility 0s;
}
.saas-mark {
    flex: 0 0 48px;
    height: 48px;
    border-radius: 12px;
    color: #fff;
    font: bold 22px/48px Helvetica, Arial, sans-serif;
    text-align: center;
}
.saas-body { flex: 1; min-width: 0; }
.saas-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.saas-title h3 {
    margin: 0;
    font-family: 'ColaborateMediumRegular', Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #444;
}
.saas-badge {
    padding: 2px 9px;
    border-radius: 999px;
    font: bold 10px/16px Helvetica, Arial, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.saas-badge.live { background: #e3f5ea; color: #1e7a45; }
.saas-badge.live::before { content: "● "; }
.saas-badge.soon { background: #eef0f3; color: #6b7280; }
#featured .saas-card p {
    margin: 6px 0 0;
    font: 14px/1.45 Helvetica, Arial, sans-serif;
    color: #6b6b6b;
}
.saas-card a {
    display: inline-block;
    margin-top: 8px;
    font: bold 13px Helvetica, Arial, sans-serif;
    color: #2f7fe0;
    text-decoration: none;
}
.saas-card a:hover { text-decoration: underline; }

.saas-card { position: relative; }
.saas-card.has-apps { padding-bottom: 46px; }

/* App Store / Google Play icons, bottom-right. Greyed out until the apps are
   published — then swap the <span> for <a class="saas-app is-live" href="…">. */
.saas-apps {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: flex;
    gap: 8px;
}
.saas-app {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #e3e3e3;
    border-radius: 50%;
    background: #f6f7f8;
    color: #a9aeb4;
    cursor: not-allowed;
}
.saas-app svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}
.saas-app.is-live {
    background: #fff;
    border-color: #d6d6d6;
    color: #333;
    cursor: pointer;
}
.saas-app.is-live:hover { color: #2f7fe0; border-color: #2f7fe0; }

.saas-dots {
    margin-top: 30px;
    text-align: center;
}
.saas-dots button {
    width: 8px;
    height: 8px;
    margin: 0 3px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cfcfcf;
    cursor: pointer;
    transition: width .3s, background .3s;
}
.saas-dots button[aria-current="true"] { width: 22px; background: #2f7fe0; }

@media (prefers-reduced-motion: reduce) {
    .saas-card, .saas-card.is-active, .saas-dots button { transition: none; }
    .saas-viewport, .saas-stage::after { animation: none; }
}
@media only screen and (max-width: 767px) {
    /* the footer is fixed to the bottom — pad below the carousel so it is never covered */
    .saas { margin: 8px auto 0; padding-bottom: 160px; }
}

/* Hero robot hovers too (robot2.png is a transparent PNG). Slightly different
   timing from the carousel so the two don't bob in lockstep. */
#featured .featured-img img {
    display: block;
    animation: robot-float 5s ease-in-out infinite;
}
#featured .featured-img::after {
    content: "";
    position: absolute;
    left: 28%;
    right: 30%;
    bottom: -14px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(40, 60, 90, .25), transparent 70%);
    animation: robot-shadow 5s ease-in-out infinite;
}
@keyframes robot-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes robot-shadow {
    0%, 100% { transform: scaleX(1);   opacity: 1; }
    50%      { transform: scaleX(.78); opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
    #featured .featured-img img, #featured .featured-img::after { animation: none; }
}

/* Short desktop screens (laptops): the fixed footer would cover the carousel,
   so let the footer flow after the content instead. */
@media only screen and (min-width: 768px) and (max-height: 780px) {
    #center-highlight { height: auto; min-height: 100vh; }
    #footer { position: static; }
}

/* Logo is the page's <h1> (for Google); keep it looking exactly as before. */
h1.site-name { margin: 0; padding: 0; line-height: 0; letter-spacing: 0; }

/* Short "about" line under the email in the hero */
#featured .description p.about {
    margin: 14px 0 0;
    max-width: 440px;
    font: 14px/1.55 Helvetica, Arial, sans-serif;
    color: #666666;   /* 5.0:1 on the page background */
}
@media only screen and (max-width: 767px) {
    #featured .description p.about { margin: 14px auto 0; }
}
