:root {
    --spark-orange: #F06A2D;
    --logo-start-orange: #DF6B43;
    --spark-purple: #6B1448;
}

.svg-cls-2 {
    fill: none;
    stroke-width: .5px;
    stroke: #6B1448;
    stroke-miterlimit: 10;
}

.svg-cls-3 {
    stroke: #000;
    stroke-miterlimit: 10;
    fill: none;
    stroke-width: 2px;
}

.svg-cls-10 {
    font-family: 'Trebuchet MS', 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    fill: var(--spark-purple);
}

.label-text {
    opacity: 1;
    clip-path: inset(0 100% 0 0);
}

.flow-path {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
}

.flow-node {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    opacity: 0;
}

#flow-line-1-main-round,
#flow-line-1-sub-1-round,
#flow-line-1-sub-2-round,
#flow-line-3-main-round,
#flow-line-3-sub-1-round,
#flow-line-3-sub-2-round,
#flow-line-4-round,
#flow-line-5-round {
    transform-box: fill-box;
    transform-origin: center;
}

#website-icon-group,
#mobile-icon-group,
#chatbot-icon-group,
#automation-icon-group,
#ads-icon-group,
#ai-icon-group {
    opacity: 0;
}

#website-icon-group path,
#mobile-icon-group path,
#chatbot-icon-group path,
#automation-icon-group path {
    fill: #6B1448;
}

#ads-icon-group {
    fill: #6B1448;
}

#pivenor-logo-around {
    stroke: #000;
    filter: url(#diya-burst-glow);
}

#pivenor-logo-top,
#pivenor-logo-bottom {
    fill: var(--logo-start-orange);
}

#logo-burst {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 2.2px;
    opacity: 0;
    pointer-events: none;
    filter: url(#diya-burst-glow);
}

/* ================================================================
   DESKTOP / MOBILE SVG SHOW-HIDE
================================================================ */
.hero-svg-desktop {
    display: block;
}
/* !important overrides the inline style="display:block" on the mobile SVG */
#hero-svg-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-svg-desktop,
    #hero-svg {
        display: none !important;
    }
    /* Override the global #hero-svg-mobile hide rule above */
    #hero-svg-mobile {
        display: block !important;
        width: 75vw;
        max-width: 300px;
        height: auto;
        margin: 0 auto;
    }
}

/* ================================================================
   MOBILE SVG — element styles
   All IDs/classes are prefixed with `m-` to avoid collisions
   with the desktop SVG which lives in the same DOM.
================================================================ */

/* Rail guides */
.m-gsap-rail {
    fill: none;
    stroke: var(--spark-purple);
    stroke-width: 1.2px;
    stroke-dasharray: 1;           /* pathLength=1 draw technique */
    stroke-dashoffset: 1;          /* GSAP animates to 0 */
    stroke-linecap: round;
    opacity: 0;                    /* GSAP fades in */
}
/* After draw animation completes, GSAP adds this class for dashed look */
.m-gsap-rail.m-gsap-rail-drawn {
    stroke-dasharray: 3 3 !important;
    stroke-dashoffset: 0 !important;
    opacity: 0.28;
}

/* Flow overlay paths (orange animated lines) */
.m-flow-path {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 2.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
}

/* Tip dots */
.m-flow-node {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 2.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

/* Logo ring */
.m-svg-cls-3 {
    stroke: #000;
    stroke-miterlimit: 10;
    fill: none;
    stroke-width: 2px;
}

/* Logo burst ring */
#m-logo-burst {
    fill: none;
    stroke: var(--spark-orange);
    stroke-width: 2px;
    opacity: 0;
    pointer-events: none;
    filter: url(#m-diya-burst-glow);
}

/* Icon groups — hidden by default, GSAP reveals */
#m-website-icon-group,
#m-mobile-icon-group,
#m-ai-icon-group,
#m-chatbot-icon-group,
#m-automation-icon-group,
#m-ads-icon-group {
    opacity: 0;
}

/* Icon fill colour */
#m-website-icon-group path,
#m-mobile-icon-group path,
#m-chatbot-icon-group path,
#m-automation-icon-group path,
#m-ai-icon-group path {
    fill: #6B1448;
}
#m-ads-icon-group {
    fill: #6B1448;
}

/* AI icon uses stroke */
.m-svg-cls-2 {
    fill: none;
    stroke-width: 0.5px;
    stroke: #6B1448;
    stroke-miterlimit: 10;
}

/* Labels */
.m-svg-cls-10 {
    font-family: 'Trebuchet MS', 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 9px;
    font-weight: 500;
    fill: var(--spark-purple);
}
.m-label-text {
    opacity: 1;
    clip-path: inset(0 100% 0 0);  /* GSAP animates to inset(0 0% 0 0) */
}

/* Logo mark colours */
#m-pivenor-logo-around {
    stroke: #000;
    filter: url(#m-diya-burst-glow);
}
#m-pivenor-logo-top,
#m-pivenor-logo-bottom {
    fill: var(--logo-start-orange);
}
