:root {
    --plot-accent: #3f6ac9;      /* blue accent */
    --plot-accent-soft: rgba(37,99,235,0.12);
    --plot-bg: linear-gradient(145deg, #f8fafc, #eef2f6);
    --plot-width: 1100px;       /* inner content max width */
    --plot-blue: #3f6ac9;
    --plot-charcoal: #111827;
    --plot-muted: #6b7280;
    --plot-bg: #f7f9fb;
    --plot-border: #e5e7eb;
}

.hero-section {
    position: relative;
    overflow: hidden;
    /* CRITICAL FIX: Base min-height handles layout constraints across all devices,
       allowing the container to naturally expand when scaled/zoomed */
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem; /* Balanced base padding for content breathing room */

    background:
        radial-gradient(900px 500px at 50% -20%, rgba(79, 172, 254, 0.18), transparent 70%),
        linear-gradient(180deg, #f9fcff 0%, #f3f9ff 45%, #edf6ff 100%);
}

/* Ambient light wash */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0.55),
            rgba(255,255,255,0.15),
            rgba(255,255,255,0.45)
        );

    opacity: 0.6;
    pointer-events: none;
}

/* Subtle grain for premium texture */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");

    pointer-events: none;
    opacity: 0.4;
}

/* Keep content pristine */
.hero-section > * {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* ==========================================================================
   MOBILE & TABLET: Scaled Content Fit (No Clipping) (< 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
    .hero-section {
        height: auto;
        min-height: auto;
        max-height: none;
        padding: 2rem 1rem 1.5rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        overflow: visible;
    }

    .hero-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-carousel-wrapper,
    .hero-carousel-track,
    .hero-slide {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .hero-content-wrapper {
        gap: 0.85rem;
        height: auto;
        justify-content: flex-start;
    }

    .hero-left-column {
        padding: 0;
    }

    .hero-headline {
        font-size: 1.45rem;
        margin-bottom: 0.5rem;
        line-height: 1.22;
        letter-spacing: -0.01em;
    }

    .hero-description {
        font-size: 0.825rem;
        margin-bottom: 0.85rem;
        line-height: 1.35;
        max-width: 28rem;
    }

    .hero-buttons-container {
        gap: 0.5rem;
        width: 100%;
    }

    .hero-button-primary,
    .hero-button-secondary {
        padding: 0.55rem 1.15rem;
        font-size: 0.825rem;
    }

    .hero-right-column {
        margin-top: 0.5rem;
    }

    .hero-image-container {
        max-width: 260px;
        margin: 0 auto;
        transform: rotate(0deg);
    }

    .hero-image {
        width: 100%;
        max-height: 70px;
        margin-left: 0;
        object-fit: contain;
    }
}

/* Desktop styles untouched */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 60vh !important;
        padding-top: 3rem;
        padding-bottom: 1rem;
    }
}

.hero-container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    height: 100%;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-content-wrapper {
        flex-direction: row;
    }
}

/* Left Column - Text Content */
.hero-left-column {
    position: relative; /* Added to establish stacking context */
    z-index: 10;        /* CRITICAL FIX: Ensures text and buttons never fall behind overlapping images */
    width: 100%;
    color: #2D3748;
    text-align: center;
    padding: 10px;
}
.hero-left-column h1 {
    color: #002d6b;
}

/* ==========================================================================
   MOBILE ONLY: Hide Stats Row & Compact Hero (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    .hero-stats-row {
        display: none !important;
    }

    .no-show-mobile{
        display: none;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .hero-content-wrapper {
        gap: 0.75rem;
    }

    .hero-headline {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        max-width: 22rem;
    }

    .hero-buttons-container {
        gap: 0.5rem;
    }

    .hero-button-primary,
    .hero-button-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   TABLET: Visible Stats Row with Balanced Spacing (768px - 1023px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-stats-row {
        display: flex;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .hero-section {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
        height: auto;
    }

    .hero-headline {
        font-size: 2rem;
    }
}
@media (min-width: 1024px) {
    .hero-left-column {
        width: 50%;
        text-align: left;
    }
}

.hero-headline {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 1.85rem;
    }
}
@media (min-width: 1024px) {
    .hero-headline {
        font-size: 2.25rem;
    }
}

.hero-highlight-text {
    color: #3f6ac9;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1024px) {
    .hero-description {
        margin-left: 0;
        margin-right: 0;
        font-size: 0.9rem;
    }
}

.hero-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
@media (min-width: 640px) {
    .hero-buttons-container {
        flex-direction: row;
    }
}
@media (min-width: 1024px) {
    .hero-buttons-container {
        justify-content: flex-start;
    }
}

.hero-button-primary {
    background-color: #3f6ac9;
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    text-decoration: none !important;
}
.hero-button-primary:hover {
    background-color: #1D4ED8;
    transform: scale(1.05);
}

.hero-button-secondary {
    border-width: 2px;
    border-color: #3f6ac9;
    color: #3f6ac9;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
    text-decoration: none !important;
}
.hero-button-secondary:hover {
    background-color: #3f6ac9;
    color: #FFFFFF;
    transform: scale(1.05);
}

.hero-button-icon {
    margin-right: 0.5rem;
}

/* Right Column - Image Showcase */
@media (min-width: 1024px) {
    .hero-right-column {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 32rem;
    transform: rotate(3deg);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-image-container:hover {
    transform: rotate(0deg);
}
@media (min-width: 1024px) {
    .hero-image-container {
        max-width: none;
    }
}

.hero-image {
    width: 80%;
    height: auto;
    border-radius: 0.75rem;
    border-width: 4px;
    border-color: #FFFFFF;
    object-fit: cover;
    margin-left: 100px;
    z-index: 9999;
}

.btn-focus-ring:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.4);
}

/* =========================================
CAROUSEL
========================================= */

[x-cloak] {
    display: none !important;
}

.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.hero-carousel-track {
    display: flex;
    transition: transform 1.15s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* =========================================
TRANSITIONS
========================================= */

.slide-horizontal-enter {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.slide-horizontal-enter-start {
    opacity: 0;
    transform: translateX(100%);
}
.slide-horizontal-enter-end {
    opacity: 1;
    transform: translateX(0);
}
.slide-horizontal-leave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease-in-out;
}
.slide-horizontal-leave-start {
    opacity: 1;
    transform: translateX(0);
}
.slide-horizontal-leave-end {
    opacity: 0;
    transform: translateX(-100%);
}

/* =========================================
BADGE
========================================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(63, 106, 201, 0.1);
    color: #3f6ac9;
    border: 1px solid rgba(63, 106, 201, 0.18);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}

/* =========================================
STATS
========================================= */

.hero-stats-row {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat-card {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.7);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.hero-stat-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.2rem;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: #6b7280;
}

/* =========================================
DOTS
========================================= */

.hero-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 2rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(63,106,201,0.25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-dot.active {
    width: 34px;
    background: #3f6ac9;
}

/* =========================================
AUTO APPLY IMAGE
========================================= */

.hero-right-column-force {
    display: flex !important;
}

.hero-image-container-auto {
    transform: rotate(0deg);
}

.hero-image-auto {
    width: 100%;
    max-width: 680px;
    margin-left: 0;
    filter: drop-shadow(0 30px 60px rgba(63,106,201,0.18));
}

/* =========================================
RESPONSIVE & SCALE OVERRIDES
========================================= */

@media (max-width: 1200px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 1.25rem;
    }
    .hero-headline {
        font-size: 2.3rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .hero-stats-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }
    .hero-headline {
        font-size: 1.5rem;
    }
    .hero-description {
        font-size: 0.86rem;
    }
    .hero-buttons-container {
        width: 100%;
    }
    .hero-button-primary,
    .hero-button-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .hero-stat-card {
        flex: 1 1 calc(50% - 1rem);
        min-width: unset;
    }
    .hero-image-auto {
        max-width: 100%;
    }
}

@media only screen
and (min-device-width: 1024px)
and (max-device-width: 1366px)
and (-webkit-min-device-pixel-ratio: 2) {
    .hero-right-column {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
    .hero-right-column-force {
        display: flex !important;
    }
}

/* Orbit container */
.orbit-container {
    position: absolute;
    top: 55%;
    left: 55%;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 1;
    animation: spin 12s linear infinite;
}

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

.orbit-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
}

.orbit-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    color: #3f6ac9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    animation: pulseOrbit 12s ease-in-out infinite;
}

@keyframes pulseOrbit {
    0%, 20%   { transform: translateX(200px); }
    40%       { transform: translateX(0px); }
    50%       { transform: translateX(0px); }
    70%, 100% { transform: translateX(200px); }
}

/* =========================================
   TEMPLATES SECTION
   ========================================= */
#templates {
    --tpl-a: url('https://res.cloudinary.com/dkmemoia1/image/upload/v1793873006/resume218_uliodc.png');
    --tpl-b: url('https://res.cloudinary.com/dkmemoia1/image/upload/v1793873008/resume224_s5w5ef.png');
    --tpl-c: url('https://res.cloudinary.com/dkmemoia1/image/upload/v1793873006/resume202_udfwzh.png');
    position: relative;
    isolation: isolate;
    padding: 90px 0;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    background:
        radial-gradient(60% 45% at 50% 58%, rgba(255, 255, 255, 0.16), transparent 70%),
        radial-gradient(700px 420px at 12% 0%, rgba(120, 170, 255, 0.35), transparent 70%),
        radial-gradient(600px 400px at 92% 100%, rgba(0, 212, 255, 0.18), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(180deg, #2f56b8 0%, #3f6ac9 40%, #4a6296 75%, #485975 100%);
}

#templates::before,
#templates::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 560px;
    height: 700px;
    background-repeat: no-repeat;
    opacity: 0.2;
    filter: drop-shadow(0 30px 40px rgba(10, 25, 60, 0.35)) blur(0.6px);
    pointer-events: none;
}

#templates::before {
    left: -170px;
    top: 30px;
    background-image: var(--tpl-a), var(--tpl-b);
    background-size: 330px auto, 290px auto;
    background-position: 0 0, 190px 130px;
    transform: rotate(-12deg);
    -webkit-mask-image: linear-gradient(to right, #000 35%, transparent 90%);
            mask-image: linear-gradient(to right, #000 35%, transparent 90%);
    animation: tpl-drift-left 14s ease-in-out infinite alternate;
}

#templates::after {
    right: -170px;
    bottom: 10px;
    background-image: var(--tpl-c), var(--tpl-a);
    background-size: 320px auto, 280px auto;
    background-position: 230px 0, 0 150px;
    transform: rotate(11deg);
    -webkit-mask-image: linear-gradient(to left, #000 35%, transparent 90%);
            mask-image: linear-gradient(to left, #000 35%, transparent 90%);
    animation: tpl-drift-right 16s ease-in-out infinite alternate;
}

@keyframes tpl-drift-left {
    from { transform: rotate(-12deg) translateY(0); }
    to   { transform: rotate(-9deg)  translateY(-22px); }
}
@keyframes tpl-drift-right {
    from { transform: rotate(11deg) translateY(0); }
    to   { transform: rotate(8deg)  translateY(20px); }
}

#templates .carousel-header {
    text-align: center;
    margin-bottom: 30px;
}
#templates .carousel-header h2 {
    font-weight: 800;
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 18px rgba(10, 25, 60, 0.35);
}
#templates .carousel-header p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    text-shadow: 0 1px 10px rgba(10, 25, 60, 0.3);
}

.carousel-track-container {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    white-space: nowrap;
    width: fit-content;
    padding: 24px 20px 24px 0;
    animation: slide 60s linear infinite;
    will-change: transform;
    position: relative;
}
.carousel-track-container:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.template-slide {
    flex: 0 0 auto;
    width: 210px;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    background: white;
    box-shadow: 0 12px 28px rgba(10, 25, 60, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.template-slide img {
    width: 450px;
    height: 300px;
    object-fit: contain;
    display: block;
}

.template-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 40px rgba(10, 25, 60, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.5);
    z-index: 3;
}

.carousel-viewport {
    overflow: hidden;
    padding: 30px 0;
    margin: -30px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

@media (max-width: 767px) {
    #templates { padding: 60px 0; }
    #templates .carousel-header h2 { font-size: 1.6rem; }
    #templates::before,
    #templates::after {
        width: 360px;
        height: 460px;
        opacity: 0.16;
    }
    #templates::before {
        left: -190px; top: 10px;
        background-size: 210px auto, 185px auto;
        background-position: 0 0, 120px 90px;
    }
    #templates::after {
        right: -190px; bottom: -40px;
        background-size: 205px auto, 180px auto;
        background-position: 150px 0, 0 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #templates::before, #templates::after { animation: none; }
    .templates-cta-btn { animation: none; }
    .plot-interactive-features::after { animation: none; }
    .motion-card::after { animation: none; }
}

.templates-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
    text-align: center;
}
.templates-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #2f56b8;
    background: #fff;
    border-radius: 9999px;
    text-decoration: none !important;
    box-shadow: 0 14px 34px rgba(10, 25, 60, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    animation: cta-pulse 2.6s ease-out infinite;
}
.templates-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    color: #1d3f94;
    box-shadow: 0 20px 44px rgba(10, 25, 60, 0.45);
    animation-play-state: paused;
}
.templates-cta-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.templates-cta-icon {
    transition: transform 0.25s ease;
}
.templates-cta-btn:hover .templates-cta-icon {
    transform: translateX(5px);
}
.templates-cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 8px rgba(10, 25, 60, 0.3);
}

@keyframes cta-pulse {
    0%   { box-shadow: 0 14px 34px rgba(10, 25, 60, 0.35), 0 0 0 0 rgba(255, 255, 255, 0.55); }
    70%  { box-shadow: 0 14px 34px rgba(10, 25, 60, 0.35), 0 0 0 16px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 14px 34px rgba(10, 25, 60, 0.35), 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (max-width: 767px) {
    .templates-cta { padding: 0 1.25rem; }
    .templates-cta-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

/* ===== Features Section ===== */
.plot-features-section {
    position: relative;
    padding: 5rem 1rem;
    z-index: 1;
    color: #fff;
}
.plot-features-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(#3f6ac9, rgba(29, 59, 102, 0.8)),
        url('../bg3.jpg') center/cover no-repeat;
    z-index: -1;
}

.plot-features-container { max-width: 1200px; margin: 0 auto; }
.plot-features-header { text-align: center; margin-bottom: 3rem; }
.plot-features-header h2 { font-size: 2.2rem; font-weight: 700; color: white; margin-bottom: 0.75rem; }
.plot-features-header p { font-size: 1rem; color: white; }

.plot-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plot-feature-card {
    background-color:white;
    backdrop-filter: blur(10px);
    border-radius: 2.5rem 0 2.5rem 0;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.plot-feature-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 10px;
    background: linear-gradient(180deg, var(--plot-accent), #00d4ff);
    transform: skewX(-18deg) translateX(-4px);
    border-top-left-radius: 2rem;
    border-bottom-left-radius: 2rem;
    box-shadow: 0 6px 20px rgba(37,99,235,0.12);
}
.plot-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}
.plot-feature-card:hover::before { opacity: 1; }

.plot-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}
.plot-feature-card:hover .plot-feature-icon {
    transform: scale(1.1) rotate(5deg);
}
.plot-feature-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.6rem;
}
.plot-feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Background styling with gradient + subtle noise */
#how-it-works {
    font-family: 'Inter', sans-serif;
    padding: 5rem 1rem;
    background: linear-gradient(145deg, #f8fafc, #eef2f6);
    position: relative;
    overflow: hidden;
}
#how-it-works::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/noise.png');
    opacity: 0.05;
}
#how-it-works::after {
    content: "";
    position: absolute;
    top: -20%; left: -20%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 20% 20%, rgba(0,123,255,0.07), transparent 50%);
    z-index: 0;
}

.how-it-works-container {
    max-width: 72rem;
    margin: auto;
    position: relative;
    z-index: 1;
}
.how-it-works-header { text-align: center; margin-bottom: 4rem; }
.how-it-works-header h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: #111827; }
.how-it-works-header p { font-size: clamp(1rem, 2vw, 1.25rem); color: #4b5563; margin-top: 0.75rem; }

#how-it-works-steps { display: flex; flex-direction: column; gap: 7rem; }
.how-it-works-step { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.how-it-works-step.reverse { flex-direction: column-reverse; }

@media (min-width: 768px) {
    .how-it-works-step { flex-direction: row; gap: 4rem; }
    .how-it-works-step.reverse { flex-direction: row-reverse; }
}

.how-it-works-step-content { flex: 1; text-align: center; }
@media (min-width: 768px) {
    .how-it-works-step-content { text-align: left; }
    .how-it-works-step.reverse .how-it-works-step-content { text-align: right; }
}
.how-it-works-step-content h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; color: #111827; margin-bottom: 0.75rem; }
.how-it-works-step-content p { font-size: 1.125rem; color: #374151; line-height: 1.625; }

.step-card {
    background: white;
    padding: 1rem;
    border-radius: 2rem 0 2rem 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    max-width: 26rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(0,123,255,0.05);
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: rgba(0,123,255,0.15);
}
.step-card img { width: 100%; border-radius: 1rem; }

.step-number {
    position: absolute;
    top: -5px; left: -5px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    color: white; font-size: 1.5rem; font-weight: bold;
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
}

.reveal-left, .reveal-right { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal-left.active, .reveal-right.active { opacity: 1; transform: translateY(0); }
.step-connector { display: none; }
@media (min-width: 768px) {
    .step-connector { display: block; position: absolute; left: 50%; transform: translateX(-50%); z-index: 0; }
}

/* ===== Counter Section ===== */
.plot-number-counter-section {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
    background-color: #1d3b66;
    overflow: hidden;
}
.plot-number-counter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(29, 59, 102, 0.8), rgba(29, 59, 102, 0.8)),
        url('../19312.jpg') center/cover no-repeat;
    z-index: 0;
}
.plot-number-counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 2.5rem 0 2.5rem 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.plot-number-counter-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cccccc' fill-opacity='0.06'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
.plot-number-counter-card::after {
    content: "";
    position: absolute;
    top: -30px; right: -30px;
    width: 120px; height: 120px;
    background: rgba(0, 132, 255, 0.1);
    border-radius: 50%; z-index: 0;
}

.plot-number-left, .plot-number-right { position: relative; z-index: 1; }
.plot-number-display { display: flex; justify-content: center; gap: 0.4rem; margin-bottom: 1rem; }
.plot-digit { background: #1d3b66; width: 50px; height: 70px; overflow: hidden; border-radius: 0.3rem; position: relative; }
.plot-digit-inner { position: absolute; top: 0; left: 0; width: 100%; transition: transform 0.4s ease-in-out; }
.plot-digit-inner span { display: block; height: 70px; line-height: 70px; font-size: 2rem; font-weight: bold; text-align: center; color: #fff; }
.plot-number-text { font-size: 1.5rem; max-width: 350px; margin: 0 auto; line-height: 1.4; color: #0a2342; font-weight: 600; text-align: center; }

@media (min-width: 768px) {
    .plot-number-counter-card { flex-direction: row; align-items: center; justify-content: center; padding: 2rem 3rem; }
    .plot-number-left { margin-right: 2rem; }
    .plot-number-text { text-align: left; }
}

.plot-faq-section {
    width: 100%;
    background: var(--plot-bg);
    position: relative;
    padding: 3.5rem 1rem;
    box-sizing: border-box;
    overflow: visible;
}
.plot-faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23999' fill-opacity='0.03'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.plot-faq-inner {
    max-width: var(--plot-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.plot-faq-header { text-align: center; margin-bottom: 2rem; }
.plot-faq-header h2 { font-family: "Inter", system-ui, -apple-system, Arial; font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 800; color: #002d6b; margin: 0; }
.plot-faq-sub { color: #475569; margin-top: 0.5rem; font-size: 1rem; }
.plot-faq-accordion { display: grid; gap: 1rem; }
.plot-faq-item { position: relative; }

.plot-faq-question {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: none;
    background: #ffffff;
    padding: 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 2rem 0 2rem 0;
    box-shadow: 0 10px 28px rgba(12, 22, 40, 0.06);
    position: relative;
    z-index: 2;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    font-weight: 600;
    color: #0f1724;
    font-size: 1rem;
    overflow: visible;
}
.plot-faq-question::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 10px;
    background: linear-gradient(180deg, var(--plot-accent), #00d4ff);
    transform: skewX(-18deg) translateX(-4px);
    border-top-left-radius: 2rem; border-bottom-left-radius: 2rem;
    box-shadow: 0 6px 20px rgba(37,99,235,0.12);
}
.plot-faq-question::after {
    content: "";
    position: absolute; right: -20px; top: 50%;
    transform: translateY(-50%) rotate(18deg);
    width: 40px; height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(0,0,0,0.04), transparent 40%);
    border-radius: 8px; opacity: 0.15; pointer-events: none;
}
.plot-faq-question .plot-faq-question-title { display: block; flex: 1; padding-left: 0.75rem; }
.plot-faq-question .plot-faq-question-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px; background: transparent; color: var(--plot-accent);
    transition: transform 0.28s ease; flex-shrink: 0;
}
.plot-faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(.2,.9,.25,1), padding 0.25s ease;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
    border-radius: 0 0 1.25rem 0;
    box-shadow: 0 6px 18px rgba(12, 22, 40, 0.04);
    margin-top: -6px;
    padding: 0 1.25rem;
    z-index: 1;
}
.plot-faq-answer p { margin: 1rem 0; color: #334155; line-height: 1.6; }

.plot-faq-item.active .plot-faq-question { transform: translateY(-6px); box-shadow: 0 22px 42px rgba(12, 22, 40, 0.10); }
.plot-faq-item.active .plot-faq-question::before { box-shadow: 0 10px 30px rgba(37,99,235,0.16); width: 12px; }
.plot-faq-item.active .plot-faq-question .plot-faq-question-icon { transform: rotate(180deg); color: #0f1724; }
.plot-faq-item.active .plot-faq-answer { padding-top: 1rem; padding-bottom: 1.15rem; }

@media (max-width: 768px) {
    .plot-faq-inner { padding: 0 1rem; }
    .plot-faq-question { padding: 1rem; border-radius: 1.2rem; font-size: 0.98rem; }
    .plot-faq-question::before { width: 8px; transform: skewX(-18deg) translateX(-3px); }
    .plot-faq-answer { border-radius: 0 0 1rem 0; margin-top: -5px; }
    .plot-faq-header h2 { font-size: 1.5rem; }
}
@media (min-width: 920px) {
    .plot-faq-accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.plot-interactive-features {
    position: relative;
    padding: 5.5rem 1.5rem;
    height: auto;
    overflow: hidden;
    background:
        radial-gradient(1200px 700px at 20% 15%, rgba(78, 131, 255, 0.22), rgba(0,0,0,0) 60%),
        radial-gradient(900px 600px at 85% 25%, rgba(90, 214, 255, 0.14), rgba(0,0,0,0) 55%),
        radial-gradient(1000px 800px at 45% 90%, rgba(156, 92, 255, 0.13), rgba(0,0,0,0) 60%),
        linear-gradient(180deg, #071a3a 0%, #06122a 60%, #040b1a 100%);
}
.plot-interactive-features::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background:
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.20) 0 1px, transparent 2px),
        radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.16) 0 1px, transparent 2px),
        radial-gradient(1px 1px at 75% 20%, rgba(255,255,255,0.14) 0 1px, transparent 2px),
        radial-gradient(1px 1px at 35% 85%, rgba(255,255,255,0.10) 0 1px, transparent 2px),
        radial-gradient(1px 1px at 90% 55%, rgba(255,255,255,0.12) 0 1px, transparent 2px);
    mix-blend-mode: soft-light;
}
.plot-interactive-features::after {
    content: "";
    position: absolute;
    inset: -120px;
    pointer-events: none;
    background:
        radial-gradient(circle 220px at 12% 18%, rgba(105, 160, 255, 0.18) 0 60%, rgba(105,160,255,0) 61%),
        radial-gradient(circle 90px  at 22% 12%, rgba(90, 214, 255, 0.16) 0 60%, rgba(90,214,255,0) 61%),
        radial-gradient(circle 140px at 26% 28%, rgba(170, 120, 255, 0.14) 0 60%, rgba(170,120,255,0) 61%),
        radial-gradient(circle 260px at 88% 22%, rgba(90, 214, 255, 0.14) 0 60%, rgba(90,214,255,0) 61%),
        radial-gradient(circle 120px at 78% 34%, rgba(105, 160, 255, 0.16) 0 60%, rgba(105,160,255,0) 61%),
        radial-gradient(circle 85px  at 92% 40%, rgba(170, 120, 255, 0.12) 0 60%, rgba(170,120,255,0) 61%),
        radial-gradient(circle 320px at 18% 88%, rgba(170, 120, 255, 0.12) 0 58%, rgba(170,120,255,0) 59%),
        radial-gradient(circle 140px at 30% 78%, rgba(90, 214, 255, 0.12) 0 58%, rgba(90,214,255,0) 59%),
        radial-gradient(circle 300px at 88% 86%, rgba(105, 160, 255, 0.12) 0 58%, rgba(105,160,255,0) 59%),
        radial-gradient(circle 120px at 76% 92%, rgba(90, 214, 255, 0.10) 0 58%, rgba(90,214,255,0) 59%);
    filter: blur(0px);
    opacity: 0.95;
    animation: plot-bg-float 18s ease-in-out infinite;
    transform: translate3d(0,0,0);
}
.plot-interactive-features > * { position: relative; z-index: 1; }
.plot-interactive-features .plot-section-header h2,
.plot-interactive-features .plot-section-header p { color: rgba(255, 255, 255, 0.92); }
@keyframes plot-bg-float {
    0%   { transform: translate3d(0px, 0px, 0); }
    50%  { transform: translate3d(-18px, 14px, 0); }
    100% { transform: translate3d(0px, 0px, 0); }
}

.plot-section-header { text-align: center; margin-bottom: 3.5rem; color: #fff; }
.plot-section-header h2 { font-weight: 700; font-size: 2rem; color: #ffffff; margin-bottom: .5rem; }
.plot-section-header p { color: #e7ecf7; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.plot-align-container { max-width: 1280px; margin: 0 auto; display: flex; align-items: flex-start; position: relative; }
.plot-lady-card {
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px); padding: 1.6rem; border-radius: 20px; box-shadow: 0 20px 55px rgba(0,0,0,0.25);
}
.plot-lady-image { width: 100%; max-width: 420px; display: block; }
.plot-cards-wrapper { position: absolute; top: 8%; display: flex; flex-direction: column; gap: 18px; z-index: 5; }

.plot-feature-card {
    width: 480px; padding: 1.1rem 1.4rem 1.1rem 2.6rem;
    background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.28); border-radius: 14px;
    display: flex; flex-direction: column; gap: 3px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15), inset 0 0 0 0 rgba(255,255,255,0.4);
    opacity: 0; transform: translateX(80px); transition: opacity .8s ease, transform .8s ease;
}
.plot-feature-card.is-visible { opacity: 1; transform: translateX(0); }
.plot-feature-card:hover { transform: translateX(0) translateY(-4px); box-shadow: 0 18px 36px rgba(0,0,0,.25); }
.plot-feature-card::before {
    content: ""; position: absolute; top: 1rem; left: .95rem; width: 12px; height: 12px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 6px rgba(255,255,255,0.9), 0 0 12px rgba(63,106,201,0.3);
}
.plot-card-title { font-size: 1.05rem; font-weight: 700; color: #ffffff; letter-spacing: -0.01em; }
.plot-card-desc { font-size: .92rem; color: #eef1f7; line-height: 1.35; opacity: .95; }
.plot-feature-card.is-visible { opacity: 1; transform: translateX(0); }

@media (max-width: 992px) {
    .plot-align-container { flex-direction: column; align-items: center; }
    .plot-cards-wrapper { position: relative; top: 1.5rem; left: 0 !important; align-items: center; }
    .plot-feature-card { width: 90%; max-width: 500px; }
}
@media (max-width: 768px) {
    .plot-lady-card { max-width: 290px; margin: 0 auto; }
    .plot-cards-wrapper { position: relative; top: -1rem; align-items: center; gap: 16px; }
    .plot-feature-card { width: 100%; max-width: 330px; padding: 1rem 1.2rem 1rem 2.5rem; }
    .plot-feature-card::before { width: 10px; height: 10px; left: .8rem; }
    .plot-card-title { font-size: 1rem; }
}

.ltd-countdown-sticky {
    position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 9999;
    background: rgba(220, 38, 38, 0.95); backdrop-filter: blur(10px); padding: 15px 12px;
    border-radius: 12px; box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2); color: white; text-align: center;
    width: 90px; display: flex; flex-direction: column; gap: 8px; transition: all 0.3s ease;
}
.ltd-label { font-size: 9px; font-weight: 800; letter-spacing: 0.05em; opacity: 0.9; }
.ltd-timer-display { display: flex; flex-direction: column; gap: 4px; }
.timer-segment { background: rgba(0, 0, 0, 0.2); border-radius: 6px; padding: 4px 0; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.timer-segment span { font-size: 1.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.timer-segment small { font-size: 8px; font-weight: 600; opacity: 0.7; }
.ltd-claim-link { font-size: 9px; color: white; text-decoration: none; font-weight: 700; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 8px; margin-top: 4px; }

@media (max-width: 640px) {
    .ltd-countdown-sticky { top: auto; bottom: 20px; left: 10px; transform: none; width: 80px; padding: 10px 8px; }
}

.activate-lifetime-section {
    position: relative; padding: 100px 20px; color: white; overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center; margin: 0; border: none;
}
.activate-lifetime-section::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(rgba(72, 89, 117, 0.85), lightgray), url('https://res.cloudinary.com/dkmemoia1/image/upload/v1775500749/time-is-passing-blue-hourglass-close-up_1_rn0czw.webp') center/cover no-repeat;
    z-index: 0;
}
.activate-container { position: relative; z-index: 1; max-width: 800px; }
.activate-badge { background: var(--plot-accent); padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; display: inline-block; margin-bottom: 20px; }
.activate-title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-bottom: 20px; color: white !important; }
.activate-text { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; line-height: 1.6; }
.activate-btn {
    background: white; color: #071a3a; padding: 16px 36px; border-radius: 12px; font-weight: 800;
    text-decoration: none; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.activate-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,255,255,0.15); background: #f8fafc; }
.activate-note { display: block; margin-top: 15px; font-size: 0.85rem; opacity: 0.6; }

.jobs-ticker-section {
    padding: 3.5rem 0 4rem 0; background-color: var(--plot-bg);
    border-top: 1px solid var(--plot-border); border-bottom: 1px solid var(--plot-border);
    overflow: hidden; position: relative; padding-top: 1.5rem !important;
}
.jobs-ticker-header { text-align: center; max-width: var(--plot-width); margin: 0 auto 2.25rem auto; padding: 0 1.25rem; }
.ticker-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
    color: var(--plot-blue); background-color: var(--plot-accent-soft); border-radius: 9999px; margin-bottom: 0.75rem;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background-color: var(--plot-blue); box-shadow: 0 0 0 0 rgba(63, 106, 201, 0.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 106, 201, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(63, 106, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 106, 201, 0); } }
.ticker-title { font-size: 1.5rem; font-weight: 700; color: var(--plot-charcoal); margin: 0; letter-spacing: -0.02em; }
.ticker-wrapper { display: flex; flex-direction: column; gap: 1rem; width: 100%; mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.ticker-row { display: flex; overflow: hidden; user-select: none; width: 100%; }
.ticker-track { display: flex; gap: 1rem; min-width: max-content; will-change: transform; }
.ticker-track:hover { animation-play-state: paused; }
.marquee-forward { animation: marquee-scroll-left 45s linear infinite; }
.marquee-reverse { animation: marquee-scroll-right 45s linear infinite; }
@keyframes marquee-scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-scroll-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.job-card {
    display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 1.15rem; background: #ffffff;
    border: 1px solid var(--plot-border); border-radius: 12px; text-decoration: none; color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.job-card:hover { transform: translateY(-2px); border-color: rgba(63, 106, 201, 0.4); box-shadow: 0 8px 18px rgba(63, 106, 201, 0.08); }
.job-card-logo { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: #f1f5f9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(0, 0, 0, 0.04); }
.job-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-fallback { font-size: 0.875rem; font-weight: 700; color: var(--plot-blue); }
.job-card-info { display: flex; flex-direction: column; gap: 0.15rem; }
.job-card-title { font-size: 0.875rem; font-weight: 600; color: var(--plot-charcoal); margin: 0; line-height: 1.2; }
.job-card-meta { font-size: 0.775rem; color: var(--plot-muted); display: flex; align-items: center; gap: 0.35rem; }
.dot-separator { color: #d1d5db; }
.job-card-badges { display: flex; align-items: center; gap: 0.4rem; margin-left: 0.5rem; }
.badge { font-size: 0.7rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 6px; }
.badge-remote { background-color: var(--plot-accent-soft); color: var(--plot-blue); }
.badge-salary { background-color: #f3f4f6; color: var(--plot-charcoal); }

.jobs-ticker-cta { display: flex; justify-content: center; margin-top: 2.5rem; }
.btn-demure-cta {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.75rem 1.75rem; font-size: 0.925rem; font-weight: 600;
    color: #ffffff; background: linear-gradient(135deg, var(--plot-blue), #2563eb); border-radius: 9999px; text-decoration: none;
    box-shadow: 0 4px 14px rgba(63, 106, 201, 0.22); transition: all 0.2s ease;
}
.btn-demure-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(63, 106, 201, 0.35); background: linear-gradient(135deg, #3258b5, #1d4ed8); }
.btn-demure-cta svg { transition: transform 0.2s ease; }
.btn-demure-cta:hover svg { transform: translateX(3px); }

@media only screen and (max-width: 380px) {
    .jobs-ticker-section { padding: 0.5rem 0 1rem 0 !important; }
    .ticker-title { font-size: 1rem; }
    .hero-headline { font-size: 1.2rem; }
    .hero-description { font-size: 0.9rem; }
    .hero-button-primary, .hero-button-secondary { font-size: 0.7rem; padding: 0.45rem 0.9rem; }
}

.blob { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; }
.b-blue { width: 600px; height: 600px; background: rgba(63, 106, 201, 0.15); left: -100px; top: -150px; }
.b-light { width: 500px; height: 500px; background: rgba(0, 212, 255, 0.15); right: -50px; bottom: -150px; }

.motion-showcase-container {
    position: relative; width: 100%; height: 550px; display: flex; align-items: center; justify-content: center; perspective: 1500px; z-index: 2;
}

.motion-card {
    position: absolute;
    width: 310px;
    height: 438px;
    background: #fff; border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8);
    overflow: hidden; will-change: transform, opacity; transform-origin: bottom center;
}
.motion-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,0.2), transparent 35%); pointer-events: none; }

.motion-pill {
    position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border: 1px solid rgba(63, 106, 201, 0.2);
    color: #111827; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    display: flex; align-items: center; gap: 8px; will-change: transform, opacity; z-index: 10;
}
.motion-pill i { color: var(--plot-accent); font-size: 1rem; }

@media (max-width: 1023px) {
    .motion-showcase-container { height: 400px; transform: scale(0.75); }
    .hero-section { overflow-x: clip; }
    .b-blue  { width: 320px; height: 320px; left: -120px; top: -80px; }
    .b-light { width: 280px; height: 280px; right: -100px; bottom: -60px; }

    .hero-right-column, .hero-right-column-force {
        display: flex !important; width: 100%; justify-content: center; margin-top: 0.25rem;
    }

    .motion-showcase-container {
        --card-w: clamp(150px, 48vw, 240px);
        --card-h: calc(var(--card-w) * 1.413);
        flex: 0 0 100vw; width: 100vw; height: calc(var(--card-h) * 0.96); transform: none; margin-top: 0;
        overflow: hidden; align-items: flex-end; perspective: 1000px;
        -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
                mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    }

    .motion-card { width: var(--card-w); height: var(--card-h); margin-bottom: calc(var(--card-h) * -0.15); border-radius: 10px; box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16); }
    .mc-1, .mc-3 { z-index: 1; }
    .mc-2        { z-index: 3; }
    .motion-card::after { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 45%, transparent 60%); background-size: 250% 100%; animation: card-sheen 4.5s ease-in-out infinite; }
    .mc-1::after { animation-delay: 0.6s; }
    .mc-3::after { animation-delay: 1.4s; }
    .motion-pill { display: flex; padding: 7px 12px; font-size: 0.7rem; z-index: 10; }
    .mp-1 { top: 6%;  left: 3%;  }
    .mp-2 { top: 30%; right: 3%; }
    .mp-3 { display: none; }
}
@media (max-width: 767px) {
    .motion-showcase-container { height: 350px; transform: scale(0.6); margin-top: -2rem; }
    .motion-pill { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .motion-showcase-container { --card-w: clamp(220px, 30vw, 290px); }
    .motion-pill { padding: 10px 18px; font-size: 0.85rem; }
}

@keyframes card-sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }

/* CRITICAL FIX: Compact desktop & High Zoom viewports.
   Expanded from max-width: 1279px to 1440px to ensure scaled 1280px layouts
   (150% zoom on 1080p monitors) accurately shrink the GSAP fan container to prevent overlap. */
@media (min-width: 1024px) and (max-width: 1440px) {
    .hero-right-column { min-width: 0; }
    .motion-showcase-container { height: 440px; }
    .motion-card { width: 220px; height: 310px; }
}





/* Mobile fix for motion */

/* Mobile Adjustments for Motion Area */
@media (max-width: 1023px) {
    .motion-showcase-container {
        height: 400px;
        transform: scale(0.75);
    }
}
@media (max-width: 767px) {
    .motion-showcase-container {
        height: 350px;
        transform: scale(0.6);
        margin-top: -2rem;
    }
    .motion-pill {
        display: none; /* Hide pills on extra small screens to prevent clutter */
    }
}


/* =========================================
   MOBILE / TABLET RESUME SHOWCASE
   (layout only: GSAP owns all card transforms)
   ========================================= */
@media (max-width: 1023px) {

    .hero-section { overflow-x: clip; }
    .b-blue  { width: 320px; height: 320px; left: -120px; top: -80px; }
    .b-light { width: 280px; height: 280px; right: -100px; bottom: -60px; }

    .hero-right-column,
    .hero-right-column-force {
        display: flex !important;
        width: 100%;
        justify-content: center;
        margin-top: 0.25rem;
    }

    .motion-showcase-container {
        --card-w: clamp(150px, 48vw, 240px);
        --card-h: calc(var(--card-w) * 1.413);

        flex: 0 0 100vw;           /* full-bleed: clip at the screen edge, not the padded container */
        width: 100vw;
        height: calc(var(--card-h) * 0.96);
        transform: none;
        margin-top: 0;
        overflow: hidden;
        align-items: flex-end;
        perspective: 1000px;
        -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
                mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
    }

    .motion-card {
        width: var(--card-w);
        height: var(--card-h);
        margin-bottom: calc(var(--card-h) * -0.15);  /* crop the bottom 15% */
        border-radius: 10px;
        box-shadow: 0 18px 36px rgba(17, 24, 39, 0.16);
    }
    .mc-1, .mc-3 { z-index: 1; }
    .mc-2        { z-index: 3; }   /* centre card in front on mobile */

    .motion-card::after {
        background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 45%, transparent 60%);
        background-size: 250% 100%;
        animation: card-sheen 4.5s ease-in-out infinite;
    }
    .mc-1::after { animation-delay: 0.6s; }
    .mc-3::after { animation-delay: 1.4s; }

    /* Optional pills (only if you uncomment them in the Blade) */
    .motion-pill { display: flex; padding: 7px 12px; font-size: 0.7rem; z-index: 10; }
    .mp-1 { top: 6%;  left: 3%;  }
    .mp-2 { top: 30%; right: 3%; }
    .mp-3 { display: none; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .motion-showcase-container { --card-w: clamp(220px, 30vw, 290px); }
    .motion-pill { padding: 10px 18px; font-size: 0.85rem; }
}

@keyframes card-sheen {
    0%        { background-position: 150% 0; }
    60%, 100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .motion-card::after { animation: none; }
}


/* Compact desktop: iPad Pro, small laptops (1024-1279px).
   The right column is only ~470px wide here, so shrink the fan to fit it. */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-right-column { min-width: 0; }
    .motion-showcase-container { height: 440px; }
    .motion-card { width: 200px; height: 283px; }
}
