/* Isolate Nexsas marketing page from Laravel app Tailwind (v3) resets */

body:has(.marketing-site) {
    font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif !important;
    color: #1a1a1c;
    background: #fff;
}

.marketing-site {
    /* Re-declare template tokens so app.css cannot break calc() spacing */
    --spacing: 0.25rem;
    --color-white: #fff;
    --color-primary-500: #864ffe;
    --color-primary-600: #7c31f6;
    --color-secondary: #1a1a1c;
    --color-black: #000;
    --text-heading-1: 4.25rem;
    --text-heading-1--line-height: 110%;
    --text-heading-2: 2.75rem;
    --text-heading-2--line-height: 120%;
    --text-heading-3: 2.125rem;
    --text-heading-3--line-height: 120%;
    --text-heading-4: 1.75rem;
    --text-heading-4--line-height: 130%;
    --text-heading-5: 1.375rem;
    --text-heading-5--line-height: 140%;
    --text-heading-6: 1.25rem;
    --text-heading-6--line-height: 140%;
    --text-tagline-1: 1rem;
    --text-tagline-1--line-height: 150%;
    --text-tagline-2: 0.875rem;
    --text-tagline-2--line-height: 150%;
    font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
    color: #1a1a1c;
    isolation: isolate;
}

.marketing-site .nexsas-home,
.marketing-site .nexsas-footer {
    font-family: inherit;
}

.marketing-site .footer-link-v2[type='button'] {
    appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

/* Typography — override Tailwind preflight h1/h2 resets */
.marketing-site .nexsas-home h1,
.marketing-site .nexsas-footer h1 {
    font-weight: 500;
    font-size: var(--text-heading-5);
    line-height: var(--text-heading-5--line-height);
}

@media (min-width: 40rem) {
    .marketing-site .nexsas-home h1,
    .marketing-site .nexsas-footer h1 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-home h1,
    .marketing-site .nexsas-footer h1 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }
}

@media (min-width: 80rem) {
    .marketing-site .nexsas-home h1,
    .marketing-site .nexsas-footer h1 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }
}

.marketing-site .nexsas-home h2 {
    font-weight: 600;
    font-size: var(--text-heading-5);
    line-height: var(--text-heading-5--line-height);
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-home h2 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }
}

.marketing-site .nexsas-footer h2 {
    font-weight: 600;
    font-size: var(--text-heading-6);
    line-height: var(--text-heading-6--line-height);
}

@media (min-width: 40rem) {
    .marketing-site .nexsas-footer h2 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-footer h2 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }
}

.marketing-site .nexsas-home h3,
.marketing-site .nexsas-footer h3 {
    font-weight: 400;
    font-size: var(--text-heading-6);
    line-height: var(--text-heading-6--line-height);
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-home h3,
    .marketing-site .nexsas-footer h3 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

@media (min-width: 64rem) {
    .marketing-site .nexsas-home h3,
    .marketing-site .nexsas-footer h3 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

.marketing-site .nexsas-home p {
    font-size: var(--text-tagline-1);
    line-height: var(--text-tagline-1--line-height);
}

/* Heading utility classes (template uses these on h3 etc.) */
.marketing-site .text-heading-2 {
    font-size: var(--text-heading-2);
    line-height: var(--text-heading-2--line-height);
}

.marketing-site .text-heading-3 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3--line-height);
}

.marketing-site .text-heading-4 {
    font-size: var(--text-heading-4);
    line-height: var(--text-heading-4--line-height);
}

.marketing-site .text-heading-5 {
    font-size: var(--text-heading-5);
    line-height: var(--text-heading-5--line-height);
}

.marketing-site .text-heading-6 {
    font-size: var(--text-heading-6);
    line-height: var(--text-heading-6--line-height);
}

@media (min-width: 40rem) {
    .marketing-site .sm\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .sm\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }

    .marketing-site .sm\:text-heading-6 {
        font-size: var(--text-heading-6);
        line-height: var(--text-heading-6--line-height);
    }
}

@media (min-width: 48rem) {
    .marketing-site .md\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .md\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .md\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .md\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

@media (min-width: 64rem) {
    .marketing-site .lg\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .lg\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .lg\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }

    .marketing-site .lg\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }
}

@media (min-width: 80rem) {
    .marketing-site .xl\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .xl\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .xl\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .xl\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }

    .marketing-site .xl\:text-heading-6 {
        font-size: var(--text-heading-6);
        line-height: var(--text-heading-6--line-height);
    }
}

/* Heading utilities on h2/h3 beat default .nexsas-home scale */
.marketing-site .nexsas-home :is(h2, h3).text-heading-2,
.marketing-site .nexsas-footer :is(h2, h3).text-heading-2 {
    font-size: var(--text-heading-2);
    line-height: var(--text-heading-2--line-height);
}

.marketing-site .nexsas-home :is(h2, h3).text-heading-3,
.marketing-site .nexsas-footer :is(h2, h3).text-heading-3 {
    font-size: var(--text-heading-3);
    line-height: var(--text-heading-3--line-height);
}

.marketing-site .nexsas-home :is(h2, h3).text-heading-4,
.marketing-site .nexsas-footer :is(h2, h3).text-heading-4 {
    font-size: var(--text-heading-4);
    line-height: var(--text-heading-4--line-height);
}

.marketing-site .nexsas-home :is(h2, h3).text-heading-5,
.marketing-site .nexsas-footer :is(h2, h3).text-heading-5 {
    font-size: var(--text-heading-5);
    line-height: var(--text-heading-5--line-height);
}

.marketing-site .nexsas-home :is(h2, h3).text-heading-6,
.marketing-site .nexsas-footer :is(h2, h3).text-heading-6 {
    font-size: var(--text-heading-6);
    line-height: var(--text-heading-6--line-height);
}

@media (min-width: 40rem) {
    .marketing-site .nexsas-home :is(h2, h3).sm\:text-heading-4,
    .marketing-site .nexsas-footer :is(h2, h3).sm\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).sm\:text-heading-5,
    .marketing-site .nexsas-footer :is(h2, h3).sm\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).sm\:text-heading-6,
    .marketing-site .nexsas-footer :is(h2, h3).sm\:text-heading-6 {
        font-size: var(--text-heading-6);
        line-height: var(--text-heading-6--line-height);
    }
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-home :is(h2, h3).md\:text-heading-2,
    .marketing-site .nexsas-footer :is(h2, h3).md\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).md\:text-heading-3,
    .marketing-site .nexsas-footer :is(h2, h3).md\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).md\:text-heading-4,
    .marketing-site .nexsas-footer :is(h2, h3).md\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).md\:text-heading-5,
    .marketing-site .nexsas-footer :is(h2, h3).md\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

@media (min-width: 64rem) {
    .marketing-site .nexsas-home :is(h2, h3).lg\:text-heading-2,
    .marketing-site .nexsas-footer :is(h2, h3).lg\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).lg\:text-heading-3,
    .marketing-site .nexsas-footer :is(h2, h3).lg\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).lg\:text-heading-4,
    .marketing-site .nexsas-footer :is(h2, h3).lg\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).lg\:text-heading-5,
    .marketing-site .nexsas-footer :is(h2, h3).lg\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }
}

@media (min-width: 80rem) {
    .marketing-site .nexsas-home :is(h2, h3).xl\:text-heading-2,
    .marketing-site .nexsas-footer :is(h2, h3).xl\:text-heading-2 {
        font-size: var(--text-heading-2);
        line-height: var(--text-heading-2--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).xl\:text-heading-3,
    .marketing-site .nexsas-footer :is(h2, h3).xl\:text-heading-3 {
        font-size: var(--text-heading-3);
        line-height: var(--text-heading-3--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).xl\:text-heading-4,
    .marketing-site .nexsas-footer :is(h2, h3).xl\:text-heading-4 {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).xl\:text-heading-5,
    .marketing-site .nexsas-footer :is(h2, h3).xl\:text-heading-5 {
        font-size: var(--text-heading-5);
        line-height: var(--text-heading-5--line-height);
    }

    .marketing-site .nexsas-home :is(h2, h3).xl\:text-heading-6,
    .marketing-site .nexsas-footer :is(h2, h3).xl\:text-heading-6 {
        font-size: var(--text-heading-6);
        line-height: var(--text-heading-6--line-height);
    }
}

/* Explicit marketing section titles — h2 scale matches workflow-section__title */
.marketing-site .nexsas-home :is(
    h2.workflow-section__title,
    h2.quality-section__title,
    h2.capabilities-section__title,
    h2.feature-hero-card__title,
    h2.organizer-section__title,
    h2.faq-section__title
) {
    font-size: var(--text-heading-5);
    line-height: var(--text-heading-5--line-height);
}

@media (min-width: 48rem) {
    .marketing-site .nexsas-home :is(
        h2.workflow-section__title,
        h2.quality-section__title,
        h2.capabilities-section__title,
        h2.feature-hero-card__title,
        h2.organizer-section__title,
        h2.faq-section__title
    ) {
        font-size: var(--text-heading-4);
        line-height: var(--text-heading-4--line-height);
    }
}

.marketing-site .nexsas-home h3.feature-grid-card__title {
    font-size: var(--text-heading-6);
    line-height: var(--text-heading-6--line-height);
}

/* Visual rhythm — keep section titles, copy and cards on one scale */
.marketing-site .nexsas-home section {
    overflow-x: clip;
}

.marketing-site .nexsas-home section > .main-container > :is(.space-y-14, .lg\:space-y-14) {
    row-gap: 2.25rem;
}

.marketing-site .nexsas-home :is(.workflow-section__title, .quality-section__title, .capabilities-section__title, .feature-hero-card__title, .organizer-section__title) {
    letter-spacing: 0;
    text-wrap: balance;
}

.marketing-site .nexsas-home :is(.workflow-section__title, .quality-section__title, .capabilities-section__title, .organizer-section__title) + p,
.marketing-site .nexsas-home .feature-hero-card__title + p {
    max-width: 34rem;
    color: rgb(26 26 28 / 0.64);
}

.marketing-site .nexsas-home .feature-grid-card__title {
    font-weight: 600;
    letter-spacing: 0;
}

.marketing-site .nexsas-home .feature-grid-card__title + p,
.marketing-site .nexsas-home h4 + p,
.marketing-site .nexsas-home .feature-showcase-item p + p {
    color: rgb(26 26 28 / 0.62);
}

.marketing-site .nexsas-home figure.rounded-2xl,
.marketing-site .nexsas-home figure.rounded-xl,
.marketing-site .nexsas-home figure.md\:rounded-\[20px\] {
    background: linear-gradient(135deg, #f8f7ff 0%, #eef4ff 100%);
}

.marketing-site .nexsas-home figure.rounded-2xl img,
.marketing-site .nexsas-home figure.rounded-xl img,
.marketing-site .nexsas-home figure.md\:rounded-\[20px\] img {
    display: block;
}

.marketing-site .nexsas-home figure.aspect-\[4\/3\] {
    border: 1px solid #edf0f6;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.72);
}

.marketing-site .nexsas-home figure.aspect-\[4\/3\] img {
    padding: 0;
    object-fit: cover !important;
}

.marketing-site .nexsas-home .feature-grid-card__title,
.marketing-site .nexsas-home .feature-hero-card__title,
.marketing-site .nexsas-home h4 {
    min-height: auto;
}

.marketing-site .nexsas-home .feature-hero-card {
    display: flex;
    align-items: center;
    background-color: #fcfbff;
    background-image:
        radial-gradient(ellipse 78% 68% at 100% 0%, rgb(134 79 254 / 0.13) 0%, transparent 60%),
        radial-gradient(ellipse 56% 50% at 0% 100%, rgb(124 49 246 / 0.06) 0%, transparent 58%),
        linear-gradient(160deg, #ffffff 0%, #faf8ff 100%);
}

.dark .marketing-site .nexsas-home .feature-hero-card {
    background-color: var(--color-background-8);
    background-image:
        radial-gradient(ellipse 78% 68% at 100% 0%, rgb(134 79 254 / 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 56% 50% at 0% 100%, rgb(124 49 246 / 0.1) 0%, transparent 58%),
        linear-gradient(160deg, #101015 0%, #171225 100%);
}

.marketing-site .nexsas-home .feature-hero-card__glow {
    z-index: 0;
    opacity: 0.58;
}

.dark .marketing-site .nexsas-home .feature-hero-card__glow {
    opacity: 0.48;
}

/* Text color utilities — must not be overridden by heading size rules */
.marketing-site .text-white {
    color: #fff;
}

.marketing-site .text-accent {
    color: #fcfcfc;
}

.marketing-site .text-accent\/60 {
    color: rgb(252 252 252 / 0.6);
}

/* Blog CTA — main.css base h2/p colors override inherited text-white on dark backgrounds */
.marketing-site .blog-cta {
    color: #fff;
}

.marketing-site .blog-cta h2 {
    color: #fff;
}

.marketing-site .blog-cta p {
    color: rgb(252 252 252 / 0.82);
}

.marketing-site .blog-cta .blog-cta-eyebrow {
    color: rgb(252 252 252 / 0.68);
}

/* Icon font shapes used in feature lists */
.marketing-site [class*='ns-shape-'] {
    font-family: next-sass !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    display: inline-block;
}

/* Buttons — app Tailwind link/body color must not override template variants */
.marketing-site a.btn {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 9999px;
    border-width: 1px;
    border-style: solid;
    text-align: center;
    text-decoration: none;
    font-weight: 400;
    text-wrap: nowrap;
    text-transform: lowercase;
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
}

.marketing-site a.btn > span {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: inherit;
}

.marketing-site a.btn > span:first-letter {
    text-transform: uppercase;
}

.marketing-site a.btn.btn-md {
    min-width: 90px;
    padding: 0.625rem 1.25rem;
    font-size: var(--text-tagline-2);
    line-height: var(--text-tagline-2--line-height);
}

@media (min-width: 48rem) {
    .marketing-site a.btn.md\:btn-xl {
        padding: 0.875rem 2rem;
        font-size: var(--text-tagline-1);
        line-height: var(--text-tagline-1--line-height);
    }
}

.marketing-site a.btn.btn-primary {
    border-color: var(--color-primary-600);
    background-color: var(--color-primary-500);
    color: #fff !important;
}

.marketing-site a.btn.btn-secondary {
    border-color: var(--color-black);
    background-color: var(--color-secondary);
    color: #fff !important;
}

/* Hover variant classes (hover:btn-*) — must beat base btn color rules */
.marketing-site a.btn.btn-primary.hover\:btn-secondary:hover,
.marketing-site a.btn.hover\:btn-secondary:hover {
    border-color: var(--color-black);
    background-color: var(--color-secondary);
    color: #fff !important;
}

.marketing-site a.btn.btn-secondary.hover\:btn-primary:hover,
.marketing-site a.btn.hover\:btn-primary:hover {
    border-color: var(--color-primary-600);
    background-color: var(--color-primary-500);
    color: #fff !important;
}

.marketing-site a.btn.btn-primary.hover\:btn-white:hover,
.marketing-site a.btn.hover\:btn-white:hover {
    border-color: var(--color-stroke-3);
    background-color: #fff;
    color: var(--color-secondary) !important;
}

.marketing-site a.btn.btn-primary.hover\:btn-white:hover::before,
.marketing-site a.btn.hover\:btn-white:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='%231a1a1c' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.marketing-site a.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 0;
    height: 0;
    translate: 0 -50%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='white' viewBox='0 0 256 256'%3E%3Cpath d='M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z'%3E%3C/path%3E%3C/svg%3E");
}

.marketing-site a.btn:hover {
    scale: 1.02;
    transition: all 0.5s ease-in-out;
}

.marketing-site a.btn:hover::before {
    width: 0.75rem;
    height: 0.75rem;
    translate: -1rem -50%;
    opacity: 1;
}

.marketing-site a.btn:hover > span {
    translate: -0.5rem 0;
    transition: translate 0.3s ease-in-out;
}

/* Swiper testimonial layout */
.marketing-site .reviews-fade-in-swiper {
    overflow: visible;
    padding-top: 3.5rem;
}

.marketing-site .reviews-fade-in-swiper .swiper-slide {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
    transform: scale(0.96);
    filter: blur(4px);
}

.marketing-site .reviews-fade-in-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

.marketing-site .reviews-fade-in-pagination {
    margin-top: 1.5rem;
    text-align: center;
}

/* FAQ section — compact typography, isolated from global h2/h3 scales */
.marketing-site .faq-section__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.marketing-site .faq-section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.marketing-site .faq-section__eyebrow {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #864ffe;
}

.marketing-site .faq-section .faq-section__title {
    margin: 0;
    font-weight: 600;
    color: #1a1a1c;
}

.marketing-site .faq-section__subtitle {
    margin: 0;
    max-width: 28rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgb(26 26 28 / 0.65);
}

.marketing-site .faq-list {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.marketing-site .faq-item {
    margin: 0;
    border: 1px solid #e3e7ed;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem 1.25rem;
}

@media (min-width: 48rem) {
    .marketing-site .faq-item {
        padding: 1.125rem 1.5rem;
    }
}

.marketing-site .faq-item__question {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1a1a1c;
}

@media (min-width: 48rem) {
    .marketing-site .faq-item__question {
        font-size: 1rem;
    }
}

.marketing-site .faq-item__answer {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgb(26 26 28 / 0.65);
}

@media (min-width: 48rem) {
    .marketing-site .faq-item__answer {
        font-size: 0.9375rem;
    }
}

/* Progress step lines — initial state before GSAP runs */
.marketing-site .progress-line {
    width: 0;
    background-color: #864ffe;
}

/* Feature grid card icons —「還能幫你做到這些」*/
.marketing-site .feature-card-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    color: #864ffe;
    line-height: 0;
}

.marketing-site .feature-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.dark .marketing-site .feature-card-icon {
    color: #a78bfa;
}

@media (min-width: 40rem) {
    .marketing-site .feature-card-icon {
        width: 56px;
        height: 56px;
    }
}

/* Feature showcase — paired rows so left/right items align horizontally */
.marketing-site .feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.marketing-site .feature-showcase-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 40rem) {
    .marketing-site .feature-showcase-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (min-width: 64rem) {
    .marketing-site .feature-showcase {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
        grid-template-rows: repeat(3, minmax(0, 1fr));
        min-height: 670px;
        column-gap: 1rem;
        align-items: start;
    }

    .marketing-site .feature-showcase-row {
        display: contents;
    }

    .marketing-site .feature-showcase-item:first-child {
        grid-column: 1;
    }

    .marketing-site .feature-showcase-item:last-child {
        grid-column: 3;
    }

    .marketing-site .feature-showcase .feature-phone-showcase {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: end;
        justify-self: center;
        order: unset;
        height: 670px;
        max-height: none;
    }
}

@media (min-width: 80rem) {
    .marketing-site .feature-showcase {
        column-gap: 2rem;
    }
}

/* Feature phone mockup — align hand to bottom like Nexsas template */
.marketing-site .feature-phone-showcase {
    order: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-inline: auto;
    height: auto;
    max-height: min(72vh, 520px);
}

.marketing-site .feature-phone-showcase img {
    display: block;
    width: 100%;
    height: auto;
    max-height: inherit;
    object-fit: contain;
    object-position: bottom center;
}

@media (min-width: 64rem) {
    .marketing-site .feature-phone-showcase {
        height: 670px;
        max-height: none;
    }

    .marketing-site .feature-phone-showcase img {
        height: 100%;
        object-fit: cover;
        object-position: bottom center;
    }
}

/* CTA banner — layered purple gradient on dark base */
.marketing-site .cta-banner {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #1a1a1c;
    background-image:
        radial-gradient(ellipse 85% 75% at 100% 0%, rgba(134, 79, 254, 0.42) 0%, transparent 55%),
        radial-gradient(ellipse 65% 55% at 0% 100%, rgba(124, 49, 246, 0.28) 0%, transparent 50%),
        linear-gradient(125deg, #1a1a1c 0%, #2a1a42 42%, #1c1c2a 100%);
}

.dark .marketing-site .cta-banner {
    background-color: #0f0f11;
    background-image:
        radial-gradient(ellipse 85% 75% at 100% 0%, rgba(134, 79, 254, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 65% 55% at 0% 100%, rgba(124, 49, 246, 0.22) 0%, transparent 50%),
        linear-gradient(125deg, #0f0f11 0%, #1f1430 42%, #12121a 100%);
}
