:root {
    --red: #E53935;
    --red-bg: #FDEBEB;
    --green: #2BB673;
    --green-bg: #E6F5EC;
    --blue: #1E88E5;
    --blue-bg: #E6F0FB;
    --yellow: #F5B800;
    --yellow-bg: #FDF3D9;
    --text-heading: #111111;
    --text-body: #555555;
    --text-card-title: #1a1a1a;
    --card-border: #ececec;
    --section-bg: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--section-bg);
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
}

.twelve-steps {
    position: relative;
    padding: 80px 24px 100px;
    overflow: hidden;
    background: #fff;
}

/* Decorative background shapes */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.deco-green-circle  { top: 60px;  left: 140px; width: 28px;  height: 28px;  background: var(--green);  border-radius: 50%; }
.deco-yellow-circle { top: 110px; left: 180px; width: 18px;  height: 18px;  background: var(--yellow); border-radius: 50%; opacity: .9; }
.deco-blue-circle   { top: 205px; left: 220px; width: 14px;  height: 14px;  background: #7FB5EE; border-radius: 50%; opacity: .9; }
.deco-red-square    { top: 140px; left: -30px; width: 180px; height: 180px; border: 5px solid var(--red); border-radius: 18px; transform: rotate(-20deg); }

.deco-blue-square   { top: 80px;  right: -10px;  width: 160px; height: 160px; border: 5px solid var(--blue);   border-radius: 18px; transform: rotate(15deg); }
.deco-green-square  { top: 180px; right: -20px;  width: 140px; height: 140px; border: 5px solid var(--green);  border-radius: 18px; transform: rotate(-10deg); }
.deco-yellow-square { top: 250px; right: 150px; width: 120px;  height: 120px;  border: 5px solid var(--yellow); border-radius: 14px; transform: rotate(-25deg); }

/* Header */
.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto 56px;
}
.section-header h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-heading);
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}
.section-header h2 .accent { color: var(--blue); }

.underline-dashes {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 24px;
}
.underline-dashes span {
    display: block;
    width: 34px;
    height: 4px;
    border-radius: 2px;
}
.underline-dashes span:nth-child(1) { background: var(--red); }
.underline-dashes span:nth-child(2) { background: var(--green); }
.underline-dashes span:nth-child(3) { background: var(--blue); }
.underline-dashes span:nth-child(4) { background: var(--yellow); }

.section-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #6a6a6a;
    margin: 0;
}

/* Grid */
.steps-grid {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .steps-grid { grid-template-columns: 1fr; }
    .twelve-steps { padding: 60px 16px 80px; }
}

/* Card */
.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 34px 20px 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(20, 20, 40, 0.04);
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(20, 20, 40, 0.08);
}

/* Step number badge */
.step-number {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Color variants driven by data-color */
.step-card[data-color="red"]    .step-number { background: var(--red); }
.step-card[data-color="green"]  .step-number { background: var(--green); }
.step-card[data-color="blue"]   .step-number { background: var(--blue); }
.step-card[data-color="yellow"] .step-number { background: var(--yellow); }

.step-card[data-color="red"]    .watch-video { color: var(--red); }
.step-card[data-color="green"]  .watch-video { color: var(--green); }
.step-card[data-color="blue"]   .watch-video { color: var(--blue); }
.step-card[data-color="yellow"] .watch-video { color: var(--yellow); }

.step-card[data-color="red"]    .play-btn { border-color: var(--red);    color: var(--red); }
.step-card[data-color="green"]  .play-btn { border-color: var(--green);  color: var(--green); }
.step-card[data-color="blue"]   .play-btn { border-color: var(--blue);   color: var(--blue); }
.step-card[data-color="yellow"] .play-btn { border-color: var(--yellow); color: var(--yellow); }

/* Icon */
.step-icon {
    width: 120px;
    height: 120px;
    margin: 6px auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.step-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--text-card-title) !important;
    margin: 0 0 10px !important;
    text-transform: none;
}
.step-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #6a6a6a;
    margin: 0 0 0px;
    min-height: 66px;
}

/* Watch Video link */
.watch-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-top: 6px;
    text-decoration: none;
}
a.watch-row, a.watch-row:visited, a.watch-row:hover { text-decoration: none; }
.watch-video {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.play-btn {
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: transform .2s ease;
}
.watch-row:hover .play-btn { transform: scale(1.08); }
.play-btn svg { width: 10px; height: 10px; fill: currentColor; }

/* CTA Banner */
.cta-banner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 56px auto 0;
    background: #EEF4FD;
    border-radius: 18px;
    border: 1px solid #e1e7f1;
    padding: 28px 40px;
    display: flex;
    align-items: center;
    gap: 28px;
    overflow: hidden;
}
.cta-play {
    flex-shrink: 0;
    position: relative;
    width: 90px;
    height: 90px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(30, 136, 229, 0.35);
}
.cta-play::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: rgba(30, 136, 229, 0.12);
    z-index: -1;
}
.cta-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }

.cta-text { flex: 1; }
.cta-text h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-heading);
    text-transform: none;
}
.cta-text p {
    margin: 0;
    font-size: 14px;
    color: #6a6a6a;
    line-height: 1.55;
}

.cta-btn {
    flex-shrink: 0;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background .2s ease, transform .2s ease;
    box-shadow: 0 6px 14px rgba(30, 136, 229, 0.25);
}
.cta-btn:hover { background: #1976D2; color: white; transform: translateY(-1px); }
.cta-btn svg { width: 14px; height: 14px; fill: #fff; }

.cta-deco {
    position: absolute;
    bottom: -10px;
    left: 60px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.cta-deco span:nth-child(1) { width: 14px; height: 14px; background: #7FB5EE; border-radius: 50%; }
.cta-deco span:nth-child(2) { width: 22px; height: 22px; background: #FDCFCF; border-radius: 50%; }
.cta-deco span:nth-child(3) { width: 10px; height: 10px; background: var(--green); border-radius: 50%; }

@media (max-width: 720px) {
    .cta-banner { flex-direction: column; text-align: center; padding: 28px 22px; }
    .cta-deco { display: none; }

    .deco-red-square    { top: 140px; left: -30px; width: 100px; height: 100px; border: 5px solid var(--red); border-radius: 18px; transform: rotate(-20deg); }
    .deco-blue-square   { top: 80px;  right: -10px;  width: 100px; height: 100px; border: 5px solid var(--blue);   border-radius: 18px; transform: rotate(15deg); }
    .deco-green-square  { top: 180px; right: -20px;  width: 90px; height: 90px; border: 5px solid var(--green);  border-radius: 18px; transform: rotate(-10deg); }
    .deco-yellow-square { top: 250px; right: 150px; width: 100px;  height: 100px;  border: 5px solid var(--yellow); border-radius: 14px; transform: rotate(-25deg); }

    .section-header {
        background-color: rgb(255,255,255,0.5);
    }

    .step-card {
        width: 300px;
        margin: auto;
    }
}