/* ============================================
   JJSTUDIO Apps Hub - Main Stylesheet
   Accessible, responsive design for all pages
   ============================================ */

:root {
    --color-primary: #1e3a5f;
    --color-primary-strong: #142941;
    --color-primary-soft: #edf4fb;
    --color-accent: #059669;
    --color-accent-strong: #047857;
    --color-highlight: #e0f2fe;
    --color-surface: #ffffff;
    --color-surface-muted: #f5f7fb;
    --color-surface-raised: #fbfdff;
    --color-text: #172033;
    --color-muted: #5b6472;
    --color-border: #d9e1ec;
    --color-warning-bg: #fff7df;
    --color-warning-border: #d97706;
    --color-warning-text: #5f3b00;
    --color-info-bg: #eaf6fb;
    --color-info-border: #1e6f94;
    --color-info-text: #16495f;
    --color-success-bg: #eaf8ef;
    --color-success-border: #15803d;
    --color-success-text: #14532d;
    --shadow-sm: 0 1px 2px rgba(18, 35, 56, 0.08);
    --shadow-md: 0 16px 36px rgba(18, 35, 56, 0.12);
    --shadow-lg: 0 28px 70px rgba(18, 35, 56, 0.18);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --content-width: 1120px;
    --reading-width: 760px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    color: var(--color-text);
    background:
        linear-gradient(180deg, #eef4fb 0, #f8fafc 34rem, #ffffff 100%);
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

a {
    color: var(--color-primary);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--color-primary-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(30, 58, 95, 0.35);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
    transform: translateY(-160%);
    padding: 0.75rem 1rem;
    background: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-announcement {
    width: min(1120px, calc(100% - 2rem));
    min-height: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
    margin: 0.85rem auto 0;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(32, 151, 255, 0.22);
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(44, 213, 225, 0.18), transparent 38%),
        rgba(255, 255, 255, 0.94);
    color: var(--color-primary);
    box-shadow: 0 14px 30px rgba(30, 58, 95, 0.1);
}

.site-announcement span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.25rem 0.52rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-announcement strong {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 12px rgba(18, 35, 56, 0.06);
    backdrop-filter: blur(12px);
    transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: #c9d6e6;
    box-shadow: 0 12px 30px rgba(18, 35, 56, 0.1);
}

.header-container {
    max-width: var(--content-width);
    min-height: 72px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.logo {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    margin-right: 0.75rem;
    padding: 2px;
    border: 1px solid rgba(30, 58, 95, 0.16);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(30, 58, 95, 0.2);
    object-fit: cover;
    animation: markPulse 2800ms ease-in-out infinite;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    flex-wrap: wrap;
}

nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 650;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms var(--ease-out);
}

nav a:hover {
    transform: translateY(-1px);
}

nav a:hover,
nav a[aria-current="page"] {
    color: var(--color-primary);
    background: var(--color-primary-soft);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border: 0;
    border-radius: var(--radius-sm);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 220ms ease, transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.menu-toggle:hover {
    background: var(--color-primary-strong);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.menu-toggle::before {
    content: "";
    width: 20px;
    height: 14px;
    display: block;
    background:
        linear-gradient(#ffffff, #ffffff) 0 0 / 100% 2px no-repeat,
        linear-gradient(#ffffff, #ffffff) 0 6px / 100% 2px no-repeat,
        linear-gradient(#ffffff, #ffffff) 0 12px / 100% 2px no-repeat;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

main {
    max-width: var(--content-width);
    min-height: calc(100dvh - 320px);
    margin: 0 auto;
    padding: 2rem 1.25rem 0;
}

section {
    margin-bottom: clamp(2.4rem, 6vw, 5rem);
}

section > p,
section > ul {
    max-width: var(--reading-width);
}

h1,
h2,
h3,
h4 {
    color: var(--color-primary);
    line-height: 1.2;
}

h1 {
    max-width: 820px;
    margin-bottom: 0.85rem;
    font-size: clamp(2.45rem, 6vw, 5rem);
    letter-spacing: 0;
}

h2 {
    max-width: var(--reading-width);
    margin-bottom: 1rem;
    font-size: clamp(1.7rem, 3.5vw, 2.65rem);
    letter-spacing: 0;
}

h3 {
    margin: 1rem 0 0.55rem;
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ============================================
   HERO & PAGE LEADS
   ============================================ */

.hero,
main > section:first-child {
    padding: clamp(2rem, 6vw, 4rem);
    background:
        linear-gradient(135deg, var(--color-primary-strong) 0%, var(--color-primary) 56%, #25636d 100%);
    color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.hero::before,
main > section:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.14) 48%, transparent 58% 100%);
    background-size: 48px 48px, 48px 48px, 240% 100%;
    opacity: 0.7;
    animation: heroScan 7200ms var(--ease-smooth) infinite;
}

.hero::after,
main > section:first-child::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    animation: borderSweep 5200ms ease-in-out infinite;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.78fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero h1,
main > section:first-child h1 {
    color: #ffffff;
}

.hero .tagline,
.hero .description,
main > section:first-child p {
    color: rgba(255, 255, 255, 0.92);
}

.hero .tagline {
    max-width: 760px;
    margin-bottom: 0.75rem;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 650;
}

.hero .description {
    max-width: 680px;
    font-size: 1.1rem;
}

.hero-brand-lockup {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.hero-brand-lockup img {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
    object-fit: cover;
}

.eyebrow {
    margin-bottom: 0.75rem;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero .eyebrow,
main > section:first-child .eyebrow {
    color: #b7f7da;
}

main > section:first-child .text-muted {
    color: rgba(255, 255, 255, 0.76);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 220ms var(--ease-out), background-color 220ms ease, border-color 220ms ease;
}

.trust-strip span:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
}

.hero-visual {
    min-height: 360px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual.compact {
    min-height: 320px;
}

.app-window {
    width: min(100%, 440px);
    padding: 0.08rem;
    border: 1px solid rgba(198, 222, 246, 0.34);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(111, 142, 170, 0.72), rgba(54, 84, 111, 0.72)),
        rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 34px 84px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(18px);
    transform: translateZ(0);
    animation: floatPanel 6200ms ease-in-out infinite;
    transition: transform 260ms var(--ease-out), box-shadow 260ms ease, border-color 260ms ease;
}

.app-window:hover {
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.32);
    transform: translateY(-4px) scale(1.01);
}

.window-bar {
    display: flex;
    gap: 0.45rem;
    min-height: 48px;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px 22px 0 0;
    background: rgba(21, 44, 68, 0.18);
}

.window-bar span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
}

.window-content {
    padding: 1.25rem;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 38px 38px;
}

.hero-preview-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: block;
    padding: 0.28rem;
    border: 1px solid rgba(17, 195, 255, 0.8);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 85, 153, 0.72), rgba(0, 210, 226, 0.34));
    box-shadow:
        inset 0 0 0 5px rgba(2, 38, 82, 0.76),
        0 18px 44px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.vault-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 1rem 1.08rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-text);
    box-shadow: 0 12px 28px rgba(10, 32, 58, 0.12);
}

.mini-app-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(30, 58, 95, 0.16);
    object-fit: cover;
}

.vault-panel small,
.phone-screen small {
    display: block;
    color: var(--color-muted);
}

.vault-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background:
        linear-gradient(var(--color-primary), var(--color-primary)) 50% 58% / 24px 18px no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) 50% 28% / 24px 18px no-repeat;
    box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    animation: vaultGlow 3600ms ease-in-out infinite;
}

.vault-mark::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 8px;
    width: 18px;
    height: 18px;
    border: 3px solid #ffffff;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}

.preview-row {
    height: 0.85rem;
    margin: 0.8rem 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    position: relative;
}

.preview-row::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-110%);
    animation: shimmer 2600ms ease-in-out infinite;
}

.preview-row.strong {
    width: 82%;
    background: rgba(255, 255, 255, 0.72);
}

.preview-row.short {
    width: 56%;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.preview-grid span {
    min-height: 72px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 220ms var(--ease-out), background-color 220ms ease;
}

.app-window:hover .preview-grid span {
    transform: translateY(-2px);
}

.phone-frame {
    width: 260px;
    min-height: 470px;
    padding: 0.95rem;
    border: 1px solid rgba(205, 226, 246, 0.36);
    border-radius: 38px;
    background:
        linear-gradient(160deg, rgba(114, 145, 173, 0.72), rgba(55, 86, 112, 0.72)),
        rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 30px 70px rgba(0, 0, 0, 0.27);
    animation: floatPanel 6800ms ease-in-out infinite;
    transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.phone-frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 38px 90px rgba(0, 0, 0, 0.32);
}

.phone-speaker {
    width: 72px;
    height: 6px;
    margin: 0.3rem auto 0.9rem;
    border-radius: 999px;
    background: rgba(215, 228, 241, 0.62);
}

.phone-screen {
    min-height: 388px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.48rem;
    border: 1px solid rgba(17, 195, 255, 0.82);
    border-radius: 26px;
    background: #ffffff;
    color: var(--color-text);
    box-shadow:
        inset 0 0 0 5px rgba(2, 38, 82, 0.84),
        0 18px 34px rgba(2, 38, 82, 0.18);
}

.phone-preview-image {
    width: 100%;
    height: 100%;
    min-height: 370px;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.phone-screen .vault-mark {
    margin-bottom: 0.4rem;
}

.preview-pill {
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-group,
.card-buttons,
.form-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-group {
    margin-top: 1.5rem;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 220ms var(--ease-out), box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
    touch-action: manipulation;
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 32%, rgba(255, 255, 255, 0.24) 45%, transparent 60% 100%);
    transform: translateX(-120%);
    transition: transform 520ms var(--ease-out);
}

.btn:hover::before {
    transform: translateX(120%);
}

.btn:hover {
    color: #ffffff;
    background: var(--color-primary-strong);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary::after,
.btn-success::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 220ms var(--ease-out);
}

.btn-primary:hover::after,
.btn-success:hover::after {
    transform: translateX(2px) rotate(45deg);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
button:disabled {
    opacity: 0.68;
    cursor: wait;
    transform: none;
}

.btn-primary {
    background: var(--color-primary);
}

.btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    border-color: #b8c6d8;
}

.btn-success {
    background: var(--color-accent);
}

.btn-success:hover {
    background: var(--color-accent-strong);
}

.btn-disabled,
.btn-disabled:hover {
    background: #d8dee8;
    color: #596273;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

a.btn-disabled {
    pointer-events: auto;
}

.hero .btn-primary,
main > section:first-child .btn-primary {
    background: #ffffff;
    color: var(--color-primary-strong);
}

.hero .btn-primary:hover,
main > section:first-child .btn-primary:hover {
    background: #eef7ff;
    color: var(--color-primary-strong);
}

.hero .btn-secondary,
main > section:first-child .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
}

.hero .btn-secondary:hover,
main > section:first-child .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ============================================
   CARDS & GRID
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.15rem;
    margin-top: 1.25rem;
}

.card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.45rem;
    background: var(--color-surface-raised);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(5, 150, 105, 0.09), transparent 36%),
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: auto, 100% 34px;
    opacity: 0;
    transition: opacity 240ms ease;
}

.card:hover {
    border-color: #b8c6d8;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-top: 0;
}

.card p:last-child {
    margin-bottom: 0;
}

.card .btn,
.card-buttons {
    margin-top: auto;
}

.card-buttons {
    padding-top: 0.75rem;
}

.card-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 1rem;
    padding: 0.35rem 0.75rem;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
}

.section-heading {
    max-width: 800px;
    margin-bottom: 1.4rem;
}

.section-heading h2 {
    margin-bottom: 0;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.4rem, 5vw, 4rem);
    align-items: start;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.experience-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.experience-tile {
    min-height: 190px;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
    border: 1px solid rgba(217, 225, 236, 0.9);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.experience-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(5, 150, 105, 0.12), transparent 42%),
        linear-gradient(rgba(30, 58, 95, 0.05) 1px, transparent 1px);
    background-size: auto, 100% 32px;
    opacity: 0.7;
}

.experience-tile:hover {
    border-color: #b8c6d8;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.experience-tile > * {
    position: relative;
    z-index: 1;
}

.experience-tile h3 {
    margin-top: 0;
}

.experience-tile p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.tile-visual {
    width: 96px;
    height: 108px;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(135deg, #ffffff, #eef7ff);
    box-shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
    position: relative;
}

.tile-visual img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

.tile-devices span:first-child {
    position: absolute;
    left: 15px;
    top: 24px;
    width: 54px;
    height: 42px;
    border: 4px solid var(--color-primary);
    border-radius: 8px;
}

.tile-devices span:first-child::after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: -12px;
    width: 20px;
    height: 4px;
    border-radius: 999px;
    background: var(--color-primary);
}

.tile-devices span:last-child {
    position: absolute;
    right: 14px;
    bottom: 20px;
    width: 28px;
    height: 50px;
    border: 4px solid var(--color-accent);
    border-radius: 10px;
    background: #ffffff;
}

.tile-shield::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 22px;
    width: 46px;
    height: 56px;
    background: var(--color-primary);
    clip-path: polygon(50% 0, 88% 16%, 80% 72%, 50% 100%, 20% 72%, 12% 16%);
    box-shadow: 0 16px 28px rgba(30, 58, 95, 0.2);
}

.tile-shield::after {
    content: "";
    position: absolute;
    left: 43px;
    top: 39px;
    width: 12px;
    height: 24px;
    border-right: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    transform: rotate(42deg);
}

.tile-shield-image::before,
.tile-shield-image::after {
    display: none;
}

.tile-support span {
    position: absolute;
    left: 18px;
    right: 18px;
    height: 14px;
    border-radius: 999px;
    background: #d8e5f2;
}

.tile-support span:nth-child(1) {
    top: 28px;
    background: var(--color-primary);
}

.tile-support span:nth-child(2) {
    top: 52px;
}

.tile-support span:nth-child(3) {
    top: 76px;
    right: 38px;
    background: #c8f0dc;
}

.tile-store::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 44px;
    width: 56px;
    height: 38px;
    border-radius: 8px 8px 14px 14px;
    background: var(--color-primary);
}

.tile-store::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 28px;
    width: 64px;
    height: 22px;
    border-radius: 12px 12px 6px 6px;
    background:
        repeating-linear-gradient(90deg, var(--color-accent) 0 12px, #ffffff 12px 24px);
    box-shadow: 0 16px 30px rgba(30, 58, 95, 0.14);
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, #ffffff 0%, #f4f9ff 58%, #edf8f3 100%);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.product-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.05) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent);
}

.product-showcase-dark {
    background:
        linear-gradient(135deg, var(--color-primary-strong), var(--color-primary) 58%, #145b58);
    color: #ffffff;
}

.product-showcase-dark h2,
.product-showcase-dark h3 {
    color: #ffffff;
}

.product-showcase-dark p {
    color: rgba(255, 255, 255, 0.86);
}

.product-showcase-dark .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
}

.product-copy,
.product-media {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.product-lede {
    max-width: 640px;
    font-size: 1.08rem;
}

.benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.2rem 0;
}

.benefit-list span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.42rem 0.75rem;
    border: 1px solid #cfe1ef;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--color-primary);
    font-size: 0.92rem;
    font-weight: 800;
}

.product-showcase-dark .benefit-list span {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.screen-stack {
    min-height: 320px;
    position: relative;
}

.device-showcase {
    min-height: 390px;
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.device-showcase::before {
    content: "";
    position: absolute;
    inset: 4% 2% 0;
    z-index: -1;
    border-radius: 40px;
    background:
        linear-gradient(90deg, rgba(30, 58, 95, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(30, 58, 95, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, #000 42%, transparent 78%);
}

.device-desktop,
.device-phone {
    border: 1px solid rgba(198, 215, 235, 0.56);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(68, 98, 126, 0.3)),
        linear-gradient(180deg, #4f6a83, #29445f);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 30px 72px rgba(11, 31, 52, 0.22);
    overflow: hidden;
    transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}

.device-desktop:hover,
.device-phone:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 38px 90px rgba(11, 31, 52, 0.26);
    transform: translateY(-4px);
}

.device-desktop {
    width: min(94%, 560px);
    margin-left: auto;
    padding: 0 0.9rem 0.9rem;
    border-radius: 26px;
}

.device-browser-bar {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.48rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.device-browser-bar span {
    width: 0.68rem;
    height: 0.68rem;
    border-radius: 999px;
    background: rgba(224, 235, 245, 0.78);
}

.device-screen {
    padding: 0.32rem;
    border: 1px solid rgba(17, 195, 255, 0.82);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 94, 180, 0.72), rgba(0, 211, 226, 0.34));
    box-shadow:
        inset 0 0 0 5px rgba(2, 38, 82, 0.82),
        0 18px 38px rgba(2, 38, 82, 0.18);
}

.device-screen img {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.device-desktop .device-screen img {
    aspect-ratio: 16 / 10;
}

.device-phone {
    width: 170px;
    min-height: 332px;
    padding: 0.8rem 0.64rem;
    border-radius: 34px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.device-speaker {
    width: 58px;
    height: 5px;
    margin: 0 auto 0.72rem;
    border-radius: 999px;
    background: rgba(225, 235, 244, 0.68);
}

.device-phone .device-screen {
    border-radius: 22px;
}

.device-phone .device-screen img {
    aspect-ratio: 9 / 16;
    border-radius: 17px;
}

.dark-device-showcase::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.desktop-device-showcase {
    gap: 1rem;
}

.desktop-device-showcase .device-desktop {
    width: min(100%, 560px);
    margin-left: auto;
}

.secondary-desktop-device {
    width: min(88%, 500px);
    margin-top: -4.4rem;
    margin-left: 0;
}

.interface-card {
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-lg);
}

.asset-preview-image {
    display: block;
    object-fit: cover;
}

.desktop-preview {
    min-height: 260px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 88px 1fr;
    grid-template-rows: 34px 1fr;
    gap: 0.9rem;
}

img.desktop-preview {
    width: 88%;
    min-height: 0;
    padding: 0;
    aspect-ratio: 16 / 10;
}

.interface-topbar {
    grid-column: 1 / -1;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary-soft), #dff8ec);
}

.interface-sidebar {
    border-radius: 18px;
    background: var(--color-primary);
}

.interface-content {
    display: grid;
    gap: 0.8rem;
    align-content: start;
}

.interface-content span,
.mobile-preview span,
.mini-list span {
    display: block;
    height: 0.85rem;
    border-radius: 999px;
    background: #d8e5f2;
}

.interface-content span:nth-child(1) {
    height: 4.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #edf4fb, #dff8ec);
}

.interface-content .short,
.mobile-preview .short,
.mini-list .short {
    width: 62%;
}

.mobile-preview {
    width: 150px;
    min-height: 220px;
    display: grid;
    gap: 0.8rem;
    align-content: start;
    padding: 1rem;
    position: absolute;
    right: 0;
    bottom: 0;
}

img.mobile-preview {
    min-height: 0;
    padding: 0;
    aspect-ratio: 9 / 16;
}

.marketing-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.4rem, 4vw, 2.2rem);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, var(--color-primary-strong), var(--color-primary) 62%, var(--color-accent-strong));
    color: #ffffff;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.marketing-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.55;
}

.marketing-band > * {
    position: relative;
    z-index: 1;
}

.marketing-band h2 {
    color: #ffffff;
}

.marketing-band p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.86);
}

.marketing-band .btn-primary {
    background: #ffffff;
    color: var(--color-primary-strong);
    flex: 0 0 auto;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.85fr) minmax(240px, 0.85fr);
    gap: 1rem;
}

.desktop-screenshot-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screenshot-card {
    min-height: 340px;
    display: flex;
    flex-direction: column;
    padding: 1.35rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 255, 0.94));
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.screenshot-card.large {
    min-height: 400px;
}

.screenshot-card::after {
    content: "";
    position: absolute;
    inset: auto 1rem 1rem;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.app-display-image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    object-fit: cover;
}

.screenshot-card:not(.large) .app-display-image {
    aspect-ratio: 9 / 16;
}

.desktop-screenshot-gallery .screenshot-card {
    min-height: 500px;
}

.desktop-screenshot-gallery .screenshot-card:not(.large) .app-display-image {
    aspect-ratio: auto;
    object-fit: contain;
}

.desktop-screenshot-gallery .app-display-image {
    max-height: 360px;
    object-fit: contain;
    filter: drop-shadow(0 22px 34px rgba(18, 35, 56, 0.18));
}

.screenshot-device {
    margin-top: auto;
    padding: 0.34rem;
    border: 1px solid rgba(17, 195, 255, 0.72);
    background: linear-gradient(135deg, rgba(0, 94, 180, 0.72), rgba(0, 211, 226, 0.28));
    box-shadow:
        inset 0 0 0 5px rgba(2, 38, 82, 0.78),
        0 18px 38px rgba(30, 58, 95, 0.14);
}

.desktop-screenshot-gallery .screenshot-device {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.screenshot-device.desktop-device {
    border-radius: 18px;
}

.screenshot-device.phone-device {
    width: min(100%, 190px);
    align-self: center;
    border-radius: 24px;
}

.screenshot-device.phone-device .app-display-image {
    border-radius: 18px;
}

.tinda-screenshot-gallery {
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(210px, 0.72fr));
    align-items: stretch;
}

.tinda-screenshot-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 238, 0.92));
    border-color: rgba(146, 64, 14, 0.14);
}

.tinda-screenshot-card::after {
    background: linear-gradient(90deg, #2563eb, #16a34a, #f97316);
}

.tinda-phone-device {
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.tinda-screenshot-gallery .app-display-image {
    aspect-ratio: auto;
    max-height: 470px;
    object-fit: contain;
    filter: drop-shadow(0 26px 36px rgba(87, 46, 16, 0.18));
}

.tinda-screenshot-gallery .screenshot-card:not(.large) .app-display-image {
    aspect-ratio: auto;
    max-height: 360px;
}

.mini-dashboard {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.mini-dashboard span {
    min-height: 76px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dfeafa, #e3f8ee);
}

.mini-dashboard .wide {
    grid-column: 1 / -1;
}

.lock-visual {
    width: 116px;
    height: 116px;
    margin: auto auto 2rem;
    border-radius: 28px;
    background:
        linear-gradient(var(--color-primary), var(--color-primary)) 50% 62% / 72px 54px no-repeat,
        linear-gradient(var(--color-accent), var(--color-accent)) 50% 30% / 62px 54px no-repeat;
    box-shadow: 0 22px 46px rgba(30, 58, 95, 0.18);
    position: relative;
}

.lock-visual::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 22px;
    width: 48px;
    height: 48px;
    border: 8px solid #ffffff;
    border-bottom: 0;
    border-radius: 34px 34px 0 0;
}

.mini-list {
    margin-top: auto;
    display: grid;
    gap: 0.8rem;
}

.app-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.app-card {
    position: relative;
    overflow: hidden;
}

.app-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.app-card-featured {
    background:
        linear-gradient(135deg, #ffffff 0%, #f3f8fd 100%);
}

.app-card-top {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.app-card-preview {
    width: 100%;
    margin: 0.75rem 0 1rem;
    display: block;
    max-height: 290px;
    padding: 0.7rem;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: 18px;
    background:
        linear-gradient(135deg, #0e2036, #1e3a5f 62%, #0d5b57);
    box-shadow: 0 18px 38px rgba(30, 58, 95, 0.11);
    object-fit: contain;
}

.tinda-card {
    background:
        linear-gradient(135deg, #ffffff 0%, #fff8ee 48%, #f2fbf7 100%);
}

.tinda-card::before {
    background:
        linear-gradient(120deg, rgba(249, 115, 22, 0.1), transparent 34%),
        linear-gradient(rgba(21, 128, 61, 0.045) 1px, transparent 1px);
    background-size: auto, 100% 34px;
}

.tinda-card .app-card-preview {
    max-height: 390px;
    padding: 0.25rem;
    border-color: rgba(146, 64, 14, 0.16);
    background:
        radial-gradient(circle at 18% 18%, rgba(251, 146, 60, 0.2), transparent 30%),
        radial-gradient(circle at 82% 76%, rgba(34, 197, 94, 0.14), transparent 34%),
        linear-gradient(135deg, #fffaf2 0%, #edf8f3 100%);
    filter: drop-shadow(0 22px 32px rgba(87, 46, 16, 0.16));
}

.tinda-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tinda-feature-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.68rem;
    border: 1px solid rgba(146, 64, 14, 0.14);
    border-radius: 999px;
    background: rgba(255, 247, 237, 0.9);
    color: #5f2d12;
    font-size: 0.82rem;
    font-weight: 850;
}

.tinda-gallery-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: -0.25rem 0 0.95rem;
}

.tinda-gallery-strip img {
    width: 100%;
    height: 120px;
    display: block;
    object-fit: contain;
    border: 1px solid rgba(146, 64, 14, 0.14);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 247, 237, 0.88), rgba(240, 253, 244, 0.88));
    filter: drop-shadow(0 12px 18px rgba(87, 46, 16, 0.12));
}

.password-card {
    background:
        radial-gradient(circle at 12% 12%, rgba(32, 151, 255, 0.13), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f3f8fd 56%, #eefcf8 100%);
}

.password-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.62;
}

.password-card > * {
    position: relative;
    z-index: 1;
}

.password-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.password-feature-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.68rem;
    border: 1px solid rgba(30, 58, 95, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 850;
}

.password-device-showcase {
    min-height: 360px;
    margin: 1rem 0;
    padding: 1.15rem;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 20px;
    background:
        radial-gradient(circle at 78% 22%, rgba(44, 213, 225, 0.22), transparent 32%),
        linear-gradient(150deg, #0e2036 0%, #1e3a5f 58%, #0e5f62 100%);
    box-shadow: 0 24px 50px rgba(18, 35, 56, 0.16);
}

.password-device-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.44;
}

.password-device-main {
    width: min(100%, 560px);
    max-height: 270px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 26px 34px rgba(0, 0, 0, 0.34));
    transform: translateX(-7%) scale(1.08);
    position: relative;
    z-index: 1;
}

.password-device-phone {
    position: absolute;
    right: clamp(0.4rem, 4vw, 2rem);
    bottom: 0.5rem;
    width: min(28%, 150px);
    min-width: 96px;
    max-height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.34));
    z-index: 2;
    animation: floatPanel 6200ms ease-in-out infinite;
}

.password-gallery-strip {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: -0.2rem 0 0.95rem;
}

.password-gallery-strip img {
    width: 100%;
    height: 120px;
    display: block;
    object-fit: contain;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    filter: drop-shadow(0 12px 18px rgba(30, 58, 95, 0.12));
}

.app-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.2);
    transition: transform 240ms var(--ease-out), box-shadow 240ms ease;
    overflow: hidden;
    padding: 3px;
}

.app-icon img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 11px;
    object-fit: cover;
}

.card:hover .app-icon {
    box-shadow: 0 16px 32px rgba(30, 58, 95, 0.26);
    transform: rotate(-2deg) scale(1.03);
}

.app-icon.secondary {
    background: #39465a;
}

.card-kicker {
    display: inline-flex;
    margin-bottom: 0.8rem;
    color: var(--color-accent-strong);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.card-status.coming-soon {
    color: var(--color-warning-text);
    background: var(--color-warning-bg);
    border-color: #f2d38b;
}

.card-status.beta-stage {
    color: #0f5f67;
    background: linear-gradient(135deg, rgba(44, 213, 225, 0.14), rgba(32, 151, 255, 0.12));
    border-color: rgba(44, 213, 225, 0.46);
    box-shadow: 0 10px 24px rgba(44, 213, 225, 0.12);
}

/* ============================================
   DONATION PAGE
   ============================================ */

.donation-hero .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.payment-options-panel,
.payment-info-panel {
    display: grid;
    gap: clamp(1.15rem, 3vw, 1.8rem);
    padding: clamp(1.35rem, 3.5vw, 2.1rem);
    background:
        radial-gradient(circle at top right, rgba(44, 213, 225, 0.18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
    border: 1px solid #c9d8ea;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 58px rgba(18, 35, 56, 0.12);
}

.payment-options-panel:focus {
    outline: 3px solid rgba(32, 151, 255, 0.34);
    outline-offset: 4px;
}

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1rem, 2.4vw, 1.25rem);
}

.payment-method-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    padding: clamp(1.15rem, 2.5vw, 1.45rem);
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(190, 207, 226, 0.86);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 34px rgba(18, 35, 56, 0.08);
    text-decoration: none;
    transition: transform 220ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease;
}

.payment-method-card:hover,
.payment-method-card:focus-visible {
    border-color: rgba(32, 151, 255, 0.55);
    box-shadow: 0 22px 46px rgba(18, 35, 56, 0.13);
    text-decoration: none;
    transform: translateY(-3px);
}

.payment-method-card h3 {
    margin: 0;
    font-size: 1.18rem;
}

.payment-method-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    line-height: 1.6;
}

.payment-method-card > strong {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
    color: var(--color-accent-strong);
}

.payment-method-card > strong::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.payment-method-maya {
    background:
        linear-gradient(180deg, rgba(16, 185, 129, 0.11), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(24, 168, 93, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 3px 0 rgba(6, 120, 86, 0.7),
        0 16px 34px rgba(18, 35, 56, 0.08);
}

.payment-method-gcash {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.11), transparent 34%),
        radial-gradient(circle at 90% 12%, rgba(32, 151, 255, 0.18), transparent 34%),
        rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 3px 0 rgba(7, 87, 184, 0.72),
        0 16px 34px rgba(18, 35, 56, 0.08);
}

.payment-info-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    align-items: center;
}

.receiver-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0.35rem 0 0.55rem;
}

.receiver-details div {
    padding: 1.05rem 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(190, 207, 226, 0.88);
    border-radius: var(--radius-md);
}

.receiver-details span {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--color-muted);
    font-size: 0.85rem;
    font-weight: 800;
}

.receiver-details strong {
    color: var(--color-primary);
    font-size: clamp(1.1rem, 3vw, 1.45rem);
}

.payment-qr-card {
    justify-self: center;
    width: min(100%, 320px);
    padding: 1.25rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(190, 207, 226, 0.88);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(18, 35, 56, 0.1);
}

.payment-qr-card img {
    width: min(100%, 180px);
    height: auto;
    margin: 0.1rem auto 0.85rem;
    display: block;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(30, 58, 95, 0.16);
}

.payment-qr-card p {
    margin-bottom: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.donation-command-center {
    grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
    align-items: stretch;
    gap: clamp(1.25rem, 3vw, 2rem);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 18%, rgba(0, 124, 195, 0.15), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(28, 176, 107, 0.16), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eef8ff 54%, #f4fff9 100%);
}

.donation-command-center::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.72;
    mask-image: linear-gradient(90deg, #000 6%, transparent 96%);
}

.donation-command-center > * {
    position: relative;
    z-index: 1;
}

.donation-command-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.95rem;
}

.donation-command-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.06;
    max-width: 12ch;
}

.donation-command-copy p {
    color: var(--color-muted);
    font-size: 1.03rem;
}

.donation-support-list {
    display: grid;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.donation-support-list span {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.78rem 0.95rem;
    border: 1px solid rgba(30, 58, 95, 0.11);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.84);
    color: var(--color-primary);
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(30, 58, 95, 0.06);
}

.donation-support-list span::before,
.payment-steps span::before {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-success));
    box-shadow: 0 0 0 5px rgba(44, 213, 225, 0.12);
}

.donation-command-center .payment-method-grid {
    align-content: stretch;
}

.donation-command-center .payment-method-card {
    min-height: 306px;
    position: relative;
    overflow: hidden;
}

.donation-command-center .payment-method-card::before {
    content: "";
    position: absolute;
    inset: auto -22% -46% 20%;
    height: 170px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
    transform: rotate(-10deg);
}

.payment-method-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.payment-logo-shell {
    width: 142px;
    height: 52px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0.42rem 0.55rem;
    border: 1px solid rgba(190, 207, 226, 0.82);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.11);
}

.payment-logo-shell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.payment-logo-gcash {
    width: auto;
    min-width: 128px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    box-shadow: 0 12px 24px rgba(7, 87, 184, 0.14);
}

.payment-logo-gcash img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.payment-logo-gcash span {
    color: #0757b8;
    font-size: 0.95rem;
    font-weight: 950;
    line-height: 1;
}

.payment-logo-maya {
    box-shadow: 0 12px 24px rgba(6, 120, 86, 0.12);
}

.payment-method-badge {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.34rem 0.66rem;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.payment-card-body {
    display: grid;
    gap: 0.72rem;
}

.payment-card-points {
    display: grid;
    gap: 0.48rem;
    margin-top: 0.35rem;
}

.payment-card-points span {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.52rem 0.66rem;
    border: 1px solid rgba(30, 58, 95, 0.09);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 850;
}

.payment-card-points span::before {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.34;
}

.donation-safety-ribbon {
    grid-column: 1 / -1;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-left: 5px solid var(--color-accent-strong);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-primary);
    box-shadow: 0 14px 30px rgba(30, 58, 95, 0.08);
}

.donation-thanks-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(260px, 1fr);
    gap: 1.5rem;
    align-items: center;
    border: 1px solid rgba(185, 205, 229, 0.86);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 251, 247, 0.9));
    box-shadow: var(--shadow-md);
}

.donation-thanks-panel h2,
.donation-thanks-panel p {
    margin-bottom: 0;
}

.payment-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
    align-items: stretch;
    gap: clamp(1.25rem, 4vw, 2rem);
    position: relative;
    overflow: hidden;
}

.payment-detail-layout::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 24% 20%, #000 0 28%, transparent 72%);
}

.payment-detail-layout > * {
    position: relative;
    z-index: 1;
}

.payment-info-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.9rem;
}

.payment-info-copy h2 {
    margin-bottom: 0;
}

.payment-info-copy p {
    max-width: 64ch;
}

.payment-detail-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: min(100%, 560px);
    margin-bottom: 0.2rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(190, 207, 226, 0.84);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 26px rgba(30, 58, 95, 0.07);
}

.payment-detail-brand .payment-logo-shell {
    width: 132px;
    height: 48px;
}

.payment-detail-brand div {
    min-width: 0;
    display: grid;
    gap: 0.08rem;
}

.payment-detail-brand strong {
    color: var(--color-primary);
    font-size: 1rem;
}

.payment-detail-brand small {
    color: var(--color-muted);
    font-weight: 750;
    line-height: 1.35;
}

.receiver-details-premium div {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(30, 58, 95, 0.08);
}

.payment-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.15rem 0 0.8rem;
}

.payment-steps span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 0.78rem;
    border: 1px solid rgba(30, 58, 95, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 850;
}

.payment-qr-premium {
    width: min(100%, 330px);
    padding: 1.35rem;
    align-self: stretch;
    display: grid;
    align-content: center;
    background:
        radial-gradient(circle at top, rgba(44, 213, 225, 0.18), transparent 42%),
        #ffffff;
    box-shadow: 0 20px 44px rgba(18, 35, 56, 0.12);
}

.payment-qr-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
}

.payment-qr-brand img {
    width: 104px;
    height: 34px;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.payment-qr-brand .payment-logo-mark {
    width: 26px;
    height: 26px;
}

.payment-qr-brand strong {
    margin-right: auto;
    color: #0757b8;
    font-size: 0.9rem;
    font-weight: 950;
}

.payment-qr-premium img {
    width: min(100%, 220px);
    border: 10px solid #ffffff;
    border-radius: 24px;
}

.payment-qr-premium .payment-qr-brand img {
    width: 104px;
    height: 34px;
    margin: 0;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.payment-qr-premium .payment-qr-brand .payment-logo-mark {
    width: 26px;
    height: 26px;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.download-safety-note {
    margin: 1rem 0;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(32, 151, 255, 0.18);
    border-left: 5px solid var(--color-accent-strong);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 249, 255, 0.92));
    color: var(--color-primary);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.08);
}

.download-safety-note strong {
    color: var(--color-accent-strong);
}

.download-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-surface) 0%, #f3f8fd 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.download-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-primary));
    background-size: 220% 100%;
    animation: borderFlow 4200ms linear infinite;
}

.download-card:hover {
    border-color: #b8c6d8;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.download-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-card p {
    margin-bottom: 0.5rem;
}

.system-info {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 1rem !important;
}

.btn-large {
    min-width: 200px;
    min-height: 50px;
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: auto;
}

.download-card-featured {
    background:
        linear-gradient(135deg, #fffaf2 0%, #f1fbf6 100%);
    border-color: rgba(146, 64, 14, 0.16);
}

/* ============================================
   LISTS
   ============================================ */

.features-list {
    list-style: none;
    margin: 1.25rem 0;
}

.features-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.65rem;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--color-accent);
}

/* ============================================
   FORMS
   ============================================ */

form {
    max-width: 860px;
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
    padding: clamp(1.2rem, 3vw, 1.75rem);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-group {
    margin-bottom: 0;
}

.form-group:has(textarea),
.checkbox-group,
.form-buttons,
.form-status {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-text);
    font-weight: 750;
}

input[type="text"],
input[type="email"],
input[type="name"],
select,
textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.78rem 0.85rem;
    border: 1px solid #bfc9d8;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--color-text);
    font: inherit;
    font-size: 1rem;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: #7a8493;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="name"]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
    transform: translateY(-1px);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    margin: 0.25rem 0 0;
    padding: 1rem;
    background: var(--color-warning-bg);
    border: 1px solid #f2d38b;
    border-radius: var(--radius-sm);
}

input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 0.15rem;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 650;
}

.form-status {
    margin-top: 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 650;
}

.form-status.error {
    background: var(--color-warning-bg);
    border-color: var(--color-warning-border);
    color: var(--color-warning-text);
}

.form-status.success {
    background: var(--color-success-bg);
    border-color: var(--color-success-border);
    color: var(--color-success-text);
}

.form-result-hero {
    min-height: min(640px, calc(100vh - 7rem));
    align-content: center;
}

.form-result-message {
    max-width: 720px;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
}

.form-result-message.success {
    border: 1px solid var(--color-success-border);
    background: var(--color-success-bg);
    color: var(--color-success-text);
}

.form-result-message.error {
    border: 1px solid var(--color-warning-border);
    background: var(--color-warning-bg);
    color: var(--color-warning-text);
}

/* ============================================
   ALERTS & WARNINGS
   ============================================ */

.alert {
    max-width: var(--reading-width);
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    border-left-width: 5px;
    margin-bottom: 1.25rem;
}

.alert-warning {
    background: var(--color-warning-bg);
    border-color: #f2d38b;
    border-left-color: var(--color-warning-border);
    color: var(--color-warning-text);
}

.alert-info {
    background: var(--color-info-bg);
    border-color: #baddeb;
    border-left-color: var(--color-info-border);
    color: var(--color-info-text);
}

.alert-success {
    background: var(--color-success-bg);
    border-color: #b7e3c4;
    border-left-color: var(--color-success-border);
    color: var(--color-success-text);
}

section.alert {
    max-width: none;
    padding: 1.25rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    margin-top: 4rem;
    padding: 2.5rem 1.25rem 1.5rem;
    background: var(--color-primary-strong);
    color: #ffffff;
}

.footer-container {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
    gap: 2rem;
}

.footer-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
}

.footer-brand img {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    object-fit: cover;
}

.footer-brand h4 {
    margin-bottom: 0.45rem;
    color: #ffffff;
    font-size: 1.05rem;
}

.footer-brand p {
    max-width: 280px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.footer-section h4 {
    margin-bottom: 0.85rem;
    color: #ffffff;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.35rem;
}

.footer-section a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    max-width: var(--content-width);
    margin: 2rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-muted);
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 2rem;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   POLISHED PORTAL TEMPLATE REFRESH
   ============================================ */

body {
    background:
        linear-gradient(180deg, #f7fbff 0, #ffffff 42%, #f2fbf7 100%);
}

body::before {
    background:
        linear-gradient(rgba(30, 58, 95, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
}

header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.header-container {
    max-width: min(calc(100% - 2rem), 1180px);
    min-height: 66px;
    margin: 0.75rem auto;
    padding: 0 0.95rem;
    border: 1px solid rgba(217, 225, 236, 0.86);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 46px rgba(18, 35, 56, 0.09);
    backdrop-filter: blur(18px);
}

header.is-scrolled .header-container {
    background: rgba(255, 255, 255, 0.96);
    border-color: #c8d7e7;
    box-shadow: 0 20px 52px rgba(18, 35, 56, 0.12);
}

nav a {
    border: 1px solid transparent;
}

nav a:hover,
nav a[aria-current="page"] {
    border-color: rgba(30, 58, 95, 0.12);
}

.hero.hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    align-items: stretch;
    padding: clamp(1.5rem, 5vw, 3rem);
    background:
        linear-gradient(135deg, #ffffff 0%, #f2f8ff 58%, #eefbf5 100%);
    color: var(--color-text);
    border: 1px solid rgba(217, 225, 236, 0.92);
    box-shadow: 0 30px 80px rgba(18, 35, 56, 0.13);
}

.hero.hero-grid::before {
    background:
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.78;
    animation: none;
    mask-image: linear-gradient(90deg, #000 0 70%, transparent);
}

.hero.hero-grid::after {
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), #1fb6ff 50%, #4ade80);
    animation: none;
}

.hero.hero-grid h1,
.hero.hero-grid .tagline,
.hero.hero-grid .description,
.hero.hero-grid p {
    color: var(--color-text);
}

.hero.hero-grid .description {
    color: var(--color-muted);
}

.hero.hero-grid .eyebrow {
    color: var(--color-accent-strong);
}

.hero.hero-grid .hero-brand-lockup {
    border-color: #d6e4ef;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    box-shadow: 0 14px 34px rgba(18, 35, 56, 0.08);
}

.hero.hero-grid .trust-strip span {
    border-color: #d1e1ef;
    background: rgba(255, 255, 255, 0.82);
    color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(18, 35, 56, 0.06);
}

.hero.hero-grid .trust-strip span:hover {
    background: #ffffff;
    border-color: #b8cde2;
}

.hero.hero-grid .btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(30, 58, 95, 0.22);
}

.hero.hero-grid .btn-primary:hover {
    background: var(--color-primary-strong);
    color: #ffffff;
}

.hero.hero-grid .btn-secondary {
    background: #ffffff;
    color: var(--color-primary);
    border-color: #cbd9e8;
}

.hero.hero-grid .btn-secondary:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}

.hero.hero-grid .btn-success {
    background: var(--color-accent);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(5, 150, 105, 0.2);
}

.hero.hero-grid .hero-visual {
    min-height: 430px;
    align-content: center;
    gap: 1rem;
}

.hero.hero-grid .app-window {
    width: min(100%, 500px);
    border-color: rgba(30, 58, 95, 0.28);
    background:
        linear-gradient(180deg, #445e78, #203a55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 34px 80px rgba(18, 35, 56, 0.24);
}

.portal-status-panel {
    width: min(100%, 500px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    position: relative;
    z-index: 1;
}

.portal-status-panel a {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.9rem;
    border: 1px solid #d6e4ef;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-primary);
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(18, 35, 56, 0.08);
    transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.portal-status-panel a:hover {
    border-color: #9fc1de;
    box-shadow: 0 22px 44px rgba(18, 35, 56, 0.12);
    transform: translateY(-3px);
}

.portal-status-panel span {
    color: var(--color-accent-strong);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.portal-status-panel strong {
    color: var(--color-primary);
    font-size: 0.95rem;
    line-height: 1.25;
}

.hero-device-render,
.real-phone-hero {
    width: min(100%, 560px);
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

.hero-device-render > img,
.real-phone-hero > img,
.real-laptop-render,
.real-phone-render {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(18, 35, 56, 0.24));
}

.hero-device-render > img {
    max-height: 430px;
    transform: scale(1.04) translateY(0.25rem);
    transform-origin: center bottom;
}

.real-phone-hero {
    max-width: 330px;
    justify-self: center;
}

.real-phone-hero > img {
    max-height: 520px;
}

.device-caption-card {
    width: min(88%, 320px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(214, 228, 239, 0.94);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 42px rgba(18, 35, 56, 0.12);
    position: absolute;
    left: 1.2rem;
    bottom: 1rem;
    backdrop-filter: blur(14px);
}

.device-caption-card img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.device-caption-card strong,
.device-caption-card span {
    display: block;
}

.device-caption-card span {
    color: var(--color-muted);
    font-size: 0.86rem;
}

.real-device-stack {
    min-height: 430px;
    display: grid;
    align-items: center;
    justify-items: center;
    position: relative;
    isolation: isolate;
}

.real-device-stack::before {
    content: "";
    position: absolute;
    inset: 9% 2% 5%;
    z-index: -1;
    border-radius: 42px;
    background:
        linear-gradient(90deg, rgba(30, 58, 95, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(30, 58, 95, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, #000 42%, transparent 78%);
}

.real-laptop-render {
    max-width: 620px;
    transform-origin: center bottom;
}

.real-phone-render {
    width: min(38%, 230px);
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateX(-0.25rem);
    transform-origin: center bottom;
}

.real-device-stack-dark::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.secondary-real-laptop {
    width: min(72%, 520px);
    margin-top: -12rem;
    margin-left: -8rem;
    transform: rotate(-2deg) scale(0.96);
}

.product-showcase.product-showcase-dark {
    min-height: 560px;
    align-items: center;
    background:
        radial-gradient(circle at 76% 24%, rgba(34, 211, 238, 0.2), transparent 28%),
        radial-gradient(circle at 16% 84%, rgba(74, 222, 128, 0.16), transparent 24%),
        linear-gradient(135deg, #0d1f35 0%, #17365a 56%, #0d5b57 100%);
    color: #ffffff;
    box-shadow: 0 30px 86px rgba(13, 31, 53, 0.24);
}

.product-showcase.product-showcase-dark::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%);
    background-size: 42px 42px, 42px 42px, 220% 100%;
    opacity: 0.7;
    mask-image: linear-gradient(90deg, #000 0 76%, transparent);
}

.product-showcase.product-showcase-dark h2,
.product-showcase.product-showcase-dark h3 {
    color: #ffffff;
}

.product-showcase.product-showcase-dark p {
    color: rgba(255, 255, 255, 0.84);
}

.product-showcase.product-showcase-dark .eyebrow {
    color: #b7f7da;
}

.product-showcase.product-showcase-dark .btn-primary {
    background: #ffffff;
    color: var(--color-primary-strong);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.product-showcase.product-showcase-dark .btn-primary:hover {
    background: #eef7ff;
    color: var(--color-primary-strong);
}

.product-showcase.product-showcase-dark .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
}

.showcase-detail-grid {
    display: grid;
    gap: 0.7rem;
    margin: 1.25rem 0 0.25rem;
}

.showcase-detail-card {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem 0.85rem;
    align-items: center;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 220ms var(--ease-out), background-color 220ms ease, border-color 220ms ease;
}

.showcase-detail-card:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateX(5px);
}

.detail-signal {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.16);
}

.showcase-detail-card strong,
.showcase-detail-card small {
    grid-column: 2;
}

.showcase-detail-card strong {
    align-self: end;
    line-height: 1.2;
}

.showcase-detail-card small {
    align-self: start;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

.device-proof-card {
    width: min(78%, 280px);
    display: grid;
    gap: 0.15rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background: rgba(9, 23, 40, 0.72);
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 18px 42px rgba(0, 0, 0, 0.22);
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    backdrop-filter: blur(14px);
}

.device-proof-card span {
    color: #b7f7da;
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.device-proof-card strong {
    line-height: 1.2;
}

.app-store-shelf {
    padding: clamp(1.35rem, 4vw, 2.25rem);
    border: 1px solid rgba(204, 218, 232, 0.92);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 255, 0.96) 58%, rgba(239, 251, 246, 0.96));
    box-shadow: 0 24px 64px rgba(18, 35, 56, 0.1);
    position: relative;
    overflow: hidden;
}

.app-store-shelf::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.045) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, #000 12%, transparent 86%);
}

.app-store-shelf > * {
    position: relative;
    z-index: 1;
}

.store-showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 1rem;
}

.store-product-card {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid #d3e1ee;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 44px rgba(18, 35, 56, 0.08);
    overflow: hidden;
    transition: transform 240ms var(--ease-out), box-shadow 240ms ease, border-color 240ms ease;
}

.store-product-card:hover {
    border-color: #adc6df;
    box-shadow: 0 28px 64px rgba(18, 35, 56, 0.13);
    transform: translateY(-4px);
}

.store-product-primary {
    grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.82fr);
    grid-template-rows: 1fr;
}

.store-product-media {
    min-height: 240px;
    padding: 1rem;
    display: grid;
    place-items: center;
    background:
        linear-gradient(150deg, #102640, #1e3a5f 56%, #145b58);
    position: relative;
    overflow: hidden;
}

.store-product-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.52;
}

.store-product-media img {
    width: min(100%, 520px);
    max-height: 330px;
    display: block;
    border: 0;
    border-radius: 0;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.3));
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.store-product-card:not(.store-product-primary) .store-product-media {
    min-height: 210px;
}

.store-product-card:not(.store-product-primary) .store-product-media img {
    max-height: 250px;
}

.tinda-product-card .store-product-media {
    min-height: 290px;
    background:
        radial-gradient(circle at 18% 18%, rgba(251, 146, 60, 0.24), transparent 28%),
        radial-gradient(circle at 84% 76%, rgba(34, 197, 94, 0.16), transparent 34%),
        linear-gradient(150deg, #fff7ed 0%, #eefaf4 58%, #eaf3ff 100%);
}

.tinda-product-card .store-product-media::before {
    background:
        linear-gradient(rgba(30, 58, 95, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.05) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.72;
}

.tinda-product-card .store-product-media img {
    max-height: 340px;
    transform: rotate(-1.25deg) scale(1.05);
    filter: drop-shadow(0 30px 36px rgba(87, 46, 16, 0.18));
}

.store-product-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
}

.store-product-body p {
    margin-bottom: 0;
    color: var(--color-muted);
}

.store-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: auto;
}

.tinda-hero {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 248, 238, 0.9)),
        linear-gradient(rgba(30, 58, 95, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 58, 95, 0.04) 1px, transparent 1px);
    background-size: auto, 42px 42px, 42px 42px;
}

.tinda-hero-display {
    width: min(100%, 520px);
    min-height: 560px;
    display: grid;
    place-items: center;
    position: relative;
}

.tinda-hero-display > img {
    width: min(100%, 390px);
    max-height: 590px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 34px 46px rgba(87, 46, 16, 0.2));
    animation: floatPanel 6200ms ease-in-out infinite;
}

.tinda-screen-note {
    position: absolute;
    display: grid;
    gap: 0.1rem;
    min-width: 160px;
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(146, 64, 14, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(87, 46, 16, 0.12);
    backdrop-filter: blur(14px);
}

.tinda-screen-note span {
    color: #047857;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tinda-screen-note strong {
    color: #1f2937;
    font-size: 0.96rem;
    line-height: 1.2;
}

.note-sales {
    top: 15%;
    right: 0;
}

.note-utang {
    left: 0;
    bottom: 16%;
}

.tinda-marketing-band {
    background:
        linear-gradient(135deg, #1e3a5f 0%, #145b58 60%, #7c3a12 100%);
}

.command-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
    align-items: center;
    background:
        linear-gradient(135deg, #0e2036 0%, #1e3a5f 56%, #0d5b57 100%);
    color: #ffffff;
}

.command-center h2 {
    color: #ffffff;
}

.command-center p {
    color: rgba(255, 255, 255, 0.86);
}

.command-center .eyebrow {
    color: #b7f7da;
}

.command-list {
    display: grid;
    gap: 0.7rem;
    position: relative;
    z-index: 1;
}

.command-list a {
    min-height: 78px;
    display: grid;
    align-content: center;
    gap: 0.16rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(185, 205, 229, 0.85);
    border-radius: var(--radius-md);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 250, 255, 0.92));
    color: var(--color-primary);
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 16px 34px rgba(13, 35, 58, 0.16);
    transition: transform 220ms var(--ease-out), background-color 220ms ease, border-color 220ms ease;
}

.command-list a:hover {
    background:
        linear-gradient(135deg, #ffffff, #eef9ff);
    border-color: rgba(32, 151, 255, 0.38);
    color: var(--color-primary);
    transform: translateX(4px);
}

.command-list span {
    color: var(--color-accent-strong);
    font-size: 0.76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.command-list strong {
    color: var(--color-primary);
    font-size: 1.04rem;
}

.experience-rail {
    margin-top: -1rem;
}

.experience-tile,
.split-section,
.product-showcase,
.card,
.marketing-band {
    border-color: rgba(204, 218, 232, 0.92);
}

.experience-tile,
.card {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(18, 35, 56, 0.08);
}

.experience-tile::before,
.card::before {
    opacity: 0;
}

.tile-visual {
    background: linear-gradient(145deg, #ffffff, #f2f8ff);
}

.product-showcase {
    background:
        linear-gradient(135deg, #ffffff 0%, #f7fbff 52%, #effbf6 100%);
    box-shadow: 0 24px 64px rgba(18, 35, 56, 0.1);
}

.marketing-band {
    background:
        linear-gradient(135deg, #ffffff 0%, #f1f8ff 55%, #ecfbf4 100%);
    color: var(--color-text);
    box-shadow: 0 24px 64px rgba(18, 35, 56, 0.1);
}

.marketing-band h2 {
    color: var(--color-primary-strong);
}

.marketing-band p {
    color: var(--color-muted);
}

.marketing-band .btn-primary {
    background: var(--color-primary);
    color: #ffffff;
}

/* ============================================
   MOTION & TECH DETAIL
   ============================================ */

.reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.card.reveal-ready,
.download-card.reveal-ready,
.experience-tile.reveal-ready {
    transition:
        opacity 620ms var(--ease-out),
        transform 620ms var(--ease-out),
        box-shadow 240ms ease,
        border-color 240ms ease,
        background-color 240ms ease;
}

.card.reveal-ready.is-visible:hover,
.download-card.reveal-ready.is-visible:hover,
.experience-tile.reveal-ready.is-visible:hover {
    transform: translateY(-4px);
}

@keyframes heroScan {
    0% {
        background-position: 0 0, 0 0, 140% 0;
    }
    50% {
        background-position: 8px 14px, 14px 8px, 0 0;
    }
    100% {
        background-position: 0 0, 0 0, -140% 0;
    }
}

@keyframes borderSweep {
    0%,
    100% {
        opacity: 0.55;
        transform: translateX(-8%);
    }
    50% {
        opacity: 1;
        transform: translateX(8%);
    }
}

@keyframes floatPanel {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

@keyframes shimmer {
    0%,
    40% {
        transform: translateX(-110%);
    }
    100% {
        transform: translateX(110%);
    }
}

@keyframes vaultGlow {
    0%,
    100% {
        box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 0 0 rgba(5, 150, 105, 0);
    }
    50% {
        box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.1), 0 0 24px rgba(5, 150, 105, 0.28);
    }
}

@keyframes markPulse {
    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.14);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.08);
    }
}

@keyframes borderFlow {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 220% 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
    .header-container {
        min-height: 64px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    nav {
        display: none;
        width: 100%;
        padding-bottom: 0.9rem;
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    nav a {
        justify-content: flex-start;
        width: 100%;
        padding: 0.75rem;
        background: var(--color-surface-muted);
    }

    .hero-grid,
    .split-section,
    .app-grid,
    .product-showcase,
    .store-showcase-grid,
    .store-product-primary,
    .command-center,
    .donation-command-center,
    .donation-thanks-panel,
    .tinda-screenshot-gallery,
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }

    .experience-rail {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: -1rem;
    }

    .experience-tile {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
    }

    .app-window {
        max-width: 520px;
    }

    .hero.hero-grid {
        grid-template-columns: 1fr;
    }

    .hero.hero-grid .hero-visual {
        min-height: auto;
    }

    .portal-status-panel {
        width: min(100%, 520px);
    }

    .store-product-primary {
        grid-template-rows: auto 1fr;
    }

    .real-device-stack {
        min-height: 390px;
    }

    .secondary-real-laptop {
        width: min(80%, 500px);
        margin-top: -8rem;
        margin-left: -4rem;
    }

    .product-showcase.product-showcase-dark {
        min-height: auto;
    }

    .screen-stack {
        min-height: 280px;
    }

    .tinda-hero-display {
        min-height: 470px;
    }

    .tinda-hero-display > img {
        max-height: 480px;
    }

    .device-showcase {
        min-height: 420px;
    }

    .device-desktop {
        width: 100%;
    }

    .device-phone {
        right: 1rem;
    }

    .marketing-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketing-band .btn {
        width: auto;
    }

    .password-device-main {
        transform: none;
    }
}

@media (max-width: 720px) {
    main {
        padding: 1rem 0.9rem 0;
    }

    .hero,
    main > section:first-child {
        padding: 1.65rem;
    }

    .hero-visual {
        min-height: 240px;
    }

    .hero.hero-grid .hero-visual {
        min-height: auto;
    }

    .portal-status-panel {
        grid-template-columns: 1fr;
    }

    .portal-status-panel a {
        min-height: 72px;
    }

    .hero-device-render > img {
        max-height: 320px;
    }

    .device-caption-card {
        width: 100%;
        position: relative;
        left: auto;
        bottom: auto;
        margin-top: -0.75rem;
    }

    .real-device-stack {
        min-height: auto;
        gap: 1rem;
    }

    .real-phone-render,
    .secondary-real-laptop {
        width: min(100%, 260px);
        position: relative;
        right: auto;
        bottom: auto;
        margin: 0;
        transform: none;
    }

    .secondary-real-laptop {
        width: min(100%, 420px);
    }

    .showcase-detail-card:hover {
        transform: translateY(-2px);
    }

    .device-proof-card {
        width: 100%;
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: -0.5rem;
    }

    .hero-visual.compact {
        min-height: 280px;
    }

    .app-window {
        border-radius: 18px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid span {
        min-height: 48px;
    }

    .phone-frame {
        width: min(100%, 250px);
    }

    .experience-rail {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .experience-tile {
        grid-template-columns: 86px 1fr;
        min-height: 144px;
    }

    .tile-visual {
        width: 86px;
        height: 96px;
    }

    .product-showcase,
    .app-store-shelf,
    .payment-info-panel,
    .payment-options-panel,
    .marketing-band {
        padding: 1.15rem;
    }

    .store-product-media {
        min-height: 210px;
    }

    .tinda-product-card .store-product-media {
        min-height: 260px;
    }

    .store-product-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .store-product-actions .btn {
        width: 100%;
    }

    .command-list a:hover {
        transform: translateY(-2px);
    }

    .payment-method-grid,
    .payment-info-panel,
    .payment-detail-layout,
    .receiver-details {
        grid-template-columns: 1fr;
    }

    .donation-command-copy h2 {
        max-width: 100%;
    }

    .donation-command-center .payment-method-card {
        min-height: auto;
    }

    .payment-qr-card {
        width: 100%;
    }

    .payment-method-card-header,
    .payment-detail-brand,
    .payment-qr-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-logo-shell,
    .payment-detail-brand .payment-logo-shell {
        width: min(100%, 148px);
        height: 58px;
    }

    .password-device-showcase {
        min-height: auto;
        gap: 1rem;
    }

    .password-device-main,
    .password-device-phone {
        width: 100%;
        max-height: 240px;
        min-width: 0;
        position: relative;
        right: auto;
        bottom: auto;
        transform: none;
        animation: none;
    }

    .password-device-phone {
        width: min(100%, 170px);
        justify-self: center;
    }

    .benefit-list {
        align-items: stretch;
        flex-direction: column;
    }

    .benefit-list span {
        justify-content: center;
        text-align: center;
    }

    .screen-stack {
        min-height: 360px;
    }

    .tinda-hero-display {
        min-height: auto;
        padding-bottom: 0.75rem;
    }

    .tinda-hero-display > img {
        width: min(100%, 310px);
        max-height: 430px;
        animation: none;
    }

    .tinda-screen-note {
        position: relative;
        width: 100%;
        min-width: 0;
        margin-top: 0.6rem;
    }

    .note-sales,
    .note-utang {
        inset: auto;
    }

    .tinda-gallery-strip,
    .password-gallery-strip {
        grid-template-columns: 1fr;
    }

    .tinda-gallery-strip img,
    .password-gallery-strip img {
        height: 170px;
    }

    .device-showcase {
        min-height: auto;
        gap: 1rem;
    }

    .device-desktop,
    .device-phone {
        width: 100%;
        position: relative;
        right: auto;
        bottom: auto;
    }

    .device-phone {
        width: min(100%, 240px);
        justify-self: center;
        min-height: auto;
    }

    .desktop-preview {
        grid-template-columns: 64px 1fr;
    }

    .mobile-preview {
        width: 132px;
    }

    .screenshot-card,
    .screenshot-card.large {
        min-height: 260px;
    }

    .screenshot-device.phone-device {
        width: min(100%, 220px);
    }

    .btn-group,
    .card-buttons,
    .form-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .card .btn,
    .download-card .btn {
        width: 100%;
    }

    form {
        grid-template-columns: 1fr;
        padding: 1.1rem;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.4rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .header-container {
        padding: 0 0.85rem;
    }

    .logo {
        font-size: 1rem;
        white-space: normal;
    }

    .hero,
    main > section:first-child {
        padding: 1.35rem;
    }

    .card {
        padding: 1.05rem;
    }

    .app-card-top {
        gap: 0.75rem;
    }

    .app-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .trust-strip span {
        width: 100%;
        justify-content: center;
    }

    .hero-brand-lockup {
        align-items: flex-start;
        border-radius: 18px;
        white-space: normal;
    }

    .hero-brand-lockup img {
        width: 38px;
        height: 38px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .experience-tile {
        grid-template-columns: 1fr;
    }

    .screen-stack {
        min-height: 300px;
    }

    .device-phone {
        width: min(100%, 220px);
    }

    .mobile-preview {
        position: relative;
        width: 100%;
        min-height: 180px;
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-ready {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   PORTFOLIO HOMEPAGE REDESIGN
   ============================================ */

.portfolio-home {
    --portfolio-ink: #10233d;
    --portfolio-muted: #536274;
    --portfolio-line: #d6e1ee;
    --portfolio-blue: #1f5fbf;
    --portfolio-blue-dark: #173d75;
    --portfolio-green: #008566;
    background:
        radial-gradient(circle at 82% 8%, rgba(0, 133, 102, 0.12), transparent 32rem),
        radial-gradient(circle at 10% 6%, rgba(31, 95, 191, 0.12), transparent 28rem),
        linear-gradient(180deg, #f7fbff 0, #eef6f4 52%, #ffffff 100%);
}

.portfolio-home main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.portfolio-home .reveal-ready {
    opacity: 1;
    transform: none;
}

.portfolio-nav {
    max-width: 1180px;
}

.portfolio-hero {
    min-height: min(720px, calc(100dvh - 96px));
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: clamp(1.5rem, 4vw, 4.5rem);
    align-items: center;
    padding: clamp(2rem, 5vw, 4.75rem);
    border: 1px solid rgba(89, 118, 155, 0.26);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 247, 0.88)),
        linear-gradient(rgba(31, 95, 191, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 95, 191, 0.04) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    box-shadow: 0 28px 80px rgba(16, 35, 61, 0.12);
    overflow: hidden;
}

.portfolio-hero-copy {
    max-width: 620px;
}

.portfolio-hero h1 {
    margin-top: 1rem;
    color: var(--portfolio-ink);
    font-size: clamp(2.45rem, 6vw, 5.35rem);
    line-height: 1.02;
    letter-spacing: 0;
}

.portfolio-lede {
    max-width: 62ch;
    margin-top: 1.25rem;
    color: var(--portfolio-muted);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.portfolio-proof,
.project-tags,
.tool-grid,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
}

.portfolio-proof {
    margin-top: 1.25rem;
}

.portfolio-proof span,
.project-tags span,
.tool-grid span {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(31, 95, 191, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--portfolio-ink);
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(16, 35, 61, 0.06);
}

.portfolio-hero-visual {
    min-width: 0;
}

.hero-device-board {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-device-board::before {
    content: "";
    position: absolute;
    inset: 10% 0 4% 10%;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(31, 95, 191, 0.18), transparent 68%);
    filter: blur(6px);
}

.hero-laptop-shot,
.project-desktop-img {
    width: min(100%, 620px);
    border-radius: 18px;
    object-fit: contain;
    filter: drop-shadow(0 28px 36px rgba(16, 35, 61, 0.24));
}

.hero-phone-shot {
    position: absolute;
    right: 2%;
    bottom: 1%;
    width: min(34%, 220px);
    max-height: 420px;
    object-fit: contain;
    transform: rotate(2deg);
    filter: drop-shadow(0 24px 30px rgba(16, 35, 61, 0.24));
}

.hero-work-card {
    position: absolute;
    left: 0;
    bottom: 9%;
    width: min(260px, 52%);
    padding: 1rem;
    border: 1px solid rgba(31, 95, 191, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 36px rgba(16, 35, 61, 0.12);
}

.hero-work-card strong,
.hero-work-card span {
    display: block;
}

.hero-work-card strong {
    color: var(--portfolio-ink);
    font-size: 0.98rem;
}

.hero-work-card span {
    margin-top: 0.2rem;
    color: var(--portfolio-muted);
    font-size: 0.86rem;
    line-height: 1.4;
}

.portfolio-section,
.why-section,
.contact-panel {
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid rgba(89, 118, 155, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 60px rgba(16, 35, 61, 0.08);
}

.portfolio-section .section-heading,
.featured-projects .section-heading {
    max-width: 760px;
}

.featured-projects {
    scroll-margin-top: 96px;
}

.service-grid,
.why-grid,
.project-grid {
    display: grid;
    gap: 1rem;
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1.4rem;
}

.service-card {
    min-height: 250px;
    padding: 1.25rem;
    border: 1px solid rgba(89, 118, 155, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.9));
    transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 95, 191, 0.36);
    box-shadow: 0 18px 42px rgba(16, 35, 61, 0.12);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--portfolio-blue-dark);
    color: #ffffff;
    font-weight: 900;
    font-size: 0.9rem;
}

.service-card h3,
.project-card h3,
.why-grid h3 {
    color: var(--portfolio-ink);
    line-height: 1.2;
}

.service-card p,
.project-card p,
.why-grid p,
.contact-panel p {
    color: var(--portfolio-muted);
}

.project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 1.4rem;
}

.project-card {
    display: grid;
    grid-template-rows: 320px 1fr;
    min-width: 0;
    height: 100%;
    border: 1px solid rgba(89, 118, 155, 0.2);
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 220ms var(--ease-out), border-color 220ms ease, box-shadow 220ms ease;
}

.project-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 320px 1fr;
}

.project-media {
    min-height: 0;
    height: 320px;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 133, 102, 0.15), transparent 28rem),
        linear-gradient(135deg, #eef6ff, #f8fffc);
    overflow: hidden;
}

.project-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.featured-projects .project-body p,
.featured-projects .project-tags {
    margin-top: 0;
    margin-bottom: 0;
}

.featured-projects .project-body .card-buttons {
    margin-top: auto;
    padding-top: 0.35rem;
}

.featured-projects .project-body .btn {
    margin-top: 0;
}

.password-media {
    position: relative;
}

.password-media .project-desktop-img {
    width: min(88%, 480px);
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 22px 30px rgba(16, 35, 61, 0.18));
}

.password-media .project-phone-img {
    position: absolute;
    right: 7%;
    bottom: 7%;
    width: min(27%, 145px);
    max-height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(16, 35, 61, 0.2));
}

.tinda-media img {
    width: min(100%, 245px);
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(16, 35, 61, 0.2));
}

.hub-media img {
    width: min(45%, 180px);
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 28px;
    filter: drop-shadow(0 24px 32px rgba(16, 35, 61, 0.18));
}

.project-tags {
    margin: 1rem 0 0.25rem;
}

.project-tags span {
    min-height: 34px;
    font-size: 0.8rem;
}

.why-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1rem, 4vw, 3rem);
    align-items: start;
}

.why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-grid article {
    padding: 1.15rem;
    border: 1px solid rgba(89, 118, 155, 0.18);
    border-radius: 16px;
    background: rgba(248, 251, 255, 0.86);
}

.tool-grid {
    margin-top: 1.35rem;
}

.tool-grid span {
    min-height: 44px;
    border-color: rgba(0, 133, 102, 0.24);
    background: rgba(235, 251, 246, 0.82);
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: clamp(1rem, 4vw, 3rem);
    align-items: center;
    background:
        linear-gradient(135deg, rgba(16, 35, 61, 0.98), rgba(23, 61, 117, 0.94));
}

.contact-panel h2,
.contact-panel .eyebrow,
.contact-panel p,
.contact-panel a:not(.btn) {
    color: #ffffff;
}

.contact-panel p {
    max-width: 66ch;
}

.contact-actions {
    justify-content: flex-start;
}

.contact-actions .btn {
    width: min(100%, 220px);
}

.contact-note {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.94rem;
}

.portfolio-home footer {
    margin-top: 0;
}

.portfolio-home .footer-container {
    width: min(1180px, calc(100% - 2rem));
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(0, 1fr));
}

.portfolio-home .footer-section,
.portfolio-home .footer-brand {
    min-width: 0;
}

.portfolio-home .footer-section a,
.portfolio-home .footer-brand p {
    overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
    .portfolio-hero,
    .project-card-wide,
    .why-section,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-device-board {
        min-height: 430px;
    }
}

@media (max-width: 760px) {
    .portfolio-home main {
        width: min(100% - 1rem, 1180px);
        padding-top: 1rem;
    }

    .portfolio-hero,
    .portfolio-section,
    .why-section,
    .contact-panel {
        border-radius: 18px;
        padding: 1.25rem;
    }

    .portfolio-hero h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .portfolio-lede {
        font-size: 1rem;
    }

    .hero-device-board {
        min-height: 360px;
    }

    .hero-phone-shot {
        right: 0;
        width: min(42%, 150px);
    }

    .hero-work-card {
        position: relative;
        left: auto;
        bottom: auto;
        width: 100%;
        margin-top: 1rem;
    }

    .service-grid,
    .project-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }

    .project-media {
        height: 280px;
    }

    .password-media .project-phone-img {
        right: 4%;
        bottom: 6%;
        width: min(30%, 120px);
    }

    .contact-actions .btn {
        width: 100%;
    }

    .portfolio-home .footer-container {
        width: min(100% - 1rem, 1180px);
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .portfolio-home main {
        width: min(100% - 0.75rem, 1180px);
    }

    .portfolio-hero,
    .portfolio-section,
    .why-section,
    .contact-panel {
        padding: 1rem;
    }

    .hero-device-board {
        min-height: 310px;
    }

    .hero-phone-shot {
        width: min(44%, 120px);
    }

    .portfolio-proof span,
    .project-tags span,
    .tool-grid span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
