﻿.faq-tile {
    background: #fff;
    border: 1px solid #e7ecf3;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

    .faq-tile:hover {
        border-color: #d6e4ff;
        box-shadow: 0 10px 24px rgba(16,24,40,.08);
        transform: translateY(-1px);
    }

    /* keep text comfortable */
    .faq-tile h5 {
        letter-spacing: .1px;
    }

    .faq-tile p {
        color: #5f6b7a;
    }

/* spacing matches the screenshot */
#faqs .row {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 1.5rem;
}

/* Hero: slightly more bottom padding so it doesn't touch video */
.hero-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

/* Video block: breathing room above and below */
.hero-video-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-top: 1.5rem;
    margin-bottom: 0rem;
}

/* Trusted-by logos: space from video & reviews */
.sv-trust-strip {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    margin-top: 0rem;
    margin-bottom: 3rem;
}

/* Reviews, Problem/Solution, Demo, Blog, Affiliate, FAQ:
   consistent vertical space so each "chunk" feels separate */
#reviewsSection,
#solution,
#demo,
#blogSection,
#affiliate,
#faqs {
    margin-top: 9rem !important;
    margin-bottom: 4rem !important;
}

/* Features block is a big band – pad it instead of using container margin */
.fx-features {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

/* Pricing band: extra room so it stands out */
#pricing {
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 4rem;
}

/* Keep existing scroll offset for anchor links */
#affiliate {
    scroll-margin-top: 80px;
}

#features {
    scroll-margin-top: 80px;
}

.billing-label {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}
    /* Hidden state: keep width, remove visuals & clicks */
    .billing-label.is-hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
/* (Optional) make the switch a consistent size */
.form-check.form-switch .form-check-input {
    width: 2.75rem;
    height: 1.4rem;
}

/* ===== HERO LAYOUT + TYPOGRAPHY (shared) ===== */

.hero-section {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-left {
    max-width: 640px;
}

.hero-badge {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: .06em;
}

.hero-headline {
    font-weight: 800;
    font-size: clamp(2.7rem, 3.4vw + 1rem, 4.1rem);
    line-height: 1.04;
    letter-spacing: -0.055em;
    color: #111827;
}

.hero-headline-highlight {
    background: linear-gradient(90deg, #2563eb, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: #4b5563;
}

/* ===== HOME HERO SCREENSHOT (scoped with .hero-screenshot--home) ===== */

/* wrapper around the screenshot on Home only */
.hero-screenshot--home {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

    /* screenshot card: slightly larger but controlled */
    .hero-screenshot--home .hero-screenshot-card {
        width: 100%;
        max-width: 640px;
        border-radius: 24px;
    }

/* push it down a bit on desktop to visually align w/ hero text */
@media (min-width: 992px) {
    .hero-screenshot--home .hero-screenshot-card {
        margin-top: 4rem;
    }
}

/* base state for the image (for smooth zoom animation) */
.hero-screenshot--home .hero-screenshot-frame img {
    transform-origin: center center;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* square-ish frame that crops the screenshot nicely */
.hero-screenshot--home .hero-screenshot-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* square-ish; adjust to 4 / 3 if needed */
    overflow: hidden;
    border-radius: 28px; /* match hero-rounded-card */
}

    /* crop the screenshot: show just part of it */
    .hero-screenshot--home .hero-screenshot-frame img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* crop instead of shrinking */
    }

/* Only apply hover zoom on devices that support hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .hero-screenshot--home .hero-screenshot-frame:hover img {
        transform: scale(1.35); /* make the image bigger inside the frame */
        filter: brightness(1.03);
    }
}


/* ===== TAG BAR (ClickUp-style pills) ===== */

.hero-tag-bar {
    margin-top: 1.25rem;
}

.hero-tag-label {
    letter-spacing: .14em;
    color: #6b7280;
    margin-bottom: .35rem;
    font-size: 0.78rem;
}

.hero-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    background: #f4f4f5;
    color: #111827;
    border: 1px solid transparent;
    white-space: nowrap;
}

    .hero-tag:hover {
        background: #e5e7eb;
        border-color: #d4d4d8;
        text-decoration: none;
        color: #111827;
    }

.hero-tag-active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
}

/* ===== VIDEO STRIP ===== */

.hero-video-section {
    margin-top: -0.5rem; /* close to hero */
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-video-label {
    font-size: 0.9rem;
    color: #4b5563;
}

    .hero-video-label i {
        font-size: 1rem;
    }

.hero-video-frame {
    max-width: 880px; /* narrower -> less “super wide” */
}

.hero-rounded-card {
    border-radius: 28px; /* circular feel */
    overflow: hidden; /* clips inside content */
}

/* Optional: add soft shadow */
.hero-rounded-shadow {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
}


/* ===== RESPONSIVE TWEAKS ===== */

@media (max-width: 767.98px) {
    .hero-headline {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .hero-screenshot-card {
        max-width: 100%;
    }

    .hero-screenshot-frame {
        aspect-ratio: 4 / 3;
    }
}

/* ===== Trusted By / Logo Marquee ===== */

.sv-trust-strip {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.sv-trust-header {
    max-width: 720px;
    margin: 0 auto;
}

.sv-trust-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 6px;
}

.sv-trust-title {
    font-weight: 700;
    font-size: clamp(1.5rem, 1.6vw + 1rem, 2rem);
    color: #0f172a;
    margin-bottom: 4px;
}

.sv-trust-subtitle {
    font-size: 0.95rem;
    color: #6b7280;
}

/* marquee container */
.sv-trust-marquee {
    margin-top: 18px;
    position: relative;
    overflow: hidden;
}

/* scrolling track */
.sv-trust-track {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    animation: sv-trust-scroll 28s linear infinite;
    will-change: transform;
}

/* each logo */
.sv-trust-logo {
    flex: 0 0 auto;
    opacity: 0.85;
    transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

    .sv-trust-logo img {
        display: block;
        height: 32px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
        filter: grayscale(1);
        opacity: 0.9;
    }

/* hover on desktop */
@media (hover: hover) {
    .sv-trust-logo:hover {
        opacity: 1;
        transform: translateY(-2px) scale(1.03);
    }

        .sv-trust-logo:hover img {
            filter: grayscale(0);
            opacity: 1;
        }
}

/* animation keyframes */
@keyframes sv-trust-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        /* move left by half, since we duplicated the logos once */
        transform: translateX(-50%);
    }
}

/* small screens: tighter gaps + smaller logos */
@media (max-width: 575.98px) {
    .sv-trust-track {
        gap: 28px;
    }

    .sv-trust-logo img {
        height: 24px;
        max-width: 110px;
    }

    .sv-trust-subtitle {
        font-size: 0.9rem;
    }
}

.fx-features {
    --ring: #f1f5f9;
    --ink: #0f172a;
    --muted: #64748b;
}

.fx-slice {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(180deg,#fbfdff 0%, #f6f9ff 100%);
}

    .fx-slice:nth-child(even) {
        background: linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
    }

.fx-eyebrow {
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.fx-title {
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
    font-size: clamp(1.8rem,2.2vw+1.2rem,3rem);
}

    .fx-title .focus {
        color: #334155;
    }

.fx-sub {
    color: var(--muted);
    max-width: 42rem;
}

.fx-cta {
    padding: .85rem 1.25rem;
    border-radius: .75rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.fx-media {
    position: relative;
    min-height: 260px;
}

.fx-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 .5rem 2rem rgba(0,0,0,.06);
    border: 1px solid #e5e7eb;
    padding: 1.25rem;
}

.fx-float {
    position: absolute;
    filter: drop-shadow(0 1rem 2rem rgba(2,6,23,.08));
    animation: fx-bob 6s ease-in-out infinite;
}

.fx-ring {
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 75%;
    pointer-events: none;
    background: radial-gradient(40% 40% at 50% 50%, rgba(14,165,233,.08), transparent 70%);
}

/* arrows/accent bar */
.fx-accent {
    width: 72px;
    height: 6px;
    border-radius: 6px;
    background: #f4b000;
    display: block;
}

/* upgraded CTA */
.fx-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg,#3b82f6 0%, #0ea5e9 50%, #22d3ee 100%);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 .5rem 1.25rem rgba(2,132,199,.25), inset 0 1px 0 rgba(255,255,255,.35);
    border: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

    .fx-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 .75rem 1.5rem rgba(2,132,199,.35);
        filter: saturate(1.05);
    }

    .fx-cta-primary:active {
        transform: translateY(0);
    }

    .fx-cta-primary .cta-icon {
        width: 1.1rem;
        height: 1.1rem;
        stroke: currentColor;
        stroke-width: 2;
        fill: none;
    }

    /* optional subtle focus ring */
    .fx-cta-primary:focus-visible {
        outline: none;
        box-shadow: 0 0 0 .25rem rgba(59,130,246,.25);
    }


.fx-cta-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .78rem 1.4rem;
    border-radius: .55rem;
    background: #f3f4f6;
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    text-decoration: none;
    transition: all .18s ease;
}

    /* Icon alignment */
    .fx-cta-inline .cta-icon {
        width: 1.15rem;
        height: 1.15rem;
        stroke-width: 2.6;
        margin-top: 1px; /* visually perfect alignment */
    }

    /* Hover effect */
    .fx-cta-inline:hover {
        background: #e5e7eb;
        border-color: #cbd5e1;
    }


/* tiny util if you want the CTA aligned with bullet list */
.fx-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#scrollTopBtn {
    position: fixed;
    bottom: 28px; /* distance from bottom */
    right: 20px; /* distance from right edge (next to scrollbar) */
    z-index: 2000; /* above cards/sticky toc */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    padding: 0;
    display: grid; /* centers the icon */
    place-items: center;
    opacity: .9;
    transition: opacity .2s ease, transform .1s ease;
}

    #scrollTopBtn:hover {
        opacity: 1;
    }

    #scrollTopBtn:active {
        transform: scale(.96);
    }

@media (max-width: 576px) {
    #scrollTopBtn {
        bottom: 20px;
        right: 12px;
    }
}