/* Dedicated presentation for the public e-PIP Mobile landing page. */
:root {
    --primary: #245cba;
    --primary-dark: #163e7d;
    --accent: #63d7dc;
    --bg: #f5f7fb;
    --text: #172c49;
    --text-muted: #586a80;
    --border: #e3eaf2;
}
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.dark { --primary: #8ab8ff; --bg: #0d1728; --card: #142238; --text: #edf4ff; --text-muted: #adbed4; --border: #2b3c53; }
.container { max-width: 1180px; width: 100%; padding-inline: 32px; }
section[id] { scroll-margin-top: 96px; }
a:focus-visible, button:focus-visible { outline: 3px solid #f7b955; outline-offset: 5px; }
.navbar { padding: 20px 0; }
.navbar.scrolled { padding: 14px 0; border-bottom: 1px solid var(--border); box-shadow: 0 4px 24px #122b4a08; }
.navbar-brand { gap: 12px; font-size: 1.05rem; letter-spacing: -.3px; }
.logo-brand img { height: 36px; width: 36px; object-fit: contain; background: white; border-radius: 10px; padding: 3px; }
.navbar-links { gap: 30px; }
.navbar-links a { font-size: .85rem; }
.theme-btn, .mobile-menu-btn { width: 44px; height: 44px; flex-shrink: 0; }
body.dark .navbar.scrolled .navbar-brand { color: var(--text); }
.hero { min-height: min(850px, 100svh); background: radial-gradient(ellipse at 82% 44%, #3985c4 0%, transparent 50%), linear-gradient(120deg, #174bb0, #2463bf 65%, #287bab); }
body.dark .hero { background: radial-gradient(ellipse at 82% 44%, #235e80 0%, transparent 50%), linear-gradient(120deg, #101f3d, #173763 65%, #16495c); }
body:not(.dark) .hero-eyebrow,
body:not(.dark) .hero-content p,
body:not(.dark) .hero-badge,
body:not(.dark) .hero-footnote { color: #eef4ff; }
body:not(.dark) .hero-content h1 span { color: #b7f5f1; -webkit-text-fill-color: #b7f5f1; }
.hero::before {
    opacity: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at -240px calc(100% + 240px),
            transparent 0 480px,
            #ffffff10 481px 482px,
            #ffffff07 483px 640px,
            #ffffff0c 641px 642px,
            #ffffff04 643px 800px,
            #ffffff08 801px 802px,
            #ffffff02 803px 960px,
            transparent 961px),
        radial-gradient(circle at calc(100% + 260px) -220px,
            transparent 0 440px,
            #ffffff10 441px 442px,
            #ffffff07 443px 600px,
            #ffffff0c 601px 602px,
            #ffffff04 603px 760px,
            #ffffff08 761px 762px,
            #ffffff02 763px 920px,
            transparent 921px);
}
.hero::after { background: #56ccd526; width: 540px; height: 540px; }
.hero .container { grid-template-columns: 1.15fr .85fr; gap: 64px; padding-top: 144px; padding-bottom: 88px; }
.hero-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 24px; color: #c3d9ed; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.hero-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #78d9cc; box-shadow: 0 0 0 4px #78d9cc15; flex-shrink: 0; }
.hero-content h1 { font-size: clamp(2.5rem, 4.5vw, 3.9rem); line-height: 1.16; letter-spacing: -.055em; max-width: 600px; margin-bottom: 24px; }
.hero-content h1 span { background: none; -webkit-text-fill-color: #81e1de; color: #81e1de; }
.hero-content p { font-size: 1rem; max-width: 520px; color: #c2d1e2; margin-bottom: 28px; line-height: 1.8; }
.hero-badges { gap: 8px; margin-bottom: 20px; }
.hero-badge { font-size: .7rem; padding: 5px 11px; background: #ffffff08; border: 1px solid #ffffff1c; color: #d3e4f3; }
.store-buttons { gap: 10px; }
.store-btn { padding: 12px 16px; border-radius: 12px; transition: background .2s, transform .2s, box-shadow .2s; }
.hero .store-btn:not(.store-more-btn), .download-cta .store-btn { background: #fff; color: #172c49; border-color: #fff; box-shadow: 0 6px 20px #0000000a; }
.hero .store-btn:not(.store-more-btn):hover, .download-cta .store-btn:hover { background: #eaf5ff; border-color: #eaf5ff; }
.store-btn .store-label { font-size: .58rem; letter-spacing: .04em; }
.store-btn .store-name { font-size: .85rem; }
.hero-footnote { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; color: #bccedf; font-size: .72rem; margin-top: 20px; }
.hero-footnote i { color: #81e1de; }
.hero-footnote span { opacity: .5; }
.hero-explore { display: inline-flex; align-items: center; gap: 16px; color: #e1edf7; text-decoration: none; font-size: .8rem; margin-top: 32px; padding-block: 8px; }
.hero-explore i { color: #81e1de; }
.hero-edge-frame { --phone-tilt: 4deg; width: 260px; height: 548px; transform: rotate(var(--phone-tilt)); animation: hero-phone-float 7s ease-in-out infinite; }
@keyframes hero-phone-float {
    0%, 100% { transform: translateY(0) rotate(var(--phone-tilt)); }
    50% { transform: translateY(-16px) rotate(calc(var(--phone-tilt) - 2deg)); }
}
.hero-edge-frame .edge-body { box-shadow: 0 36px 75px #0000004d, 0 0 0 1px #ffffff26; }
.hero-edge-frame .edge-screen img { object-position: top; }
.hero-phone::before { content: ''; position: absolute; width: 365px; height: 365px; border: 1px solid #ffffff15; border-radius: 50%; }
.hero-phone::after { content: ''; position: absolute; width: 450px; height: 450px; border: 1px solid #ffffff0a; border-radius: 50%; z-index: -1; }
.section { padding: 88px 0; }
.section-header { margin-bottom: 40px; }
.section-header .section-tag { border: none; font-size: .72rem; padding: 6px 13px; background: #245cba0c; }
.section-header h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.25; letter-spacing: -.045em; }
.section-header p { font-size: .94rem; }
.screenshots { background: var(--bg); }
.screenshots-grid { gap: 24px; align-items: stretch; }
.phone-card { width: 100%; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 32px 18px 26px; }
.phone-card:hover { transform: translateY(-4px); }
.samsung-frame, .iphone-frame, .huawei-frame { width: 204px; height: 428px; margin-bottom: 26px; }
.phone-card h3 { font-size: 1.15rem; letter-spacing: -.025em; }
.platform-description { font-size: .78rem; color: var(--text-muted); margin: 5px 0 18px; }
.phone-card .store-btn,
.phone-card .store-btn.btn-huawei,
.phone-card .store-btn.btn-ios,
body.dark .phone-card .store-btn,
body.dark .phone-card .store-btn.btn-huawei,
body.dark .phone-card .store-btn.btn-ios {
    background: var(--bg); border: 1px solid var(--border); color: var(--text);
    padding: 10px 20px; border-radius: 12px; box-shadow: none;
}
.phone-card .store-btn:hover,
.phone-card .store-btn.btn-huawei:hover,
.phone-card .store-btn.btn-ios:hover,
body.dark .phone-card .store-btn:hover,
body.dark .phone-card .store-btn.btn-huawei:hover,
body.dark .phone-card .store-btn.btn-ios:hover {
    background: var(--card); color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 4px 14px #172c4910;
}
.features-grid { gap: 20px; }
.feature-card { padding: 28px; border-radius: 20px; box-shadow: 0 5px 20px #172c4903; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px #172c490c; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.25rem; }
.feature-card h3 { line-height: 1.55; font-size: 1rem; }
.feature-badge { margin: 9px 0 4px; display: table; font-size: .62rem; }
.feature-card p { font-size: .82rem; line-height: 1.8; }
body.dark .badge-public { color: #99c7ff; }
body.dark .badge-auth { color: #d3b4ff; }
.download-cta { background: radial-gradient(ellipse at top right, #21667a, transparent 65%), #153154; }
.download-cta h2 { letter-spacing: -.04em; line-height: 1.3; }
.download-cta p { font-size: .94rem; line-height: 1.8; margin-bottom: 28px; }
.privacy-content { max-width: 860px; }
.privacy-card { padding: 28px 32px; border-radius: 18px; margin-bottom: 18px; }
.privacy-card h3 { font-size: 1rem; line-height: 1.5; }
.privacy-card p, .privacy-card li { font-size: .85rem; line-height: 1.85; }
.privacy-highlight a { color: var(--primary); overflow-wrap: anywhere; }
.footer { background: #101f35; padding-top: 56px; }
.footer-grid { gap: 56px; }
.footer p, .footer ul a { color: #aebdd0; font-size: .8rem; }
.back-to-top { width: 44px; height: 44px; background: #245cba; }
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1.2fr .8fr; gap: 28px; text-align: left; }
    .hero-phone { display: flex; }
    .hero-edge-frame { width: 220px; height: 462px; }
    .hero-content p { margin-inline: 0; }
    .hero-badges, .hero .store-buttons { justify-content: flex-start; }
    .samsung-frame, .iphone-frame, .huawei-frame { width: 180px; height: 378px; }
    .phone-card { padding-inline: 12px; }
}
@media (max-width: 768px) {
    .container { padding-inline: 22px; }
    .navbar { padding-block: 14px; }
    .navbar-brand { font-size: .95rem; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; border: 1px solid #ffffff26; border-radius: 50%; background: #ffffff0a; }
    .navbar.menu-open { background: var(--card); border-bottom: 1px solid var(--border); }
    .navbar.menu-open .navbar-brand, .navbar.menu-open .theme-btn, .navbar.menu-open .mobile-menu-btn { color: var(--text); }
    .navbar.menu-open .theme-btn, .navbar.menu-open .mobile-menu-btn { background: var(--bg); border-color: var(--border); }
    .navbar.menu-open .navbar-links { display: flex; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 22px 18px; background: var(--card); border-bottom: 1px solid var(--border); box-shadow: 0 15px 24px #122b4a12; }
    .navbar.menu-open .navbar-links a { display: block; padding: 10px 14px; color: var(--text); border-radius: 10px; }
    .navbar.menu-open .navbar-links a:hover { background: var(--bg); color: var(--primary); }
    .hero { min-height: auto; }
    .hero .container { grid-template-columns: 1fr; padding-top: 126px; padding-bottom: 56px; gap: 46px; }
    .hero-content h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); max-width: 580px; }
    .hero-content p { font-size: .9rem; }
    .hero-eyebrow { font-size: .65rem; letter-spacing: 0; }
    .hero-phone { padding-block: 10px; }
    .hero-edge-frame { --phone-tilt: 3deg; width: 200px; height: 420px; }
    .hero-phone::before { width: 280px; height: 280px; }
    .hero-phone::after { width: 330px; height: 330px; }
    .section { padding: 56px 0; }
    .section-header { margin-bottom: 28px; }
    .screenshots-grid { grid-template-columns: 1fr; gap: 18px; }
    .phone-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 22px; padding: 24px; text-align: left; align-content: center; }
    .samsung-frame, .iphone-frame, .huawei-frame { width: 120px; height: 252px; grid-row: 1 / 4; margin: 0; }
    .phone-card h3 { align-self: end; }
    .phone-card .store-btn { align-self: start; justify-self: start; padding: 10px 14px; width: auto; }
    .platform-description { line-height: 1.6; margin-bottom: 14px; }
    .iphone-frame .dynamic-island { width: 54px; height: 16px; top: 9px; }
    .iphone-frame .home-indicator, .huawei-frame .home-indicator { width: 50px; }
    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-card { padding: 24px; }
    .privacy-card { padding: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { text-align: left; }
}
@media (max-width: 480px) {
    .hero .store-buttons, .download-cta .store-buttons { flex-direction: row; align-items: stretch; }
    .hero .store-btn:not(.store-more-btn), .download-cta .store-btn { width: auto; flex: 1 1 140px; justify-content: flex-start; }
    .hero .store-more { align-self: center; }
    .hero .store-more-btn { width: auto; }
    .store-more-menu { left: auto; right: 0; min-width: 200px; }
    .hero-footnote { font-size: .67rem; gap: 7px; }
    .hero-explore { margin-top: 22px; }
    .phone-card { grid-template-columns: 100px minmax(0, 1fr); gap: 0 16px; padding: 20px 16px; }
    .samsung-frame, .iphone-frame, .huawei-frame { width: 100px; height: 210px; }
    .phone-card .store-btn { gap: 8px; padding: 9px 10px; }
    .phone-card .store-name { font-size: .76rem; }
    .phone-card .store-btn i { font-size: 1.1rem; }
    .privacy-highlight, .privacy-warning { padding: 18px; }
    .back-to-top { bottom: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Features, privacy reading experience, and institutional footer. */
#fitur { background: var(--bg); }
#fitur .section-header { max-width: 650px; margin-inline: auto; }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { padding: 30px; background: linear-gradient(150deg, var(--card), var(--card)); border-radius: 24px; }
.feature-card::before { height: 3px; opacity: .65; background: var(--primary); }
.feature-number { position: absolute; top: 24px; right: 26px; color: var(--text-muted); opacity: .35; font-size: .75rem; font-weight: 700; letter-spacing: .08em; }
.feature-icon { width: 54px; height: 54px; border-radius: 17px; box-shadow: 0 8px 16px #172c4910; margin-bottom: 22px; }
#fitur .feature-icon { background: #245cba0c; color: var(--primary); box-shadow: none; }
#fitur .feature-badge { background: #245cba0c; color: var(--primary); border-color: #245cba26; }
body.dark #fitur .feature-icon,
body.dark #fitur .feature-badge { background: #8ab8ff12; color: var(--primary); border-color: #8ab8ff30; }
.feature-card h3 { font-size: 1.08rem; line-height: 1.45; letter-spacing: -.025em; margin-bottom: 10px; padding-right: 4px; }
.feature-card > .feature-badge { display: inline-flex; gap: 5px; margin: 0 0 18px; padding: 4px 10px; font-size: .65rem; }
.feature-card p { font-size: .85rem; line-height: 1.85; }
.feature-card p strong { color: var(--text); font-weight: 600; }
.privacy { border-top: 1px solid var(--border); }
.privacy-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; }
.privacy-sidebar { position: sticky; top: 110px; padding: 26px; border-radius: 22px; background: var(--bg); border: 1px solid var(--border); }
.privacy-sidebar-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #245cba12; color: var(--primary); font-size: 1.4rem; margin-bottom: 18px; }
.privacy-sidebar h3 { font-size: 1.3rem; line-height: 1.4; letter-spacing: -.035em; margin-bottom: 12px; }
.privacy-sidebar > p { font-size: .78rem; color: var(--text-muted); line-height: 1.8; }
.privacy-topic-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 22px; }
.privacy-topic-nav a { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: .75rem; line-height: 1.5; color: var(--text-muted); text-decoration: none; }
.privacy-topic-nav a span { font-size: .62rem; color: var(--primary); font-weight: 700; }
.privacy-topic-nav a:hover { color: var(--primary); }
.privacy-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 20px; font-size: .78rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.privacy-content { width: 100%; min-width: 0; }
.whats-new-card { padding: 28px; border: 1px solid #245cba24; background: linear-gradient(125deg, #245cba0b, #63d7dc0b); border-radius: 22px; margin-bottom: 28px; }
.whats-new-card h3 { color: var(--text); font-size: 1.12rem; }
.whats-new-badge { margin: 4px 0 0; font-size: .65rem; padding: 4px 10px; }
.privacy-topic { padding: 0; margin-bottom: 12px; border-radius: 16px; overflow: hidden; scroll-margin-top: 100px; }
.privacy-topic summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; list-style: none; transition: background .2s; }
.privacy-topic summary::-webkit-details-marker { display: none; }
.privacy-topic summary:hover { background: var(--bg); }
.privacy-topic summary:focus-visible { outline: 3px solid #f7b955; outline-offset: -4px; border-radius: 16px; }
.privacy-topic-title { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: .92rem; font-weight: 700; line-height: 1.5; }
.privacy-topic-title > i { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; background: #245cba0c; color: var(--primary); border-radius: 11px; font-size: 1.05rem; }
.disclosure-icon { flex-shrink: 0; color: var(--text-muted); font-size: .85rem; transition: transform .2s; }
.privacy-topic[open] { border-color: #245cba50; box-shadow: 0 8px 24px #172c4906; }
.privacy-topic[open] summary { border-bottom: 1px solid var(--border); }
.privacy-topic[open] .disclosure-icon { transform: rotate(45deg); color: var(--primary); }
.privacy-topic-body { padding: 24px; }
.privacy-card li::marker { color: var(--primary); }
.privacy-card strong { color: var(--text); font-weight: 600; }
.privacy-content > .privacy-highlight { border-radius: 18px; padding: 24px; }
.footer { position: relative; isolation: isolate; background: radial-gradient(ellipse at 90% 0, #3985c470, transparent 60%), linear-gradient(120deg, #174bb0, #2463bf 65%, #287bab); padding-top: 0; }
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at -180px calc(100% + 260px),
        transparent 0 480px,
        #ffffff10 481px 482px,
        #ffffff07 483px 640px,
        #ffffff0c 641px 642px,
        #ffffff04 643px 800px,
        #ffffff08 801px 802px,
        #ffffff02 803px 960px,
        transparent 961px);
}
body.dark .footer { background: radial-gradient(ellipse at 90% 0, #23466670, transparent 60%), #101f35; }
body:not(.dark) .footer p,
body:not(.dark) .footer ul a,
body:not(.dark) .footer-signature,
body:not(.dark) .footer-signature span { color: #eef4ff; }
body:not(.dark) .footer-eyebrow,
body:not(.dark) .footer ul a i,
body:not(.dark) .footer-signature i { color: #b7f5f1; }
body:not(.dark) .footer-intro,
body:not(.dark) .footer-bottom { border-color: #ffffff26; }
body:not(.dark) .footer ul a:hover { color: #fff; }
.footer-intro { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 48px 0; margin-bottom: 40px; border-bottom: 1px solid #ffffff14; }
.footer-eyebrow { font-size: .65rem; font-weight: 700; letter-spacing: .16em; color: #81e1de; }
.footer-intro h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.04em; line-height: 1.35; color: #f3f7fc; margin: 10px 0; }
.footer-intro p { color: #adbed1; }
.footer-download { display: inline-flex; align-items: center; gap: 28px; flex-shrink: 0; padding: 14px 20px; border-radius: 12px; color: #152b47; background: #dff8f3; font-size: .85rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.footer-download:hover { transform: translateY(-2px); background: white; }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; margin-bottom: 40px; }
.footer-brand { margin-bottom: 18px; font-size: 1.15rem; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; background: white; padding: 3px; border-radius: 10px; }
.footer-grid > div:first-child > p { max-width: 360px; line-height: 1.85; }
.footer h4 { font-size: .8rem; margin-bottom: 18px; }
.footer ul li { margin-bottom: 4px; }
.footer ul a { display: inline-flex; align-items: center; gap: 10px; padding-block: 7px; }
.footer ul a i { color: #81e1de; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 32px; text-align: left; padding-top: 24px; padding-bottom: 8px; }
.footer-signature { color: #e0eaf5; font-size: .75rem; flex-shrink: 0; }
.footer-signature i { color: #81e1de; margin-right: 6px; }
.footer-signature span { display: block; color: #97aac2; font-size: .65rem; margin: 3px 0 0 22px; }
.footer-bottom p { font-size: .68rem; max-width: 440px; color: #97aac2; }
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .privacy-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
    .privacy-sidebar { padding: 22px; }
    .footer-grid { gap: 32px; }
}
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 26px; }
    .feature-icon { width: 48px; height: 48px; margin-bottom: 18px; }
    .privacy-layout { grid-template-columns: 1fr; gap: 24px; }
    .privacy-sidebar { position: static; padding: 24px; }
    .privacy-topic-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-top: 16px; }
    .privacy-topic-nav a { font-size: .72rem; }
    .privacy-contact { justify-content: flex-start; }
    .privacy-contact > i:last-child { margin-left: auto; }
    .privacy-topic summary { padding: 18px; gap: 12px; }
    .privacy-topic-title { font-size: .84rem; gap: 10px; }
    .privacy-topic-body { padding: 20px; }
    .whats-new-card { padding: 24px; }
    .footer-intro { flex-direction: column; align-items: flex-start; padding-block: 36px; gap: 20px; margin-bottom: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 360px) {
    .privacy-topic-nav { grid-template-columns: 1fr; }
    .privacy-topic-title > i { width: 30px; height: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
}
