/* QA interactive story */
.qa-journey { min-height: 100svh; background: #f5f7fb; }
.journey-portfolio { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 0 12px; border: 0; border-radius: 9px; background: var(--ink); color: white; font-size: .72rem; font-weight: 850; text-decoration: none; }
.journey-portfolio span { margin-left: 5px; }
.qa-test-section { height: calc(100svh - 66px); min-height: 660px; padding: clamp(22px, 3vh, 30px) 0 clamp(24px, 3vh, 32px); overflow: hidden; background: radial-gradient(circle at 88% 8%, #e1eaff 0, transparent 28%), #f7f9fc; scroll-margin-top: 66px; }
.qa-test-section.workflow-open { height: auto; min-height: calc(100svh - 66px); overflow: visible; padding-bottom: 50px; }
.qa-test-wrap { display: flex; height: 100%; min-height: 0; flex-direction: column; }
.qa-test-section.workflow-open .qa-test-wrap { height: auto; }
.qa-section-heading { display: grid; grid-template-columns: 1fr; flex: 0 0 auto; gap: 9px; margin-bottom: 17px; }
.qa-step { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.qa-section-heading h2 { margin: 7px 0 0; font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1.12; letter-spacing: -.06em; }
.philosophy-copy h2 { margin: 9px 0 0; font-size: clamp(2.1rem, 4vw, 3.75rem); line-height: 1.13; letter-spacing: -.06em; }
.qa-heading-aside { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.qa-heading-aside > p { max-width: none; margin: 0; color: #66758b; font-size: .86rem; line-height: 1.62; }
.qa-heading-actions { display: flex; align-items: center; justify-content: flex-end; }
.comparison-workspace { min-height: 0; flex: 1; display: flex; padding: 14px; border: 1px solid #dbe3ef; border-radius: 22px; background: rgba(255, 255, 255, .55); box-shadow: 0 18px 44px rgba(34, 59, 100, .075); }
.challenge { display: grid; width: 100%; grid-template-columns: 1fr 1fr; min-height: 0; flex: 1; align-items: stretch; gap: 18px; }
.spec-panel, .result-panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.challenge-guide { position: relative; }
.spec-card { min-width: 0; min-height: 0; flex: 1; overflow-y: auto; padding: 18px; border: 1px solid #dbe3ef; border-radius: 16px; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 22px rgba(34, 59, 100, .055); scrollbar-width: thin; scrollbar-color: #cbd6e5 transparent; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.panel-heading strong { color: #53637b; font-size: .76rem; }
.panel-kicker { color: var(--blue); font-size: .66rem; font-weight: 900; letter-spacing: .09em; }
.challenge-guide h3 { margin: 4px 0 0; font-size: clamp(1.18rem, 2vw, 1.48rem); line-height: 1.25; letter-spacing: -.04em; }
.spec-document-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.spec-doc-id { color: #7d8ca2; font-size: .6rem; font-weight: 900; letter-spacing: .09em; }
.spec-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid #bde2d6; border-radius: 100px; background: #effaf6; color: #25785d; font-size: .62rem; font-weight: 900; }
.spec-status i { width: 6px; height: 6px; border-radius: 50%; background: #2aaf82; box-shadow: 0 0 0 3px rgba(42, 175, 130, .12); }
.spec-meta { display: grid; grid-template-columns: repeat(3, 1fr); padding: 9px 0; margin: 14px 0 0; border-top: 1px solid #e1e7f0; border-bottom: 1px solid #e1e7f0; }
.spec-meta div { min-width: 0; padding: 0 9px; }
.spec-meta div + div { border-left: 1px solid #e4e9f1; }
.spec-meta dt { color: #8491a4; font-size: .55rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.spec-meta dd { overflow: hidden; margin: 2px 0 0; color: #40516a; font-size: .65rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.spec-user-story { margin-top: 13px; padding: 10px 12px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #f1f5ff; }
.spec-user-story > span, .blueprint-heading > span, .ac-heading > span { color: var(--blue); font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.spec-user-story p { margin: 3px 0 0; color: #4f6078; font-size: .68rem; line-height: 1.5; }
.ui-blueprint { margin-top: 13px; }
.blueprint-heading, .ac-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.blueprint-heading strong { color: #596a82; font-size: .62rem; }
.blueprint-canvas { position: relative; display: grid; grid-template-columns: 26px 1fr; align-items: start; gap: 9px; padding: 12px; border: 1px solid #d9e2ef; border-radius: 10px; background: linear-gradient(135deg, #f7f9fd, #eef3fa); }
.blueprint-canvas::before { content: "UI PREVIEW"; position: absolute; top: 6px; right: 8px; color: #a2adbc; font-size: .45rem; font-weight: 900; letter-spacing: .1em; }
.wire-avatar { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 7px; background: #dce7ff; color: #4667bd; font-size: .54rem; font-weight: 900; }
.wire-message { padding: 10px; border: 1px solid #dfe6f0; border-radius: 4px 10px 10px 10px; background: white; }
.wire-line { display: block; width: 65%; height: 5px; border-radius: 5px; background: #dbe3ed; }
.wire-line.long { width: 92%; margin-bottom: 5px; }
.citation-component { position: relative; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; margin-top: 10px; padding: 8px; border: 1px solid #b9cbed; border-radius: 8px; background: #f5f8ff; box-shadow: 0 0 0 2px rgba(62, 107, 242, .05); }
.file-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: #e75b67; color: white; font-size: .48rem; font-weight: 900; }
.citation-copy { min-width: 0; }
.citation-copy strong { display: block; overflow: hidden; color: #34475f; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.citation-copy small { display: block; margin-top: 1px; color: #8a97aa; font-size: .5rem; }
.page-chip { padding: 4px 6px; border-radius: 5px; background: #dde8ff; color: #3659b2; font-size: .55rem; font-weight: 900; }
.annotation-pin { position: absolute; display: grid; width: 17px; height: 17px; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--blue); color: white; font-size: .48rem; font-style: normal; font-weight: 900; box-shadow: 0 3px 7px rgba(30, 65, 151, .22); }
.pin-one { top: -7px; left: -7px; }
.pin-two { right: -7px; bottom: -7px; }
.design-annotations { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0; margin: 7px 0 0; list-style: none; }
.design-annotations li { display: grid; grid-template-columns: 18px 1fr; gap: 6px; padding: 6px; border-radius: 7px; background: #f7f9fc; color: #718096; font-size: .55rem; line-height: 1.4; }
.design-annotations i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #e4ecff; color: #3459ba; font-style: normal; font-weight: 900; }
.design-annotations strong { display: block; color: #4b5e77; font-size: .56rem; }
.acceptance-criteria { margin-top: 13px; }
.ac-heading small { color: #8c99ab; font-size: .52rem; }
.ac-table { overflow: hidden; border: 1px solid #dfe6ef; border-radius: 8px; }
.ac-row { display: grid; grid-template-columns: 42px 1fr 1.05fr; align-items: center; min-height: 30px; background: white; color: #67778e; font-size: .56rem; }
.ac-row + .ac-row { border-top: 1px solid #e4e9f0; }
.ac-row > * { min-width: 0; padding: 6px 7px; }
.ac-row > * + * { border-left: 1px solid #e8ecf2; }
.ac-row span:first-child { color: var(--blue-dark); font-weight: 900; }
.ac-row strong { color: #40536d; font-size: .56rem; }
.spec-heading, .result-heading { min-height: 28px; margin: 0 3px 8px; }
.spec-heading strong, .result-heading strong { padding: 4px 7px; border-radius: 6px; background: #eaf1ff; color: #4865a8; font-size: .63rem; }
.result-heading strong { background: #edf0f4; color: #5e6c80; }
.answer-link { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; margin-top: 11px; padding: 0 11px 0 8px; border: 1px solid #d5dff0; border-radius: 9px; background: rgba(255, 255, 255, .72); color: #51637d; font-size: .72rem; font-weight: 850; transition: border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease; }
.qa-heading-actions .answer-link { flex: 0 0 auto; margin-top: 0; background: white; }
.comparison-workspace .mock-app { border-radius: 16px; box-shadow: 0 8px 22px rgba(34, 59, 100, .07); }
.answer-icon { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 7px; background: #edf3ff; color: var(--blue-dark); font-size: .68rem; font-weight: 900; }
.answer-link:hover, .answer-link:focus-visible { border-color: #aebfe9; color: var(--blue-dark); outline: none; box-shadow: 0 8px 20px rgba(42, 73, 126, .09); transform: translateY(-1px); }

/* Chatbot test UI */
.mock-app { min-height: 0; flex: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.chatbot-app { display: flex; min-height: 350px; flex-direction: column; user-select: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mock-topbar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #ffbb55; }
.dot:nth-child(2) { background: #7bd9b0; }
.dot:nth-child(3) { background: #7ca6fb; }
.app-title { min-width: 0; overflow: hidden; margin-left: 6px; color: #708099; font-size: .76rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.chat-header { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #e7ebf2; background: white; }
.bot-avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: linear-gradient(145deg, #426ff3, #7c9cff); color: white; font-size: .68rem; font-weight: 900; }
.chat-header h3 { margin: 0; font-size: .92rem; letter-spacing: -.025em; }
.bot-status { display: flex; align-items: center; gap: 5px; margin-top: 2px; color: #7a889c; font-size: .62rem; }
.bot-status i { width: 6px; height: 6px; border-radius: 50%; background: #2bb788; box-shadow: 0 0 0 3px rgba(43, 183, 136, .11); }
.flow-chip { margin-left: auto; padding: 4px 7px; border-radius: 6px; background: #edf3ff; color: var(--blue-dark); font-size: .62rem; font-weight: 850; }
.chat-window { min-height: 145px; flex: 1; display: flex; flex-direction: column; gap: 8px; overflow-x: hidden; overflow-y: auto; padding: 12px 14px; background: linear-gradient(180deg, #f8faff, #f4f7fb); scrollbar-width: thin; scrollbar-color: #c9d4e4 transparent; overscroll-behavior: contain; }
.chat-message { max-width: 86%; padding: 9px 11px; border-radius: 12px; font-size: .74rem; line-height: 1.48; }
.chat-message.bot { align-self: flex-start; border: 1px solid #e2e8f1; border-bottom-left-radius: 4px; background: white; color: #4e5d73; }
.chat-message.user { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--blue); color: white; }
.conversation-started .chat-welcome { display: none; }
.chat-message[hidden] { display: none; }
.typing-message { display: flex; min-width: 54px; gap: 4px; align-items: center; }
.typing-message span { width: 5px; height: 5px; border-radius: 50%; background: #8b99ad; animation: typing-dot .8s ease-in-out infinite; }
.typing-message span:nth-child(2) { animation-delay: .13s; }
.typing-message span:nth-child(3) { animation-delay: .26s; }
.response-message { width: min(86%, 390px); }
.response-message p { margin: 0; }
.source-error-answer { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 7px; border: 1px solid #efbec4; border-radius: 6px; background: #fff5f6; color: #b53845; font-size: .63rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.source-error-answer span { display: grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: #df5965; color: white; font-size: .58rem; }
.response-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; color: #8794a7; font-size: .57rem; }
.source-meta-answer { padding: 0; border: 0; background: transparent; color: #677993; font: inherit; font-weight: 800; text-decoration: underline dotted; text-underline-offset: 3px; }
.source-error-answer:disabled, .source-meta-answer:disabled { cursor: default; opacity: 1; }
.source-error-answer:not(:disabled):hover, .source-error-answer:not(:disabled):focus-visible, .source-meta-answer:not(:disabled):hover, .source-meta-answer:not(:disabled):focus-visible { outline: none; color: #b52735; transform: translateY(-1px); }
.chat-composer { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e4e9f1; background: white; }
.chat-composer input { min-width: 0; min-height: 37px; flex: 1; padding: 0 11px; border: 1px solid #dbe2ed; border-radius: 9px; background: #f8faff; color: #34445c; font: inherit; font-size: .72rem; outline: none; }
.chat-composer input:focus { border-color: #9eb5f7; box-shadow: 0 0 0 3px rgba(62, 107, 242, .09); }
.chat-send { position: relative; display: inline-flex; min-height: 37px; align-items: center; gap: 7px; padding: 0 8px 0 11px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-size: .69rem; font-weight: 850; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.chat-send:hover, .chat-send:focus-visible { background: var(--blue-dark); outline: none; transform: translateY(-1px); }
.chat-send:disabled { cursor: wait; opacity: .72; transform: none; }
.send-icon { position: relative; z-index: 1; display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: .72rem; line-height: 1; }
.send-icon::before, .send-icon::after { content: ""; position: absolute; inset: 0; z-index: -1; border: 1.5px solid rgba(121, 157, 255, .88); border-radius: 50%; opacity: 0; pointer-events: none; }
.action-nudge .chat-send { animation: action-nudge 1.2s ease 2; }
.action-nudge .send-icon::before { animation: send-wave 1.35s ease-out 2; }
.action-nudge .send-icon::after { animation: send-wave 1.35s .38s ease-out 2; }
.is-sending .send-icon { color: transparent; border: 2px solid rgba(255, 255, 255, .38); border-top-color: white; background: transparent; animation: send-spin .7s linear infinite; }
.is-sending .send-icon::before, .is-sending .send-icon::after { display: none; }
.signal-nudge .source-error-answer:not(:disabled) { animation: signal-nudge 1.35s ease 2; }
.signal-nudge .source-meta-answer:not(:disabled) { animation: signal-nudge 1.35s .28s ease 2; }
.bug-found .source-error-answer, .bug-found .source-meta-answer { box-shadow: 0 0 0 4px rgba(239, 93, 104, .12); }

/* Defect registration animation */
.defect-workflow { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; transform: translateY(18px); scroll-margin-top: 82px; transition: max-height .9s cubic-bezier(.2,.8,.2,1), margin .5s ease, opacity .45s ease, transform .55s ease; }
.defect-workflow.show { max-height: 3000px; margin-top: 34px; opacity: 1; transform: none; }
.defect-workflow.show.is-expanded { overflow: visible; }
.workflow-rail { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; margin-bottom: 13px; }
.workflow-step { display: inline-flex; align-items: center; gap: 7px; color: #8a97aa; font-size: .7rem; font-weight: 850; white-space: nowrap; transition: color .3s ease; }
.workflow-step i { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #d5ddea; border-radius: 50%; background: #f8faff; font-style: normal; }
.workflow-step.active { color: var(--blue-dark); }
.workflow-step.active i { border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 0 0 5px rgba(62, 107, 242, .1); }
.workflow-line { height: 1px; overflow: hidden; background: #d9e1ec; }
.workflow-line::after { content: ""; display: block; width: 100%; height: 100%; background: var(--blue); transform: translateX(-100%); }
.defect-workflow.show .workflow-line::after { animation: draw-line .75s .55s ease forwards; }
.defect-card { padding: 26px; border: 1px solid #dce4ef; border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(34, 59, 100, .08); }
.defect-card-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #e5eaf1; }
.defect-card-head span { color: var(--blue); font-size: .64rem; font-weight: 900; letter-spacing: .11em; }
.defect-card-head h3 { margin: 5px 0 0; font-size: 1.2rem; letter-spacing: -.035em; }
.defect-card-head .severity { padding: 5px 8px; border-radius: 6px; background: #fff0f2; color: #b23f4b; letter-spacing: .02em; }
.defect-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 17px 0; }
.defect-fields div { padding: 11px 13px; border: 1px solid #e3e9f1; border-radius: 9px; background: #f8faff; opacity: 0; transform: translateY(8px); }
.defect-fields .field-wide { grid-column: 1 / -1; }
.defect-workflow.show .defect-fields div { animation: field-in .4s ease forwards; }
.defect-workflow.show .defect-fields div:nth-child(1) { animation-delay: .4s; }
.defect-workflow.show .defect-fields div:nth-child(2) { animation-delay: .52s; }
.defect-workflow.show .defect-fields div:nth-child(3) { animation-delay: .64s; }
.defect-workflow.show .defect-fields div:nth-child(4) { animation-delay: .76s; }
.defect-workflow.show .defect-fields div:nth-child(5) { animation-delay: .88s; }
.defect-workflow.show .defect-fields div:nth-child(6) { animation-delay: 1s; }
.defect-fields dt { color: #71819a; font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.defect-fields dd { margin: 3px 0 0; color: #34465f; font-size: .78rem; font-weight: 720; line-height: 1.5; }
.attachment-list { display: flex; flex-wrap: wrap; gap: 6px; }
.attachment-list span { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid #d7e1ef; border-radius: 6px; background: white; color: #526985; font-size: .64rem; font-weight: 800; }
.defect-action { display: flex; align-items: center; gap: 24px; padding-top: 17px; border-top: 1px solid #e5eaf1; }
.defect-action p { flex: 1; margin: 0; color: #68778d; font-size: .76rem; line-height: 1.6; }
.defect-action p strong { color: #33465f; }
.defect-action button { position: relative; isolation: isolate; display: inline-flex; min-width: 126px; min-height: 42px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; background: var(--blue); color: white; font-size: .76rem; font-weight: 900; box-shadow: 0 9px 20px rgba(62, 107, 242, .2); }
.defect-action button::before, .defect-action button::after { content: ""; position: absolute; inset: -1px; z-index: -1; border: 2px solid rgba(62, 107, 242, .55); border-radius: 12px; opacity: 0; pointer-events: none; }
.defect-action button.register-nudge { animation: register-attention 1.2s ease-in-out 2; }
.defect-action button.register-nudge::before { animation: register-ripple 1.25s ease-out 2; }
.defect-action button.register-nudge::after { animation: register-ripple 1.25s .32s ease-out 2; }
.defect-action button i { font-style: normal; transition: transform .2s ease; }
.defect-action button:hover i { transform: translateX(3px); }
.defect-action button:disabled { cursor: default; background: #9aa8bc; box-shadow: none; }
.registration-result { display: none; align-items: center; gap: 12px; margin-top: 17px; padding: 13px 15px; border: 1px solid #bde6d8; border-radius: 10px; background: #f0fbf7; color: #286852; }
.registration-result.show { display: flex; animation: registration-in .55s ease both; }
.checkmark { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; background: #2eaa7d; color: white; font-weight: 900; }
.registration-result strong { display: block; font-size: .82rem; }
.registration-result p { margin: 2px 0 0; color: #5b7a6f; font-size: .7rem; }
.scroll-story { position: relative; display: flex; width: max-content; max-height: 0; align-items: center; gap: 9px; overflow: hidden; margin: 0 auto; color: #3657aa; font-size: .78rem; font-weight: 850; text-decoration: none; opacity: 0; pointer-events: none; scroll-margin-bottom: 24px; transform: translateY(8px); transition: max-height .35s ease, margin .35s ease, padding .35s ease, opacity .35s ease, transform .35s ease; }
.scroll-story::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, .86) 46%, transparent 72%); pointer-events: none; transform: translateX(-130%); }
.scroll-story.show { max-height: 52px; margin-top: 34px; padding: 8px 12px; border: 1px solid #c9d8f8; border-radius: 10px; background: linear-gradient(90deg, #e6eeff, #f5f8ff); box-shadow: 0 7px 18px rgba(62, 107, 242, .1); opacity: 1; pointer-events: auto; transform: none; animation: story-highlight 1.15s ease-out 1; }
.scroll-story.show::before { animation: story-shine 1.35s .25s ease-out 1; }
.scroll-story > span, .scroll-story i { position: relative; z-index: 1; }
.scroll-story i { flex: 0 0 auto; color: var(--blue); font-size: .9rem; font-style: normal; line-height: 1; animation: scroll-bob 1.8s ease-in-out infinite; }

/* QA philosophy */
.qa-philosophy { min-height: 100svh; padding: clamp(48px, 5vw, 64px) 0 64px; overflow: hidden; background: #132238; color: white; scroll-margin-top: 66px; }
.philosophy-wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 60px; row-gap: clamp(32px, 4vw, 48px); }
.philosophy-copy .qa-step { color: #8fb0ff; }
.philosophy-copy h2 { color: white; font-size: clamp(2.35rem, 3.4vw, 3.3rem); line-height: 1.16; }
.philosophy-copy h2 span { display: block; }
.philosophy-copy h2 span + span { color: #a9c0ff; }
.philosophy-copy > p { display: grid; max-width: 59ch; gap: 9px; margin: 25px 0 0; color: #b7c4d7; font-size: 1rem; line-height: 1.75; }
.philosophy-copy > p span { display: block; }
.philosophy-copy blockquote { position: relative; display: block; overflow: hidden; margin: 27px 0 0; padding: 17px 50px 17px 19px; border: 1px solid rgba(143, 176, 255, .16); border-left: 3px solid #779dff; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .045); color: #c8d3e4; font-size: 1rem; line-height: 1.65; }
.philosophy-copy blockquote::after { content: "“"; position: absolute; top: -8px; right: 13px; color: rgba(143, 176, 255, .18); font-size: 4rem; font-weight: 900; line-height: 1; }
.philosophy-copy blockquote span, .philosophy-copy blockquote strong { position: relative; z-index: 1; display: block; }
.philosophy-copy blockquote strong { margin-top: 2px; color: #f4f7fc; font-weight: 800; }
.collaboration-visual { position: relative; min-height: 470px; opacity: 0; transform: scale(.94); transition: opacity .8s ease, transform .8s ease; }
.qa-philosophy.is-visible .collaboration-visual { opacity: 1; transform: scale(1); }
.collab-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(143, 176, 255, .2); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 270px; height: 270px; }
.ring-two { width: 430px; height: 430px; border-style: dashed; animation: ring-rotate 28s linear infinite; }
.qa-core { position: absolute; top: 50%; left: 50%; z-index: 3; display: grid; width: 154px; height: 154px; place-content: center; border: 1px solid rgba(151, 182, 255, .5); border-radius: 50%; background: radial-gradient(circle at 38% 28%, #547eea, #263f78 66%, #182b50); box-shadow: 0 0 0 14px rgba(107, 145, 240, .06), 0 22px 48px rgba(2, 10, 25, .34); text-align: center; transform: translate(-50%, -50%); }
.qa-core small { color: #c7d6ff; font-size: .52rem; font-weight: 900; letter-spacing: .12em; }
.qa-core strong { margin: 2px 0; color: white; font-size: 2.5rem; line-height: 1; letter-spacing: -.07em; }
.qa-core em { color: #c6d2e8; font-size: .59rem; font-style: normal; line-height: 1.25; }
.collaborator { --float-x: 0px; --float-y: 0px; position: absolute; z-index: 4; display: grid; width: min(215px, 43%); min-width: 150px; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 11px; background: rgba(255, 255, 255, .07); box-shadow: 0 13px 30px rgba(0, 0, 0, .16); backdrop-filter: blur(9px); opacity: 0; translate: var(--float-x) var(--float-y); transition: translate .18s cubic-bezier(.2, .8, .2, 1), border-color .2s ease, background .2s ease, box-shadow .2s ease; will-change: translate; }
.collaboration-visual.is-interacting .collaborator { border-color: rgba(143, 176, 255, .3); background: rgba(255, 255, 255, .09); box-shadow: 0 17px 36px rgba(0, 0, 0, .2); }
.qa-philosophy.is-visible .collaborator { animation: collaborator-in .55s ease forwards; }
.qa-philosophy.is-visible .design { animation-delay: .12s; }
.qa-philosophy.is-visible .develop { animation-delay: .24s; }
.qa-philosophy.is-visible .engineer { animation-delay: .36s; }
.collaborator i { color: #84a8ff; font-size: .53rem; font-style: normal; font-weight: 900; }
.collaborator strong { margin: 3px 0 4px; color: white; font-size: .86rem; }
.collaborator small { color: #bdc9da; font-size: .68rem; line-height: 1.45; letter-spacing: -.015em; }
.collaborator::after { content: ""; position: absolute; z-index: -1; width: 78px; height: 1px; background: linear-gradient(90deg, rgba(126, 164, 255, .5), transparent); transform-origin: left; }
.plan { top: 8%; left: 8%; }
.plan::after { top: 100%; left: 88%; transform: rotate(41deg); }
.design { top: 12%; right: 1%; }
.design::after { top: 100%; right: 88%; transform: rotate(137deg); }
.develop { right: 2%; bottom: 11%; }
.develop::after { right: 88%; bottom: 100%; transform: rotate(222deg); }
.engineer { bottom: 7%; left: 5%; }
.engineer::after { bottom: 100%; left: 88%; transform: rotate(316deg); }
.quality-lifecycle { grid-column: 1 / -1; padding: 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; background: rgba(255, 255, 255, .045); opacity: 0; transform: translateY(25px); transition: opacity .7s .25s ease, transform .7s .25s ease; }
.qa-philosophy.is-visible .quality-lifecycle { opacity: 1; transform: none; }
.lifecycle-head { display: grid; gap: 6px; margin-bottom: 19px; }
.lifecycle-head span { color: #82a5fa; font-size: .6rem; font-weight: 900; letter-spacing: .12em; }
.lifecycle-head strong { color: #f5f8ff; font-size: 1.1rem; line-height: 1.4; letter-spacing: -.025em; }
.quality-lifecycle ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; margin: 0; list-style: none; }
.quality-lifecycle li { min-height: 80px; padding: 12px; border-radius: 9px; background: rgba(255, 255, 255, .055); }
.quality-lifecycle li span { display: block; color: #89aafd; font-size: .61rem; font-weight: 900; text-transform: uppercase; }
.quality-lifecycle li strong { display: block; margin-top: 7px; color: #dce5f3; font-size: .78rem; line-height: 1.45; }
.qa-throughline { position: relative; height: 24px; margin-top: 9px; overflow: hidden; border-radius: 6px; background: rgba(111, 151, 255, .08); }
.qa-throughline::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #4c75de, #7ea3ff); transform: scaleX(0); transform-origin: left; }
.qa-philosophy.is-visible .qa-throughline::before { animation: lifecycle-line 1.3s .7s ease forwards; }
.qa-throughline span { position: relative; z-index: 1; display: grid; height: 100%; place-items: center; color: white; font-size: .54rem; font-weight: 900; letter-spacing: .12em; }
.philosophy-ending { position: relative; grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; padding: 18px 18px 18px 22px; border: 1px solid rgba(143, 176, 255, .2); border-radius: 16px; background: linear-gradient(105deg, rgba(81, 119, 216, .16), rgba(255, 255, 255, .045)); }
.philosophy-ending::before { content: ""; position: absolute; top: 17px; bottom: 17px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: #779dff; }
.philosophy-ending-copy { display: grid; gap: 5px; }
.philosophy-ending-copy span { color: #8fb0ff; font-size: .58rem; font-weight: 900; letter-spacing: .12em; }
.philosophy-ending-copy strong { color: #f4f7fc; font-size: .94rem; line-height: 1.5; letter-spacing: -.015em; }
.philosophy-ending a { display: inline-flex; min-height: 48px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; background: white; color: #172b49; font-size: .8rem; font-weight: 900; text-decoration: none; box-shadow: 0 10px 24px rgba(3, 12, 28, .2); transition: transform .2s ease, box-shadow .2s ease; }
.philosophy-ending a:hover { box-shadow: 0 13px 28px rgba(3, 12, 28, .28); transform: translateY(-2px); }
.philosophy-ending a span { margin-left: 9px; }

@keyframes typing-dot { 0%, 100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes action-nudge { 0%, 100% { box-shadow: none; transform: translateY(0) scale(1); } 45% { box-shadow: 0 0 0 6px rgba(62, 107, 242, .14); transform: translateY(-2px) scale(1.035); } }
@keyframes send-wave { 0% { opacity: .82; transform: scale(.72); } 75%, 100% { opacity: 0; transform: scale(2.25); } }
@keyframes send-spin { to { transform: rotate(360deg); } }
@keyframes signal-nudge { 0%, 100% { box-shadow: none; transform: translateY(0) scale(1); } 42% { background: #fff5f6; box-shadow: 0 0 0 5px rgba(239, 93, 104, .13); transform: translateY(-2px) scale(1.025); } }
@keyframes draw-line { to { transform: translateX(0); } }
@keyframes field-in { to { opacity: 1; transform: none; } }
@keyframes registration-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes register-attention { 0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 9px 20px rgba(62, 107, 242, .2); } 42% { transform: translateY(-3px) scale(1.035); box-shadow: 0 14px 30px rgba(62, 107, 242, .34); } }
@keyframes register-ripple { 0% { opacity: .8; transform: scale(.94); } 78%, 100% { opacity: 0; transform: scale(1.25); } }
@keyframes story-highlight { 0% { box-shadow: 0 0 0 0 rgba(62, 107, 242, .25); transform: scale(.97); } 55% { box-shadow: 0 0 0 7px rgba(62, 107, 242, .09); transform: scale(1.015); } 100% { box-shadow: 0 7px 18px rgba(62, 107, 242, .1); transform: scale(1); } }
@keyframes story-shine { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes scroll-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(2px); } }
@keyframes ring-rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes collaborator-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lifecycle-line { to { transform: scaleX(1); } }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
