/* ACE IDE — homepage showcase (distinct from Cursor: ACE purple + dark workspace mocks) */
.bdl-ace-showcase {
    --ace-purple: #7c3aed;
    --ace-purple-dark: #6d28d9;
    --ace-purple-glow: rgba(124, 58, 237, 0.35);
    --ace-green: #16a34a;
    --ace-ide-bg: #0b0e14;
    --ace-ide-border: rgba(124, 58, 237, 0.22);
    --ace-ide-text: #e4e4e7;
    --ace-ide-muted: #71717a;
    width: 100%;
    margin-top: clamp(48px, 7vh, 80px);
    padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 48px) clamp(64px, 9vh, 112px);
    box-sizing: border-box;
    border-top: 1px solid #e8e4f0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(124, 58, 237, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #faf9fc 0%, #ffffff 40%, #f8f7fb 100%);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #171717;
}

.bdl-ace-showcase__intro {
    max-width: 42rem;
    margin: 0 auto clamp(48px, 6vh, 72px);
    text-align: center;
}

.bdl-ace-showcase__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ace-purple-dark);
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.bdl-ace-showcase__intro-title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #171717;
}

.bdl-ace-showcase__intro-lede {
    margin: 0;
    font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: #3f3f46;
}

.bdl-ace-showcase__rows {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 8vh, 96px);
}

.bdl-ace-showcase__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(124, 58, 237, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.bdl-ace-showcase__row:nth-child(odd) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 255, 0.9) 100%);
}

.bdl-ace-showcase__row--reverse {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.bdl-ace-showcase__row--reverse .bdl-ace-showcase__copy {
    order: 2;
}

.bdl-ace-showcase__row--reverse .bdl-ace-showcase__visual {
    order: 1;
}

.bdl-ace-showcase__copy {
    max-width: 30rem;
    padding-left: 16px;
    border-left: 4px solid var(--ace-purple);
}

.bdl-ace-showcase__title {
    margin: 0 0 16px;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -0.02em;
    color: #171717;
}

.bdl-ace-showcase__lede {
    margin: 0 0 20px;
    font-size: clamp(1.0625rem, 1.65vw, 1.1875rem);
    line-height: 1.65;
    color: #3f3f46;
}

.bdl-ace-showcase__list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bdl-ace-showcase__list li {
    position: relative;
    padding-left: 28px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.55;
    color: #27272a;
}

.bdl-ace-showcase__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.1em;
    font-size: 15px;
    font-weight: 700;
    color: var(--ace-purple);
}

.bdl-ace-showcase__link,
.bdl-ace-showcase__link:link,
.bdl-ace-showcase__link:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: var(--ace-purple);
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.bdl-ace-showcase__link:hover,
.bdl-ace-showcase__link:focus,
.bdl-ace-showcase__link:focus-visible,
.bdl-ace-showcase__link:active {
    color: var(--ace-purple-dark);
    gap: 9px;
    text-decoration: none;
}

#bdl-ace-ide-showcase a.bdl-ace-showcase__link,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:link,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:visited,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:hover,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:focus,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:focus-visible,
#bdl-ace-ide-showcase a.bdl-ace-showcase__link:active {
    text-decoration: none !important;
}

.bdl-ace-showcase__visual {
    min-width: 0;
}

/* —— Dark ACE IDE frame (matches lifecycle demo, not Cursor light UI) —— */
.bdl-ace-showcase__frame {
    border-radius: 14px;
    border: 1px solid var(--ace-ide-border);
    background: var(--ace-ide-bg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04),
        0 24px 56px rgba(0, 0, 0, 0.35),
        0 0 48px var(--ace-purple-glow);
    overflow: hidden;
}

.bdl-ace-showcase__chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(17, 21, 28, 0.95);
    border-bottom: 1px solid var(--ace-ide-border);
}

.bdl-ace-showcase__dots {
    display: flex;
    gap: 6px;
}

.bdl-ace-showcase__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bdl-ace-showcase__dots span:nth-child(1) { background: #ff5f57; }
.bdl-ace-showcase__dots span:nth-child(2) { background: #febc2e; }
.bdl-ace-showcase__dots span:nth-child(3) { background: #28c840; }

.bdl-ace-showcase__chrome-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--ace-ide-text);
}

.bdl-ace-showcase__chrome-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e9d5ff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.45) 0%, rgba(99, 102, 241, 0.3) 100%);
    border: 1px solid rgba(124, 58, 237, 0.5);
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
}

.bdl-ace-showcase__workspace {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    min-height: 300px;
}

.bdl-ace-showcase__agent {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--ace-ide-border);
    background: rgba(11, 14, 20, 0.98);
    min-height: 300px;
}

.bdl-ace-showcase__agent-head {
    padding: 11px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ace-ide-muted);
    border-bottom: 1px solid var(--ace-ide-border);
    background: rgba(15, 18, 24, 0.9);
}

.bdl-ace-showcase__agent-body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bdl-ace-showcase__bubble {
    align-self: flex-end;
    max-width: 94%;
    padding: 9px 12px;
    border-radius: 12px 12px 4px 12px;
    background: linear-gradient(135deg, var(--ace-purple) 0%, var(--ace-purple-dark) 100%);
    color: #fafafa;
    font-size: 11px;
    line-height: 1.45;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.bdl-ace-showcase__step {
    font-size: 10px;
    line-height: 1.4;
    color: var(--ace-ide-muted);
}

.bdl-ace-showcase__step strong {
    color: #a78bfa;
    font-weight: 600;
}

.bdl-ace-showcase__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 8px;
    border: 1px solid var(--ace-ide-border);
    background: rgba(17, 21, 28, 0.8);
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--ace-ide-text);
}

.bdl-ace-showcase__chip-add {
    color: #4ade80;
    font-weight: 600;
}

.bdl-ace-showcase__card {
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(124, 58, 237, 0.35);
    background: rgba(17, 21, 28, 0.85);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.12);
}

.bdl-ace-showcase__card-q {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ace-ide-text);
    line-height: 1.4;
}

.bdl-ace-showcase__card ol {
    margin: 0 0 10px;
    padding-left: 18px;
    font-size: 10px;
    color: #a1a1aa;
    line-height: 1.5;
}

.bdl-ace-showcase__card-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.bdl-ace-showcase__card-btn {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid var(--ace-ide-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ace-ide-muted);
}

.bdl-ace-showcase__card-btn--primary {
    border-color: var(--ace-purple);
    background: var(--ace-purple);
    color: #fff;
    box-shadow: 0 0 14px rgba(124, 58, 237, 0.4);
}

.bdl-ace-showcase__agent-input {
    margin-top: auto;
    padding: 10px 14px 12px;
    border-top: 1px solid var(--ace-ide-border);
}

.bdl-ace-showcase__agent-input-ph {
    display: block;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid var(--ace-ide-border);
    background: rgba(0, 0, 0, 0.35);
    font-size: 10px;
    color: var(--ace-ide-muted);
}

.bdl-ace-showcase__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: rgba(11, 14, 20, 0.6);
}

.bdl-ace-showcase__tabs {
    display: flex;
    gap: 2px;
    padding: 8px 10px 0;
    border-bottom: 1px solid var(--ace-ide-border);
    background: rgba(15, 18, 24, 0.9);
}

.bdl-ace-showcase__tab {
    padding: 6px 12px;
    border-radius: 8px 8px 0 0;
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: var(--ace-ide-muted);
    background: transparent;
}

.bdl-ace-showcase__tab.is-active {
    color: var(--ace-ide-text);
    background: var(--ace-ide-bg);
    border: 1px solid var(--ace-ide-border);
    border-bottom-color: var(--ace-ide-bg);
    margin-bottom: -1px;
    box-shadow: inset 0 -2px 0 var(--ace-purple);
}

.bdl-ace-showcase__editor {
    flex: 1;
    padding: 16px 18px 20px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    line-height: 1.55;
    color: #a1a1aa;
}

.bdl-ace-showcase__editor h3 {
    margin: 0 0 12px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ace-ide-text);
}

.bdl-ace-showcase__editor h4 {
    margin: 14px 0 6px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #d4d4d8;
}

.bdl-ace-showcase__editor p {
    margin: 0 0 8px;
}

.bdl-ace-showcase__tasks {
    margin-top: 14px;
    padding: 12px 12px 10px;
    border-radius: 10px;
    border: 1px solid var(--ace-ide-border);
    background: rgba(0, 0, 0, 0.25);
}

.bdl-ace-showcase__tasks-label {
    margin: 0 0 8px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #a78bfa;
}

.bdl-ace-showcase__task-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 10px;
    color: #a1a1aa;
}

.bdl-ace-showcase__task-item input {
    margin-top: 2px;
    accent-color: var(--ace-purple);
}

/* Explorer + code editor */
.bdl-ace-showcase__ide-split {
    display: grid;
    grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
    min-height: 300px;
}

.bdl-ace-showcase__explorer {
    padding: 10px 8px;
    border-right: 1px solid var(--ace-ide-border);
    background: rgba(11, 14, 20, 0.95);
    font-size: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bdl-ace-showcase__explorer-label {
    margin: 0 0 8px;
    padding: 0 6px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ace-ide-muted);
}

.bdl-ace-showcase__tree-folder {
    margin: 6px 0 2px;
    padding: 2px 6px;
    color: var(--ace-ide-muted);
    font-weight: 500;
}

.bdl-ace-showcase__tree-file {
    display: block;
    padding: 4px 6px;
    margin: 1px 0;
    border-radius: 6px;
    color: #a1a1aa;
}

.bdl-ace-showcase__tree-file.is-active {
    color: var(--ace-ide-text);
    background: rgba(124, 58, 237, 0.2);
    box-shadow: inset 2px 0 0 var(--ace-purple);
}

.bdl-ace-showcase__tree-file--py::before { content: "PY "; color: #60a5fa; font-size: 9px; }
.bdl-ace-showcase__tree-file--cpp::before { content: "C++ "; color: #93c5fd; font-size: 9px; }
.bdl-ace-showcase__tree-file--ts::before { content: "TS "; color: #818cf8; font-size: 9px; }

.bdl-ace-showcase__code {
    margin: 0;
    padding: 14px 16px;
    font-size: 10px;
    line-height: 1.6;
    color: #d4d4d8;
    background: #000;
    border: none;
}

.bdl-ace-showcase__code .kw { color: #c4b5fd; }
.bdl-ace-showcase__code .fn { color: #93c5fd; }
.bdl-ace-showcase__code .cm { color: #71717a; font-style: italic; }
.bdl-ace-showcase__code .hl {
    display: block;
    margin: 0 -16px;
    padding: 0 16px;
    background: rgba(74, 222, 128, 0.12);
}

/* Release pipeline (light cards on dark frame) */
.bdl-ace-showcase__pipeline {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(11, 14, 20, 0.5);
}

.bdl-ace-showcase__pipeline-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--ace-ide-border);
    background: rgba(17, 21, 28, 0.75);
}

.bdl-ace-showcase__pipeline-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: rgba(124, 58, 237, 0.2);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.35);
}

.bdl-ace-showcase__pipeline-step.is-done .bdl-ace-showcase__pipeline-icon {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.35);
}

.bdl-ace-showcase__pipeline-text strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--ace-ide-text);
    margin-bottom: 2px;
}

.bdl-ace-showcase__pipeline-text span {
    font-size: 11px;
    color: var(--ace-ide-muted);
}

.bdl-ace-showcase__pipeline-line {
    width: 2px;
    height: 10px;
    margin-left: 30px;
    background: linear-gradient(180deg, var(--ace-purple) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 1px;
}

/* Web / app project types pipeline — visible Material icons */
.bdl-ace-showcase__pipeline--projects {
    gap: 10px;
}

.bdl-ace-showcase__pipeline-icon--symbol {
    background: linear-gradient(145deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border-color: rgba(109, 40, 217, 0.5);
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

.bdl-ace-showcase__pipeline--projects .bdl-ace-showcase__pipeline-step.is-done .bdl-ace-showcase__pipeline-icon--symbol {
    background: linear-gradient(145deg, #7c3aed 0%, #6d28d9 100%);
    color: #ffffff;
    border-color: rgba(109, 40, 217, 0.5);
}

.bdl-ace-showcase__pipeline-icon--symbol .material-symbols-outlined {
    font-family: "Material Symbols Outlined", sans-serif;
    font-size: 20px;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.bdl-ace-showcase__pipeline--projects .bdl-ace-showcase__pipeline-text strong {
    font-size: 12px;
}

.bdl-ace-showcase__pipeline--projects .bdl-ace-showcase__pipeline-text span {
    font-size: 10px;
}

/* Feature grid — all ACE IDE tools in plain English */
.bdl-ace-showcase__features {
    max-width: 1180px;
    margin: clamp(40px, 6vh, 64px) auto 0;
    padding: clamp(28px, 4vw, 40px);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.85) 100%);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.06);
}

.bdl-ace-showcase__features-head {
    max-width: 40rem;
    margin: 0 auto clamp(28px, 4vw, 36px);
    text-align: center;
}

.bdl-ace-showcase__features-title {
    margin: 0 0 12px;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #171717;
}

.bdl-ace-showcase__features-lede {
    margin: 0;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.65;
    color: #3f3f46;
}

.bdl-ace-showcase__feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 20px);
}

.bdl-ace-showcase__feature-card {
    padding: clamp(18px, 2.5vw, 22px);
    border-radius: 14px;
    border: 1px solid rgba(124, 58, 237, 0.14);
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bdl-ace-showcase__feature-card:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12);
    transform: translateY(-2px);
}

.bdl-ace-showcase__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(145deg, #7c3aed 0%, #6d28d9 100%);
    border: 1px solid rgba(109, 40, 217, 0.5);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.28);
    flex-shrink: 0;
}

.bdl-ace-showcase__feature-icon .material-symbols-outlined {
    font-family: "Material Symbols Outlined", sans-serif;
    font-size: 24px;
    font-weight: normal;
    line-height: 1;
    color: inherit;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.bdl-ace-showcase__feature-icon--iot {
    color: #ffffff;
    background: linear-gradient(145deg, #059669 0%, #047857 100%);
    border-color: rgba(4, 120, 87, 0.5);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
}

.bdl-ace-showcase__feature-name {
    margin: 0 0 8px;
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    font-weight: 600;
    line-height: 1.3;
    color: #171717;
}

.bdl-ace-showcase__feature-desc {
    margin: 0;
    font-size: clamp(1.0625rem, 1.65vw, 1.1875rem);
    line-height: 1.6;
    color: #525252;
}

/* CTA — ACE purple, not Cursor black pill */
.bdl-ace-showcase__cta-row {
    margin-top: clamp(40px, 5vh, 56px);
    padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 40px);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.08) 0%, #fff 45%, rgba(248, 245, 255, 0.95) 100%);
    text-align: center;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

.bdl-ace-showcase__cta-title {
    margin: 0 0 12px;
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #171717;
}

.bdl-ace-showcase__cta-lede {
    margin: 0 auto 24px;
    max-width: 36rem;
    font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
    line-height: 1.6;
    color: #3f3f46;
}

.bdl-ace-showcase__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.bdl-ace-showcase__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bdl-ace-showcase__cta-btn--primary span {
    color: inherit;
}

.bdl-ace-showcase__cta-btn--primary,
.bdl-ace-showcase__cta-btn--primary:link,
.bdl-ace-showcase__cta-btn--primary:visited {
    background: linear-gradient(135deg, var(--ace-purple) 0%, var(--ace-purple-dark) 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--ace-purple-glow);
}

.bdl-ace-showcase__cta-btn--primary:hover,
.bdl-ace-showcase__cta-btn--primary:focus,
.bdl-ace-showcase__cta-btn--primary:focus-visible {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
}

.bdl-ace-showcase__cta-btn--primary:active {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(0);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
}

.bdl-ace-showcase__cta-btn:hover,
.bdl-ace-showcase__cta-btn:focus,
.bdl-ace-showcase__cta-btn:focus-visible,
.bdl-ace-showcase__cta-btn:active,
.bdl-ace-showcase__cta-btn:visited {
    text-decoration: none;
}

#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:link,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:visited,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:hover,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:focus,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:focus-visible,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:active {
    color: #ffffff;
    text-decoration: none;
}

#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary span,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:hover span,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:focus span,
#bdl-ace-ide-showcase a.bdl-ace-showcase__cta-btn--primary:active span {
    color: inherit;
    text-decoration: none;
}

.bdl-ace-showcase__cta-btn--secondary,
.bdl-ace-showcase__cta-btn--secondary:hover,
.bdl-ace-showcase__cta-btn--secondary:focus,
.bdl-ace-showcase__cta-btn--secondary:active {
    color: #171717;
    text-decoration: none;
}

.bdl-ace-showcase__cta-btn--secondary {
    background: #fff;
    color: #171717;
    border: 1px solid #e5e5e5;
}

.bdl-ace-showcase__cta-btn--secondary:hover {
    border-color: rgba(124, 58, 237, 0.35);
    background: #faf5ff;
}

@media (max-width: 900px) {
    .bdl-ace-showcase__feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bdl-ace-showcase__row,
    .bdl-ace-showcase__row--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px 18px;
    }

    .bdl-ace-showcase__row--reverse .bdl-ace-showcase__copy,
    .bdl-ace-showcase__row--reverse .bdl-ace-showcase__visual {
        order: unset;
    }

    .bdl-ace-showcase__copy {
        max-width: none;
        text-align: left;
        padding-left: 14px;
    }

    .bdl-ace-showcase__list {
        max-width: none;
    }

    .bdl-ace-showcase__link {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .bdl-ace-showcase__feature-grid {
        grid-template-columns: 1fr;
    }

    .bdl-ace-showcase__features {
        padding: 20px 16px;
    }

    .bdl-ace-showcase__workspace {
        grid-template-columns: 1fr;
    }

    .bdl-ace-showcase__agent {
        border-right: none;
        border-bottom: 1px solid var(--ace-ide-border);
        min-height: 0;
    }

    .bdl-ace-showcase__ide-split {
        grid-template-columns: 1fr;
    }

    .bdl-ace-showcase__explorer {
        border-right: none;
        border-bottom: 1px solid var(--ace-ide-border);
        max-height: 130px;
        overflow-y: auto;
    }

    .bdl-ace-showcase__cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bdl-ace-showcase__cta-btn {
        justify-content: center;
    }
}
