:root {
    --apps-ink: #1d1d1d;
    --apps-blue: #0057d9;
    --apps-red: #e53935;
    --apps-yellow: #f4c300;
    --apps-paper: #fbfbfa;
    --apps-muted: #66707d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.apps-page {
    margin: 0;
    background: var(--apps-paper);
    color: var(--apps-ink);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.apps-page a { color: inherit; }
.apps-header {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 24px;
    min-height: 82px;
    padding: 12px clamp(22px, 5vw, 72px);
    border-bottom: 1px solid rgba(29, 29, 29, .08);
    background: rgba(255, 255, 255, .96);
}
.apps-logo { display: inline-flex; width: fit-content; }
.apps-logo img { display: block; width: 190px; max-height: 48px; object-fit: contain; }
.apps-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.apps-nav a, .apps-footer > a:last-child {
    color: #383b40;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s ease;
}
.apps-nav a:hover, .apps-footer > a:last-child:hover { color: var(--apps-blue); }
.apps-nav a[aria-current="page"]::after {
    display: block;
    height: 3px;
    margin-top: 7px;
    background: var(--apps-red);
    content: "";
}
.apps-header-cta {
    justify-self: end;
    padding: 12px 22px;
    border: 1px solid var(--apps-ink);
    border-radius: 999px;
    color: var(--apps-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.apps-header-cta:hover { background: var(--apps-ink); color: #fff; }
.apps-header-cta span { margin-left: 8px; }
.apps-language-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #d9d9d9; border-radius: 999px; background: #fff; }
.apps-language-switcher button { min-width: 34px; height: 30px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: #666; font: 700 12px "Inter", sans-serif; cursor: pointer; }
.apps-language-switcher button.is-active { background: var(--apps-ink); color: #fff; }
.apps-language-switcher button:focus-visible { outline: 3px solid var(--apps-blue); outline-offset: 2px; }
.apps-language-switcher > span { color: #999; font-size: 12px; }

.apps-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 8vw, 112px) 24px 40px;
    background: #fff;
}
.apps-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
    width: min(1180px, 100%);
    margin: 0 auto;
}
.apps-hero-copy { position: relative; z-index: 1; }
.apps-eyebrow, .apps-section-kicker {
    margin: 0 0 18px;
    color: var(--apps-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.5;
    text-transform: uppercase;
}
.apps-eyebrow { display: flex; align-items: center; gap: 10px; }
.apps-eyebrow > span:first-child { flex: 0 0 42px; width: 42px; height: 3px; background: linear-gradient(90deg, var(--apps-blue) 0 50%, var(--apps-red) 50% 75%, var(--apps-yellow) 75%); }
.apps-eyebrow > span:last-child { flex: 0 1 auto; width: auto; height: auto; line-height: 1.5; }
.apps-hero h1, .apps-intro h2, .apps-section-heading h2, .apps-process-heading h2, .apps-final-cta h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.08;
}
.apps-hero h1 { max-width: 620px; font-size: clamp(42px, 5.6vw, 72px); }
.apps-page em { color: var(--apps-blue); font-style: normal; }
.apps-lead { max-width: 570px; margin: 24px 0 0; color: #5c646e; font-size: 17px; line-height: 1.75; }
.apps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.apps-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}
.apps-button:hover { transform: translateY(-2px); }
.apps-button-primary { background: var(--apps-ink); color: #fff !important; }
.apps-button-primary:hover { background: var(--apps-blue); }
.apps-button span { font-size: 18px; }
.apps-text-link { color: #333; font-size: 13px; font-weight: 600; text-decoration: none; }
.apps-text-link span { margin-left: 6px; color: var(--apps-red); }
.apps-pills { display: flex; flex-wrap: wrap; gap: 9px; margin: 28px 0 0; padding: 0; list-style: none; }
.apps-pills li { padding: 8px 12px; border: 1px solid #e6e8eb; border-radius: 999px; background: #fff; color: #535b66; font-size: 11px; font-weight: 600; }
.apps-hero-visual { position: relative; }
.apps-hero-visual img { display: block; width: 100%; border-radius: 22px; object-fit: cover; }
.apps-visual-caption { position: absolute; right: 14px; bottom: 14px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: #353b44; font-size: 11px; font-weight: 700; box-shadow: 0 5px 18px rgba(0,0,0,.08); }
.apps-color-line { display: flex; width: min(1180px, 100%); height: 4px; margin: 48px auto 0; }
.apps-color-line span:nth-child(1) { width: 25%; background: var(--apps-ink); }
.apps-color-line span:nth-child(2) { width: 25%; background: var(--apps-blue); }
.apps-color-line span:nth-child(3) { width: 25%; background: var(--apps-red); }
.apps-color-line span:nth-child(4) { width: 25%; background: var(--apps-yellow); }

.apps-intro { max-width: 880px; margin: 0 auto; padding: clamp(72px, 9vw, 120px) 24px; text-align: center; }
.apps-intro h2, .apps-section-heading h2, .apps-process-heading h2 { font-size: clamp(34px, 4.5vw, 54px); }
.apps-intro > p { max-width: 700px; margin: 22px auto 0; color: var(--apps-muted); font-size: 16px; line-height: 1.8; }
.apps-solutions { padding: 78px 24px 92px; background: #f1f2f3; }
.apps-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; width: min(1120px, 100%); margin: 0 auto 38px; }
.apps-section-heading > p { max-width: 390px; margin: 0 0 4px; color: var(--apps-muted); font-size: 15px; line-height: 1.75; }
.apps-solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: min(1120px, 100%); margin: 0 auto; }
.apps-solution-card { min-height: 260px; padding: 26px; border: 1px solid #e5e7e9; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(29,29,29,.035); }
.apps-card-index { display: flex; align-items: center; justify-content: space-between; color: #777f89; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.apps-card-index i { width: 11px; height: 11px; border-radius: 50%; background: var(--apps-accent); }
.apps-solution-card:nth-child(1) { --apps-accent: var(--apps-blue); }
.apps-solution-card:nth-child(2) { --apps-accent: var(--apps-red); }
.apps-solution-card:nth-child(3) { --apps-accent: #d1a900; }
.apps-card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 25px 0 18px; border-radius: 14px; font-size: 25px; font-weight: 700; }
.apps-icon-blue { background: #e8f0ff; color: var(--apps-blue); }
.apps-icon-red { background: #fff0ef; color: var(--apps-red); }
.apps-icon-yellow { background: #fff8d9; color: #9f8000; }
.apps-solution-card h3, .apps-process-list h3 { margin: 0 0 10px; font-family: "Sora", sans-serif; font-size: 18px; letter-spacing: -.025em; }
.apps-solution-card p, .apps-process-list p { margin: 0; color: var(--apps-muted); font-size: 14px; line-height: 1.7; }

.apps-process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 9vw, 120px); width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.apps-process-heading { align-self: start; position: sticky; top: 34px; }
.apps-process-list { border-top: 1px solid #dfe2e5; }
.apps-process-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 25px 0; border-bottom: 1px solid #dfe2e5; }
.apps-process-list article > span { color: var(--apps-red); font-family: "Sora", sans-serif; font-size: 13px; font-weight: 800; }

.apps-final-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; width: min(1120px, calc(100% - 48px)); margin: 0 auto 80px; padding: clamp(30px, 5vw, 58px); overflow: hidden; border-radius: 22px; background: var(--apps-ink); color: #fff; }
.apps-final-cta .apps-section-kicker { color: var(--apps-yellow); }
.apps-final-cta h2 { font-size: clamp(32px, 4vw, 48px); }
.apps-final-cta p { margin: 15px 0 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; }
.apps-final-cta .apps-button { flex: 0 0 auto; background: #fff; color: var(--apps-ink) !important; }
.apps-final-cta .apps-button:hover { background: var(--apps-yellow); }
.apps-cta-colorbar { position: absolute; top: 0; left: 38px; display: flex; width: 112px; height: 4px; }
.apps-cta-colorbar span { flex: 1; }
.apps-cta-colorbar span:nth-child(1) { background: var(--apps-blue); }
.apps-cta-colorbar span:nth-child(2) { background: var(--apps-red); }
.apps-cta-colorbar span:nth-child(3) { background: var(--apps-yellow); }
.apps-cta-colorbar span:nth-child(4) { background: #fff; }
.apps-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(22px, 5vw, 72px); border-top: 1px solid #e7e8e9; background: #fff; }
.apps-footer .apps-logo img { width: 160px; }
.apps-footer p { margin: 0; color: var(--apps-muted); font-size: 12px; }

@media (max-width: 900px) {
    .apps-header { grid-template-columns: 1fr auto auto; }
    .apps-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
    .apps-language-switcher { grid-column: 2; grid-row: 1; }
    .apps-header-cta { grid-column: 3; grid-row: 1; }
    .apps-hero-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
    .apps-solution-grid { grid-template-columns: 1fr 1fr; }
    .apps-solution-card:last-child { grid-column: 1 / -1; min-height: 220px; }
}
@media (max-width: 650px) {
    .apps-header { min-height: 72px; padding: 10px 14px; gap: 7px; }
    .apps-logo img { width: 120px; }
    .apps-header-cta { padding: 9px 11px; font-size: 11px; }
    .apps-language-switcher { gap: 1px; padding: 3px; }
    .apps-language-switcher button { min-width: 27px; height: 28px; padding: 0 5px; font-size: 10px; }
    .apps-nav { gap: 22px; }
    .apps-nav a { white-space: nowrap; font-size: 13px; }
    .apps-hero { padding: 48px 20px 28px; }
    .apps-hero-inner { grid-template-columns: 1fr; gap: 34px; }
    .apps-hero h1 { font-size: clamp(40px, 12vw, 58px); }
    .apps-lead { font-size: 15px; }
    .apps-hero-visual img { border-radius: 16px; }
    .apps-color-line { margin-top: 32px; }
    .apps-intro { padding: 70px 22px; }
    .apps-intro h2, .apps-section-heading h2, .apps-process-heading h2 { font-size: clamp(32px, 9vw, 44px); }
    .apps-solutions { padding: 64px 20px; }
    .apps-section-heading { display: block; margin-bottom: 27px; }
    .apps-section-heading > p { margin-top: 18px; font-size: 14px; }
    .apps-solution-grid { grid-template-columns: 1fr; gap: 12px; }
    .apps-solution-card, .apps-solution-card:last-child { grid-column: auto; min-height: 0; padding: 22px; }
    .apps-card-icon { margin: 18px 0 14px; }
    .apps-process { display: block; width: calc(100% - 40px); padding: 70px 0; }
    .apps-process-heading { position: static; margin-bottom: 32px; }
    .apps-process-list article { grid-template-columns: 38px 1fr; gap: 10px; }
    .apps-final-cta { display: block; width: calc(100% - 40px); margin-bottom: 55px; padding: 32px 24px; }
    .apps-final-cta .apps-button { margin-top: 24px; }
    .apps-footer { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
