.codingpage.hackathon-blogr.heading-page.header-text h1 {
    max-width: 950px;
    margin: 0 auto 22px;
    color: var(--cw-navy);
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.codingpage.hackathon-blog.heading-page.header-text p {
    max-width: 880px;
    margin: 0 auto;
    color: #e4e5e7;
    font-size: 16px;
    line-height: 1.9;
}

/* =========================================================
   CODEWORD — HOW TO USE GUIDE
   File: /assets/css/how-to-use-codeword.css
   Scoped styles: does not override other website pages.
========================================================= */

.cw-guide {
    --cw-navy: #183c70;
    --cw-deep: #0b1d36;
    --cw-orange: #f58220;
    --cw-orange-dark: #dc6d12;
    --cw-text: #26364b;
    --cw-muted: #64748b;
    --cw-border: #e1e7ef;
    --cw-light: #f5f8fc;

    color: var(--cw-text);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    overflow: hidden;
}

.cw-guide *,
.cw-guide *::before,
.cw-guide *::after {
    box-sizing: border-box;
}

.cw-guide .cw-wrap {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.cw-guide h2,
.cw-guide h3 {
    line-height: 1.35;
}

.cw-guide p {
    margin-top: 0;
}

.cw-guide a {
    overflow-wrap: anywhere;
}

/* HERO */
.cw-guide .cw-hero {
    padding: 76px 0;
    background: linear-gradient(135deg, #f7f9fd 0%, #edf3fb 100%);
}

.cw-guide .cw-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: center;
    gap: 48px;
}

.cw-guide .cw-pill,
.cw-guide .cw-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--cw-orange-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.cw-guide .cw-pill {
    padding: 8px 13px;
    border: 1px solid #f4d4b8;
    border-radius: 30px;
    background: #fff2e7;
}

.cw-guide .cw-hero-copy h2 {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--cw-deep);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
}

.cw-guide .cw-hero-copy>p {
    max-width: 720px;
    color: #526176;
    font-size: 15px;
    line-height: 1.9;
}

.cw-guide .cw-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.cw-guide .cw-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.cw-guide .cw-btn-orange {
    background: var(--cw-orange);
    color: #fff;
}

.cw-guide .cw-btn-orange:hover,
.cw-guide .cw-btn-orange:focus-visible {
    border-color: var(--cw-orange-dark);
    background: var(--cw-orange-dark);
    color: #fff;
}

.cw-guide .cw-btn-ghost {
    border-color: #cbd6e5;
    background: #fff;
    color: var(--cw-navy);
}

.cw-guide .cw-btn-ghost:hover,
.cw-guide .cw-btn-ghost:focus-visible {
    border-color: var(--cw-navy);
    background: #eaf1fa;
    color: var(--cw-navy);
}

.cw-guide .cw-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.cw-guide .cw-hero-tags span {
    padding: 6px 10px;
    border: 1px solid #dfe6f0;
    border-radius: 6px;
    background: #fff;
    color: #53647a;
    font-size: 11px;
    font-weight: 600;
}

/* HERO QUICK GUIDE PANEL */
.cw-guide .cw-hero-panel {
    padding: 25px;
    border-radius: 17px;
    background: linear-gradient(145deg, var(--cw-navy), var(--cw-deep));
    box-shadow: 0 18px 45px rgba(11, 29, 54, .15);
    color: #fff;
}

.cw-guide .cw-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.cw-guide .cw-panel-top strong {
    font-size: 17px;
}

.cw-guide .cw-panel-top b {
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(245, 130, 32, .18);
    color: #ffbd83;
    font-size: 9px;
    letter-spacing: 1px;
}

.cw-guide .cw-mini-step {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 19px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.cw-guide .cw-mini-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cw-guide .cw-mini-icon {
    display: grid;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #ffbd83;
    font-size: 12px;
    font-weight: 700;
}

.cw-guide .cw-mini-step strong,
.cw-guide .cw-mini-step small {
    display: block;
}

.cw-guide .cw-mini-step strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px;
}

.cw-guide .cw-mini-step small {
    color: #d4deec;
    font-size: 11px;
    line-height: 1.7;
}

/* QUICK ACCESS BAR */
.cw-guide .cw-quickbar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--cw-border);
    border-bottom: 1px solid var(--cw-border);
    background: #fff;
}

.cw-guide .cw-quickbar-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-block: 16px;
}

.cw-guide .cw-quickbar-inner>strong {
    flex-shrink: 0;
    color: var(--cw-navy);
    font-size: 11px;
    letter-spacing: 1px;
}

.cw-guide .cw-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 17px;
}

.cw-guide .cw-quicklinks a {
    color: #526176;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.cw-guide .cw-quicklinks a:hover {
    color: var(--cw-orange-dark);
}

/* CONTENT SECTIONS */
.cw-guide .cw-section {
    padding: 72px 0;
    background: #fff;
}

.cw-guide .cw-section-soft {
    background: var(--cw-light);
}

.cw-guide .cw-heading {
    max-width: 790px;
    margin: 0 auto 34px;
    text-align: center;
}

.cw-guide .cw-heading h2 {
    margin: 0 0 13px;
    color: var(--cw-navy);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
}

.cw-guide .cw-heading>p {
    margin-bottom: 0;
    color: var(--cw-muted);
    font-size: 14px;
    line-height: 1.9;
}

.cw-guide .cw-heading>.cw-btn {
    margin-top: 22px;
}

/* RESOURCE CARDS */
.cw-guide .cw-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cw-guide .cw-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    border: 1px solid var(--cw-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(11, 29, 54, .035);
}

.cw-guide .cw-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 12px;
    background: #edf3fb;
    color: var(--cw-navy);
    font-size: 17px;
    font-weight: 800;
}

.cw-guide .cw-card h3 {
    margin: 0 0 10px;
    color: var(--cw-navy);
    font-size: 18px;
    font-weight: 700;
}

.cw-guide .cw-card p {
    margin-bottom: 18px;
    color: var(--cw-muted);
    font-size: 13px;
    line-height: 1.85;
}

.cw-guide .cw-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--cw-orange-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cw-guide .cw-card-link:hover {
    color: var(--cw-navy);
    text-decoration: underline;
}

/* STUDY MATERIAL WORKFLOW */
.cw-guide .cw-workflow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cw-guide .cw-workflow-item {
    min-width: 0;
    padding: 23px 20px;
    border: 1px solid var(--cw-border);
    border-radius: 12px;
    background: #fff;
}

.cw-guide .cw-workflow-num {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 11px;
    background: #fff0e3;
    color: var(--cw-orange-dark);
    font-size: 13px;
    font-weight: 800;
}

.cw-guide .cw-workflow-item h3 {
    margin: 0 0 9px;
    color: var(--cw-navy);
    font-size: 16px;
    font-weight: 700;
}

.cw-guide .cw-workflow-item p {
    margin-bottom: 12px;
    color: var(--cw-muted);
    font-size: 12px;
    line-height: 1.8;
}

.cw-guide .cw-workflow-item a {
    color: var(--cw-orange-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.cw-guide .cw-workflow-item a:hover {
    text-decoration: underline;
}

/* INFORMATION NOTICE */
.cw-guide .cw-notice {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 28px;
    padding: 17px 19px;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    background: #f5f8fc;
    color: #53647a;
    font-size: 12px;
    line-height: 1.8;
}

.cw-guide .cw-notice-icon {
    flex-shrink: 0;
    color: var(--cw-orange-dark);
    font-size: 19px;
}

.cw-guide .cw-notice strong {
    color: var(--cw-navy);
}

/* FAQ ACCORDION */
.cw-guide .cw-faq {
    max-width: 900px;
    margin: 0 auto;
}

.cw-guide .cw-faq details {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--cw-border);
    border-radius: 10px;
    background: #fff;
}

.cw-guide .cw-faq summary {
    position: relative;
    padding: 18px 48px 18px 20px;
    color: var(--cw-navy);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    list-style: none;
}

.cw-guide .cw-faq summary::-webkit-details-marker {
    display: none;
}

.cw-guide .cw-faq summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--cw-orange-dark);
    content: "+";
    font-size: 22px;
    font-weight: 500;
    transform: translateY(-50%);
}

.cw-guide .cw-faq details[open] summary::after {
    content: "−";
}

.cw-guide .cw-faq details[open] summary {
    border-bottom: 1px solid var(--cw-border);
}

.cw-guide .cw-faq details p {
    margin: 0;
    padding: 17px 20px 20px;
    color: var(--cw-muted);
    font-size: 13px;
    line-height: 1.9;
}

.cw-guide .cw-faq details p a {
    color: var(--cw-orange-dark);
    font-weight: 600;
    text-decoration: none;
}

.cw-guide .cw-faq details p a:hover {
    text-decoration: underline;
}

/* FINAL CALL TO ACTION */
.cw-guide .cw-bottom {
    padding: 52px 0;
    background: linear-gradient(130deg, var(--cw-navy), var(--cw-deep));
    color: #fff;
}

.cw-guide .cw-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cw-guide .cw-bottom .cw-kicker {
    color: #ffbd83;
}

.cw-guide .cw-bottom h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
}

.cw-guide .cw-bottom p {
    margin: 0;
    color: #d5deeb;
    font-size: 13px;
    line-height: 1.8;
}

/* ACCESSIBILITY */
.cw-guide a:focus-visible,
.cw-guide summary:focus-visible {
    outline: 3px solid var(--cw-orange);
    outline-offset: 3px;
}

/* TABLET */
@media (max-width: 1000px) {
    .cw-guide .cw-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cw-guide .cw-hero-panel {
        max-width: 650px;
    }

    .cw-guide .cw-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cw-guide .cw-workflow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cw-guide .cw-quickbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* MOBILE */
@media (max-width: 640px) {
    .cw-guide {
        font-size: 14px;
    }

    .cw-guide .cw-wrap {
        width: calc(100% - 30px);
    }

    .cw-guide .cw-hero {
        padding: 45px 0;
    }

    .cw-guide .cw-hero-copy h2 {
        font-size: 31px;
        letter-spacing: -.5px;
    }

    .cw-guide .cw-hero-copy>p {
        font-size: 14px;
    }

    .cw-guide .cw-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cw-guide .cw-btn {
        width: 100%;
    }

    .cw-guide .cw-hero-panel {
        padding: 20px;
    }

    .cw-guide .cw-section {
        padding: 48px 0;
    }

    .cw-guide .cw-heading {
        margin-bottom: 25px;
        text-align: left;
    }

    .cw-guide .cw-heading h2 {
        font-size: 26px;
    }

    .cw-guide .cw-cards,
    .cw-guide .cw-workflow {
        grid-template-columns: 1fr;
    }

    .cw-guide .cw-card {
        padding: 21px;
    }

    .cw-guide .cw-quicklinks {
        gap: 10px 14px;
    }

    .cw-guide .cw-bottom {
        padding: 40px 0;
    }

    .cw-guide .cw-bottom-inner {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .cw-guide .cw-faq summary {
        padding: 16px 42px 16px 15px;
        font-size: 13px;
    }

    .cw-guide .cw-faq summary::after {
        right: 15px;
    }

    .cw-guide .cw-faq details p {
        padding: 15px;
    }
}

/* VERY SMALL PHONES */
@media (max-width: 380px) {
    .cw-guide .cw-wrap {
        width: calc(100% - 24px);
    }

    .cw-guide .cw-hero-copy h2 {
        font-size: 27px;
    }

    .cw-guide .cw-hero-panel {
        padding: 16px;
    }

    .cw-guide .cw-mini-step {
        gap: 10px;
    }

    .cw-guide .cw-mini-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

    .cw-guide *,
    .cw-guide *::before,
    .cw-guide *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}




/* ==========================================
   CODEWORD 3D VISUAL GUIDE
   Unique prefix: cw3d-
========================================== */

.cw3d-guide {
    --cw3d-blue: #155eef;
    --cw3d-navy: #10264a;
    --cw3d-orange: #f58220;
    --cw3d-purple: #753cff;
    --cw3d-text: #26364b;
    --cw3d-muted: #68768b;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 90px 0;
    background:
        radial-gradient(ellipse at 8% 12%, rgba(21, 94, 239, .08), transparent 32%),
        radial-gradient(ellipse at 95% 35%, rgba(117, 60, 255, .08), transparent 30%),
        #f8faff;
    color: var(--cw3d-text);
    font-family: "Poppins", sans-serif;
}

.cw3d-guide *,
.cw3d-guide *::before,
.cw3d-guide *::after {
    box-sizing: border-box;
}

.cw3d-guide a {
    text-decoration: none;
}

.cw3d-container {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto;
}

.cw3d-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.cw3d-eyebrow,
.cw3d-journey-heading > span {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--cw3d-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cw3d-heading h2 {
    margin: 0 0 18px;
    color: var(--cw3d-navy);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 800;
    letter-spacing: -1.3px;
    line-height: 1.2;
}

.cw3d-heading h2 span {
    color: var(--cw3d-blue);
}

.cw3d-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--cw3d-muted);
    font-size: 14px;
    line-height: 1.9;
}

/* 3D stage */

.cw3d-stage {
    position: relative;
    display: grid;
    min-height: 480px;
    place-items: center;
    margin-bottom: 75px;
    perspective: 1400px;
}

.cw3d-main-card {
    position: relative;
    z-index: 2;
    width: min(100%, 960px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
    box-shadow:
        0 30px 80px rgba(22, 57, 110, .13),
        0 8px 25px rgba(22, 57, 110, .06),
        inset 0 1px 0 #ffffff;
    transform: rotateX(2deg) rotateY(-2deg);
    transform-style: preserve-3d;
    animation: cw3d-card-float 6s ease-in-out infinite;
    transition: transform .4s ease, box-shadow .4s ease;
}

.cw3d-main-card:hover {
    transform: rotateX(0deg) rotateY(0deg) translateY(-7px);
    box-shadow: 0 38px 90px rgba(22, 57, 110, .19);
}

.cw3d-card-top {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-bottom: 1px solid #e9eef7;
    background: rgba(255, 255, 255, .8);
    color: #62718a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.cw3d-live-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #18bb79;
    box-shadow: 0 0 0 5px rgba(24, 187, 121, .12);
}

.cw3d-card-label {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 6px;
    background: #edf3ff;
    color: var(--cw3d-blue);
    font-size: 9px;
}

.cw3d-visual-content {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 25px;
    min-height: 330px;
    padding: 35px 38px 25px;
    background:
        radial-gradient(circle at 75% 35%, rgba(21, 94, 239, .09), transparent 38%),
        linear-gradient(135deg, #ffffff, #f4f8ff);
}

.cw3d-visual-copy {
    position: relative;
    z-index: 2;
}

.cw3d-mini-label {
    display: block;
    margin-bottom: 15px;
    color: var(--cw3d-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.cw3d-visual-copy h3 {
    margin: 0 0 15px;
    color: var(--cw3d-navy);
    font-size: clamp(36px, 4vw, 53px);
    font-weight: 800;
    letter-spacing: -1.8px;
    line-height: 1.12;
}

.cw3d-visual-copy h3 span {
    color: var(--cw3d-blue);
}

.cw3d-visual-copy p {
    max-width: 330px;
    margin: 0 0 24px;
    color: var(--cw3d-muted);
    font-size: 12px;
    line-height: 1.9;
}

.cw3d-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 13px 17px;
    border-radius: 8px;
    background: var(--cw3d-blue);
    box-shadow: 0 8px 20px rgba(21, 94, 239, .22);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    transition: transform .25s ease, background .25s ease;
}

.cw3d-primary-btn:hover {
    transform: translateY(-3px);
    background: #0848ce;
}

.cw3d-primary-btn span {
    font-size: 16px;
}

/* CSS 3D laptop */

.cw3d-device-scene {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 280px;
    place-items: center;
    perspective: 1000px;
}

.cw3d-device {
    position: relative;
    width: min(100%, 390px);
    transform: rotateY(-13deg) rotateX(5deg);
    transform-style: preserve-3d;
    animation: cw3d-laptop-float 5s ease-in-out infinite;
    transition: transform .4s ease;
}

.cw3d-device-scene:hover .cw3d-device {
    transform: rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.cw3d-device-screen {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.45;
    padding: 8px;
    border: 4px solid #192b4b;
    border-bottom-width: 7px;
    border-radius: 12px 12px 5px 5px;
    background: #192b4b;
    box-shadow:
        12px 14px 0 #c5d5f0,
        18px 22px 35px rgba(15, 44, 91, .19);
}

.cw3d-browser-bar {
    display: flex;
    height: 23px;
    align-items: center;
    gap: 4px;
    padding: 0 7px;
    border-radius: 4px 4px 0 0;
    background: #eaf0fb;
}

.cw3d-browser-bar > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fb7e7e;
}

.cw3d-browser-bar > span:nth-child(2) {
    background: #ffbf58;
}

.cw3d-browser-bar > span:nth-child(3) {
    background: #32c88b;
}

.cw3d-browser-bar small {
    overflow: hidden;
    margin-left: 12px;
    color: #61708a;
    font-size: 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cw3d-screen-content {
    height: calc(100% - 23px);
    padding: 12px;
    background: #ffffff;
}

.cw3d-screen-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--cw3d-navy);
    font-size: 10px;
}

.cw3d-screen-brand b {
    display: grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 6px;
    background: var(--cw3d-blue);
    color: #ffffff;
    font-size: 11px;
}

.cw3d-screen-hero {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
    padding: 13px;
    border-radius: 7px;
    background: linear-gradient(120deg, #142f60, #2865d9);
    color: #ffffff;
}

.cw3d-screen-hero small {
    color: #bcd4ff;
    font-size: 6px;
    letter-spacing: .6px;
}

.cw3d-screen-hero b {
    font-size: clamp(12px, 1.4vw, 17px);
}

.cw3d-screen-hero span {
    color: #e0eaff;
    font-size: 7px;
}

.cw3d-screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 10px;
}

.cw3d-screen-grid > div {
    display: flex;
    min-height: 49px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #e4eaf4;
    border-radius: 6px;
    background: #f8faff;
}

.cw3d-screen-grid b {
    color: var(--cw3d-blue);
    font-size: 12px;
}

.cw3d-screen-grid small {
    color: #61708a;
    font-size: 7px;
}

.cw3d-device-base {
    position: relative;
    z-index: 1;
    width: 112%;
    height: 15px;
    margin-left: -6%;
    border: 1px solid #9cb5dd;
    border-radius: 2px 2px 13px 13px;
    background: linear-gradient(180deg, #dce8fa, #a9c1e6);
    box-shadow: 0 13px 20px rgba(18, 47, 95, .14);
    transform: rotateX(45deg);
    transform-origin: top center;
}

.cw3d-device-base::after {
    position: absolute;
    top: 1px;
    left: 40%;
    width: 20%;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: #8da9d4;
    content: "";
}

.cw3d-device-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid #e5ebf6;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 10px 30px rgba(20, 49, 94, .12);
    color: var(--cw3d-navy);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
    animation: cw3d-badge-float 4s ease-in-out infinite;
}

.cw3d-device-badge span {
    color: var(--cw3d-blue);
    font-size: 15px;
}

.cw3d-badge-top {
    top: 16%;
    right: -1%;
}

.cw3d-badge-bottom {
    bottom: 10%;
    left: -2%;
    animation-delay: -2s;
}

.cw3d-badge-bottom span {
    color: #16a66a;
}

/* Card footer */

.cw3d-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 17px 20px;
    border-top: 1px solid #e9eef7;
    background: #ffffff;
}

.cw3d-card-footer span {
    color: #52647d;
    font-size: 10px;
    font-weight: 700;
}

.cw3d-card-footer b {
    margin-right: 5px;
    color: var(--cw3d-blue);
}

.cw3d-card-footer i {
    width: 35px;
    height: 1px;
    background: #cbd7eb;
}

/* Decorative orbit and floating objects */

.cw3d-orbit {
    position: absolute;
    z-index: 0;
    width: min(85%, 900px);
    height: 270px;
    border: 1px solid rgba(21, 94, 239, .12);
    border-radius: 50%;
    pointer-events: none;
}

.cw3d-orbit-one {
    transform: rotate(-12deg);
}

.cw3d-orbit-two {
    width: min(76%, 800px);
    height: 340px;
    border-color: rgba(117, 60, 255, .12);
    transform: rotate(20deg);
}

.cw3d-floating {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 12px 35px rgba(28, 65, 130, .15);
    animation: cw3d-float 5s ease-in-out infinite;
    pointer-events: none;
}

.cw3d-float-code {
    top: 12%;
    left: 5%;
    width: 56px;
    height: 56px;
    border-radius: 15px;
    background: linear-gradient(145deg, #438cff, #155eef);
    color: white;
    font-size: 19px;
    font-weight: 800;
    transform: rotate(-12deg);
}

.cw3d-float-star {
    top: 5%;
    right: 12%;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: linear-gradient(145deg, #ffbd65, #f58220);
    color: white;
    font-size: 23px;
    animation-delay: -1.5s;
}

.cw3d-float-bulb {
    right: 4%;
    bottom: 15%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #a98aff, #753cff);
    color: white;
    font-size: 24px;
    animation-delay: -3s;
}

.cw3d-float-circle {
    bottom: 12%;
    left: 10%;
    width: 23px;
    height: 23px;
    border: 0;
    border-radius: 8px;
    background: #24c994;
    transform: rotate(30deg);
    animation-delay: -2s;
}

/* Journey cards */

.cw3d-journey-heading {
    margin-bottom: 30px;
    text-align: center;
}

.cw3d-journey-heading h3 {
    margin: 0;
    color: var(--cw3d-navy);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.7px;
}

.cw3d-journey-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.cw3d-step {
    --step-color: #155eef;
    --step-tint: #edf4ff;

    position: relative;
    display: flex;
    min-width: 0;
    min-height: 245px;
    flex-direction: column;
    align-items: flex-start;
    padding: 23px;
    overflow: hidden;
    border: 1px solid #e8edf6;
    border-radius: 17px;
    background: linear-gradient(145deg, #ffffff, var(--step-tint));
    box-shadow: 0 8px 25px rgba(20, 49, 94, .045);
    color: var(--cw3d-text);
    transform: translateY(0);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.cw3d-step::after {
    position: absolute;
    right: -35px;
    bottom: -48px;
    width: 125px;
    height: 125px;
    border: 18px solid var(--step-color);
    border-radius: 50%;
    content: "";
    opacity: .055;
    transition: transform .35s ease;
}

.cw3d-step:hover {
    z-index: 2;
    border-color: var(--step-color);
    box-shadow: 0 20px 40px rgba(20, 49, 94, .12);
    color: var(--cw3d-text);
    transform: translateY(-8px);
}

.cw3d-step:hover::after {
    transform: scale(1.25);
}

.cw3d-step-number {
    position: absolute;
    top: 15px;
    right: 17px;
    color: var(--step-color);
    font-size: 11px;
    font-weight: 800;
    opacity: .75;
}

.cw3d-step-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 13px;
    background: linear-gradient(145deg, #ffffff, var(--step-tint));
    box-shadow:
        5px 7px 0 rgba(25, 58, 110, .06),
        0 8px 20px rgba(25, 58, 110, .08);
    color: var(--step-color);
    font-size: 19px;
    font-weight: 800;
    transition: transform .35s ease;
}

.cw3d-step:hover .cw3d-step-icon {
    transform: translateY(-4px) rotate(-5deg);
}

.cw3d-step h4 {
    margin: 0 0 10px;
    color: var(--cw3d-navy);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.cw3d-step p {
    margin: 0 0 20px;
    color: var(--cw3d-muted);
    font-size: 11px;
    line-height: 1.85;
}

.cw3d-step-link {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--step-color);
    font-size: 10px;
    font-weight: 800;
}

.cw3d-blue {
    --step-color: #155eef;
    --step-tint: #edf4ff;
}

.cw3d-orange {
    --step-color: #e87514;
    --step-tint: #fff3e7;
}

.cw3d-purple {
    --step-color: #753cff;
    --step-tint: #f3edff;
}

.cw3d-green {
    --step-color: #079b66;
    --step-tint: #e8faf2;
}

.cw3d-pink {
    --step-color: #e83d79;
    --step-tint: #fff0f6;
}

.cw3d-cyan {
    --step-color: #0788b7;
    --step-tint: #e8f8ff;
}

.cw3d-yellow {
    --step-color: #bd7b00;
    --step-tint: #fff8df;
}

.cw3d-navy {
    --step-color: #234879;
    --step-tint: #eaf1fb;
}

/* Bottom call to action */

.cw3d-bottom {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 45px;
    padding: 30px 34px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 19px;
    background: linear-gradient(120deg, #10264a, #194a91);
    box-shadow: 0 20px 45px rgba(16, 38, 74, .14);
    color: #ffffff;
}

.cw3d-bottom-icon {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #ffbd83;
    font-size: 24px;
}

.cw3d-bottom > div:nth-child(2) {
    flex: 1;
}

.cw3d-bottom > div:nth-child(2) > span {
    color: #b9d2ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cw3d-bottom h3 {
    margin: 5px 0 7px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
}

.cw3d-bottom p {
    margin: 0;
    color: #d4e0f3;
    font-size: 11px;
    line-height: 1.8;
}

.cw3d-bottom-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 8px;
    background: var(--cw3d-orange);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    transition: transform .25s ease, background .25s ease;
}

.cw3d-bottom-btn:hover {
    background: #e96e0d;
    transform: translateY(-3px);
}

/* Keyframes */

@keyframes cw3d-card-float {
    0%, 100% {
        transform: rotateX(2deg) rotateY(-2deg) translateY(0);
    }
    50% {
        transform: rotateX(0deg) rotateY(0deg) translateY(-7px);
    }
}

@keyframes cw3d-laptop-float {
    0%, 100% {
        transform: rotateY(-13deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(-7deg) rotateX(2deg) translateY(-9px);
    }
}

@keyframes cw3d-float {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -15px;
    }
}

@keyframes cw3d-badge-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

/* Responsive tablet layout */

@media (max-width: 1000px) {
    .cw3d-guide {
        padding: 70px 0;
    }

    .cw3d-stage {
        min-height: 430px;
    }

    .cw3d-visual-content {
        grid-template-columns: .9fr 1.1fr;
        gap: 15px;
        padding: 28px;
    }

    .cw3d-journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cw3d-step {
        min-height: 220px;
    }

    .cw3d-float-code {
        left: 1%;
    }

    .cw3d-float-bulb {
        right: 1%;
    }
}

/* Responsive mobile layout */

@media (max-width: 640px) {
    .cw3d-guide {
        padding: 52px 0;
    }

    .cw3d-container {
        width: calc(100% - 30px);
    }

    .cw3d-heading {
        margin-bottom: 35px;
    }

    .cw3d-heading h2 {
        font-size: 32px;
        letter-spacing: -.7px;
    }

    .cw3d-heading p {
        font-size: 12px;
    }

    .cw3d-stage {
        min-height: auto;
        margin-bottom: 55px;
        padding: 10px 0;
    }

    .cw3d-main-card {
        border-radius: 17px;
        transform: none;
        animation: cw3d-mobile-card-float 6s ease-in-out infinite;
    }

    .cw3d-card-top {
        min-height: 45px;
        padding: 12px;
        font-size: 8px;
        letter-spacing: .6px;
    }

    .cw3d-card-label {
        padding: 5px 7px;
        font-size: 8px;
    }

    .cw3d-visual-content {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 24px 20px;
    }

    .cw3d-visual-copy h3 {
        font-size: 39px;
    }

    .cw3d-visual-copy p {
        max-width: 100%;
    }

    .cw3d-device-scene {
        min-height: 250px;
        padding: 10px 15px;
    }

    .cw3d-device {
        width: min(88%, 340px);
    }

    .cw3d-badge-top {
        right: 0;
    }

    .cw3d-badge-bottom {
        left: 0;
    }

    .cw3d-device-badge {
        padding: 8px 10px;
        font-size: 8px;
    }

    .cw3d-card-footer {
        flex-wrap: wrap;
        gap: 10px;
        padding: 14px 10px;
    }

    .cw3d-card-footer span {
        font-size: 9px;
    }

    .cw3d-card-footer i {
        width: 15px;
    }

    .cw3d-orbit {
        width: 100%;
        height: 210px;
    }

    .cw3d-orbit-two {
        height: 260px;
    }

    .cw3d-floating {
        width: 35px;
        height: 35px;
        border-radius: 10px;
        font-size: 15px;
    }

    .cw3d-float-code {
        top: 0;
        left: -5px;
    }

    .cw3d-float-star {
        top: 2%;
        right: -4px;
    }

    .cw3d-float-bulb {
        right: -4px;
        bottom: 5%;
    }

    .cw3d-float-circle {
        bottom: 7%;
        left: 0;
        width: 15px;
        height: 15px;
    }

    .cw3d-journey-heading {
        margin-bottom: 24px;
        text-align: left;
    }

    .cw3d-journey-heading h3 {
        font-size: 25px;
    }

    .cw3d-journey-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cw3d-step {
        min-height: 190px;
        padding: 21px;
    }

    .cw3d-step h4 {
        font-size: 16px;
    }

    .cw3d-step p {
        font-size: 12px;
    }

    .cw3d-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
        margin-top: 30px;
        padding: 24px 20px;
    }

    .cw3d-bottom h3 {
        font-size: 22px;
    }

    .cw3d-bottom-btn {
        width: 100%;
    }
}

@keyframes cw3d-mobile-card-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

/* Small screens */

@media (max-width: 380px) {
    .cw3d-container {
        width: calc(100% - 22px);
    }

    .cw3d-heading h2 {
        font-size: 28px;
    }

    .cw3d-visual-content {
        padding: 20px 15px;
    }

    .cw3d-visual-copy h3 {
        font-size: 34px;
    }

    .cw3d-device-scene {
        min-height: 220px;
    }

    .cw3d-card-footer {
        gap: 6px;
    }
}

/* Accessibility: stop decorative animation when requested */

@media (prefers-reduced-motion: reduce) {
    .cw3d-guide *,
    .cw3d-guide *::before,
    .cw3d-guide *::after {
        animation: none !important;
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
