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

:root {
    --blue: #0052FF;
    --blue-hover: #0041CC;
    --blue-light: #EBF0FF;
    --dark: #0A0B0D;
    --gray-900: #141519;
    --gray-700: #424556;
    --gray-500: #717886;
    --gray-300: #CFD2DC;
    --gray-200: #EEF0F3;
    --gray-100: #F5F5F7;
    --white: #FFFFFF;
    --green: #05B169;
    --green-light: #E6F9F0;
    --red: #CF202F;
    --orange: #F5A623;
    --orange-light: #FFF8EC;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-pill: 56px;
    --shadow: 0 1px 8px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
    --font-display: -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-mono: "SF Mono", "Fira Code", "Cascadia Code", monospace;
}

/* ─── ACCESSIBILITY ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 8px;
}
:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

html { height: 100%; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* ─── HEADER ─── */
.header {
    flex-shrink: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 4px;
    z-index: 201;
}
.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    border-radius: var(--radius);
    transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
    color: var(--dark);
    background: var(--gray-50);
}
.nav-link.active {
    color: var(--blue);
    background: rgba(0, 82, 255, 0.06);
    font-weight: 600;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark);
}
.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 32px; height: 32px; }
.logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-family: var(--font-display);
}
.logo-text span { color: var(--blue); }

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.header-nav a {
    text-decoration: none;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all 0.15s;
}
.header-nav a:hover {
    background: var(--gray-200);
    color: var(--dark);
}

/* ─── BUTTONS (Base/Coinbase blend) ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    height: 44px;
    padding: 0 24px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--blue);
    color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary {
    background: var(--gray-200);
    color: var(--dark);
}
.btn-secondary:hover { background: var(--gray-300); }
.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 1.5px solid var(--gray-300);
}
.btn-outline:hover { border-color: var(--dark); }
.btn-success {
    background: var(--green);
    color: var(--white);
}
.btn-lg {
    font-size: 16px;
    height: 48px;
    padding: 0 32px;
    border-radius: var(--radius);
}
.btn-pill {
    border-radius: var(--radius-pill);
}
.btn-sm {
    font-size: 14px;
    height: 36px;
    padding: 0 16px;
}
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius);
    background: var(--gray-200);
}
.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ─── APP LAYOUT (split screen, viewport-fit) ─── */
.app-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 56px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: stretch;
    width: 100%;
}
.hero-col,
.right-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ─── LEFT: HERO COLUMN ─── */
.hero-col h1 {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--dark);
    font-family: var(--font-display);
}
.hero-col h1 .blue { color: var(--blue); }
.hero-col .hero-desc {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 380px;
    line-height: 22px;
    margin-bottom: 20px;
}
.hero-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-700);
}
.hero-badge svg {
    color: var(--blue);
    flex-shrink: 0;
}
.hero-trust-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
}
.trust-item svg {
    flex-shrink: 0;
}

/* ─── RIGHT COLUMN ─── */
.right-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── MAIN CARD ─── */
.card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.card-header {
    padding: 16px 20px 0;
}
.card-header .progress-bar {
    margin: 12px -20px 0;
    border-radius: 0;
}
.card-header .progress-bar .fill {
    border-radius: 0;
}
.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
    font-family: var(--font-display);
}
.card-header p {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}
.card-body {
    padding: 20px 28px 28px;
}

/* ─── TAB STEPS ─── */
.tab-bar {
    display: flex;
    padding: 0;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
}
#tabPanels {
    min-height: 180px;
}
.tab-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.15s;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
}
.tab-item:hover { color: var(--dark); }
.tab-item.active {
    color: var(--blue);
}
.tab-item.completed {
    color: var(--green);
}
.tab-item .tab-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: var(--gray-200);
    color: var(--gray-500);
}
.tab-item.active .tab-num {
    background: var(--blue);
    color: var(--white);
}
.tab-item.completed .tab-num {
    background: var(--green);
    color: var(--white);
}
.tab-panel {
    display: none;
    padding: 18px 20px 20px;
}
.tab-panel.active {
    display: block;
}
.tab-panel-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    font-family: var(--font-display);
}
.tab-panel-desc {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.5;
}
.tab-panel .btn-block {
    width: 100%;
    height: 44px;
    font-size: 15px;
}

/* ─── HEADER WALLET DROPDOWN ─── */
.header-wallet-wrap {
    position: relative;
}
.header-wallet-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: 40px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.15s;
}
.header-wallet-btn:hover { border-color: var(--blue); }
.header-wallet-btn .dot-online {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
}
.header-wallet-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 150;
    padding: 16px;
}
.header-wallet-dropdown.open { display: block; }
.hwd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}
.hwd-row .label { color: var(--gray-500); }
.hwd-row .val { font-weight: 600; font-family: var(--font-mono); }
.hwd-disconnect {
    width: 100%;
    margin-top: 12px;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--red);
    background: none;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
}
.hwd-disconnect:hover { border-color: var(--red); background: #FDE8EA; }


/* ─── WALLET PANEL (after connect) ─── */
.wallet-panel {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}
.wallet-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.wallet-panel-addr {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wallet-panel-addr .avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--blue), #7B61FF);
    border-radius: 50%;
}
.wallet-panel-addr .addr {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--dark);
}
.wallet-panel-addr .network {
    font-size: 11px;
    color: var(--gray-500);
    background: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
}
.wallet-panel .disconnect-link {
    font-size: 12px;
    color: var(--red);
    cursor: pointer;
    font-weight: 500;
    border: none;
    background: none;
}
.wallet-panel .disconnect-link:hover { text-decoration: underline; }

.balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 8px;
}
.balance-row:last-child { margin-bottom: 0; }
.balance-label {
    font-size: 13px;
    color: var(--gray-500);
}
.balance-value {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--dark);
}
.balance-value.blue { color: var(--blue); }
.balance-value.green { color: var(--green); }
.balance-value.red { color: var(--red); }

/* ─── CLAIM ─── */
.claim-box {
    text-align: center;
    padding: 32px 24px;
}
.claim-amount {
    font-size: 40px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 4px;
}
.claim-usd {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}
.claim-box .btn { width: 100%; }

/* ─── NOTICE ─── */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--radius);
    font-size: 12px;
    line-height: 1.4;
    margin-top: 12px;
}
.notice.info { background: var(--blue-light); color: var(--blue); }
.notice.warning { background: var(--orange-light); color: #996100; }
.notice.error { background: #FDE8EA; color: var(--red); }
.notice.success { background: var(--green-light); color: #0A6E42; }
.notice svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 1px; }

/* ─── PROGRESS BAR ─── */
.progress-bar {
    height: 4px;
    background: var(--gray-100);
    border-radius: 2px;
    margin: 20px 0 0;
    overflow: hidden;
}
.progress-bar .fill {
    height: 100%;
    background: var(--blue);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ─── FEATURES ROW (compact, below card) ─── */
.features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.feature-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}
.feature-mini-icon {
    width: 28px;
    height: 28px;
    background: var(--blue-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-mini-icon svg { width: 14px; height: 14px; color: var(--blue); }
.feature-mini > div:last-child { line-height: 1; }
.feature-mini strong {
    font-size: 12px;
    font-weight: 600;
    display: block;
    color: var(--dark);
    font-family: var(--font-display);
    line-height: 1.3;
    margin-bottom: 2px;
}
.feature-mini span {
    font-size: 10px;
    color: var(--gray-500);
    display: block;
    line-height: 1.15;
}

/* ─── FOOTER ─── */
.footer {
    flex-shrink: 0;
    border-top: 1px solid var(--gray-100);
    padding: 12px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.footer-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: var(--blue);
}
.footer-dot {
    color: var(--gray-300);
    font-size: 10px;
}
.footer-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 8px;
}
.footer-desc a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}
.footer-desc a:hover {
    text-decoration: underline;
}
.footer p {
    font-size: 11px;
    color: var(--gray-500);
    line-height: 1;
}
.footer a {
    color: var(--blue);
    text-decoration: none;
}

/* ─── MODAL ─── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: modalIn 0.2s ease;
    border: 1px solid var(--gray-200);
}
@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}
.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
}
.modal-body { padding: 20px 24px 24px; }
.wallet-option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    margin-bottom: 8px;
}
.wallet-option:hover { border-color: var(--blue); background: var(--blue-light); }
.wallet-option img,
.wallet-option .wo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}
.wallet-option .wo-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}
.wallet-option .wo-desc {
    font-size: 12px;
    color: var(--gray-500);
}
.wallet-option .wo-arrow {
    margin-left: auto;
    color: var(--gray-300);
    font-size: 18px;
}

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    display: none;
    z-index: 300;
    animation: slideUp 0.3s ease;
}
.toast.show { display: block; }
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ─── SPINNER ─── */
@keyframes spin { to { transform: rotate(360deg); } }
.wallet-detect { text-align: center; padding: 24px 0; color: var(--gray-500); }
.wallet-detect .spinner { width: 24px; height: 24px; border: 3px solid var(--gray-200); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.6s linear infinite; margin: 0 auto 12px; }
.wallet-detect p { font-size: 14px; }

/* ─── NOSCRIPT ─── */
.noscript-overlay { position: fixed; inset: 0; z-index: 9999; background: var(--white); display: flex; align-items: center; justify-content: center; padding: 40px; text-align: center; }
.noscript-overlay h2 { font-size: 24px; margin-bottom: 12px; color: var(--dark); }
.noscript-overlay p { color: var(--gray-500); font-size: 15px; max-width: 400px; }

/* ─── NOTICE SPACING ─── */
.notice.notice-mt { margin-top: 14px; }

/* ─── WALLET PANEL (eligible/ineligible) ─── */
.wp-box { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.wp-box-eligible { border: 1px solid #d1fae5; }
.wp-box-ineligible { border: 1px solid #fecaca; }
.wp-header { padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.wp-header-eligible { background: #ecfdf5; }
.wp-header-ineligible { background: #fef2f2; }
.wp-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wp-icon-eligible { background: #10b981; }
.wp-icon-ineligible { background: #ef4444; }
.wp-title-eligible { font-weight: 700; font-size: 14px; color: #065f46; }
.wp-sub-eligible { font-size: 12px; color: #047857; margin-top: 1px; }
.wp-title-ineligible { font-weight: 700; font-size: 14px; color: #991b1b; }
.wp-sub-ineligible { font-size: 12px; color: #b91c1c; margin-top: 1px; }
.wp-reward { background: white; padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #d1fae5; }
.wp-reward-label { font-size: 13px; color: var(--gray-500); }
.wp-reward-value { font-size: 14px; font-weight: 700; color: var(--blue); }

/* ─── CLAIM MODAL ─── */
.cm-body { padding: 44px 32px 36px; text-align: center; }
.cm-spinner-wrap { position: relative; width: 72px; height: 72px; margin: 0 auto 24px; }
.cm-spinner-ring { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--gray-200); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.cm-spinner-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.cm-title { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 6px; }
.cm-status { font-size: 14px; color: var(--gray-500); line-height: 1.5; }
.cm-progress { margin-top: 24px; position: relative; }
.cm-bar-bg { background: var(--gray-100); border-radius: 8px; height: 8px; overflow: hidden; }
.cm-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #6EA8FE); border-radius: 8px; width: 5%; transition: width 0.5s cubic-bezier(.4,0,.2,1); }
.cm-bar-info { display: flex; justify-content: space-between; margin-top: 6px; }
.cm-bar-count { font-size: 11px; color: var(--gray-500); }
.cm-bar-pct { font-size: 11px; color: var(--blue); font-weight: 600; }
.cm-hint { margin-top: 20px; padding: 12px; background: var(--blue-light); border-radius: 8px; display: flex; align-items: center; gap: 8px; }
.cm-hint-spinner { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--blue); border-top-color: transparent; animation: spin 1s linear infinite; }
.cm-hint-text { font-size: 12px; color: var(--blue); text-align: left; font-weight: 500; }
.cm-result-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cm-result-success { background: var(--green-light); }
.cm-result-fail { background: var(--blue-light); }
.cm-result-title { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 8px; }
.cm-result-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.cm-done-btn { width: 100%; margin-top: 24px; height: 48px; font-size: 16px; }

/* ─── WALLET OPTION INLINE ICON ─── */
.wo-icon-default { background: var(--blue); border-radius: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wo-icon-mm { background: #F6851B; border-radius: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wo-icon-cb { border-radius: 8px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.wo-icon-img { border-radius: 8px; }
.wo-link { text-decoration: none; color: inherit; }
.wo-mobile-hint { font-size: 13px; color: var(--gray-500); text-align: center; padding: 8px 0 4px; margin: 0; }
.cm-modal { max-width: 400px; overflow: hidden; }

/* ─── PAGE CONTENT (about, faq) ─── */
.page-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 32px;
    width: 100%;
    box-sizing: border-box;
}
.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
    color: var(--dark);
    margin-bottom: 8px;
}
.page-content > p.page-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 32px;
}
.page-content .page-text {
    font-size: 15px;
    color: var(--gray-600, #424556);
    line-height: 1.7;
    margin-bottom: 32px;
}
.page-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    margin-top: 24px;
    padding: 10px 20px;
    background: rgba(0, 82, 255, 0.06);
    border-radius: var(--radius);
    transition: background 0.15s;
}
.page-content .back-link:hover {
    background: rgba(0, 82, 255, 0.12);
}

/* ─── SEO CONTENT (below fold) ─── */
.seo-section {
    max-width: 1040px;
    margin: 0 auto;
    padding: 48px 32px 32px;
}
.seo-section h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--dark);
    margin-bottom: 8px;
}
.seo-inner { max-width: 100%; }
.seo-inner > p, .seo-section > p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}
.seo-title { margin-bottom: 12px; }
.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0;
}
.seo-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 20px;
}
.seo-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.seo-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.faq-item summary {
    padding: 18px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    user-select: none;
    transition: background 0.15s;
}
.faq-item summary:hover {
    background: var(--gray-100);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23717886' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(180deg);
}
.faq-item .faq-answer {
    padding: 0 24px 18px;
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}
.faq-item h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}
.faq-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}
.seo-links {
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 20px;
}
.seo-links a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}
.seo-links a:hover {
    text-decoration: underline;
}
.seo-divider {
    border: none;
    border-top: 1px solid var(--gray-100);
    max-width: 1040px;
    margin: 0 auto;
}
.seo-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.seo-info-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.seo-info-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.seo-info-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    body { overflow: auto; height: auto; }
    .app-layout {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 24px;
        align-items: start;
    }
    .hero-col {
        text-align: center;
    }
    .hero-col .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-badges { justify-content: center; }
    .hero-trust-items { align-items: center; }
    .hamburger { display: flex; }
    .header-inner {
        padding: 0 16px;
        height: 52px;
        flex-wrap: nowrap;
        gap: 0;
    }
    .logo { gap: 8px; }
    .logo-text { font-size: 15px; }
    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 8px 16px 12px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        z-index: 200;
        gap: 2px;
    }
    .header-nav.open { display: flex; }
    .nav-link { padding: 10px 14px; font-size: 14px; width: 100%; border-radius: var(--radius); }
    .header { position: relative; }
    #headerWalletArea .btn { font-size: 13px; padding: 7px 14px; white-space: nowrap; }
    .hero-col h1 { font-size: 28px; letter-spacing: -0.8px; }
    .features-row { grid-template-columns: 1fr; }
    .footer { flex-direction: column; gap: 4px; padding: 16px 20px; }
    .footer-inner { flex-direction: column; gap: 6px; }
    .footer-desc { font-size: 12px; }
    .seo-section { padding: 32px 20px 24px; }
    .seo-grid { grid-template-columns: 1fr; }
    .seo-info-grid { grid-template-columns: 1fr; }
}
