:root {
            --bg: #F6F8FC;
            --bg-soft: #EEF4FF;
            --surface: #FFFFFF;
            --surface-muted: #F1F5F9;
            --field: #F8FAFC;
            --text: #111827;
            --muted: #6B7280;
            --muted-2: #94A3B8;
            --border: #E2E8F0;
            --border-strong: #CBD5E1;
            --primary: #2F5BFF;
            --primary-dark: #2346C7;
            --primary-soft: #EAF0FF;
            --success: #16A34A;
            --success-soft: #E9F9EF;
            --danger: #EF4444;
            --danger-soft: #FEF2F2;
            --warning: #F59E0B;
            --ink-inverse: #FFFFFF;
            --shadow-card: 0 18px 44px rgba(15, 23, 42, 0.10);
            --shadow-deep: 0 24px 60px rgba(15, 23, 42, 0.12);
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
            color: var(--text);
            background: var(--bg);
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            min-width: 320px;
            background: var(--bg);
            color: var(--text);
        }

        button,
        input,
        textarea,
        select {
            font: inherit;
        }

        button {
            border: 0;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .page-view {
            display: none;
            min-height: 100vh;
            background: var(--bg);
        }

        .page-view.active {
            display: block;
        }

        .nav {
            position: sticky;
            top: 0;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            height: 84px;
            padding: 0 72px;
            background: rgba(255, 255, 255, 0.92);
            border-bottom: 1px solid var(--border);
            backdrop-filter: blur(18px);
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            border: 0;
            background: transparent;
            color: var(--text);
            cursor: pointer;
        }

        .brand-mark {
            display: grid;
            width: 42px;
            height: 42px;
            place-items: center;
            border-radius: 12px;
            background: #FFFFFF url("./image/app.png") center / cover no-repeat;
            color: transparent;
            font-size: 0;
            font-weight: 900;
            overflow: hidden;
            box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 8px 18px rgba(15, 23, 42, 0.12);
        }

        .brand-name {
            font-size: 20px;
            font-weight: 800;
            letter-spacing: 0;
        }

        .nav-links,
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .nav-actions {
            gap: 12px;
        }

        .nav-link {
            border: 0;
            background: transparent;
            color: var(--muted);
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
        }

        .nav-link.active {
            color: var(--primary);
            font-weight: 800;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 44px;
            padding: 0 22px;
            border-radius: 14px;
            border: 1px solid transparent;
            font-size: 14px;
            font-weight: 800;
            line-height: 1;
            cursor: pointer;
            transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        .btn:disabled {
            cursor: not-allowed;
            opacity: 0.55;
            transform: none;
        }

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

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

        .btn-secondary {
            background: var(--surface);
            border-color: var(--border);
            color: var(--text);
        }

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

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

        .btn-ghost-inverse {
            background: rgba(255, 255, 255, 0.12);
            border-color: rgba(255, 255, 255, 0.36);
            color: var(--ink-inverse);
        }

.wallet-pill,
.btn[data-action="connect-wallet"].is-connected {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--success-soft);
    color: var(--success);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.wallet-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v4h-3a2 2 0 0 0 0 4h3v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V5a2 2 0 0 0-2-2H5a2 2 0 0 0 0 4h14a2 2 0 0 1 2 2v4h-3a2 2 0 0 0 0 4h3v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5'/%3E%3Cpath d='M18 12h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wallet-label {
    min-width: 0;
}

.language-select {
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    outline: none;
}

        .status-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: currentColor;
        }

        .hero-section {
            display: grid;
            grid-template-columns: minmax(0, 610px) minmax(420px, 1fr);
            gap: 56px;
            align-items: center;
            min-height: 560px;
            padding: 72px;
        }

        .hero-copy {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .eyebrow-pill {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            min-height: 34px;
            padding: 0 12px;
            border-radius: 16px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 14px;
            font-weight: 800;
        }

        h1,
        h2,
        h3,
        p {
            margin: 0;
        }

        .hero-title {
            max-width: 610px;
            color: var(--text);
            font-size: 58px;
            font-weight: 800;
            line-height: 1.05;
            letter-spacing: 0;
        }

        .hero-sub {
            color: var(--muted);
            font-size: 18px;
            line-height: 1.55;
        }

        .hero-actions,
        .hero-note,
        .cta-actions,
        .form-actions,
        .success-actions {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
        }

        .hero-note {
            gap: 10px;
            color: var(--muted);
            font-size: 14px;
            font-weight: 700;
        }

        .note-check {
            display: grid;
            width: 22px;
            height: 22px;
            place-items: center;
            border-radius: 999px;
            background: var(--success-soft);
            color: var(--success);
            font-size: 13px;
            font-weight: 900;
        }

        .tool-preview,
        .card {
            border: 1px solid var(--border);
            background: var(--surface);
            box-shadow: var(--shadow-card);
        }

        .tool-preview {
            display: flex;
            flex-direction: column;
            gap: 18px;
            min-height: 430px;
            padding: 24px 26px;
            border-radius: 32px;
            box-shadow: 0 24px 54px rgba(15, 23, 42, 0.10);
        }

        .mock-top,
        .section-header,
        .detail-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .mock-window-dots {
            display: flex;
            gap: 8px;
        }

        .mock-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--border-strong);
        }

.mock-url,
.url-field {
            display: flex;
            align-items: center;
            gap: 16px;
            min-height: 64px;
            padding: 0 24px;
            border: 1px solid var(--border);
            border-radius: 18px;
    background: var(--field);
}

.mock-url-text {
    color: var(--muted);
    font-size: 15px;
}

        .protocol-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 86px;
            height: 38px;
            padding: 0 12px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            color: var(--text);
            font-size: 14px;
            font-weight: 800;
        }

        .mock-grid,
        .feature-grid,
        .steps-row,
        .asset-row,
        .metric-row,
        .info-row {
            display: grid;
            gap: 22px;
        }

        .mock-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .mock-tile {
            min-height: 120px;
            border-radius: 18px;
            background: var(--bg);
            padding: 18px;
        }

        .mock-line {
            height: 10px;
            border-radius: 999px;
            background: var(--border-strong);
            margin-bottom: 12px;
        }

        .mock-line.short {
            width: 56%;
        }

        .section {
            padding: 58px 72px;
        }

        .section.white {
            background: var(--surface);
        }

        .section-head {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            margin-bottom: 34px;
            text-align: center;
        }

        .section-kicker {
            color: var(--primary);
            font-size: 14px;
            font-weight: 800;
        }

        .section-title {
            color: var(--text);
            font-size: 36px;
            font-weight: 800;
            line-height: 1.18;
        }

.section-sub {
    max-width: 760px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.section-sub-left {
    text-align: left;
}

        .feature-grid,
        .steps-row {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .feature-card,
        .step-card,
        .metric-card,
        .info-card {
            border-radius: 24px;
            background: var(--bg);
            padding: 24px;
        }

        .step-card {
            display: flex;
            flex-direction: column;
            gap: 16px;
            min-height: 210px;
            border: 1px solid var(--border);
            background: var(--surface);
        }

        .feature-icon,
        .step-icon {
            display: grid;
            width: 52px;
            height: 52px;
            place-items: center;
            border-radius: 16px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 15px;
            font-weight: 900;
        }

        .feature-card h3,
        .step-card h3 {
            margin: 14px 0 8px;
            font-size: 21px;
            font-weight: 800;
        }

        .feature-card p,
        .step-card p {
            color: var(--muted);
            font-size: 15px;
            line-height: 1.55;
        }

        .security-section {
            display: grid;
            grid-template-columns: 520px minmax(0, 1fr);
            gap: 50px;
            align-items: center;
            padding: 58px 72px;
            background: var(--surface);
        }

        .security-copy,
        .security-panel,
        .checklist,
        .timeline,
        .build-card,
        .form-card,
        .preview-card,
        .success-main,
        .details-panel {
            display: flex;
            flex-direction: column;
        }

        .security-copy {
            gap: 20px;
        }

        .security-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            color: var(--text);
            font-size: 15px;
            font-weight: 700;
        }

        .security-panel {
            gap: 18px;
            min-height: 430px;
            border: 1px solid var(--border);
            border-radius: 28px;
            background: var(--bg);
            padding: 30px;
        }

        .metric-row,
        .info-row {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

        .metric-card,
        .info-card {
            min-height: 104px;
            border-radius: 18px;
            background: var(--surface);
        }

        .metric-label,
        .detail-label,
        .info-label {
            color: var(--muted);
            font-size: 13px;
        }

        .metric-value,
        .info-value {
            margin-top: 8px;
            color: var(--text);
            font-size: 28px;
            font-weight: 800;
        }

        .checklist {
            gap: 12px;
        }

        .check-item {
            display: flex;
            align-items: center;
            gap: 12px;
            min-height: 58px;
            padding: 0 18px;
            border-radius: 16px;
            background: var(--surface);
            color: var(--text);
            font-size: 15px;
            font-weight: 700;
        }

        .check-icon {
            display: grid;
            width: 28px;
            height: 28px;
            place-items: center;
            border-radius: 999px;
            background: var(--success);
            color: var(--ink-inverse);
            font-size: 14px;
            font-weight: 900;
            flex: 0 0 auto;
        }

        .final-cta {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 360px;
            gap: 26px;
            padding: 60px 72px;
            background: var(--primary);
            color: var(--ink-inverse);
            text-align: center;
        }

        .cta-badge {
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            padding: 0 16px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.14);
            font-size: 14px;
            font-weight: 800;
        }

        .final-cta h2 {
            max-width: 840px;
            font-size: 38px;
            line-height: 1.18;
        }

        .final-cta p {
            max-width: 780px;
            color: rgba(255, 255, 255, 0.82);
            font-size: 17px;
            line-height: 1.55;
        }

        .builder-workspace,
        .success-workspace {
            display: grid;
            gap: 28px;
            padding: 36px 72px;
        }

        .builder-workspace {
            grid-template-columns: minmax(640px, 840px) minmax(360px, 1fr);
            align-items: start;
        }

        .form-column,
        .preview-column {
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        .preview-column {
            gap: 18px;
            padding-top: 125px;
        }

        .page-heading {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .page-heading .kicker {
            color: var(--primary);
            font-size: 14px;
            font-weight: 800;
        }

        .page-heading h1 {
            font-size: 34px;
            line-height: 1.18;
        }

        .page-heading p {
            color: var(--muted);
            font-size: 16px;
        }

        .form-card,
        .preview-card,
        .hint-card,
        .build-card,
        .success-main,
        .details-panel {
            border: 1px solid var(--border);
            border-radius: 28px;
            background: var(--surface);
            box-shadow: var(--shadow-card);
        }

        .form-card {
            gap: 24px;
            padding: 30px;
        }

        .form-section {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .section-header h2 {
            font-size: 18px;
            font-weight: 800;
        }

        .required,
        .optional {
            font-size: 13px;
            font-weight: 800;
        }

        .required {
            color: var(--danger);
        }

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

.field-label {
    display: block;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.field-label-inline {
    margin: 0;
}

.advanced-title {
    font-size: 18px;
}

        .input-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .control-input,
        .control-textarea {
            width: 100%;
            border: 1px solid var(--border);
            border-radius: 18px;
            background: var(--field);
            color: var(--text);
            outline: none;
            transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
        }

        .control-input {
            height: 64px;
            padding: 0 24px;
            font-size: 15px;
        }

        .control-textarea {
            min-height: 108px;
            padding: 18px 24px;
            resize: vertical;
            font-size: 15px;
            line-height: 1.5;
        }

        .control-input:focus,
        .control-textarea:focus,
        .url-field:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(47, 91, 255, 0.10);
            background: var(--surface);
        }

        .url-field select,
        .url-field input {
            border: 0;
            outline: 0;
            background: transparent;
        }

        .url-field select {
            width: 86px;
            height: 38px;
            padding: 0 10px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: var(--surface);
            color: var(--text);
            font-size: 14px;
            font-weight: 800;
        }

        .url-field input {
            flex: 1;
            min-width: 0;
            color: var(--text);
            font-size: 15px;
        }

        .field-hint {
            color: var(--muted);
            font-size: 13px;
            line-height: 1.5;
        }

        .asset-row {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .upload-card,
        .toggle-card {
            display: flex;
            align-items: center;
            gap: 18px;
            min-height: 142px;
            padding: 22px;
            border: 1px solid var(--border);
            border-radius: 20px;
            background: var(--field);
        }

        .upload-preview {
            display: grid;
            width: 78px;
            height: 78px;
            flex: 0 0 auto;
            place-items: center;
            overflow: hidden;
            border-radius: 20px;
            background: var(--primary);
            color: var(--ink-inverse);
            font-size: 26px;
            font-weight: 900;
        }

        .upload-preview.wide {
            width: 102px;
            border-radius: 16px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 18px;
        }

        .upload-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .upload-copy {
            display: flex;
            min-width: 0;
            flex: 1;
            flex-direction: column;
            gap: 8px;
        }

        .upload-copy h3,
        .toggle-text h3 {
            font-size: 15px;
            font-weight: 800;
        }

        .upload-copy p,
        .toggle-text p {
            color: var(--muted);
            font-size: 13px;
            line-height: 1.4;
        }

        .file-input {
            position: absolute;
            width: 1px;
            height: 1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
        }

        .file-label {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: fit-content;
            min-height: 34px;
            padding: 0 14px;
            border: 1px solid var(--border);
            border-radius: 17px;
            background: var(--surface);
            color: var(--primary);
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
        }

.switch-row,
.toggle-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
    gap: 18px;
}

.switch-row-tight {
    margin-bottom: 10px;
}

        .switch {
            position: relative;
            display: inline-flex;
            width: 48px;
            height: 28px;
            flex: 0 0 auto;
            cursor: pointer;
        }

        .switch input {
            position: absolute;
            width: 1px;
            height: 1px;
            opacity: 0;
        }

        .slider {
            position: absolute;
            inset: 0;
            border-radius: 999px;
            background: var(--border-strong);
            transition: background 0.16s ease;
        }

        .slider::before {
            position: absolute;
            top: 3px;
            left: 3px;
            width: 22px;
            height: 22px;
            border-radius: 999px;
            background: var(--surface);
            content: "";
            transition: transform 0.16s ease;
            box-shadow: 0 2px 5px rgba(15, 23, 42, 0.14);
        }

        .switch input:checked + .slider {
            background: var(--primary);
        }

        .switch input:checked + .slider::before {
            transform: translateX(20px);
        }

        .hidden {
            display: none !important;
        }

        .toggle-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .toggle-card {
            min-height: 72px;
            justify-content: space-between;
        }

        .toggle-text {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .form-actions {
            justify-content: flex-end;
            min-height: 58px;
        }

        .form-message {
            display: none;
            margin-top: -6px;
            padding: 14px 16px;
            border-radius: 16px;
            background: var(--primary-soft);
            color: var(--primary-dark);
            font-size: 14px;
            line-height: 1.45;
        }

        .form-message.show {
            display: block;
        }

        .modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 50;
            display: grid;
            place-items: center;
            padding: 24px;
            background: rgba(15, 23, 42, 0.42);
            backdrop-filter: blur(8px);
        }

        .login-modal {
            display: flex;
            width: min(420px, 100%);
            flex-direction: column;
            gap: 20px;
            padding: 28px;
            border: 1px solid var(--border);
            border-radius: 24px;
            background: var(--surface);
            box-shadow: var(--shadow-card);
        }

        .modal-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            height: 48px;
            border: 1px solid var(--border);
            border-radius: 14px;
            background: var(--success-soft);
            color: var(--success);
        }

        .modal-icon .wallet-icon {
            width: 22px;
            height: 22px;
        }

        .modal-copy {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .modal-copy h2 {
            font-size: 22px;
            line-height: 1.25;
        }

        .modal-copy p {
            color: var(--muted);
            font-size: 14px;
            line-height: 1.55;
        }

        .modal-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 32px;
            padding: 0 12px;
            border-radius: 16px;
            background: var(--success-soft);
            color: var(--success);
            font-size: 13px;
            font-weight: 800;
        }

        .detail-rows {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .preview-card {
            align-items: center;
            gap: 18px;
            min-height: 520px;
            padding: 28px;
        }

        .preview-card h2 {
            font-size: 18px;
            font-weight: 800;
        }

        .phone {
            position: relative;
            width: 294px;
            height: 584px;
            border-radius: 44px;
            background: linear-gradient(145deg, #0A0D14 0%, #1D2430 48%, #05070B 100%);
            box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 -10px 18px rgba(0, 0, 0, 0.42);
            padding: 8px;
        }

        .phone::before {
            position: absolute;
            inset: 4px;
            border: 1px solid rgba(255, 255, 255, 0.13);
            border-radius: 40px;
            content: "";
            pointer-events: none;
        }

        .phone-side {
            position: absolute;
            width: 4px;
            border-radius: 999px;
            background: linear-gradient(180deg, #303845, #111827);
        }

        .phone-side-left {
            top: 122px;
            left: -3px;
            height: 78px;
        }

        .phone-side-right {
            top: 164px;
            right: -3px;
            height: 106px;
        }

        .phone-hardware {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 38px;
            background: #05070B;
            /* padding: 8px; */
        }

        .phone-bezel {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 32px;
            background: #0B0F17;
            padding: 16px 10px 10px;
        }

        .phone-sensor-row {
            position: absolute;
            top: -4px;
            left: 50%;
            z-index: 3;
            display: flex;
            align-items: center;
            gap: 8px;
            height: 18px;
            padding: 0 10px;
            border-radius: 999px;
            background: #03050A;
            transform: translateX(-50%);
        }

        .phone-camera {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: radial-gradient(circle at 35% 35%, #64748B, #0F172A 70%);
        }

        .speaker {
            width: 46px;
            height: 5px;
            border-radius: 999px;
            background: linear-gradient(90deg, #111827, #4B5563, #111827);
        }

        .phone-screen {
            position: relative;
            display: grid;
            grid-template-rows: 24px minmax(0, 1fr) auto;
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 26px;
            background: var(--surface);
            box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
        }

        .phone-statusbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            background: rgba(255, 255, 255, 0.96);
            color: var(--text);
            font-size: 11px;
            font-weight: 900;
        }

        .phone-status-icons {
            display: inline-flex;
            align-items: flex-end;
            gap: 4px;
        }

        .phone-status-icons i {
            display: block;
            width: 12px;
            height: 7px;
            border-radius: 2px;
            background: #111827;
        }

        .phone-status-icons i:nth-child(1) {
            width: 11px;
            height: 5px;
        }

        .phone-status-icons i:nth-child(2) {
            width: 10px;
            height: 8px;
        }

        .phone-icon {
            display: grid;
            width: 38px;
            height: 38px;
            flex: 0 0 auto;
            place-items: center;
            overflow: hidden;
            border-radius: 10px;
            background: var(--primary);
            color: var(--ink-inverse);
            font-size: 0;
            font-weight: 900;
        }

        .phone-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .phone-title {
            overflow: hidden;
            color: var(--text);
            font-size: 13px;
            font-weight: 900;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .phone-url {
            display: block;
            margin-top: 3px;
            overflow: hidden;
            color: var(--muted);
            font-size: 10px;
            font-weight: 800;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .phone-webview-wrap {
            position: relative;
            min-height: 0;
            overflow: hidden;
            background: linear-gradient(180deg, #F8FAFC 0%, #EEF4FF 100%);
        }

        .phone-default-preview {
            position: absolute;
            inset: 0;
            z-index: 2;
            display: grid;
            place-items: center;
            background: linear-gradient(180deg, #F8FAFC 0%, #EEF4FF 100%);
        }

        .preview-browser-icon {
            display: grid;
            width: 92px;
            height: 92px;
            place-items: center;
            border-radius: 26px;
            background: var(--surface);
            color: var(--primary);
            box-shadow: inset 0 0 0 1px var(--border), 0 18px 34px rgba(15, 23, 42, 0.12);
        }

        .preview-browser-icon svg {
            width: 54px;
            height: 54px;
        }

        .phone-webview {
            display: block;
            width: 100%;
            height: 100%;
            border: 0;
            background: var(--surface);
            overflow: hidden;
            scrollbar-width: none;
        }

        .phone-webview::-webkit-scrollbar {
            display: none;
        }

        .phone-iframe-fallback {
            position: absolute;
            inset: 0;
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            gap: 12px;
            padding: 18px;
            background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(238, 244, 255, 0.98));
            text-align: left;
        }

        .fallback-browser-icon {
            display: grid;
            width: 48px;
            height: 48px;
            place-items: center;
            border-radius: 16px;
            background: var(--surface);
            color: var(--primary);
            box-shadow: inset 0 0 0 1px var(--border), 0 10px 22px rgba(15, 23, 42, 0.10);
        }

        .fallback-browser-icon svg {
            width: 30px;
            height: 30px;
        }

        .fallback-kicker {
            width: fit-content;
            min-height: 26px;
            padding: 0 10px;
            border-radius: 13px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 11px;
            font-weight: 900;
            line-height: 26px;
        }

        .fallback-url {
            overflow-wrap: anywhere;
            color: var(--text);
            font-size: 16px;
            font-weight: 900;
            line-height: 1.25;
        }

        .phone-iframe-fallback p {
            color: var(--muted);
            font-size: 12px;
            font-weight: 700;
            line-height: 1.55;
        }

        .phone-open-url {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            align-self: stretch;
            min-height: 36px;
            margin-top: 4px;
            border-radius: 17px;
            background: var(--primary);
            color: var(--ink-inverse);
            font-size: 12px;
            font-weight: 900;
        }

        .phone-bottom-bar {
            position: relative;
            z-index: 2;
            height: 38px;
            overflow: hidden;
            border-top: 1px solid rgba(15, 23, 42, 0.08);
            background: #FFFFFF;
            box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
        }

        .phone-bottom-bar img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hint-card {
            gap: 10px;
            padding: 22px;
            border-radius: 22px;
            background: var(--primary-soft);
            border-color: #C9D7FF;
            box-shadow: none;
        }

        .hint-card h3 {
            color: var(--primary);
            font-size: 15px;
            font-weight: 800;
        }

        .hint-card p {
            color: var(--primary-dark);
            font-size: 14px;
            line-height: 1.5;
        }

        .building-workspace {
            display: flex;
            justify-content: center;
            padding: 54px 220px;
        }

        .build-card {
            width: min(1000px, 100%);
            gap: 26px;
            padding: 36px;
            border-radius: 32px;
            box-shadow: var(--shadow-deep);
        }

        .build-header {
            display: flex;
            align-items: center;
            gap: 24px;
        }

.progress-ring {
            display: grid;
            width: 82px;
            height: 82px;
            flex: 0 0 auto;
            place-items: center;
            border-radius: 50%;
    --progress: 32%;
    background: conic-gradient(var(--primary) var(--progress), var(--primary-soft) 0);
            color: var(--primary);
            font-size: 20px;
            font-weight: 900;
        }

        .progress-ring span {
            display: grid;
            width: 62px;
            height: 62px;
            place-items: center;
            border-radius: 50%;
            background: var(--surface);
        }

        .build-copy {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .build-copy h1 {
            font-size: 32px;
            font-weight: 900;
        }

        .build-copy p {
            color: var(--muted);
            font-size: 16px;
        }

.progress-track {
    height: 14px;
    overflow: hidden;
    border-radius: 7px;
    background: var(--surface-muted);
}

.progress-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.progress-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.progress-meta strong {
    color: var(--primary);
}

.progress-track.total .progress-fill,
.progress-fill.total {
    background: var(--success);
}

.progress-fill {
    --progress: 32%;
    width: var(--progress);
            height: 100%;
            border-radius: inherit;
            background: var(--primary);
    transition: width 0.25s ease;
}

.build-live-row {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 16px;
}

.timer-card,
.meme-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--field);
}

.timer-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    padding: 20px;
    gap: 8px;
}

.timer-card span,
.meme-copy span {
    color: var(--muted);
    font-size: 13px;
}

.timer-card strong {
    color: var(--text);
    font-size: 32px;
    font-weight: 900;
}

.meme-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 120px;
    overflow: hidden;
}

.meme-image-wrap {
    display: grid;
    width: 150px;
    height: 120px;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
}

.meme-image-wrap::before {
    content: "Meme";
    font-size: 18px;
    font-weight: 900;
}

.meme-image-wrap.has-image::before {
    content: "";
}

.meme-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meme-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
}

.meme-copy strong {
    overflow: hidden;
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

        .timeline {
            gap: 14px;
        }

        .timeline-step {
            display: flex;
            align-items: center;
            gap: 16px;
            min-height: 70px;
            padding: 0 20px;
            border-radius: 18px;
            background: var(--field);
        }

        .timeline-step.done {
            background: var(--success-soft);
        }

        .timeline-step.active {
            border: 1px solid #C9D7FF;
            background: var(--primary-soft);
        }

        .timeline-icon {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--border-strong);
            color: var(--ink-inverse);
            font-size: 16px;
            font-weight: 900;
        }

        .timeline-step.done .timeline-icon {
            background: var(--success);
        }

        .timeline-step.active .timeline-icon {
            background: var(--primary);
        }

        .timeline-copy {
            flex: 1;
            min-width: 0;
        }

        .timeline-copy h3 {
            margin: 0 0 6px;
            color: var(--text);
            font-size: 16px;
            font-weight: 800;
        }

        .timeline-step.active .timeline-copy h3 {
            color: var(--primary);
        }

        .timeline-copy p {
            color: var(--muted);
            font-size: 13px;
        }

        .timeline-step.active .timeline-copy p {
            color: var(--primary-dark);
        }

        .timeline-time {
            color: var(--primary);
            font-size: 13px;
            font-weight: 800;
        }

        .info-card {
            background: var(--field);
        }

        .info-value {
            font-size: 19px;
            font-weight: 900;
        }

        .success-workspace {
            grid-template-columns: minmax(560px, 760px) minmax(360px, 1fr);
            gap: 34px;
            align-items: center;
            padding: 60px 120px;
        }

        .success-main,
        .details-panel {
            gap: 26px;
            padding: 38px;
            border-radius: 34px;
            box-shadow: var(--shadow-deep);
        }

        .success-icon-large {
            display: grid;
            width: 78px;
            height: 78px;
            place-items: center;
            border-radius: 50%;
            background: var(--success-soft);
            color: var(--success);
            font-size: 38px;
            font-weight: 900;
        }

        .success-copy {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .success-copy h1 {
            font-size: 36px;
            font-weight: 900;
        }

        .success-copy p {
            color: var(--muted);
            font-size: 16px;
            line-height: 1.6;
        }

        .download-panel {
            display: flex;
            align-items: center;
            gap: 20px;
            min-height: 132px;
            padding: 24px;
            border: 1px solid var(--border);
            border-radius: 24px;
            background: var(--field);
        }

.apk-icon {
            display: grid;
            width: 84px;
            height: 84px;
            flex: 0 0 auto;
            place-items: center;
            border-radius: 22px;
            background: var(--primary);
            color: var(--ink-inverse);
            font-size: 20px;
    font-weight: 900;
    overflow: hidden;
}

.apk-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

        .apk-info {
            flex: 1;
            min-width: 0;
        }

        .apk-name {
            overflow: hidden;
            font-size: 18px;
            font-weight: 900;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .apk-meta {
            margin-top: 8px;
            color: var(--muted);
            font-size: 14px;
        }

        .apk-package {
            margin-top: 8px;
            color: var(--primary);
            font-size: 14px;
            font-weight: 800;
        }

        .details-panel {
            min-height: 520px;
            gap: 20px;
            padding: 30px;
            border-radius: 30px;
            box-shadow: none;
        }

        .details-panel h2 {
            font-size: 20px;
            font-weight: 900;
        }

        .detail-row {
            min-height: 48px;
            gap: 20px;
            font-size: 14px;
        }

        .detail-value {
            overflow: hidden;
            color: var(--text);
            font-weight: 900;
            text-align: right;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .detail-value.danger {
            color: var(--danger);
        }

        .install-note {
            margin-top: auto;
            padding: 20px;
            border-radius: 22px;
            background: var(--success-soft);
        }

        .install-note h3 {
            margin: 0 0 10px;
            color: var(--success);
            font-size: 15px;
            font-weight: 900;
        }

        .install-note p {
            color: #166534;
            font-size: 14px;
            line-height: 1.5;
        }

        @media (max-width: 1100px) {
            .nav {
                padding: 0 28px;
            }

            .nav-links {
                display: none;
            }

            .hero-section,
            .security-section,
            .builder-workspace,
            .success-workspace {
                grid-template-columns: 1fr;
                padding-left: 28px;
                padding-right: 28px;
            }

            .preview-column {
                padding-top: 0;
            }

            .building-workspace {
                padding: 36px 28px;
            }

            .section,
            .final-cta {
                padding-left: 28px;
                padding-right: 28px;
            }
        }

        @media (max-width: 760px) {
            .nav {
                height: auto;
                min-height: 76px;
                flex-wrap: wrap;
                gap: 14px;
                padding: 16px 20px;
            }

            .nav-actions {
                width: 100%;
                justify-content: space-between;
            }

            .hero-title {
                font-size: 42px;
            }

            .hero-section {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 40px 20px;
            }

            .mock-grid,
            .feature-grid,
            .steps-row,
            .asset-row,
            .input-grid,
            .toggle-row,
            .metric-row,
            .info-row,
            .build-live-row,
            .meme-card {
                grid-template-columns: 1fr;
            }

            .meme-image-wrap {
                width: 100%;
            }

            .security-section,
            .builder-workspace,
            .success-workspace,
            .section,
            .final-cta {
                padding-left: 20px;
                padding-right: 20px;
            }

            .form-card,
            .build-card,
            .success-main,
            .details-panel {
                padding: 22px;
            }

            .download-panel {
                align-items: flex-start;
                flex-direction: column;
            }

            .btn {
                width: 100%;
            }
        }
