.app-hero-content { max-width: 960px; }
/* App Building uses the site's Gilroy typography, container and brand palette. */
.app-hero h1 { font-size: clamp(36px, 3.7vw, 58px); }
.app-hero .service-lead { font-size: 20px; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.app-actions .btn-primary { padding: 20px 28px; }
.app-secondary-link { color: #fff; text-decoration: underline; text-underline-offset: 6px; font-size: 18px; }
.app-secondary-link:hover { color: #fa144b; }
.app-value-strip { list-style: none; margin: 56px 0 0; padding: 28px 0 0; border-top: 1px solid #343643; display: flex; justify-content: space-between; gap: 24px; }
.app-value-strip li { font-size: 16px; line-height: 1.5; color: #dddde3; }
.app-value-strip li::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #fa144b; border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.app-section h2 { max-width: 920px; }
.app-section h3 { font-size: 26px; }
.app-section p { margin-bottom: 0; color: #505261; }
.app-section .app-kicker { color: #b90c38; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.app-case { display: grid; grid-template-columns: 1fr 1.7fr; gap: 70px; padding: 40px 0; border-top: 1px solid #dddfe5; }
.app-case h3 { font-size: 36px; }
.app-case-details p { display: grid; grid-template-columns: 110px 1fr; gap: 24px; margin: 0 0 18px; font-size: 18px; line-height: 1.7; }
.app-case-details strong { font-weight: 600; color: #020414; }
.app-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.app-scenarios, .app-handover { background: #f8f9fa; }
.app-process { background: #fff; }
.app-benefits .app-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.app-catalog .app-items { gap: 24px; }
.app-catalog article { border: 1px solid #dddfe5; padding: 32px; border-radius: 16px; display: flex; flex-direction: column; }
.app-catalog article p { margin-bottom: 20px; }
.app-catalog article a { margin-top: auto; }
.app-section .app-note { margin-top: 40px; padding-top: 28px; border-top: 1px solid #dddfe5; max-width: 960px; }
.app-section .app-context-link { margin-top: 28px; }
/* Five connected milestones; the reading order remains an ordered list. */
.app-process-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.app-process-list li { position: relative; min-width: 0; padding: 0 24px 0 0; }
.app-process-list li::before { content: ''; position: absolute; top: 24px; left: 24px; width: 100%; height: 2px; background: #fa144b; }
.app-process-list li:last-child::before { width: calc(100% - 24px); }
.app-process-list li:last-child { padding-right: 0; }
.app-process-list h3 { font-size: 22px; line-height: 1.35; margin: 24px 0 16px; }
.app-process-list p { font-size: 16px; line-height: 1.75; }
.app-step-number { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fa144b; color: #fff; font-size: 18px; font-weight: 600; }
@media (max-width: 1199.98px) {
    .app-process-list { grid-template-columns: 1fr; }
    .app-process-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; row-gap: 12px; padding: 0 0 36px; }
    .app-process-list li::before { top: 24px; bottom: -24px; left: 23px; width: 2px; height: auto; }
    .app-process-list li:last-child::before { content: none; }
    .app-process-list li:last-child { padding-bottom: 0; }
    .app-step-number { grid-row: 1 / 3; }
    .app-process-list h3 { grid-column: 2; margin: 8px 0 0; }
    .app-process-list p { grid-column: 2; }
}
.app-ai { background: #020414; color: #fff; }
.app-ai h2, .app-ai h3 { color: #fff; }
.app-ai p { color: #d1d2d7; }
.app-section .app-intro { max-width: 960px; margin-bottom: 40px; }
.app-cost .btn-primary { margin-top: 36px; }
#realizacje { scroll-margin-top: 100px; }
@media (max-width: 991.98px) {
    .app-benefits .app-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-case { gap: 30px; }
    .app-value-strip { flex-wrap: wrap; }
}
@media (max-width: 575.98px) {
    .app-hero h1 { font-size: 36px; }
    .app-hero .service-lead { font-size: 18px; }
    .app-value-strip { flex-direction: column; gap: 18px; margin-top: 36px; }
    .app-case, .app-items, .app-benefits .app-items { grid-template-columns: 1fr; gap: 28px; }
    .app-case-details p { grid-template-columns: 1fr; gap: 6px; }
    .app-case { padding: 32px 0; }
    .app-catalog article { padding: 24px; }
    .app-process-list li { column-gap: 16px; }
    .app-section h3 { font-size: 24px; }
}

.app-catalog article .app-item-link { margin-top: auto; margin-bottom: 0; }

/* Handover: the delivered product alongside the practical handover details. */
.app-handover-layout { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 56px; align-items: stretch; }
.app-handover-feature { position: relative; overflow: hidden; padding: 40px; border-radius: 20px; background: #020414; color: #fff; }
.app-handover-symbol { display: inline-flex; padding: 16px; margin-bottom: 32px; background: #fa144b; border-radius: 16px; }
.app-handover-feature .app-handover-label { color: #bfc0c6; font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.app-handover-feature h3 { color: #fff; font-size: clamp(30px, 3vw, 40px); }
.app-handover-feature p { color: #d1d2d7; }
.app-handover-feature-number { display: block; margin-top: 48px; color: #fa144b; font-size: 80px; line-height: 1; font-weight: 600; }
.app-handover-deliverables { display: grid; align-content: center; }
.app-handover-item { display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid #dddfe5; }
.app-handover-item:first-child { padding-top: 0; }
.app-handover-item:last-child { border-bottom: 0; padding-bottom: 0; }
.app-handover-number { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #c10d39; border: 1px solid #eadce1; font-size: 16px; font-weight: 600; }
.app-handover-item h3 { font-size: 24px; margin-bottom: 10px; }
.app-handover-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; padding: 28px 32px; border-radius: 0 12px 12px 0; }
.app-handover-next p { max-width: 420px; font-weight: 600; color: #020414; }
.app-handover-next a { max-width: 440px; }
@media (max-width: 991.98px) {
    .app-handover-layout { grid-template-columns: 1fr; gap: 36px; }
    .app-handover-feature { padding: 32px; }
    .app-handover-feature-number { margin-top: 28px; font-size: 60px; }
    .app-handover-next { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 575.98px) {
    .app-handover-feature { padding: 28px 24px; }
    .app-handover-item { grid-template-columns: 40px 1fr; gap: 16px; }
    .app-handover-number { width: 40px; height: 40px; }
    .app-handover-item h3 { font-size: 22px; }
    .app-handover-next { padding: 24px; }
}

.app-cost .app-price { margin-bottom: 20px; color: #c10d39; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.3; }

.app-catalog .app-note { border-top: 0; }

/* AI and experience: complementary roles within the same delivery process. */
.app-ai-partnership { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.app-ai-panel { display: flex; flex-direction: column; min-width: 0; padding: 40px; background: #111322; border: 1px solid #343643; border-radius: 20px; }
.app-ai-panel-experience { background: linear-gradient(145deg, #251323, #111322 70%); border-color: #794052; }
.app-ai-panel-label { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.app-ai-panel-label .development-icon { flex-shrink: 0; margin: 0; background: #302031; color: #ff6589; }
.app-ai-panel-label p { color: #d1d2d7; font-size: 15px; font-weight: 600; letter-spacing: 0.03em; }
.app-ai-panel-experience .development-icon { background: #fa144b; color: #fff; }
.app-ai-panel h3 { font-size: clamp(26px, 2.7vw, 34px); margin-bottom: 20px; }
.app-ai-tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 28px 0 0; margin: auto 0 0; }
.app-ai-tags li { padding: 8px 12px; border: 1px solid #424453; border-radius: 8px; color: #e5e5ec; font-size: 14px; line-height: 1.5; }
.app-ai-connector { position: absolute; z-index: 1; top: 66px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #794052; background: #020414; color: #ff6589; font-size: 30px; font-weight: 600; }
@media (max-width: 767.98px) {
    .app-ai-partnership { grid-template-columns: 1fr; gap: 0; }
    .app-ai-panel { padding: 28px 24px; }
    .app-ai-panel-label { margin-bottom: 24px; }
    .app-ai-connector { position: relative; top: auto; left: auto; transform: none; justify-self: center; margin: -8px 0; }
}

/* Business scenarios: clear entry points into the application offer. */
.app-scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-scenario-card { display: flex; flex-direction: column; min-width: 0; padding: 36px; border: 1px solid #e6e7ec; border-radius: 20px; background: #fff; }
.app-scenario-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.app-scenario-top .development-icon { margin: 0; }
.app-scenario-number { font-size: 42px; line-height: 1; font-weight: 600; color: #a2a4af; }
.app-scenario-card h3 { max-width: 360px; font-size: 30px; line-height: 1.25; margin-bottom: 20px; }
.app-scenario-card .app-scenario-examples { margin-top: auto; padding-top: 28px; color: #b90c38; font-size: 15px; line-height: 1.7; font-weight: 600; }
.app-scenario-featured { background: #020414; border-color: #020414; }
.app-scenario-featured h3 { color: #fff; }
.app-scenario-featured p { color: #d1d2d7; }
.app-scenario-featured .development-icon { background: #fa144b; color: #fff; }
.app-scenario-featured .app-scenario-number { color: #888b9f; }
.app-scenario-featured .app-scenario-examples { color: #ff6589; }
@media (max-width: 767.98px) {
    .app-scenario-grid { grid-template-columns: 1fr; gap: 20px; }
    .app-scenario-card { padding: 28px 24px; }
    .app-scenario-card h3 { font-size: 26px; }
    .app-scenario-number { font-size: 36px; }
}
