/* Prism Light extends the home-light.css layout with a bright brand palette.
 * The same ribbon appears behind the product preview, video and contact panel.
 * All decoration is CSS; the original page content and controls stay semantic.
 */
:root {
    --prism-canvas: #f8faff;
    --prism-ribbon: url("/static/images/home/prism-ribbon.svg?v=20261129b");
    --prism-edge: linear-gradient(125deg, #93c5fd, #c4b5fd 52%, #fda4af);
    --bg-0: #f2f4fc;
    --bg-2: #f1f5ff;
    --bg-3: #eaf0fc;
    --line: #e1e5f2;
    --line-strong: #cbd3e8;
    --heading-muted: #5834bb;
    --grad-brand: linear-gradient(115deg, #4f46e5, #6d28d9);
    --card-shadow: 0 2px 4px #19265805, 0 18px 40px -26px #3533732b;
}

/* Light navigation and a single, consistent action colour. */
.site-header { background: #f8fafff2; }
.site-header.is-scrolled,
body.nav-open .site-header {
    background: #ffffffef;
    border-bottom-color: var(--line);
}
.brand b { color: #4f46e5; }
.scroll-progress span {
    background: linear-gradient(90deg, #2563eb, #7c3aed 55%, #fb7185);
}

/* An opaque white workspace sits in front of the ribbon. The copy has its
 * own quiet area on the left; the ribbon follows the workspace on small screens.
 */
.hero {
    background: linear-gradient(115deg, var(--prism-canvas) 60%, #fcf8ff);
}
.hero-bg .hero-glow { display: none; }
.hero-lines { opacity: .25; }
.hero h1 { color: #13223b; }
.hero h1 .heading-muted { color: #5834bb; }
.hero-description { color: #42536e; }
.hero-pill {
    background: #fff;
    border-color: #d5ddf0;
    box-shadow: 0 4px 16px -10px #4f46e54d;
}
.hero-visual::before, .contact-banner::before {
    content: "";
    position: absolute;
    background: var(--prism-ribbon) center / 100% 100% no-repeat;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
    pointer-events: none;
    opacity: .72;
    animation: prismRibbonDrift 26s ease-in-out infinite alternate;
}
.hero-visual::before {
    content: none;
}
.hero-flow-lines {
    position: absolute;
    inset: -65px -110px -70px -100px;
    width: calc(100% + 210px);
    height: calc(100% + 135px);
    max-width: none;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}
.hero-flow-lines path {
    fill: none;
    vector-effect: non-scaling-stroke;
    stroke-linecap: round;
}
.flow-track { stroke: url(#heroFlowColour); stroke-width: 1.3px; opacity: .78; }
.flow-highlight {
    stroke: #d58ba1;
    stroke-width: 2px;
    stroke-dasharray: 6 94;
    stroke-dashoffset: 0;
    opacity: .9;
    filter: drop-shadow(0 0 2px #e8a6b266);
    animation: prismFlowTravel 15s linear infinite;
    animation-play-state: paused;
}
.flow-highlight-2 { animation-delay: -5s; }
.flow-highlight-3 { animation-delay: -10s; }
.home-motion-ready .hero-flow-lines .flow-highlight { animation-play-state: running; }
.hero-flow-lines.is-paused .flow-highlight { animation-play-state: paused !important; }
.hero-showcase {
    background: linear-gradient(180deg, #fff, #fbfcff) padding-box, var(--prism-edge) border-box;
    box-shadow: 0 24px 60px -32px #273d7a38, 0 2px 4px #19265806;
}
.showcase-float { box-shadow: 0 14px 32px -16px #3b39854d; }
.industry-strip .section-badge { background: #fff; }
.industry-chip { box-shadow: 0 3px 12px -8px #4f46e526; }
.section-badge { background: linear-gradient(125deg, #eff4ff, #f4f0ff); }

/* Cool surfaces and a small amount of coral give the longer page a rhythm. */
.products-section { background: linear-gradient(180deg, #fff 65%, #f8faff); }
.services-section { background: linear-gradient(125deg, #edf4ff, #f4f0ff); }
.website-section {
    background:
        radial-gradient(ellipse at 95% 75%, #ffe4ea80, transparent 52%),
        linear-gradient(125deg, #f8fbff, #eff6ff 60%, #fff5f7);
}

.mentor-section { background: linear-gradient(180deg, #fcf8ff, #fff); }
.mentor-layout {
    background: linear-gradient(120deg, #fff, #f8f5ff 60%, #fff7f9) padding-box, var(--prism-edge) border-box;
}
.resources-section { background: #f1f5ff; }
.about-section {
    background: radial-gradient(ellipse at 5% 90%, #e9f8ff99, transparent 60%), #fff;
}
.faq-section,
.contact-section { background: var(--prism-canvas); }

/* Repeat the ribbon at the final action. A white surface protects the contact
 * controls from the colourful part of the background at every viewport width.
 */
.contact-banner {
    background: linear-gradient(110deg, #fff, #f8faff 60%, #fff5f7);
    color: var(--text);
    border-color: #dce2f1;
    box-shadow: 0 28px 65px -35px #5b499c4d;
}
.contact-banner::before {
    inset: -35px -65px auto auto;
    width: 600px;
    height: 400px;
    transform: none;
    opacity: .58;
    z-index: 0;
    animation-duration: 32s;
}
.contact-art {
    background-image: linear-gradient(#7c3aed08 1px, transparent 1px), linear-gradient(90deg, #7c3aed08 1px, transparent 1px);
}
.contact-copy { max-width: 560px; }
.contact-banner h2 { color: #13223b; }
.contact-banner p { color: #42536e; }
.contact-banner-actions {
    background: #fff;
    border: 1px solid #dfe4f1;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 16px 40px -24px #4f46e54d;
}
.contact-banner .button-white {
    background: var(--grad-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 24px -12px #4f46e566;
}
.contact-banner .button-white:hover { background: var(--grad-brand); filter: brightness(1.06); }
.contact-banner-actions > a:last-child { color: #324763; }
.contact-banner-actions > a:last-child:hover { color: var(--blue-light); }
.site-footer { background: linear-gradient(120deg, #f1f5ff, #f6f2ff 65%, #fff5f7); }
.site-footer::before {
    background: linear-gradient(90deg, transparent, #2563eb70, #7c3aed70, #fb718570, transparent);
}

@keyframes prismRibbonDrift {
    from { translate: 0 0; }
    to { translate: 10px -12px; }
}
@keyframes prismFlowTravel {
    to { stroke-dashoffset: -100; }
}
/* Pause continuous decoration without freezing text partway through an entrance. */
.home-motion-paused .hero-flow-lines .flow-highlight, .home-motion-paused .hero-bg .glow-a, .home-motion-paused .contact-banner::before, .home-motion-paused .showcase-float, .home-motion-paused .connection-mark span, .home-motion-paused .pill-dot { animation-play-state: paused !important; }
.preview-paused .hero-scene.is-active,
.preview-paused .hero-scene.is-active .workflow-step,
.preview-paused .hero-scene.is-active .workflow-check,
.preview-paused .hero-scene.is-active .preview-steps li { animation: none !important; }
@media (max-width: 1200px) and (min-width: 1024px) {
    .hero-flow-lines { inset: -55px -90px -60px -70px; width: calc(100% + 160px); height: calc(100% + 115px); }
}
@media (max-width: 1023px) {
    .hero-flow-lines { inset: -45px -85px -55px -70px; width: calc(100% + 155px); height: calc(100% + 100px); }
    .contact-banner::before { inset: -30px -120px auto auto; width: 520px; }
    .contact-banner-actions { padding: 20px; }
}
@media (max-width: 767px) {
    .hero-bg .glow-a {
        display: block;
        top: -20px;
        right: -90px;
        width: 330px;
        height: 180px;
        background: var(--prism-ribbon) center / 100% 100% no-repeat;
        border-radius: 0;
        -webkit-mask-image: none;
        mask-image: none;
        opacity: .45;
        pointer-events: none;
        animation: prismRibbonDrift 26s ease-in-out infinite alternate;
    }
    .hero-flow-lines {
        inset: -28px -55px -45px -45px;
        width: calc(100% + 100px);
        height: calc(100% + 73px);
    }
    
    .contact-banner::before {
        inset: calc(100% - 240px) -140px auto auto;
        width: 480px;
        height: 300px;
    }
    .contact-banner-actions { width: 100%; align-items: center; }
    .contact-banner-actions .button { width: 100%; padding-inline: 16px; font-size: .94rem; }
}
@media (max-width: 480px) {
    .menu-product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-flow-lines .flow-highlight { display: none; animation: none !important; }
    .hero-bg .glow-a, .hero-visual::before, .contact-banner::before { animation: none; }
}
