:root {
  --apps-ink: #14213d;
  --apps-muted: #65708a;
  --apps-red: #c92335;
  --apps-gold: #f5b841;
  --apps-surface: #f6f8fc;
}

body.apps-page { background: #fff; color: var(--apps-ink); }
.apps-page .header { box-shadow: 0 8px 28px rgba(20, 33, 61, .08); }
.apps-page .navmenu a.active { color: var(--apps-red); }
.apps-page main { overflow: hidden; }

.apps-hero {
  position: relative;
  padding: 112px 0 88px;
  background:
    radial-gradient(circle at 88% 20%, rgba(245, 184, 65, .22), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(201, 35, 53, .16), transparent 26%),
    linear-gradient(135deg, #101a32 0%, #1f3159 100%);
  color: #fff;
}
.apps-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 52px 52px;
}
.apps-hero .container { position: relative; z-index: 1; }
.apps-eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.apps-hero h1 { max-width: 780px; margin: 24px 0 18px; color: #fff; font-family: "Raleway", sans-serif; font-size: clamp(42px, 6vw, 72px); font-weight: 800; line-height: 1.04; }
.apps-hero p { max-width: 690px; margin: 0; color: rgba(255,255,255,.82); font-size: 19px; line-height: 1.75; }
.apps-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.apps-primary, .apps-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 22px; border-radius: 10px; font-weight: 750; transition: .25s ease; }
.apps-primary { background: var(--apps-red); color: #fff; box-shadow: 0 12px 28px rgba(201,35,53,.28); }
.apps-primary:hover { color: #fff; background: #a91d2c; transform: translateY(-2px); }
.apps-secondary { border: 1px solid rgba(255,255,255,.36); color: #fff; background: rgba(255,255,255,.07); }
.apps-secondary:hover { color: #fff; background: rgba(255,255,255,.14); }

.apps-section { padding: 88px 0; }
.apps-section.soft { background: var(--apps-surface); }
.apps-section-heading { max-width: 680px; margin-bottom: 38px; }
.apps-section-heading span { color: var(--apps-red); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.apps-section-heading h2 { margin: 8px 0 12px; color: var(--apps-ink); font-size: clamp(30px, 4vw, 45px); font-weight: 800; }
.apps-section-heading p { margin: 0; color: var(--apps-muted); font-size: 17px; line-height: 1.7; }

.app-card { height: 100%; display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 30px; border: 1px solid #e4e8f1; border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(20,33,61,.08); }
.app-icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 24px; color: #fff; background: linear-gradient(145deg, #c92335, #7e1523); box-shadow: 0 16px 26px rgba(201,35,53,.24); font-size: 42px; }
.app-icon-image { overflow: hidden; padding: 0; background: #17181d; }
.app-icon-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.app-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.app-meta span { padding: 5px 10px; border-radius: 999px; background: #f0f3f9; color: #4e5b75; font-size: 12px; font-weight: 700; }
.app-card h3 { margin: 0 0 10px; font-size: 30px; font-weight: 800; }
.app-card p { color: var(--apps-muted); line-height: 1.7; }
.app-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.app-card-actions .apps-secondary { border-color: #d8deea; color: var(--apps-ink); background: #fff; }
.app-card-actions .apps-secondary:hover { background: #f5f7fb; }

.finance-hero-card { padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); box-shadow: 0 26px 60px rgba(0,0,0,.2); }
.finance-product-logo { width: 104px; height: 104px; display: block; margin-bottom: 22px; border-radius: 27px; box-shadow: 0 18px 42px rgba(0,0,0,.25); }
.finance-window { overflow: hidden; border-radius: 15px; background: #fff; color: var(--apps-ink); }
.finance-window-top { display: flex; gap: 7px; padding: 12px 14px; background: #e9edf5; }
.finance-window-top i { width: 9px; height: 9px; display: block; border-radius: 50%; background: #b8c0cf; }
.finance-window-body { padding: 22px; }
.finance-balance { padding: 18px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #182746, #324d82); }
.finance-balance small { display: block; opacity: .72; }
.finance-balance strong { display: block; margin-top: 6px; font-size: 28px; }
.finance-bars { height: 120px; display: flex; align-items: end; gap: 10px; margin-top: 22px; }
.finance-bars span { flex: 1; border-radius: 7px 7px 2px 2px; background: #d9dfeb; }
.finance-bars span:nth-child(1) { height: 42%; } .finance-bars span:nth-child(2) { height: 70%; background: #f1a93a; } .finance-bars span:nth-child(3) { height: 55%; } .finance-bars span:nth-child(4) { height: 88%; background: #c92335; } .finance-bars span:nth-child(5) { height: 64%; }

.feature-card { height: 100%; padding: 28px; border: 1px solid #e4e8f1; border-radius: 18px; background: #fff; }
.feature-card i { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 13px; background: rgba(201,35,53,.1); color: var(--apps-red); font-size: 23px; }
.feature-card h3 { font-size: 20px; font-weight: 800; }
.feature-card p { margin: 0; color: var(--apps-muted); line-height: 1.65; }
.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px; border-radius: 22px; background: var(--apps-ink); color: #fff; }
.download-panel h2 { margin: 0 0 9px; color: #fff; font-size: 30px; font-weight: 800; }
.download-panel p { margin: 0; color: rgba(255,255,255,.74); }
.download-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.download-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.06); font-size: 13px; font-weight: 650; }
.download-ready { flex: 0 0 auto; min-width: 190px; }
.download-unavailable { display: inline-flex; align-items: center; gap: 8px; min-width: 210px; justify-content: center; padding: 15px 20px; border-radius: 10px; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-weight: 700; cursor: not-allowed; }
.trust-note { margin-top: 15px; color: var(--apps-muted); font-size: 14px; }
.trust-note code { overflow-wrap: anywhere; color: #35415a; }
.product-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; }
.product-legal-links a { color: var(--apps-red); font-weight: 700; }
.product-legal-links-panel { justify-content: flex-start; margin-top: 22px; padding-top: 18px; border-top: 1px solid #dde2eb; }
.product-legal-links-panel span { color: var(--apps-muted); font-weight: 700; }
.policy-hero { padding: 72px 0 62px; color: #fff; background: linear-gradient(135deg, #101a32, #263b68); }
.policy-hero span { color: var(--apps-gold); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.policy-hero h1 { margin: 9px 0 8px; color: #fff; font-size: clamp(38px, 6vw, 60px); font-weight: 800; }
.policy-hero p { margin: 0; color: rgba(255,255,255,.72); }
.policy-content { padding: 72px 0 92px; }
.policy-layout { display: grid; grid-template-columns: minmax(240px, 330px) minmax(0, 780px); justify-content: center; gap: 54px; align-items: start; }
.policy-summary { position: sticky; top: 130px; padding: 27px; border-radius: 18px; background: var(--apps-surface); border: 1px solid #e1e6ef; }
.policy-summary > i { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: #fff; background: var(--apps-red); font-size: 23px; }
.policy-summary h2 { font-size: 22px; font-weight: 800; }
.policy-summary p, .policy-copy p, .policy-copy li { color: var(--apps-muted); line-height: 1.76; }
.policy-copy h2 { margin: 34px 0 11px; color: var(--apps-ink); font-size: 22px; font-weight: 800; }
.policy-copy h2:first-child { margin-top: 0; }
.policy-copy a { color: var(--apps-red); font-weight: 700; }
.policy-copy code { color: #a51c2a; }

@media (max-width: 991px) { .apps-hero { padding: 88px 0 70px; } .finance-hero-card { margin-top: 34px; } }
@media (max-width: 991px) { .policy-layout { grid-template-columns: 1fr; gap: 35px; } .policy-summary { position: static; } }
@media (max-width: 767px) { .app-card { grid-template-columns: 1fr; } .app-icon { width: 78px; height: 78px; font-size: 34px; } .download-panel { align-items: flex-start; flex-direction: column; } .download-unavailable, .download-ready { width: 100%; } }
